We recommend new projects start with resources from the AWS provider.
aws-native.codestarconnections.SyncConfiguration
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Schema for AWS::CodeStarConnections::SyncConfiguration resource which is used to enables an AWS resource to be synchronized from a source-provider.
Create SyncConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SyncConfiguration(name: string, args: SyncConfigurationArgs, opts?: CustomResourceOptions);
@overload
def SyncConfiguration(resource_name: str,
args: SyncConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SyncConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
branch: Optional[str] = None,
config_file: Optional[str] = None,
repository_link_id: Optional[str] = None,
resource_name_: Optional[str] = None,
role_arn: Optional[str] = None,
sync_type: Optional[str] = None,
publish_deployment_status: Optional[SyncConfigurationPublishDeploymentStatus] = None,
trigger_resource_update_on: Optional[SyncConfigurationTriggerResourceUpdateOn] = None)
func NewSyncConfiguration(ctx *Context, name string, args SyncConfigurationArgs, opts ...ResourceOption) (*SyncConfiguration, error)
public SyncConfiguration(string name, SyncConfigurationArgs args, CustomResourceOptions? opts = null)
public SyncConfiguration(String name, SyncConfigurationArgs args)
public SyncConfiguration(String name, SyncConfigurationArgs args, CustomResourceOptions options)
type: aws-native:codestarconnections:SyncConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SyncConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SyncConfigurationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SyncConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SyncConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SyncConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SyncConfiguration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SyncConfiguration resource accepts the following input properties:
- Branch string
- The name of the branch of the repository from which resources are to be synchronized,
- Config
File string - The source provider repository path of the sync configuration file of the respective SyncType.
- Repository
Link stringId - A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with.
- Resource
Name string - The name of the resource that is being synchronized to the repository.
- Role
Arn string - The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository.
- Sync
Type string - The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC.
- Publish
Deployment Pulumi.Status Aws Native. Code Star Connections. Sync Configuration Publish Deployment Status - Whether to enable or disable publishing of deployment status to source providers.
- Trigger
Resource Pulumi.Update On Aws Native. Code Star Connections. Sync Configuration Trigger Resource Update On - When to trigger Git sync to begin the stack update.
- Branch string
- The name of the branch of the repository from which resources are to be synchronized,
- Config
File string - The source provider repository path of the sync configuration file of the respective SyncType.
- Repository
Link stringId - A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with.
- Resource
Name string - The name of the resource that is being synchronized to the repository.
- Role
Arn string - The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository.
- Sync
Type string - The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC.
- Publish
Deployment SyncStatus Configuration Publish Deployment Status - Whether to enable or disable publishing of deployment status to source providers.
- Trigger
Resource SyncUpdate On Configuration Trigger Resource Update On - When to trigger Git sync to begin the stack update.
- branch String
- The name of the branch of the repository from which resources are to be synchronized,
- config
File String - The source provider repository path of the sync configuration file of the respective SyncType.
- repository
Link StringId - A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with.
- resource
Name String - The name of the resource that is being synchronized to the repository.
- role
Arn String - The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository.
- sync
Type String - The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC.
- publish
Deployment SyncStatus Configuration Publish Deployment Status - Whether to enable or disable publishing of deployment status to source providers.
- trigger
Resource SyncUpdate On Configuration Trigger Resource Update On - When to trigger Git sync to begin the stack update.
- branch string
- The name of the branch of the repository from which resources are to be synchronized,
- config
File string - The source provider repository path of the sync configuration file of the respective SyncType.
- repository
Link stringId - A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with.
- resource
Name string - The name of the resource that is being synchronized to the repository.
- role
Arn string - The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository.
- sync
Type string - The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC.
- publish
Deployment SyncStatus Configuration Publish Deployment Status - Whether to enable or disable publishing of deployment status to source providers.
- trigger
Resource SyncUpdate On Configuration Trigger Resource Update On - When to trigger Git sync to begin the stack update.
- branch str
- The name of the branch of the repository from which resources are to be synchronized,
- config_
file str - The source provider repository path of the sync configuration file of the respective SyncType.
- repository_
link_ strid - A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with.
- resource_
name str - The name of the resource that is being synchronized to the repository.
- role_
arn str - The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository.
- sync_
type str - The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC.
- publish_
deployment_ Syncstatus Configuration Publish Deployment Status - Whether to enable or disable publishing of deployment status to source providers.
- trigger_
resource_ Syncupdate_ on Configuration Trigger Resource Update On - When to trigger Git sync to begin the stack update.
- branch String
- The name of the branch of the repository from which resources are to be synchronized,
- config
File String - The source provider repository path of the sync configuration file of the respective SyncType.
- repository
Link StringId - A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with.
- resource
Name String - The name of the resource that is being synchronized to the repository.
- role
Arn String - The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository.
- sync
Type String - The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC.
- publish
Deployment "ENABLED" | "DISABLED"Status - Whether to enable or disable publishing of deployment status to source providers.
- trigger
Resource "ANY_CHANGE" | "FILE_CHANGE"Update On - When to trigger Git sync to begin the stack update.
Outputs
All input properties are implicitly available as output properties. Additionally, the SyncConfiguration resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Id string - the ID of the entity that owns the repository.
- Provider
Type Pulumi.Aws Native. Code Star Connections. Sync Configuration Provider Type - The name of the external provider where your third-party code repository is configured.
- Repository
Name string - The name of the repository that is being synced to.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Id string - the ID of the entity that owns the repository.
- Provider
Type SyncConfiguration Provider Type - The name of the external provider where your third-party code repository is configured.
- Repository
Name string - The name of the repository that is being synced to.
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Id String - the ID of the entity that owns the repository.
- provider
Type SyncConfiguration Provider Type - The name of the external provider where your third-party code repository is configured.
- repository
Name String - The name of the repository that is being synced to.
- id string
- The provider-assigned unique ID for this managed resource.
- owner
Id string - the ID of the entity that owns the repository.
- provider
Type SyncConfiguration Provider Type - The name of the external provider where your third-party code repository is configured.
- repository
Name string - The name of the repository that is being synced to.
- id str
- The provider-assigned unique ID for this managed resource.
- owner_
id str - the ID of the entity that owns the repository.
- provider_
type SyncConfiguration Provider Type - The name of the external provider where your third-party code repository is configured.
- repository_
name str - The name of the repository that is being synced to.
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Id String - the ID of the entity that owns the repository.
- provider
Type "GitHub" | "Bitbucket" | "Git Hub Enterprise" | "Git Lab" | "Git Lab Self Managed" - The name of the external provider where your third-party code repository is configured.
- repository
Name String - The name of the repository that is being synced to.
Supporting Types
SyncConfigurationProviderType, SyncConfigurationProviderTypeArgs
- Git
Hub - GitHub
- Bitbucket
- Bitbucket
- Git
Hub Enterprise - GitHubEnterprise
- Git
Lab - GitLab
- Git
Lab Self Managed - GitLabSelfManaged
- Sync
Configuration Provider Type Git Hub - GitHub
- Sync
Configuration Provider Type Bitbucket - Bitbucket
- Sync
Configuration Provider Type Git Hub Enterprise - GitHubEnterprise
- Sync
Configuration Provider Type Git Lab - GitLab
- Sync
Configuration Provider Type Git Lab Self Managed - GitLabSelfManaged
- Git
Hub - GitHub
- Bitbucket
- Bitbucket
- Git
Hub Enterprise - GitHubEnterprise
- Git
Lab - GitLab
- Git
Lab Self Managed - GitLabSelfManaged
- Git
Hub - GitHub
- Bitbucket
- Bitbucket
- Git
Hub Enterprise - GitHubEnterprise
- Git
Lab - GitLab
- Git
Lab Self Managed - GitLabSelfManaged
- GIT_HUB
- GitHub
- BITBUCKET
- Bitbucket
- GIT_HUB_ENTERPRISE
- GitHubEnterprise
- GIT_LAB
- GitLab
- GIT_LAB_SELF_MANAGED
- GitLabSelfManaged
- "Git
Hub" - GitHub
- "Bitbucket"
- Bitbucket
- "Git
Hub Enterprise" - GitHubEnterprise
- "Git
Lab" - GitLab
- "Git
Lab Self Managed" - GitLabSelfManaged
SyncConfigurationPublishDeploymentStatus, SyncConfigurationPublishDeploymentStatusArgs
- Enabled
- ENABLED
- Disabled
- DISABLED
- Sync
Configuration Publish Deployment Status Enabled - ENABLED
- Sync
Configuration Publish Deployment Status Disabled - DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- ENABLED
- ENABLED
- DISABLED
- DISABLED
- "ENABLED"
- ENABLED
- "DISABLED"
- DISABLED
SyncConfigurationTriggerResourceUpdateOn, SyncConfigurationTriggerResourceUpdateOnArgs
- Any
Change - ANY_CHANGE
- File
Change - FILE_CHANGE
- Sync
Configuration Trigger Resource Update On Any Change - ANY_CHANGE
- Sync
Configuration Trigger Resource Update On File Change - FILE_CHANGE
- Any
Change - ANY_CHANGE
- File
Change - FILE_CHANGE
- Any
Change - ANY_CHANGE
- File
Change - FILE_CHANGE
- ANY_CHANGE
- ANY_CHANGE
- FILE_CHANGE
- FILE_CHANGE
- "ANY_CHANGE"
- ANY_CHANGE
- "FILE_CHANGE"
- FILE_CHANGE
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.