Class CfnStackSetConstraint
A CloudFormation AWS::ServiceCatalog::StackSetConstraint
.
Inherited Members
Namespace: Amazon.CDK.AWS.ServiceCatalog
Assembly: Amazon.CDK.AWS.ServiceCatalog.dll
Syntax (csharp)
public class CfnStackSetConstraint : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnStackSetConstraint
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Specifies a StackSet constraint.
CloudformationResource: AWS::ServiceCatalog::StackSetConstraint
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.ServiceCatalog;
var cfnStackSetConstraint = new CfnStackSetConstraint(this, "MyCfnStackSetConstraint", new CfnStackSetConstraintProps {
AccountList = new [] { "accountList" },
AdminRole = "adminRole",
Description = "description",
ExecutionRole = "executionRole",
PortfolioId = "portfolioId",
ProductId = "productId",
RegionList = new [] { "regionList" },
StackInstanceControl = "stackInstanceControl",
// the properties below are optional
AcceptLanguage = "acceptLanguage"
});
Synopsis
Constructors
CfnStackSetConstraint(Construct, String, ICfnStackSetConstraintProps) | Create a new |
CfnStackSetConstraint(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnStackSetConstraint(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AcceptLanguage | The language code. |
AccountList | One or more AWS accounts that will have access to the provisioned product. |
AdminRole | AdminRole ARN. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The description of the constraint. |
ExecutionRole | ExecutionRole name. |
PortfolioId | The portfolio identifier. |
ProductId | The product identifier. |
RegionList | One or more AWS Regions where the provisioned product will be available. |
StackInstanceControl | Permission to create, update, and delete stack instances. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnStackSetConstraint(Construct, String, ICfnStackSetConstraintProps)
Create a new AWS::ServiceCatalog::StackSetConstraint
.
public CfnStackSetConstraint(Construct scope, string id, ICfnStackSetConstraintProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnStackSetConstraintProps
- resource properties.
CfnStackSetConstraint(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnStackSetConstraint(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnStackSetConstraint(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnStackSetConstraint(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AcceptLanguage
The language code.
public virtual string AcceptLanguage { get; set; }
Property Value
System.String
Remarks
AccountList
One or more AWS accounts that will have access to the provisioned product.
public virtual string[] AccountList { get; set; }
Property Value
System.String[]
Remarks
AdminRole
AdminRole ARN.
public virtual string AdminRole { get; set; }
Property Value
System.String
Remarks
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
The description of the constraint.
public virtual string Description { get; set; }
Property Value
System.String
Remarks
ExecutionRole
ExecutionRole name.
public virtual string ExecutionRole { get; set; }
Property Value
System.String
Remarks
PortfolioId
The portfolio identifier.
public virtual string PortfolioId { get; set; }
Property Value
System.String
Remarks
ProductId
The product identifier.
public virtual string ProductId { get; set; }
Property Value
System.String
Remarks
RegionList
One or more AWS Regions where the provisioned product will be available.
public virtual string[] RegionList { get; set; }
Property Value
System.String[]
Remarks
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.
StackInstanceControl
Permission to create, update, and delete stack instances.
public virtual string StackInstanceControl { get; set; }
Property Value
System.String
Remarks
Choose from ALLOWED and NOT_ALLOWED.
Methods
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.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>