1. Packages
  2. AWS Classic
  3. API Docs
  4. codegurureviewer
  5. RepositoryAssociation

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.28.1 published on Thursday, Mar 28, 2024 by Pulumi

aws.codegurureviewer.RepositoryAssociation

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.28.1 published on Thursday, Mar 28, 2024 by Pulumi

    Resource for managing an AWS CodeGuru Reviewer Repository Association.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.kms.Key("example", {});
    const exampleRepository = new aws.codecommit.Repository("example", {repositoryName: "example-repo"});
    const exampleRepositoryAssociation = new aws.codegurureviewer.RepositoryAssociation("example", {
        repository: {
            codecommit: {
                name: exampleRepository.repositoryName,
            },
        },
        kmsKeyDetails: {
            encryptionOption: "CUSTOMER_MANAGED_CMK",
            kmsKeyId: example.keyId,
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.kms.Key("example")
    example_repository = aws.codecommit.Repository("example", repository_name="example-repo")
    example_repository_association = aws.codegurureviewer.RepositoryAssociation("example",
        repository=aws.codegurureviewer.RepositoryAssociationRepositoryArgs(
            codecommit=aws.codegurureviewer.RepositoryAssociationRepositoryCodecommitArgs(
                name=example_repository.repository_name,
            ),
        ),
        kms_key_details=aws.codegurureviewer.RepositoryAssociationKmsKeyDetailsArgs(
            encryption_option="CUSTOMER_MANAGED_CMK",
            kms_key_id=example.key_id,
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codecommit"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codegurureviewer"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kms"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := kms.NewKey(ctx, "example", nil)
    		if err != nil {
    			return err
    		}
    		exampleRepository, err := codecommit.NewRepository(ctx, "example", &codecommit.RepositoryArgs{
    			RepositoryName: pulumi.String("example-repo"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = codegurureviewer.NewRepositoryAssociation(ctx, "example", &codegurureviewer.RepositoryAssociationArgs{
    			Repository: &codegurureviewer.RepositoryAssociationRepositoryArgs{
    				Codecommit: &codegurureviewer.RepositoryAssociationRepositoryCodecommitArgs{
    					Name: exampleRepository.RepositoryName,
    				},
    			},
    			KmsKeyDetails: &codegurureviewer.RepositoryAssociationKmsKeyDetailsArgs{
    				EncryptionOption: pulumi.String("CUSTOMER_MANAGED_CMK"),
    				KmsKeyId:         example.KeyId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Kms.Key("example");
    
        var exampleRepository = new Aws.CodeCommit.Repository("example", new()
        {
            RepositoryName = "example-repo",
        });
    
        var exampleRepositoryAssociation = new Aws.CodeGuruReviewer.RepositoryAssociation("example", new()
        {
            Repository = new Aws.CodeGuruReviewer.Inputs.RepositoryAssociationRepositoryArgs
            {
                Codecommit = new Aws.CodeGuruReviewer.Inputs.RepositoryAssociationRepositoryCodecommitArgs
                {
                    Name = exampleRepository.RepositoryName,
                },
            },
            KmsKeyDetails = new Aws.CodeGuruReviewer.Inputs.RepositoryAssociationKmsKeyDetailsArgs
            {
                EncryptionOption = "CUSTOMER_MANAGED_CMK",
                KmsKeyId = example.KeyId,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.kms.Key;
    import com.pulumi.aws.codecommit.Repository;
    import com.pulumi.aws.codecommit.RepositoryArgs;
    import com.pulumi.aws.codegurureviewer.RepositoryAssociation;
    import com.pulumi.aws.codegurureviewer.RepositoryAssociationArgs;
    import com.pulumi.aws.codegurureviewer.inputs.RepositoryAssociationRepositoryArgs;
    import com.pulumi.aws.codegurureviewer.inputs.RepositoryAssociationRepositoryCodecommitArgs;
    import com.pulumi.aws.codegurureviewer.inputs.RepositoryAssociationKmsKeyDetailsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Key("example");
    
            var exampleRepository = new Repository("exampleRepository", RepositoryArgs.builder()        
                .repositoryName("example-repo")
                .build());
    
            var exampleRepositoryAssociation = new RepositoryAssociation("exampleRepositoryAssociation", RepositoryAssociationArgs.builder()        
                .repository(RepositoryAssociationRepositoryArgs.builder()
                    .codecommit(RepositoryAssociationRepositoryCodecommitArgs.builder()
                        .name(exampleRepository.repositoryName())
                        .build())
                    .build())
                .kmsKeyDetails(RepositoryAssociationKmsKeyDetailsArgs.builder()
                    .encryptionOption("CUSTOMER_MANAGED_CMK")
                    .kmsKeyId(example.keyId())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:kms:Key
      exampleRepository:
        type: aws:codecommit:Repository
        name: example
        properties:
          repositoryName: example-repo
      exampleRepositoryAssociation:
        type: aws:codegurureviewer:RepositoryAssociation
        name: example
        properties:
          repository:
            codecommit:
              name: ${exampleRepository.repositoryName}
          kmsKeyDetails:
            encryptionOption: CUSTOMER_MANAGED_CMK
            kmsKeyId: ${example.keyId}
    

    Create RepositoryAssociation Resource

    new RepositoryAssociation(name: string, args: RepositoryAssociationArgs, opts?: CustomResourceOptions);
    @overload
    def RepositoryAssociation(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              kms_key_details: Optional[RepositoryAssociationKmsKeyDetailsArgs] = None,
                              repository: Optional[RepositoryAssociationRepositoryArgs] = None,
                              tags: Optional[Mapping[str, str]] = None)
    @overload
    def RepositoryAssociation(resource_name: str,
                              args: RepositoryAssociationArgs,
                              opts: Optional[ResourceOptions] = None)
    func NewRepositoryAssociation(ctx *Context, name string, args RepositoryAssociationArgs, opts ...ResourceOption) (*RepositoryAssociation, error)
    public RepositoryAssociation(string name, RepositoryAssociationArgs args, CustomResourceOptions? opts = null)
    public RepositoryAssociation(String name, RepositoryAssociationArgs args)
    public RepositoryAssociation(String name, RepositoryAssociationArgs args, CustomResourceOptions options)
    
    type: aws:codegurureviewer:RepositoryAssociation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args RepositoryAssociationArgs
    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 RepositoryAssociationArgs
    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 RepositoryAssociationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RepositoryAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RepositoryAssociationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    RepositoryAssociation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The RepositoryAssociation resource accepts the following input properties:

    Repository RepositoryAssociationRepository

    An object describing the repository to associate. Valid values: bitbucket, codecommit, github_enterprise_server, or s3_bucket. Block is documented below. Note: for repositories that leverage CodeStar connections (ex. bitbucket, github_enterprise_server) the connection must be in Available status prior to creating this resource.

    The following arguments are optional:

    KmsKeyDetails RepositoryAssociationKmsKeyDetails
    An object describing the KMS key to asssociate. Block is documented below.
    Tags Dictionary<string, string>
    Repository RepositoryAssociationRepositoryArgs

    An object describing the repository to associate. Valid values: bitbucket, codecommit, github_enterprise_server, or s3_bucket. Block is documented below. Note: for repositories that leverage CodeStar connections (ex. bitbucket, github_enterprise_server) the connection must be in Available status prior to creating this resource.

    The following arguments are optional:

    KmsKeyDetails RepositoryAssociationKmsKeyDetailsArgs
    An object describing the KMS key to asssociate. Block is documented below.
    Tags map[string]string
    repository RepositoryAssociationRepository

    An object describing the repository to associate. Valid values: bitbucket, codecommit, github_enterprise_server, or s3_bucket. Block is documented below. Note: for repositories that leverage CodeStar connections (ex. bitbucket, github_enterprise_server) the connection must be in Available status prior to creating this resource.

    The following arguments are optional:

    kmsKeyDetails RepositoryAssociationKmsKeyDetails
    An object describing the KMS key to asssociate. Block is documented below.
    tags Map<String,String>
    repository RepositoryAssociationRepository

    An object describing the repository to associate. Valid values: bitbucket, codecommit, github_enterprise_server, or s3_bucket. Block is documented below. Note: for repositories that leverage CodeStar connections (ex. bitbucket, github_enterprise_server) the connection must be in Available status prior to creating this resource.

    The following arguments are optional:

    kmsKeyDetails RepositoryAssociationKmsKeyDetails
    An object describing the KMS key to asssociate. Block is documented below.
    tags {[key: string]: string}
    repository RepositoryAssociationRepositoryArgs

    An object describing the repository to associate. Valid values: bitbucket, codecommit, github_enterprise_server, or s3_bucket. Block is documented below. Note: for repositories that leverage CodeStar connections (ex. bitbucket, github_enterprise_server) the connection must be in Available status prior to creating this resource.

    The following arguments are optional:

    kms_key_details RepositoryAssociationKmsKeyDetailsArgs
    An object describing the KMS key to asssociate. Block is documented below.
    tags Mapping[str, str]
    repository Property Map

    An object describing the repository to associate. Valid values: bitbucket, codecommit, github_enterprise_server, or s3_bucket. Block is documented below. Note: for repositories that leverage CodeStar connections (ex. bitbucket, github_enterprise_server) the connection must be in Available status prior to creating this resource.

    The following arguments are optional:

    kmsKeyDetails Property Map
    An object describing the KMS key to asssociate. Block is documented below.
    tags Map<String>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RepositoryAssociation resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) identifying the repository association.
    AssociationId string
    The ID of the repository association.
    ConnectionArn string
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the third party source repository.
    Owner string
    The username for the account that owns the repository.
    ProviderType string
    The provider type of the repository association.
    S3RepositoryDetails List<RepositoryAssociationS3RepositoryDetail>
    State string
    The state of the repository association.
    StateReason string
    A description of why the repository association is in the current state.
    TagsAll Dictionary<string, string>

    Deprecated:Please use tags instead.

    Arn string
    The Amazon Resource Name (ARN) identifying the repository association.
    AssociationId string
    The ID of the repository association.
    ConnectionArn string
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the third party source repository.
    Owner string
    The username for the account that owns the repository.
    ProviderType string
    The provider type of the repository association.
    S3RepositoryDetails []RepositoryAssociationS3RepositoryDetail
    State string
    The state of the repository association.
    StateReason string
    A description of why the repository association is in the current state.
    TagsAll map[string]string

    Deprecated:Please use tags instead.

    arn String
    The Amazon Resource Name (ARN) identifying the repository association.
    associationId String
    The ID of the repository association.
    connectionArn String
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the third party source repository.
    owner String
    The username for the account that owns the repository.
    providerType String
    The provider type of the repository association.
    s3RepositoryDetails List<RepositoryAssociationS3RepositoryDetail>
    state String
    The state of the repository association.
    stateReason String
    A description of why the repository association is in the current state.
    tagsAll Map<String,String>

    Deprecated:Please use tags instead.

    arn string
    The Amazon Resource Name (ARN) identifying the repository association.
    associationId string
    The ID of the repository association.
    connectionArn string
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the third party source repository.
    owner string
    The username for the account that owns the repository.
    providerType string
    The provider type of the repository association.
    s3RepositoryDetails RepositoryAssociationS3RepositoryDetail[]
    state string
    The state of the repository association.
    stateReason string
    A description of why the repository association is in the current state.
    tagsAll {[key: string]: string}

    Deprecated:Please use tags instead.

    arn str
    The Amazon Resource Name (ARN) identifying the repository association.
    association_id str
    The ID of the repository association.
    connection_arn str
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the third party source repository.
    owner str
    The username for the account that owns the repository.
    provider_type str
    The provider type of the repository association.
    s3_repository_details Sequence[RepositoryAssociationS3RepositoryDetail]
    state str
    The state of the repository association.
    state_reason str
    A description of why the repository association is in the current state.
    tags_all Mapping[str, str]

    Deprecated:Please use tags instead.

    arn String
    The Amazon Resource Name (ARN) identifying the repository association.
    associationId String
    The ID of the repository association.
    connectionArn String
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the third party source repository.
    owner String
    The username for the account that owns the repository.
    providerType String
    The provider type of the repository association.
    s3RepositoryDetails List<Property Map>
    state String
    The state of the repository association.
    stateReason String
    A description of why the repository association is in the current state.
    tagsAll Map<String>

    Deprecated:Please use tags instead.

    Look up Existing RepositoryAssociation Resource

    Get an existing RepositoryAssociation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RepositoryAssociationState, opts?: CustomResourceOptions): RepositoryAssociation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            association_id: Optional[str] = None,
            connection_arn: Optional[str] = None,
            kms_key_details: Optional[RepositoryAssociationKmsKeyDetailsArgs] = None,
            name: Optional[str] = None,
            owner: Optional[str] = None,
            provider_type: Optional[str] = None,
            repository: Optional[RepositoryAssociationRepositoryArgs] = None,
            s3_repository_details: Optional[Sequence[RepositoryAssociationS3RepositoryDetailArgs]] = None,
            state: Optional[str] = None,
            state_reason: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None) -> RepositoryAssociation
    func GetRepositoryAssociation(ctx *Context, name string, id IDInput, state *RepositoryAssociationState, opts ...ResourceOption) (*RepositoryAssociation, error)
    public static RepositoryAssociation Get(string name, Input<string> id, RepositoryAssociationState? state, CustomResourceOptions? opts = null)
    public static RepositoryAssociation get(String name, Output<String> id, RepositoryAssociationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string
    The Amazon Resource Name (ARN) identifying the repository association.
    AssociationId string
    The ID of the repository association.
    ConnectionArn string
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    KmsKeyDetails RepositoryAssociationKmsKeyDetails
    An object describing the KMS key to asssociate. Block is documented below.
    Name string
    The name of the third party source repository.
    Owner string
    The username for the account that owns the repository.
    ProviderType string
    The provider type of the repository association.
    Repository RepositoryAssociationRepository

    An object describing the repository to associate. Valid values: bitbucket, codecommit, github_enterprise_server, or s3_bucket. Block is documented below. Note: for repositories that leverage CodeStar connections (ex. bitbucket, github_enterprise_server) the connection must be in Available status prior to creating this resource.

    The following arguments are optional:

    S3RepositoryDetails List<RepositoryAssociationS3RepositoryDetail>
    State string
    The state of the repository association.
    StateReason string
    A description of why the repository association is in the current state.
    Tags Dictionary<string, string>
    TagsAll Dictionary<string, string>

    Deprecated:Please use tags instead.

    Arn string
    The Amazon Resource Name (ARN) identifying the repository association.
    AssociationId string
    The ID of the repository association.
    ConnectionArn string
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    KmsKeyDetails RepositoryAssociationKmsKeyDetailsArgs
    An object describing the KMS key to asssociate. Block is documented below.
    Name string
    The name of the third party source repository.
    Owner string
    The username for the account that owns the repository.
    ProviderType string
    The provider type of the repository association.
    Repository RepositoryAssociationRepositoryArgs

    An object describing the repository to associate. Valid values: bitbucket, codecommit, github_enterprise_server, or s3_bucket. Block is documented below. Note: for repositories that leverage CodeStar connections (ex. bitbucket, github_enterprise_server) the connection must be in Available status prior to creating this resource.

    The following arguments are optional:

    S3RepositoryDetails []RepositoryAssociationS3RepositoryDetailArgs
    State string
    The state of the repository association.
    StateReason string
    A description of why the repository association is in the current state.
    Tags map[string]string
    TagsAll map[string]string

    Deprecated:Please use tags instead.

    arn String
    The Amazon Resource Name (ARN) identifying the repository association.
    associationId String
    The ID of the repository association.
    connectionArn String
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    kmsKeyDetails RepositoryAssociationKmsKeyDetails
    An object describing the KMS key to asssociate. Block is documented below.
    name String
    The name of the third party source repository.
    owner String
    The username for the account that owns the repository.
    providerType String
    The provider type of the repository association.
    repository RepositoryAssociationRepository

    An object describing the repository to associate. Valid values: bitbucket, codecommit, github_enterprise_server, or s3_bucket. Block is documented below. Note: for repositories that leverage CodeStar connections (ex. bitbucket, github_enterprise_server) the connection must be in Available status prior to creating this resource.

    The following arguments are optional:

    s3RepositoryDetails List<RepositoryAssociationS3RepositoryDetail>
    state String
    The state of the repository association.
    stateReason String
    A description of why the repository association is in the current state.
    tags Map<String,String>
    tagsAll Map<String,String>

    Deprecated:Please use tags instead.

    arn string
    The Amazon Resource Name (ARN) identifying the repository association.
    associationId string
    The ID of the repository association.
    connectionArn string
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    kmsKeyDetails RepositoryAssociationKmsKeyDetails
    An object describing the KMS key to asssociate. Block is documented below.
    name string
    The name of the third party source repository.
    owner string
    The username for the account that owns the repository.
    providerType string
    The provider type of the repository association.
    repository RepositoryAssociationRepository

    An object describing the repository to associate. Valid values: bitbucket, codecommit, github_enterprise_server, or s3_bucket. Block is documented below. Note: for repositories that leverage CodeStar connections (ex. bitbucket, github_enterprise_server) the connection must be in Available status prior to creating this resource.

    The following arguments are optional:

    s3RepositoryDetails RepositoryAssociationS3RepositoryDetail[]
    state string
    The state of the repository association.
    stateReason string
    A description of why the repository association is in the current state.
    tags {[key: string]: string}
    tagsAll {[key: string]: string}

    Deprecated:Please use tags instead.

    arn str
    The Amazon Resource Name (ARN) identifying the repository association.
    association_id str
    The ID of the repository association.
    connection_arn str
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    kms_key_details RepositoryAssociationKmsKeyDetailsArgs
    An object describing the KMS key to asssociate. Block is documented below.
    name str
    The name of the third party source repository.
    owner str
    The username for the account that owns the repository.
    provider_type str
    The provider type of the repository association.
    repository RepositoryAssociationRepositoryArgs

    An object describing the repository to associate. Valid values: bitbucket, codecommit, github_enterprise_server, or s3_bucket. Block is documented below. Note: for repositories that leverage CodeStar connections (ex. bitbucket, github_enterprise_server) the connection must be in Available status prior to creating this resource.

    The following arguments are optional:

    s3_repository_details Sequence[RepositoryAssociationS3RepositoryDetailArgs]
    state str
    The state of the repository association.
    state_reason str
    A description of why the repository association is in the current state.
    tags Mapping[str, str]
    tags_all Mapping[str, str]

    Deprecated:Please use tags instead.

    arn String
    The Amazon Resource Name (ARN) identifying the repository association.
    associationId String
    The ID of the repository association.
    connectionArn String
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    kmsKeyDetails Property Map
    An object describing the KMS key to asssociate. Block is documented below.
    name String
    The name of the third party source repository.
    owner String
    The username for the account that owns the repository.
    providerType String
    The provider type of the repository association.
    repository Property Map

    An object describing the repository to associate. Valid values: bitbucket, codecommit, github_enterprise_server, or s3_bucket. Block is documented below. Note: for repositories that leverage CodeStar connections (ex. bitbucket, github_enterprise_server) the connection must be in Available status prior to creating this resource.

    The following arguments are optional:

    s3RepositoryDetails List<Property Map>
    state String
    The state of the repository association.
    stateReason String
    A description of why the repository association is in the current state.
    tags Map<String>
    tagsAll Map<String>

    Deprecated:Please use tags instead.

    Supporting Types

    RepositoryAssociationKmsKeyDetails, RepositoryAssociationKmsKeyDetailsArgs

    EncryptionOption string
    The encryption option for a repository association. It is either owned by AWS Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
    KmsKeyId string
    The ID of the AWS KMS key that is associated with a repository association.
    EncryptionOption string
    The encryption option for a repository association. It is either owned by AWS Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
    KmsKeyId string
    The ID of the AWS KMS key that is associated with a repository association.
    encryptionOption String
    The encryption option for a repository association. It is either owned by AWS Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
    kmsKeyId String
    The ID of the AWS KMS key that is associated with a repository association.
    encryptionOption string
    The encryption option for a repository association. It is either owned by AWS Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
    kmsKeyId string
    The ID of the AWS KMS key that is associated with a repository association.
    encryption_option str
    The encryption option for a repository association. It is either owned by AWS Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
    kms_key_id str
    The ID of the AWS KMS key that is associated with a repository association.
    encryptionOption String
    The encryption option for a repository association. It is either owned by AWS Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
    kmsKeyId String
    The ID of the AWS KMS key that is associated with a repository association.

    RepositoryAssociationRepository, RepositoryAssociationRepositoryArgs

    RepositoryAssociationRepositoryBitbucket, RepositoryAssociationRepositoryBitbucketArgs

    ConnectionArn string
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    Name string
    The name of the third party source repository.
    Owner string
    The username for the account that owns the repository.
    ConnectionArn string
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    Name string
    The name of the third party source repository.
    Owner string
    The username for the account that owns the repository.
    connectionArn String
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    name String
    The name of the third party source repository.
    owner String
    The username for the account that owns the repository.
    connectionArn string
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    name string
    The name of the third party source repository.
    owner string
    The username for the account that owns the repository.
    connection_arn str
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    name str
    The name of the third party source repository.
    owner str
    The username for the account that owns the repository.
    connectionArn String
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    name String
    The name of the third party source repository.
    owner String
    The username for the account that owns the repository.

    RepositoryAssociationRepositoryCodecommit, RepositoryAssociationRepositoryCodecommitArgs

    Name string
    The name of the AWS CodeCommit repository.
    Name string
    The name of the AWS CodeCommit repository.
    name String
    The name of the AWS CodeCommit repository.
    name string
    The name of the AWS CodeCommit repository.
    name str
    The name of the AWS CodeCommit repository.
    name String
    The name of the AWS CodeCommit repository.

    RepositoryAssociationRepositoryGithubEnterpriseServer, RepositoryAssociationRepositoryGithubEnterpriseServerArgs

    ConnectionArn string
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    Name string
    The name of the third party source repository.
    Owner string
    The username for the account that owns the repository.
    ConnectionArn string
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    Name string
    The name of the third party source repository.
    Owner string
    The username for the account that owns the repository.
    connectionArn String
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    name String
    The name of the third party source repository.
    owner String
    The username for the account that owns the repository.
    connectionArn string
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    name string
    The name of the third party source repository.
    owner string
    The username for the account that owns the repository.
    connection_arn str
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    name str
    The name of the third party source repository.
    owner str
    The username for the account that owns the repository.
    connectionArn String
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    name String
    The name of the third party source repository.
    owner String
    The username for the account that owns the repository.

    RepositoryAssociationRepositoryS3Bucket, RepositoryAssociationRepositoryS3BucketArgs

    BucketName string
    The name of the S3 bucket used for associating a new S3 repository. Note: The name must begin with codeguru-reviewer-.
    Name string
    The name of the third party source repository.
    BucketName string
    The name of the S3 bucket used for associating a new S3 repository. Note: The name must begin with codeguru-reviewer-.
    Name string
    The name of the third party source repository.
    bucketName String
    The name of the S3 bucket used for associating a new S3 repository. Note: The name must begin with codeguru-reviewer-.
    name String
    The name of the third party source repository.
    bucketName string
    The name of the S3 bucket used for associating a new S3 repository. Note: The name must begin with codeguru-reviewer-.
    name string
    The name of the third party source repository.
    bucket_name str
    The name of the S3 bucket used for associating a new S3 repository. Note: The name must begin with codeguru-reviewer-.
    name str
    The name of the third party source repository.
    bucketName String
    The name of the S3 bucket used for associating a new S3 repository. Note: The name must begin with codeguru-reviewer-.
    name String
    The name of the third party source repository.

    RepositoryAssociationS3RepositoryDetail, RepositoryAssociationS3RepositoryDetailArgs

    BucketName string
    The name of the S3 bucket used for associating a new S3 repository. Note: The name must begin with codeguru-reviewer-.
    CodeArtifacts List<RepositoryAssociationS3RepositoryDetailCodeArtifact>
    BucketName string
    The name of the S3 bucket used for associating a new S3 repository. Note: The name must begin with codeguru-reviewer-.
    CodeArtifacts []RepositoryAssociationS3RepositoryDetailCodeArtifact
    bucketName String
    The name of the S3 bucket used for associating a new S3 repository. Note: The name must begin with codeguru-reviewer-.
    codeArtifacts List<RepositoryAssociationS3RepositoryDetailCodeArtifact>
    bucketName string
    The name of the S3 bucket used for associating a new S3 repository. Note: The name must begin with codeguru-reviewer-.
    codeArtifacts RepositoryAssociationS3RepositoryDetailCodeArtifact[]
    bucket_name str
    The name of the S3 bucket used for associating a new S3 repository. Note: The name must begin with codeguru-reviewer-.
    code_artifacts Sequence[RepositoryAssociationS3RepositoryDetailCodeArtifact]
    bucketName String
    The name of the S3 bucket used for associating a new S3 repository. Note: The name must begin with codeguru-reviewer-.
    codeArtifacts List<Property Map>

    RepositoryAssociationS3RepositoryDetailCodeArtifact, RepositoryAssociationS3RepositoryDetailCodeArtifactArgs

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.28.1 published on Thursday, Mar 28, 2024 by Pulumi