Class CfnStackSetConstraint
Specifies a StackSet constraint.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Servicecatalog
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStackSetConstraint : CfnResource, IInspectable
Syntax (vb)
Public Class CfnStackSetConstraint Inherits CfnResource Implements IInspectable
Remarks
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) | Specifies a StackSet constraint. |
Properties
AcceptLanguage | The language code. |
AccountList | One or more AWS accounts that will have access to the provisioned product. |
AdminRole | AdminRole ARN. |
AttrId | Specifies a StackSet constraint. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | Specifies a StackSet constraint. |
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>) | Specifies a StackSet constraint. |
Constructors
CfnStackSetConstraint(Construct, string, ICfnStackSetConstraintProps)
Specifies a StackSet constraint.
public CfnStackSetConstraint(Construct scope, string id, ICfnStackSetConstraintProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnStackSetConstraintProps
Resource properties.
Remarks
CloudformationResource: AWS::ServiceCatalog::StackSetConstraint
ExampleMetadata: fixture=_generated
Properties
AcceptLanguage
The language code.
public virtual string? AcceptLanguage { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::StackSetConstraint
ExampleMetadata: fixture=_generated
AccountList
One or more AWS accounts that will have access to the provisioned product.
public virtual string[] AccountList { get; set; }
Property Value
string[]
Remarks
CloudformationResource: AWS::ServiceCatalog::StackSetConstraint
ExampleMetadata: fixture=_generated
AdminRole
AdminRole ARN.
public virtual string AdminRole { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::StackSetConstraint
ExampleMetadata: fixture=_generated
AttrId
Specifies a StackSet constraint.
public virtual string AttrId { get; }
Property Value
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::StackSetConstraint
ExampleMetadata: fixture=_generated
CfnProperties
Specifies a StackSet constraint.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::ServiceCatalog::StackSetConstraint
ExampleMetadata: fixture=_generated
Description
The description of the constraint.
public virtual string Description { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::StackSetConstraint
ExampleMetadata: fixture=_generated
ExecutionRole
ExecutionRole name.
public virtual string ExecutionRole { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::StackSetConstraint
ExampleMetadata: fixture=_generated
PortfolioId
The portfolio identifier.
public virtual string PortfolioId { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::StackSetConstraint
ExampleMetadata: fixture=_generated
ProductId
The product identifier.
public virtual string ProductId { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::StackSetConstraint
ExampleMetadata: fixture=_generated
RegionList
One or more AWS Regions where the provisioned product will be available.
public virtual string[] RegionList { get; set; }
Property Value
string[]
Remarks
CloudformationResource: AWS::ServiceCatalog::StackSetConstraint
ExampleMetadata: fixture=_generated
StackInstanceControl
Permission to create, update, and delete stack instances.
public virtual string StackInstanceControl { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::StackSetConstraint
ExampleMetadata: fixture=_generated
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.
Remarks
CloudformationResource: AWS::ServiceCatalog::StackSetConstraint
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Specifies a StackSet constraint.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::ServiceCatalog::StackSetConstraint
ExampleMetadata: fixture=_generated