Interface ICfnRepositoryAssociationProps
Properties for defining a CfnRepositoryAssociation
.
Namespace: Amazon.CDK.AWS.CodeGuruReviewer
Assembly: Amazon.CDK.AWS.CodeGuruReviewer.dll
Syntax (csharp)
public interface ICfnRepositoryAssociationProps
Syntax (vb)
Public Interface ICfnRepositoryAssociationProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeGuruReviewer;
var cfnRepositoryAssociationProps = new CfnRepositoryAssociationProps {
Name = "name",
Type = "type",
// the properties below are optional
BucketName = "bucketName",
ConnectionArn = "connectionArn",
Owner = "owner",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
BucketName | The name of the bucket. |
ConnectionArn | The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. |
Name | The name of the repository. |
Owner | The owner of the repository. |
Tags | An array of key-value pairs used to tag an associated repository. |
Type | The type of repository that contains the source code to be reviewed. The valid values are:. |
Properties
BucketName
The name of the bucket.
virtual string BucketName { get; }
Property Value
System.String
Remarks
This is required for your S3Bucket repository. The name must start with the prefix codeguru-reviewer-*
.
ConnectionArn
The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
virtual string ConnectionArn { get; }
Property Value
System.String
Remarks
Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id
. For more information, see Connection in the AWS CodeStar Connections API Reference .
ConnectionArn
must be specified for Bitbucket and GitHub Enterprise Server repositories. It has no effect if it is specified for an AWS CodeCommit repository.
Name
The name of the repository.
string Name { get; }
Property Value
System.String
Remarks
Owner
The owner of the repository.
virtual string Owner { get; }
Property Value
System.String
Remarks
For a GitHub Enterprise Server or Bitbucket repository, this is the username for the account that owns the repository.
Owner
must be specified for Bitbucket and GitHub Enterprise Server repositories. It has no effect if it is specified for an AWS CodeCommit repository.
Tags
An array of key-value pairs used to tag an associated repository.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
Remarks
A tag is a custom attribute label with two parts:
Type
The type of repository that contains the source code to be reviewed. The valid values are:.
string Type { get; }
Property Value
System.String