@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-25T18:28:56.698Z")
public interface CfnRepositoryAssociationProps
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.codegurureviewer.*; CfnRepositoryAssociationProps cfnRepositoryAssociationProps = CfnRepositoryAssociationProps.builder() .name("name") .type("type") // the properties below are optional .bucketName("bucketName") .connectionArn("connectionArn") .owner("owner") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnRepositoryAssociationProps.Builder
A builder for
CfnRepositoryAssociationProps |
static class |
CfnRepositoryAssociationProps.Jsii$Proxy
An implementation for
CfnRepositoryAssociationProps |
Modifier and Type | Method and Description |
---|---|
static CfnRepositoryAssociationProps.Builder |
builder() |
default java.lang.String |
getBucketName()
The name of the bucket.
|
default java.lang.String |
getConnectionArn()
The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
|
java.lang.String |
getName()
The name of the repository.
|
default java.lang.String |
getOwner()
The owner of the repository.
|
default java.util.List<CfnTag> |
getTags()
An array of key-value pairs used to tag an associated repository.
|
java.lang.String |
getType()
The type of repository that contains the source code to be reviewed.
|
java.lang.String getName()
java.lang.String getType()
CodeCommit
Bitbucket
GitHubEnterpriseServer
S3Bucket
default java.lang.String getBucketName()
This is required for your S3Bucket repositoryThe name must start with the prefix, codeguru-reviewer-*
.
default java.lang.String getConnectionArn()
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.
default java.lang.String getOwner()
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.
default java.util.List<CfnTag> getTags()
A tag is a custom attribute label with two parts:
CostCenter
, Environment
, Project
, or Secret
). Tag keys are case sensitive.111122223333
, Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.static CfnRepositoryAssociationProps.Builder builder()