Class CfnRepositoryAssociationPropsMixin
This resource configures how Amazon CodeGuru Reviewer retrieves the source code to be reviewed.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.CodeGuruReviewer.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnRepositoryAssociationPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnRepositoryAssociationPropsMixin Inherits Mixin Implements IMixin
Remarks
You can use an AWS CloudFormation template to create an association with the following repository types:
You cannot use a CloudFormation template to create an association with a GitHub repository.
CloudformationResource: AWS::CodeGuruReviewer::RepositoryAssociation
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.CodeGuruReviewer.Mixins;
var cfnRepositoryAssociationPropsMixin = new CfnRepositoryAssociationPropsMixin(new CfnRepositoryAssociationMixinProps {
BucketName = "bucketName",
ConnectionArn = "connectionArn",
Name = "name",
Owner = "owner",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Type = "type"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnRepositoryAssociationPropsMixin(ICfnRepositoryAssociationMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | This resource configures how Amazon CodeGuru Reviewer retrieves the source code to be reviewed. |
| Props | This resource configures how Amazon CodeGuru Reviewer retrieves the source code to be reviewed. |
| Strategy | This resource configures how Amazon CodeGuru Reviewer retrieves the source code to be reviewed. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnRepositoryAssociationPropsMixin(ICfnRepositoryAssociationMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::CodeGuruReviewer::RepositoryAssociation.
public CfnRepositoryAssociationPropsMixin(ICfnRepositoryAssociationMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnRepositoryAssociationMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
You can use an AWS CloudFormation template to create an association with the following repository types:
You cannot use a CloudFormation template to create an association with a GitHub repository.
CloudformationResource: AWS::CodeGuruReviewer::RepositoryAssociation
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
This resource configures how Amazon CodeGuru Reviewer retrieves the source code to be reviewed.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
You can use an AWS CloudFormation template to create an association with the following repository types:
You cannot use a CloudFormation template to create an association with a GitHub repository.
CloudformationResource: AWS::CodeGuruReviewer::RepositoryAssociation
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.CodeGuruReviewer.Mixins;
var cfnRepositoryAssociationPropsMixin = new CfnRepositoryAssociationPropsMixin(new CfnRepositoryAssociationMixinProps {
BucketName = "bucketName",
ConnectionArn = "connectionArn",
Name = "name",
Owner = "owner",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Type = "type"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
This resource configures how Amazon CodeGuru Reviewer retrieves the source code to be reviewed.
protected virtual ICfnRepositoryAssociationMixinProps Props { get; }
Property Value
ICfnRepositoryAssociationMixinProps
Remarks
You can use an AWS CloudFormation template to create an association with the following repository types:
You cannot use a CloudFormation template to create an association with a GitHub repository.
CloudformationResource: AWS::CodeGuruReviewer::RepositoryAssociation
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.CodeGuruReviewer.Mixins;
var cfnRepositoryAssociationPropsMixin = new CfnRepositoryAssociationPropsMixin(new CfnRepositoryAssociationMixinProps {
BucketName = "bucketName",
ConnectionArn = "connectionArn",
Name = "name",
Owner = "owner",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Type = "type"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
This resource configures how Amazon CodeGuru Reviewer retrieves the source code to be reviewed.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
You can use an AWS CloudFormation template to create an association with the following repository types:
You cannot use a CloudFormation template to create an association with a GitHub repository.
CloudformationResource: AWS::CodeGuruReviewer::RepositoryAssociation
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.CodeGuruReviewer.Mixins;
var cfnRepositoryAssociationPropsMixin = new CfnRepositoryAssociationPropsMixin(new CfnRepositoryAssociationMixinProps {
BucketName = "bucketName",
ConnectionArn = "connectionArn",
Name = "name",
Owner = "owner",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Type = "type"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
You can use an AWS CloudFormation template to create an association with the following repository types:
You cannot use a CloudFormation template to create an association with a GitHub repository.
CloudformationResource: AWS::CodeGuruReviewer::RepositoryAssociation
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
You can use an AWS CloudFormation template to create an association with the following repository types:
You cannot use a CloudFormation template to create an association with a GitHub repository.
CloudformationResource: AWS::CodeGuruReviewer::RepositoryAssociation
Mixin: true
ExampleMetadata: fixture=_generated