CfnApprovalTeamProps
- class aws_cdk.aws_mpa.CfnApprovalTeamProps(*, approval_strategy, approvers, description, name, policies, tags=None)
Bases:
object
Properties for defining a
CfnApprovalTeam
.- Parameters:
approval_strategy (
Union
[IResolvable
,ApprovalStrategyProperty
,Dict
[str
,Any
]]) – Contains details for how an approval team grants approval.approvers (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,ApproverProperty
,Dict
[str
,Any
]]]]) – Contains details for an approver.description (
str
) – Description for the team.name (
str
) – Name of the team.policies (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,PolicyProperty
,Dict
[str
,Any
]]]]) – Contains details for a policy. Policies define what operations a team that define the permissions for team resources.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – Tags that you have added to the specified resource.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_mpa as mpa cfn_approval_team_props = mpa.CfnApprovalTeamProps( approval_strategy=mpa.CfnApprovalTeam.ApprovalStrategyProperty( mof_n=mpa.CfnApprovalTeam.MofNApprovalStrategyProperty( min_approvals_required=123 ) ), approvers=[mpa.CfnApprovalTeam.ApproverProperty( primary_identity_id="primaryIdentityId", primary_identity_source_arn="primaryIdentitySourceArn", # the properties below are optional approver_id="approverId", primary_identity_status="primaryIdentityStatus", response_time="responseTime" )], description="description", name="name", policies=[mpa.CfnApprovalTeam.PolicyProperty( policy_arn="policyArn" )], # the properties below are optional tags=[CfnTag( key="key", value="value" )] )
Attributes
- approval_strategy
Contains details for how an approval team grants approval.
- approvers
Contains details for an approver.
- description
Description for the team.
- name
Name of the team.
- policies
Contains details for a policy.
Policies define what operations a team that define the permissions for team resources.
- tags
Tags that you have added to the specified resource.