Class CfnApprovalTeam
Creates a new approval team.
Inherited Members
Namespace: Amazon.CDK.AWS.MPA
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnApprovalTeam : CfnResource, IInspectable, IApprovalTeamRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Syntax (vb)
Public Class CfnApprovalTeam Inherits CfnResource Implements IInspectable, IApprovalTeamRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Remarks
For more information, see Approval team in the Multi-party approval User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html
CloudformationResource: AWS::MPA::ApprovalTeam
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.MPA;
var cfnApprovalTeam = new CfnApprovalTeam(this, "MyCfnApprovalTeam", new CfnApprovalTeamProps {
ApprovalStrategy = new ApprovalStrategyProperty {
MofN = new MofNApprovalStrategyProperty {
MinApprovalsRequired = 123
}
},
Approvers = new [] { new ApproverProperty {
PrimaryIdentityId = "primaryIdentityId",
PrimaryIdentitySourceArn = "primaryIdentitySourceArn",
// the properties below are optional
ApproverId = "approverId",
PrimaryIdentityStatus = "primaryIdentityStatus",
ResponseTime = "responseTime"
} },
Description = "description",
Name = "name",
Policies = new [] { new PolicyProperty {
PolicyArn = "policyArn"
} },
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
| CfnApprovalTeam(Construct, string, ICfnApprovalTeamProps) | Create a new |
Properties
| ApprovalStrategy | Contains details for how an approval team grants approval. |
| ApprovalTeamRef | A reference to a ApprovalTeam resource. |
| Approvers | Contains details for an approver. |
| AttrArn | Amazon Resource Name (ARN) for the team. |
| AttrCreationTime | Timestamp when the team was created. |
| AttrLastUpdateTime | Timestamp when the team was last updated. |
| AttrNumberOfApprovers | Total number of approvers in the team. |
| AttrStatus | Status for the team. |
| AttrStatusCode | Status code for the team. |
| AttrStatusMessage | Message describing the status for the team. |
| AttrUpdateSessionArn | Timestamp when the team was last updated. |
| AttrVersionId | Version ID for the team. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CdkTagManager | Tag Manager which manages the tags for this resource. |
| CfnProperties | Creates a new approval team. |
| Description | Description for the team. |
| Name | Name of the team. |
| Policies | Contains details for a policy. |
| Tags | Tags that you have added to the specified resource. |
Methods
| ArnForApprovalTeam(IApprovalTeamRef) | Creates a new approval team. |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| RenderProperties(IDictionary<string, object>) | Creates a new approval team. |
Constructors
CfnApprovalTeam(Construct, string, ICfnApprovalTeamProps)
Create a new AWS::MPA::ApprovalTeam.
public CfnApprovalTeam(Construct scope, string id, ICfnApprovalTeamProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnApprovalTeamProps
Resource properties.
Remarks
For more information, see Approval team in the Multi-party approval User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html
CloudformationResource: AWS::MPA::ApprovalTeam
ExampleMetadata: fixture=_generated
Properties
ApprovalStrategy
Contains details for how an approval team grants approval.
public virtual object ApprovalStrategy { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnApprovalTeam.IApprovalStrategyProperty
ApprovalTeamRef
A reference to a ApprovalTeam resource.
public virtual IApprovalTeamReference ApprovalTeamRef { get; }
Property Value
Remarks
For more information, see Approval team in the Multi-party approval User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html
CloudformationResource: AWS::MPA::ApprovalTeam
ExampleMetadata: fixture=_generated
Approvers
Contains details for an approver.
public virtual object Approvers { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnApprovalTeam.IApproverProperty)[]
AttrArn
Amazon Resource Name (ARN) for the team.
public virtual string AttrArn { get; }
Property Value
Remarks
CloudformationAttribute: Arn
AttrCreationTime
Timestamp when the team was created.
public virtual string AttrCreationTime { get; }
Property Value
Remarks
CloudformationAttribute: CreationTime
AttrLastUpdateTime
Timestamp when the team was last updated.
public virtual string AttrLastUpdateTime { get; }
Property Value
Remarks
CloudformationAttribute: LastUpdateTime
AttrNumberOfApprovers
Total number of approvers in the team.
public virtual double AttrNumberOfApprovers { get; }
Property Value
Remarks
CloudformationAttribute: NumberOfApprovers
AttrStatus
Status for the team.
public virtual string AttrStatus { get; }
Property Value
Remarks
For more information, see Team health in the Multi-party approval User Guide .
CloudformationAttribute: Status
AttrStatusCode
Status code for the team.
public virtual string AttrStatusCode { get; }
Property Value
Remarks
For more information, see Team health in the Multi-party approval User Guide .
CloudformationAttribute: StatusCode
AttrStatusMessage
Message describing the status for the team.
public virtual string AttrStatusMessage { get; }
Property Value
Remarks
CloudformationAttribute: StatusMessage
AttrUpdateSessionArn
Timestamp when the team was last updated.
public virtual string AttrUpdateSessionArn { get; }
Property Value
Remarks
CloudformationAttribute: UpdateSessionArn
AttrVersionId
Version ID for the team.
public virtual string AttrVersionId { get; }
Property Value
Remarks
CloudformationAttribute: VersionId
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
For more information, see Approval team in the Multi-party approval User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html
CloudformationResource: AWS::MPA::ApprovalTeam
ExampleMetadata: fixture=_generated
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
Remarks
For more information, see Approval team in the Multi-party approval User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html
CloudformationResource: AWS::MPA::ApprovalTeam
ExampleMetadata: fixture=_generated
CfnProperties
Creates a new approval team.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
For more information, see Approval team in the Multi-party approval User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html
CloudformationResource: AWS::MPA::ApprovalTeam
ExampleMetadata: fixture=_generated
Description
Description for the team.
public virtual string Description { get; set; }
Property Value
Remarks
For more information, see Approval team in the Multi-party approval User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html
CloudformationResource: AWS::MPA::ApprovalTeam
ExampleMetadata: fixture=_generated
Name
Name of the team.
public virtual string Name { get; set; }
Property Value
Remarks
For more information, see Approval team in the Multi-party approval User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html
CloudformationResource: AWS::MPA::ApprovalTeam
ExampleMetadata: fixture=_generated
Policies
Contains details for a policy.
public virtual object Policies { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnApprovalTeam.IPolicyProperty)[]
Tags
Tags that you have added to the specified resource.
public virtual ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For more information, see Approval team in the Multi-party approval User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html
CloudformationResource: AWS::MPA::ApprovalTeam
ExampleMetadata: fixture=_generated
Methods
ArnForApprovalTeam(IApprovalTeamRef)
Creates a new approval team.
public static string ArnForApprovalTeam(IApprovalTeamRef resource)
Parameters
- resource IApprovalTeamRef
Returns
Remarks
For more information, see Approval team in the Multi-party approval User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html
CloudformationResource: AWS::MPA::ApprovalTeam
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.MPA;
var cfnApprovalTeam = new CfnApprovalTeam(this, "MyCfnApprovalTeam", new CfnApprovalTeamProps {
ApprovalStrategy = new ApprovalStrategyProperty {
MofN = new MofNApprovalStrategyProperty {
MinApprovalsRequired = 123
}
},
Approvers = new [] { new ApproverProperty {
PrimaryIdentityId = "primaryIdentityId",
PrimaryIdentitySourceArn = "primaryIdentitySourceArn",
// the properties below are optional
ApproverId = "approverId",
PrimaryIdentityStatus = "primaryIdentityStatus",
ResponseTime = "responseTime"
} },
Description = "description",
Name = "name",
Policies = new [] { new PolicyProperty {
PolicyArn = "policyArn"
} },
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
For more information, see Approval team in the Multi-party approval User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html
CloudformationResource: AWS::MPA::ApprovalTeam
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Creates a new approval team.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
For more information, see Approval team in the Multi-party approval User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html
CloudformationResource: AWS::MPA::ApprovalTeam
ExampleMetadata: fixture=_generated