We recommend new projects start with resources from the AWS provider.
aws-native.codestarconnections.getSyncConfiguration
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.
Using getSyncConfiguration
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSyncConfiguration(args: GetSyncConfigurationArgs, opts?: InvokeOptions): Promise<GetSyncConfigurationResult>
function getSyncConfigurationOutput(args: GetSyncConfigurationOutputArgs, opts?: InvokeOptions): Output<GetSyncConfigurationResult>
def get_sync_configuration(resource_name: Optional[str] = None,
sync_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSyncConfigurationResult
def get_sync_configuration_output(resource_name: Optional[pulumi.Input[str]] = None,
sync_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSyncConfigurationResult]
func LookupSyncConfiguration(ctx *Context, args *LookupSyncConfigurationArgs, opts ...InvokeOption) (*LookupSyncConfigurationResult, error)
func LookupSyncConfigurationOutput(ctx *Context, args *LookupSyncConfigurationOutputArgs, opts ...InvokeOption) LookupSyncConfigurationResultOutput
> Note: This function is named LookupSyncConfiguration
in the Go SDK.
public static class GetSyncConfiguration
{
public static Task<GetSyncConfigurationResult> InvokeAsync(GetSyncConfigurationArgs args, InvokeOptions? opts = null)
public static Output<GetSyncConfigurationResult> Invoke(GetSyncConfigurationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSyncConfigurationResult> getSyncConfiguration(GetSyncConfigurationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:codestarconnections:getSyncConfiguration
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Name string - The name of the resource that is being synchronized to the repository.
- Sync
Type string - The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC.
- Resource
Name string - The name of the resource that is being synchronized to the repository.
- Sync
Type string - The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC.
- resource
Name String - The name of the resource that is being synchronized to the repository.
- sync
Type String - The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC.
- resource
Name string - The name of the resource that is being synchronized to the repository.
- sync
Type string - The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC.
- resource_
name str - The name of the resource that is being synchronized to the repository.
- sync_
type str - The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC.
- resource
Name String - The name of the resource that is being synchronized to the repository.
- sync
Type String - The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC.
getSyncConfiguration Result
The following output properties are available:
- 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.
- 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.
- 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.
- Repository
Link stringId - A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with.
- Repository
Name string - The name of the repository that is being synced to.
- Role
Arn string - The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository.
- 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.
- 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.
- Publish
Deployment SyncStatus Configuration Publish Deployment Status - Whether to enable or disable publishing of deployment status to source providers.
- Repository
Link stringId - A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with.
- Repository
Name string - The name of the repository that is being synced to.
- Role
Arn string - The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository.
- 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.
- 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.
- publish
Deployment SyncStatus Configuration Publish Deployment Status - Whether to enable or disable publishing of deployment status to source providers.
- repository
Link StringId - A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with.
- repository
Name String - The name of the repository that is being synced to.
- role
Arn String - The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository.
- 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.
- 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.
- publish
Deployment SyncStatus Configuration Publish Deployment Status - Whether to enable or disable publishing of deployment status to source providers.
- repository
Link stringId - A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with.
- repository
Name string - The name of the repository that is being synced to.
- role
Arn string - The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository.
- 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.
- 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.
- publish_
deployment_ Syncstatus Configuration Publish Deployment Status - Whether to enable or disable publishing of deployment status to source providers.
- repository_
link_ strid - A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with.
- repository_
name str - The name of the repository that is being synced to.
- role_
arn str - The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository.
- 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.
- 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.
- publish
Deployment "ENABLED" | "DISABLED"Status - Whether to enable or disable publishing of deployment status to source providers.
- repository
Link StringId - A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with.
- repository
Name String - The name of the repository that is being synced to.
- role
Arn String - The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository.
- trigger
Resource "ANY_CHANGE" | "FILE_CHANGE"Update On - When to trigger Git sync to begin the stack update.
Supporting Types
SyncConfigurationProviderType
SyncConfigurationPublishDeploymentStatus
SyncConfigurationTriggerResourceUpdateOn
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.