Class CfnSupportPermit.Builder
java.lang.Object
software.amazon.awscdk.services.supportauthz.CfnSupportPermit.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSupportPermit>
- Enclosing class:
CfnSupportPermit
@Stability(Stable)
public static final class CfnSupportPermit.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSupportPermit>
A fluent builder for
CfnSupportPermit.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnSupportPermit.Builderdescription(String description) An optional description of the support permit.The name of the support permit.permit(IResolvable permit) The grant definition: which actions on which resources, optionally constrained by time conditions.The grant definition: which actions on which resources, optionally constrained by time conditions.signingKeyInfo(IResolvable signingKeyInfo) The signing key used by the permit.signingKeyInfo(CfnSupportPermit.SigningKeyInfoProperty signingKeyInfo) The signing key used by the permit.supportCaseDisplayId(String supportCaseDisplayId) The support case display identifier associated with the permit.A list of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnSupportPermit.Builder create(software.constructs.Construct scope, String id) - 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.- Returns:
- a new instance of
CfnSupportPermit.Builder.
-
name
The name of the support permit.- Parameters:
name- The name of the support permit. This parameter is required.- Returns:
this- See Also:
-
permit
The grant definition: which actions on which resources, optionally constrained by time conditions.- Parameters:
permit- The grant definition: which actions on which resources, optionally constrained by time conditions. This parameter is required.- Returns:
this- See Also:
-
permit
The grant definition: which actions on which resources, optionally constrained by time conditions.- Parameters:
permit- The grant definition: which actions on which resources, optionally constrained by time conditions. This parameter is required.- Returns:
this- See Also:
-
signingKeyInfo
The signing key used by the permit.Exactly one key type must be provided.
- Parameters:
signingKeyInfo- The signing key used by the permit. This parameter is required.- Returns:
this- See Also:
-
signingKeyInfo
@Stability(Stable) public CfnSupportPermit.Builder signingKeyInfo(CfnSupportPermit.SigningKeyInfoProperty signingKeyInfo) The signing key used by the permit.Exactly one key type must be provided.
- Parameters:
signingKeyInfo- The signing key used by the permit. This parameter is required.- Returns:
this- See Also:
-
description
An optional description of the support permit.- Parameters:
description- An optional description of the support permit. This parameter is required.- Returns:
this- See Also:
-
supportCaseDisplayId
@Stability(Stable) public CfnSupportPermit.Builder supportCaseDisplayId(String supportCaseDisplayId) The support case display identifier associated with the permit.When provided, the permit is linked to the specified AWS Support case.
- Parameters:
supportCaseDisplayId- The support case display identifier associated with the permit. This parameter is required.- Returns:
this- See Also:
-
tags
A list of key-value pairs to apply to this resource.- Parameters:
tags- A list of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSupportPermit>- Returns:
- a newly built instance of
CfnSupportPermit.
-