@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:53.711Z") public class CfnStackSetConstraint extends CfnResource implements IInspectable
Specifies a StackSet constraint.
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.servicecatalog.*; CfnStackSetConstraint cfnStackSetConstraint = CfnStackSetConstraint.Builder.create(this, "MyCfnStackSetConstraint") .accountList(List.of("accountList")) .adminRole("adminRole") .description("description") .executionRole("executionRole") .portfolioId("portfolioId") .productId("productId") .regionList(List.of("regionList")) .stackInstanceControl("stackInstanceControl") // the properties below are optional .acceptLanguage("acceptLanguage") .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnStackSetConstraint.Builder
A fluent builder for
CfnStackSetConstraint . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnStackSetConstraint(Construct scope,
java.lang.String id,
CfnStackSetConstraintProps props)
Create a new `AWS::ServiceCatalog::StackSetConstraint`.
|
protected |
CfnStackSetConstraint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnStackSetConstraint(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAcceptLanguage()
The language code.
|
java.util.List<java.lang.String> |
getAccountList()
One or more AWS accounts that will have access to the provisioned product.
|
java.lang.String |
getAdminRole()
AdminRole ARN.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDescription()
The description of the constraint.
|
java.lang.String |
getExecutionRole()
ExecutionRole name.
|
java.lang.String |
getPortfolioId()
The portfolio identifier.
|
java.lang.String |
getProductId()
The product identifier.
|
java.util.List<java.lang.String> |
getRegionList()
One or more AWS Regions where the provisioned product will be available.
|
java.lang.String |
getStackInstanceControl()
Permission to create, update, and delete stack instances.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setAcceptLanguage(java.lang.String value)
The language code.
|
void |
setAccountList(java.util.List<java.lang.String> value)
One or more AWS accounts that will have access to the provisioned product.
|
void |
setAdminRole(java.lang.String value)
AdminRole ARN.
|
void |
setDescription(java.lang.String value)
The description of the constraint.
|
void |
setExecutionRole(java.lang.String value)
ExecutionRole name.
|
void |
setPortfolioId(java.lang.String value)
The portfolio identifier.
|
void |
setProductId(java.lang.String value)
The product identifier.
|
void |
setRegionList(java.util.List<java.lang.String> value)
One or more AWS Regions where the provisioned product will be available.
|
void |
setStackInstanceControl(java.lang.String value)
Permission to create, update, and delete stack instances.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnStackSetConstraint(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnStackSetConstraint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnStackSetConstraint(Construct scope, java.lang.String id, CfnStackSetConstraintProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.util.List<java.lang.String> getAccountList()
public void setAccountList(java.util.List<java.lang.String> value)
public java.lang.String getAdminRole()
public void setAdminRole(java.lang.String value)
public java.lang.String getDescription()
public void setDescription(java.lang.String value)
public java.lang.String getExecutionRole()
public void setExecutionRole(java.lang.String value)
public java.lang.String getPortfolioId()
public void setPortfolioId(java.lang.String value)
public java.lang.String getProductId()
public void setProductId(java.lang.String value)
public java.util.List<java.lang.String> getRegionList()
Applicable only to a CFN_STACKSET
provisioned product type.
The specified Regions should be within the list of Regions from the STACKSET
constraint. To get the list of Regions in the STACKSET
constraint, use the DescribeProvisioningParameters
operation.
If no values are specified, the default value is all Regions from the STACKSET
constraint.
public void setRegionList(java.util.List<java.lang.String> value)
Applicable only to a CFN_STACKSET
provisioned product type.
The specified Regions should be within the list of Regions from the STACKSET
constraint. To get the list of Regions in the STACKSET
constraint, use the DescribeProvisioningParameters
operation.
If no values are specified, the default value is all Regions from the STACKSET
constraint.
public java.lang.String getStackInstanceControl()
Choose from ALLOWED and NOT_ALLOWED.
public void setStackInstanceControl(java.lang.String value)
Choose from ALLOWED and NOT_ALLOWED.
public java.lang.String getAcceptLanguage()
en
- English (default)jp
- Japanesezh
- Chinesepublic void setAcceptLanguage(java.lang.String value)
en
- English (default)jp
- Japanesezh
- Chinese