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

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.codegurureviewer.RepositoryAssociation

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    This resource schema represents the RepositoryAssociation resource in the Amazon CodeGuru Reviewer service.

    Example Usage

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myRepositoryAssociation = new AwsNative.CodeGuruReviewer.RepositoryAssociation("myRepositoryAssociation", new()
        {
            Name = "MyRepository",
            Type = AwsNative.CodeGuruReviewer.RepositoryAssociationType.CodeCommit,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codegurureviewer"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := codegurureviewer.NewRepositoryAssociation(ctx, "myRepositoryAssociation", &codegurureviewer.RepositoryAssociationArgs{
    			Name: pulumi.String("MyRepository"),
    			Type: codegurureviewer.RepositoryAssociationTypeCodeCommit,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_repository_association = aws_native.codegurureviewer.RepositoryAssociation("myRepositoryAssociation",
        name="MyRepository",
        type=aws_native.codegurureviewer.RepositoryAssociationType.CODE_COMMIT)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myRepositoryAssociation = new aws_native.codegurureviewer.RepositoryAssociation("myRepositoryAssociation", {
        name: "MyRepository",
        type: aws_native.codegurureviewer.RepositoryAssociationType.CodeCommit,
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myRepositoryAssociation = new AwsNative.CodeGuruReviewer.RepositoryAssociation("myRepositoryAssociation", new()
        {
            Name = "MyRepository",
            Type = AwsNative.CodeGuruReviewer.RepositoryAssociationType.CodeCommit,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codegurureviewer"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := codegurureviewer.NewRepositoryAssociation(ctx, "myRepositoryAssociation", &codegurureviewer.RepositoryAssociationArgs{
    			Name: pulumi.String("MyRepository"),
    			Type: codegurureviewer.RepositoryAssociationTypeCodeCommit,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_repository_association = aws_native.codegurureviewer.RepositoryAssociation("myRepositoryAssociation",
        name="MyRepository",
        type=aws_native.codegurureviewer.RepositoryAssociationType.CODE_COMMIT)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myRepositoryAssociation = new aws_native.codegurureviewer.RepositoryAssociation("myRepositoryAssociation", {
        name: "MyRepository",
        type: aws_native.codegurureviewer.RepositoryAssociationType.CodeCommit,
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myRepositoryAssociation = new AwsNative.CodeGuruReviewer.RepositoryAssociation("myRepositoryAssociation", new()
        {
            Name = "MyBitbucketRepoName",
            Type = AwsNative.CodeGuruReviewer.RepositoryAssociationType.Bitbucket,
            ConnectionArn = "arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
            Owner = "MyOwnerName",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codegurureviewer"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := codegurureviewer.NewRepositoryAssociation(ctx, "myRepositoryAssociation", &codegurureviewer.RepositoryAssociationArgs{
    			Name:          pulumi.String("MyBitbucketRepoName"),
    			Type:          codegurureviewer.RepositoryAssociationTypeBitbucket,
    			ConnectionArn: pulumi.String("arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"),
    			Owner:         pulumi.String("MyOwnerName"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_repository_association = aws_native.codegurureviewer.RepositoryAssociation("myRepositoryAssociation",
        name="MyBitbucketRepoName",
        type=aws_native.codegurureviewer.RepositoryAssociationType.BITBUCKET,
        connection_arn="arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
        owner="MyOwnerName")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myRepositoryAssociation = new aws_native.codegurureviewer.RepositoryAssociation("myRepositoryAssociation", {
        name: "MyBitbucketRepoName",
        type: aws_native.codegurureviewer.RepositoryAssociationType.Bitbucket,
        connectionArn: "arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
        owner: "MyOwnerName",
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myRepositoryAssociation = new AwsNative.CodeGuruReviewer.RepositoryAssociation("myRepositoryAssociation", new()
        {
            Name = "MyBitbucketRepoName",
            Type = AwsNative.CodeGuruReviewer.RepositoryAssociationType.Bitbucket,
            ConnectionArn = "arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
            Owner = "MyOwnerName",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codegurureviewer"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := codegurureviewer.NewRepositoryAssociation(ctx, "myRepositoryAssociation", &codegurureviewer.RepositoryAssociationArgs{
    			Name:          pulumi.String("MyBitbucketRepoName"),
    			Type:          codegurureviewer.RepositoryAssociationTypeBitbucket,
    			ConnectionArn: pulumi.String("arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"),
    			Owner:         pulumi.String("MyOwnerName"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_repository_association = aws_native.codegurureviewer.RepositoryAssociation("myRepositoryAssociation",
        name="MyBitbucketRepoName",
        type=aws_native.codegurureviewer.RepositoryAssociationType.BITBUCKET,
        connection_arn="arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
        owner="MyOwnerName")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myRepositoryAssociation = new aws_native.codegurureviewer.RepositoryAssociation("myRepositoryAssociation", {
        name: "MyBitbucketRepoName",
        type: aws_native.codegurureviewer.RepositoryAssociationType.Bitbucket,
        connectionArn: "arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
        owner: "MyOwnerName",
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myRepositoryAssociation = new AwsNative.CodeGuruReviewer.RepositoryAssociation("myRepositoryAssociation", new()
        {
            Name = "MyGitHubEnterpriseRepoName",
            Type = AwsNative.CodeGuruReviewer.RepositoryAssociationType.GitHubEnterpriseServer,
            ConnectionArn = "arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
            Owner = "MyOwnerName",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codegurureviewer"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := codegurureviewer.NewRepositoryAssociation(ctx, "myRepositoryAssociation", &codegurureviewer.RepositoryAssociationArgs{
    			Name:          pulumi.String("MyGitHubEnterpriseRepoName"),
    			Type:          codegurureviewer.RepositoryAssociationTypeGitHubEnterpriseServer,
    			ConnectionArn: pulumi.String("arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"),
    			Owner:         pulumi.String("MyOwnerName"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_repository_association = aws_native.codegurureviewer.RepositoryAssociation("myRepositoryAssociation",
        name="MyGitHubEnterpriseRepoName",
        type=aws_native.codegurureviewer.RepositoryAssociationType.GIT_HUB_ENTERPRISE_SERVER,
        connection_arn="arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
        owner="MyOwnerName")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myRepositoryAssociation = new aws_native.codegurureviewer.RepositoryAssociation("myRepositoryAssociation", {
        name: "MyGitHubEnterpriseRepoName",
        type: aws_native.codegurureviewer.RepositoryAssociationType.GitHubEnterpriseServer,
        connectionArn: "arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
        owner: "MyOwnerName",
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myRepositoryAssociation = new AwsNative.CodeGuruReviewer.RepositoryAssociation("myRepositoryAssociation", new()
        {
            Name = "MyGitHubEnterpriseRepoName",
            Type = AwsNative.CodeGuruReviewer.RepositoryAssociationType.GitHubEnterpriseServer,
            ConnectionArn = "arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
            Owner = "MyOwnerName",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codegurureviewer"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := codegurureviewer.NewRepositoryAssociation(ctx, "myRepositoryAssociation", &codegurureviewer.RepositoryAssociationArgs{
    			Name:          pulumi.String("MyGitHubEnterpriseRepoName"),
    			Type:          codegurureviewer.RepositoryAssociationTypeGitHubEnterpriseServer,
    			ConnectionArn: pulumi.String("arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"),
    			Owner:         pulumi.String("MyOwnerName"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_repository_association = aws_native.codegurureviewer.RepositoryAssociation("myRepositoryAssociation",
        name="MyGitHubEnterpriseRepoName",
        type=aws_native.codegurureviewer.RepositoryAssociationType.GIT_HUB_ENTERPRISE_SERVER,
        connection_arn="arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
        owner="MyOwnerName")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myRepositoryAssociation = new aws_native.codegurureviewer.RepositoryAssociation("myRepositoryAssociation", {
        name: "MyGitHubEnterpriseRepoName",
        type: aws_native.codegurureviewer.RepositoryAssociationType.GitHubEnterpriseServer,
        connectionArn: "arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
        owner: "MyOwnerName",
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myRepositoryAssociation = new AwsNative.CodeGuruReviewer.RepositoryAssociation("myRepositoryAssociation", new()
        {
            Name = "MyRepository",
            Type = AwsNative.CodeGuruReviewer.RepositoryAssociationType.CodeCommit,
            Tags = new[]
            {
                new AwsNative.Inputs.CreateOnlyTagArgs
                {
                    Key = "tag1-key",
                    Value = "tag1-value",
                },
                new AwsNative.Inputs.CreateOnlyTagArgs
                {
                    Key = "tag2-key",
                    Value = "tag2-value",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codegurureviewer"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := codegurureviewer.NewRepositoryAssociation(ctx, "myRepositoryAssociation", &codegurureviewer.RepositoryAssociationArgs{
    			Name: pulumi.String("MyRepository"),
    			Type: codegurureviewer.RepositoryAssociationTypeCodeCommit,
    			Tags: aws.CreateOnlyTagArray{
    				&aws.CreateOnlyTagArgs{
    					Key:   pulumi.String("tag1-key"),
    					Value: pulumi.String("tag1-value"),
    				},
    				&aws.CreateOnlyTagArgs{
    					Key:   pulumi.String("tag2-key"),
    					Value: pulumi.String("tag2-value"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_repository_association = aws_native.codegurureviewer.RepositoryAssociation("myRepositoryAssociation",
        name="MyRepository",
        type=aws_native.codegurureviewer.RepositoryAssociationType.CODE_COMMIT,
        tags=[
            aws_native.CreateOnlyTagArgs(
                key="tag1-key",
                value="tag1-value",
            ),
            aws_native.CreateOnlyTagArgs(
                key="tag2-key",
                value="tag2-value",
            ),
        ])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myRepositoryAssociation = new aws_native.codegurureviewer.RepositoryAssociation("myRepositoryAssociation", {
        name: "MyRepository",
        type: aws_native.codegurureviewer.RepositoryAssociationType.CodeCommit,
        tags: [
            {
                key: "tag1-key",
                value: "tag1-value",
            },
            {
                key: "tag2-key",
                value: "tag2-value",
            },
        ],
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myRepositoryAssociation = new AwsNative.CodeGuruReviewer.RepositoryAssociation("myRepositoryAssociation", new()
        {
            Name = "MyRepository",
            Type = AwsNative.CodeGuruReviewer.RepositoryAssociationType.CodeCommit,
            Tags = new[]
            {
                new AwsNative.Inputs.CreateOnlyTagArgs
                {
                    Key = "tag1-key",
                    Value = "tag1-value",
                },
                new AwsNative.Inputs.CreateOnlyTagArgs
                {
                    Key = "tag2-key",
                    Value = "tag2-value",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codegurureviewer"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := codegurureviewer.NewRepositoryAssociation(ctx, "myRepositoryAssociation", &codegurureviewer.RepositoryAssociationArgs{
    			Name: pulumi.String("MyRepository"),
    			Type: codegurureviewer.RepositoryAssociationTypeCodeCommit,
    			Tags: aws.CreateOnlyTagArray{
    				&aws.CreateOnlyTagArgs{
    					Key:   pulumi.String("tag1-key"),
    					Value: pulumi.String("tag1-value"),
    				},
    				&aws.CreateOnlyTagArgs{
    					Key:   pulumi.String("tag2-key"),
    					Value: pulumi.String("tag2-value"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_repository_association = aws_native.codegurureviewer.RepositoryAssociation("myRepositoryAssociation",
        name="MyRepository",
        type=aws_native.codegurureviewer.RepositoryAssociationType.CODE_COMMIT,
        tags=[
            aws_native.CreateOnlyTagArgs(
                key="tag1-key",
                value="tag1-value",
            ),
            aws_native.CreateOnlyTagArgs(
                key="tag2-key",
                value="tag2-value",
            ),
        ])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myRepositoryAssociation = new aws_native.codegurureviewer.RepositoryAssociation("myRepositoryAssociation", {
        name: "MyRepository",
        type: aws_native.codegurureviewer.RepositoryAssociationType.CodeCommit,
        tags: [
            {
                key: "tag1-key",
                value: "tag1-value",
            },
            {
                key: "tag2-key",
                value: "tag2-value",
            },
        ],
    });
    

    Coming soon!

    Create RepositoryAssociation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RepositoryAssociation(name: string, args: RepositoryAssociationArgs, opts?: CustomResourceOptions);
    @overload
    def RepositoryAssociation(resource_name: str,
                              args: RepositoryAssociationArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def RepositoryAssociation(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              type: Optional[RepositoryAssociationType] = None,
                              bucket_name: Optional[str] = None,
                              connection_arn: Optional[str] = None,
                              name: Optional[str] = None,
                              owner: Optional[str] = None,
                              tags: Optional[Sequence[_root_inputs.CreateOnlyTagArgs]] = 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-native:codegurureviewer:RepositoryAssociation
    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 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:

    Type Pulumi.AwsNative.CodeGuruReviewer.RepositoryAssociationType
    The type of repository to be associated.
    BucketName string
    The name of the S3 bucket associated with an associated S3 repository. It must start with codeguru-reviewer-.
    ConnectionArn string
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    Name string
    Name of the repository to be associated.
    Owner string
    The owner of the repository. For a Bitbucket repository, this is the username for the account that owns the repository.
    Tags List<Pulumi.AwsNative.Inputs.CreateOnlyTag>
    The tags associated with a repository association.
    Type RepositoryAssociationType
    The type of repository to be associated.
    BucketName string
    The name of the S3 bucket associated with an associated S3 repository. It must start with codeguru-reviewer-.
    ConnectionArn string
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    Name string
    Name of the repository to be associated.
    Owner string
    The owner of the repository. For a Bitbucket repository, this is the username for the account that owns the repository.
    Tags CreateOnlyTagArgs
    The tags associated with a repository association.
    type RepositoryAssociationType
    The type of repository to be associated.
    bucketName String
    The name of the S3 bucket associated with an associated S3 repository. It must start with codeguru-reviewer-.
    connectionArn String
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    name String
    Name of the repository to be associated.
    owner String
    The owner of the repository. For a Bitbucket repository, this is the username for the account that owns the repository.
    tags List<CreateOnlyTag>
    The tags associated with a repository association.
    type RepositoryAssociationType
    The type of repository to be associated.
    bucketName string
    The name of the S3 bucket associated with an associated S3 repository. It must start with codeguru-reviewer-.
    connectionArn string
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    name string
    Name of the repository to be associated.
    owner string
    The owner of the repository. For a Bitbucket repository, this is the username for the account that owns the repository.
    tags CreateOnlyTag[]
    The tags associated with a repository association.
    type RepositoryAssociationType
    The type of repository to be associated.
    bucket_name str
    The name of the S3 bucket associated with an associated S3 repository. It must start with codeguru-reviewer-.
    connection_arn str
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    name str
    Name of the repository to be associated.
    owner str
    The owner of the repository. For a Bitbucket repository, this is the username for the account that owns the repository.
    tags Sequence[CreateOnlyTagArgs]
    The tags associated with a repository association.
    type "CodeCommit" | "Bitbucket" | "GitHubEnterpriseServer" | "S3Bucket"
    The type of repository to be associated.
    bucketName String
    The name of the S3 bucket associated with an associated S3 repository. It must start with codeguru-reviewer-.
    connectionArn String
    The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
    name String
    Name of the repository to be associated.
    owner String
    The owner of the repository. For a Bitbucket repository, this is the username for the account that owns the repository.
    tags List<Property Map>
    The tags associated with a repository association.

    Outputs

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

    AssociationArn string
    The Amazon Resource Name (ARN) of the repository association.
    Id string
    The provider-assigned unique ID for this managed resource.
    AssociationArn string
    The Amazon Resource Name (ARN) of the repository association.
    Id string
    The provider-assigned unique ID for this managed resource.
    associationArn String
    The Amazon Resource Name (ARN) of the repository association.
    id String
    The provider-assigned unique ID for this managed resource.
    associationArn string
    The Amazon Resource Name (ARN) of the repository association.
    id string
    The provider-assigned unique ID for this managed resource.
    association_arn str
    The Amazon Resource Name (ARN) of the repository association.
    id str
    The provider-assigned unique ID for this managed resource.
    associationArn String
    The Amazon Resource Name (ARN) of the repository association.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    CreateOnlyTag, CreateOnlyTagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    RepositoryAssociationType, RepositoryAssociationTypeArgs

    CodeCommit
    CodeCommit
    Bitbucket
    Bitbucket
    GitHubEnterpriseServer
    GitHubEnterpriseServer
    S3Bucket
    S3Bucket
    RepositoryAssociationTypeCodeCommit
    CodeCommit
    RepositoryAssociationTypeBitbucket
    Bitbucket
    RepositoryAssociationTypeGitHubEnterpriseServer
    GitHubEnterpriseServer
    RepositoryAssociationTypeS3Bucket
    S3Bucket
    CodeCommit
    CodeCommit
    Bitbucket
    Bitbucket
    GitHubEnterpriseServer
    GitHubEnterpriseServer
    S3Bucket
    S3Bucket
    CodeCommit
    CodeCommit
    Bitbucket
    Bitbucket
    GitHubEnterpriseServer
    GitHubEnterpriseServer
    S3Bucket
    S3Bucket
    CODE_COMMIT
    CodeCommit
    BITBUCKET
    Bitbucket
    GIT_HUB_ENTERPRISE_SERVER
    GitHubEnterpriseServer
    S3_BUCKET
    S3Bucket
    "CodeCommit"
    CodeCommit
    "Bitbucket"
    Bitbucket
    "GitHubEnterpriseServer"
    GitHubEnterpriseServer
    "S3Bucket"
    S3Bucket

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi