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,IApprovalTeamRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:15.938Z")
@Stability(Stable)
public class CfnApprovalTeam
extends CfnResource
implements IInspectable, IApprovalTeamRef, 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 interfaceStrategy for how an approval team grants approval.static interfaceContains details for an approver.static final classA fluent builder forCfnApprovalTeam.static interfaceStrategy for how an approval team grants approval.static interfaceContains details for a policy.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.mpa.IApprovalTeamRef
IApprovalTeamRef.Jsii$Default, IApprovalTeamRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnApprovalTeam(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnApprovalTeam(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.A reference to a ApprovalTeam resource.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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetApprovalStrategy(IResolvable value) Contains details for how an approval team grants approval.voidContains details for how an approval team grants approval.voidsetApprovers(List<Object> value) Contains details for an approver.voidsetApprovers(IResolvable value) Contains details for an approver.voidsetDescription(String value) Description for the team.voidName of the team.voidsetPolicies(List<Object> value) Contains details for a policy.voidsetPolicies(IResolvable value) Contains details for a policy.voidTags 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, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods 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:
inspectin 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getApprovalTeamRef
A reference to a ApprovalTeam resource.- Specified by:
getApprovalTeamRefin interfaceIApprovalTeamRef
-
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:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin 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.
-