class CfnApprovalTeamPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.MPA.Mixins.CfnApprovalTeamPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmpa/mixins#CfnApprovalTeamPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.mpa.mixins.CfnApprovalTeamPropsMixin |
Python | aws_cdk.mixins_preview.aws_mpa.mixins.CfnApprovalTeamPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_mpa » mixins » CfnApprovalTeamPropsMixin |
Implements
IMixin
Extends
Mixin
Creates a new approval team.
For more information, see Approval team in the Multi-party approval User Guide .
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as mpa_mixins } from '@aws-cdk/mixins-preview/aws-mpa';
const cfnApprovalTeamPropsMixin = new mpa_mixins.CfnApprovalTeamPropsMixin({
approvalStrategy: {
mofN: {
minApprovalsRequired: 123,
},
},
approvers: [{
approverId: 'approverId',
primaryIdentityId: 'primaryIdentityId',
primaryIdentitySourceArn: 'primaryIdentitySourceArn',
primaryIdentityStatus: 'primaryIdentityStatus',
responseTime: 'responseTime',
}],
description: 'description',
name: 'name',
policies: [{
policyArn: 'policyArn',
}],
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnApprovalTeamPropsMixin(props: CfnApprovalTeamMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Approval Team Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::MPA::ApprovalTeam.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript