We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 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
})
}
Example coming soon!
Example 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)
Example 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
})
}
Example coming soon!
Example 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)
Example 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
})
}
Example coming soon!
Example 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")
Example 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
})
}
Example coming soon!
Example 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")
Example 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
})
}
Example coming soon!
Example 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")
Example 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
})
}
Example coming soon!
Example 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")
Example 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
})
}
Example coming soon!
Example 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",
},
])
Example 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
})
}
Example coming soon!
Example 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",
},
])
Example 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.
resource "aws-native_codegurureviewer_repository_association" "name" {
# resource properties
}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.
- Bucket
Name string - The name of the S3 bucket associated with an associated S3 repository. It must start with
codeguru-reviewer-. - Connection
Arn 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
Repository
Association Type - The type of repository to be associated.
- Bucket
Name string - The name of the S3 bucket associated with an associated S3 repository. It must start with
codeguru-reviewer-. - Connection
Arn 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.
-
Create
Only Tag Args - The tags associated with a repository association.
- type
"Code
Commit" | "Bitbucket" | "Git Hub Enterprise Server" | "S3Bucket" - The type of repository to be associated.
- bucket_
name string - The name of the S3 bucket associated with an associated S3 repository. It must start with
codeguru-reviewer-. - connection_
arn 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(object)
- The tags associated with a repository association.
- type
Repository
Association Type - The type of repository to be associated.
- bucket
Name String - The name of the S3 bucket associated with an associated S3 repository. It must start with
codeguru-reviewer-. - connection
Arn 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<Create
Only Tag> - The tags associated with a repository association.
- type
Repository
Association Type - The type of repository to be associated.
- bucket
Name string - The name of the S3 bucket associated with an associated S3 repository. It must start with
codeguru-reviewer-. - connection
Arn 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.
-
Create
Only Tag[] - The tags associated with a repository association.
- type
Repository
Association 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[Create
Only Tag Args] - The tags associated with a repository association.
- type
"Code
Commit" | "Bitbucket" | "Git Hub Enterprise Server" | "S3Bucket" - The type of repository to be associated.
- bucket
Name String - The name of the S3 bucket associated with an associated S3 repository. It must start with
codeguru-reviewer-. - connection
Arn 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:
- Association
Arn string - The Amazon Resource Name (ARN) of the repository association.
- Id string
- The provider-assigned unique ID for this managed resource.
- Association
Arn string - The Amazon Resource Name (ARN) of the repository association.
- Id string
- The provider-assigned unique ID for this managed resource.
- association_
arn string - The Amazon Resource Name (ARN) of the repository association.
- id string
- The provider-assigned unique ID for this managed resource.
- association
Arn String - The Amazon Resource Name (ARN) of the repository association.
- id String
- The provider-assigned unique ID for this managed resource.
- association
Arn 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.
- association
Arn String - The Amazon Resource Name (ARN) of the repository association.
- id String
- The provider-assigned unique ID for this managed resource.
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>, opts?: CustomResourceOptions): RepositoryAssociation@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> RepositoryAssociationfunc GetRepositoryAssociation(ctx *Context, name string, id IDInput, state *RepositoryAssociationState, opts ...ResourceOption) (*RepositoryAssociation, error)public static RepositoryAssociation Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static RepositoryAssociation get(String name, Output<String> id, CustomResourceOptions options)resources: existingRepositoryAssociation: type: aws-native:codegurureviewer:RepositoryAssociation get: id: ${id}import {
to = aws-native_codegurureviewer_repository_association.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state RepositoryAssociationState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
CreateOnlyTag, CreateOnlyTagArgs
A set of tags to apply to the resource.
RepositoryAssociationType
The type of repository to be associated.
| Name | Value |
|---|---|
| Code | CodeCommit |
| Bitbucket | Bitbucket |
| Git | GitHubEnterpriseServer |
| S3Bucket | S3Bucket |
| Name | Value |
|---|---|
| Repository | CodeCommit |
| Repository | Bitbucket |
| Repository | GitHubEnterpriseServer |
| Repository | S3Bucket |
| Value |
|---|
CodeCommit |
Bitbucket |
GitHubEnterpriseServer |
S3Bucket |
| Name | Value |
|---|---|
| Code | CodeCommit |
| Bitbucket | Bitbucket |
| Git | GitHubEnterpriseServer |
| S3Bucket | S3Bucket |
| Name | Value |
|---|---|
| Code | CodeCommit |
| Bitbucket | Bitbucket |
| Git | GitHubEnterpriseServer |
| S3Bucket | S3Bucket |
| Name | Value |
|---|---|
| CODE_COMMIT | CodeCommit |
| BITBUCKET | Bitbucket |
| GIT_HUB_ENTERPRISE_SERVER | GitHubEnterpriseServer |
| S3_BUCKET | S3Bucket |
| Value |
|---|
CodeCommit |
Bitbucket |
GitHubEnterpriseServer |
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.
published on Wednesday, Nov 18, 2026 by Pulumi