Class CfnApprovalTeam
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.mpa.CfnApprovalTeam
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-07-16T11:43:18.541Z")
@Stability(Stable)
public class CfnApprovalTeam
extends CfnResource
implements IInspectable, ITaggableV2
Creates a new approval team.
For more information, see Approval team in the Multi-party approval User Guide .
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.mpa.*; CfnApprovalTeam cfnApprovalTeam = CfnApprovalTeam.Builder.create(this, "MyCfnApprovalTeam") .approvalStrategy(ApprovalStrategyProperty.builder() .mofN(MofNApprovalStrategyProperty.builder() .minApprovalsRequired(123) .build()) .build()) .approvers(List.of(ApproverProperty.builder() .primaryIdentityId("primaryIdentityId") .primaryIdentitySourceArn("primaryIdentitySourceArn") // the properties below are optional .approverId("approverId") .primaryIdentityStatus("primaryIdentityStatus") .responseTime("responseTime") .build())) .description("description") .name("name") .policies(List.of(PolicyProperty.builder() .policyArn("policyArn") .build())) // the properties below are optional .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Strategy for how an approval team grants approval.static interface
Contains details for an approver.static final class
A fluent builder forCfnApprovalTeam
.static interface
Strategy for how an approval team grants approval.static interface
Contains details for a policy.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnApprovalTeam
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnApprovalTeam
(software.amazon.jsii.JsiiObjectRef objRef) CfnApprovalTeam
(software.constructs.Construct scope, String id, CfnApprovalTeamProps props) -
Method Summary
Modifier and TypeMethodDescriptionContains details for how an approval team grants approval.Contains details for an approver.Amazon Resource Name (ARN) for the team.Timestamp when the team was created.Timestamp when the team was last updated.Total number of approvers in the team.Status for the team.Status code for the team.Message describing the status for the team.Timestamp when the team was last updated.Version ID for the team.Tag Manager which manages the tags for this resource.Description for the team.getName()
Name of the team.Contains details for a policy.getTags()
Tags that you have added to the specified resource.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setApprovalStrategy
(IResolvable value) Contains details for how an approval team grants approval.void
Contains details for how an approval team grants approval.void
setApprovers
(List<Object> value) Contains details for an approver.void
setApprovers
(IResolvable value) Contains details for an approver.void
setDescription
(String value) Description for the team.void
Name of the team.void
setPolicies
(List<Object> value) Contains details for a policy.void
setPolicies
(IResolvable value) Contains details for a policy.void
Tags that you have added to the specified resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnApprovalTeam
protected CfnApprovalTeam(software.amazon.jsii.JsiiObjectRef objRef) -
CfnApprovalTeam
protected CfnApprovalTeam(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnApprovalTeam
@Stability(Stable) public CfnApprovalTeam(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnApprovalTeamProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
Amazon Resource Name (ARN) for the team. -
getAttrCreationTime
Timestamp when the team was created. -
getAttrLastUpdateTime
Timestamp when the team was last updated. -
getAttrNumberOfApprovers
Total number of approvers in the team. -
getAttrStatus
Status for the team.For more information, see Team health in the Multi-party approval User Guide .
-
getAttrStatusCode
Status code for the team.For more information, see Team health in the Multi-party approval User Guide .
-
getAttrStatusMessage
Message describing the status for the team. -
getAttrUpdateSessionArn
Timestamp when the team was last updated. -
getAttrVersionId
Version ID for the team. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getApprovalStrategy
Contains details for how an approval team grants approval. -
setApprovalStrategy
Contains details for how an approval team grants approval. -
setApprovalStrategy
@Stability(Stable) public void setApprovalStrategy(@NotNull CfnApprovalTeam.ApprovalStrategyProperty value) Contains details for how an approval team grants approval. -
getApprovers
Contains details for an approver. -
setApprovers
Contains details for an approver. -
setApprovers
Contains details for an approver. -
getDescription
Description for the team. -
setDescription
Description for the team. -
getName
Name of the team. -
setName
Name of the team. -
getPolicies
Contains details for a policy. -
setPolicies
Contains details for a policy. -
setPolicies
Contains details for a policy. -
getTags
Tags that you have added to the specified resource. -
setTags
Tags that you have added to the specified resource.
-