We recommend new projects start with resources from the AWS provider.
aws-native.codegurureviewer.RepositoryAssociation
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 * 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,
});
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)
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 * 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,
});
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)
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 * 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",
});
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")
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 * 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",
});
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")
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 * 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",
});
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")
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 * 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",
});
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")
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 * 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",
        },
    ],
});
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=[
        {
            "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 * 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",
        },
    ],
});
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=[
        {
            "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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RepositoryAssociation resource accepts the following input properties:
- Type
Pulumi.Aws Native. Code Guru Reviewer. Repository Association Type 
- 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.
- 
List<Pulumi.Aws Native. Inputs. Create Only Tag> 
- The tags associated with a repository association.
- Type
RepositoryAssociation Type 
- 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.
- 
CreateOnly Tag Args 
- The tags associated with a repository association.
- type
RepositoryAssociation Type 
- 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.
- 
List<CreateOnly Tag> 
- The tags associated with a repository association.
- type
RepositoryAssociation Type 
- 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.
- 
CreateOnly Tag[] 
- The tags associated with a repository association.
- type
RepositoryAssociation Type 
- 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.
- 
Sequence[CreateOnly Tag Args] 
- The tags associated with a repository association.
- type
"CodeCommit" | "Bitbucket" | "Git Hub Enterprise Server" | "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.
- 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      
RepositoryAssociationType, RepositoryAssociationTypeArgs      
- CodeCommit 
- CodeCommit
- Bitbucket
- Bitbucket
- GitHub Enterprise Server 
- GitHubEnterpriseServer
- S3Bucket
- S3Bucket
- RepositoryAssociation Type Code Commit 
- CodeCommit
- RepositoryAssociation Type Bitbucket 
- Bitbucket
- RepositoryAssociation Type Git Hub Enterprise Server 
- GitHubEnterpriseServer
- RepositoryAssociation Type S3Bucket 
- S3Bucket
- CodeCommit 
- CodeCommit
- Bitbucket
- Bitbucket
- GitHub Enterprise Server 
- GitHubEnterpriseServer
- S3Bucket
- S3Bucket
- CodeCommit 
- CodeCommit
- Bitbucket
- Bitbucket
- GitHub Enterprise Server 
- GitHubEnterpriseServer
- S3Bucket
- S3Bucket
- CODE_COMMIT
- CodeCommit
- BITBUCKET
- Bitbucket
- GIT_HUB_ENTERPRISE_SERVER
- GitHubEnterpriseServer
- S3_BUCKET
- S3Bucket
- "CodeCommit" 
- CodeCommit
- "Bitbucket"
- Bitbucket
- "GitHub Enterprise Server" 
- GitHubEnterpriseServer
- "S3Bucket"
- S3Bucket
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.