Class CfnLaunchRoleConstraint
Specifies a launch constraint.
Inherited Members
Namespace: Amazon.CDK.AWS.Servicecatalog
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLaunchRoleConstraint : CfnResource, IInspectable, ILaunchRoleConstraintRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnLaunchRoleConstraint Inherits CfnResource Implements IInspectable, ILaunchRoleConstraintRef, IConstruct, IDependable, IEnvironmentAware
Remarks
CloudformationResource: AWS::ServiceCatalog::LaunchRoleConstraint
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 cfnLaunchRoleConstraint = new CfnLaunchRoleConstraint(this, "MyCfnLaunchRoleConstraint", new CfnLaunchRoleConstraintProps {
PortfolioId = "portfolioId",
ProductId = "productId",
// the properties below are optional
AcceptLanguage = "acceptLanguage",
Description = "description",
LocalRoleName = "localRoleName",
RoleArn = "roleArn"
});
Synopsis
Constructors
| CfnLaunchRoleConstraint(Construct, string, ICfnLaunchRoleConstraintProps) | Create a new |
Properties
| AcceptLanguage | The language code. |
| AttrId | The unique identifier for the launch role constraint. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | Specifies a launch constraint. |
| CfnPropertyNames | Specifies a launch constraint. |
| Description | The description of the constraint. |
| LaunchRoleConstraintRef | A reference to a LaunchRoleConstraint resource. |
| LocalRoleName | You are required to specify either the |
| PortfolioId | The portfolio identifier. |
| ProductId | The product identifier. |
| RoleArn | The ARN of the launch role. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnLaunchRoleConstraint(object) | Checks whether the given object is a CfnLaunchRoleConstraint. |
| RenderProperties(IDictionary<string, object>) | Specifies a launch constraint. |
Constructors
CfnLaunchRoleConstraint(Construct, string, ICfnLaunchRoleConstraintProps)
Create a new AWS::ServiceCatalog::LaunchRoleConstraint.
public CfnLaunchRoleConstraint(Construct scope, string id, ICfnLaunchRoleConstraintProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnLaunchRoleConstraintProps
Resource properties.
Remarks
CloudformationResource: AWS::ServiceCatalog::LaunchRoleConstraint
ExampleMetadata: fixture=_generated
Properties
AcceptLanguage
The language code.
public virtual string? AcceptLanguage { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::LaunchRoleConstraint
ExampleMetadata: fixture=_generated
AttrId
The unique identifier for the launch role 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::LaunchRoleConstraint
ExampleMetadata: fixture=_generated
CfnProperties
Specifies a launch constraint.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::ServiceCatalog::LaunchRoleConstraint
ExampleMetadata: fixture=_generated
CfnPropertyNames
Specifies a launch constraint.
protected override IDictionary<string, string> CfnPropertyNames { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::ServiceCatalog::LaunchRoleConstraint
ExampleMetadata: fixture=_generated
Description
The description of the constraint.
public virtual string? Description { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::LaunchRoleConstraint
ExampleMetadata: fixture=_generated
LaunchRoleConstraintRef
A reference to a LaunchRoleConstraint resource.
public virtual ILaunchRoleConstraintReference LaunchRoleConstraintRef { get; }
Property Value
ILaunchRoleConstraintReference
Remarks
CloudformationResource: AWS::ServiceCatalog::LaunchRoleConstraint
ExampleMetadata: fixture=_generated
LocalRoleName
You are required to specify either the RoleArn or the LocalRoleName but can't use both.
public virtual string? LocalRoleName { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::LaunchRoleConstraint
ExampleMetadata: fixture=_generated
PortfolioId
The portfolio identifier.
public virtual string PortfolioId { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::LaunchRoleConstraint
ExampleMetadata: fixture=_generated
ProductId
The product identifier.
public virtual string ProductId { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::LaunchRoleConstraint
ExampleMetadata: fixture=_generated
RoleArn
The ARN of the launch role.
public virtual string? RoleArn { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::LaunchRoleConstraint
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::LaunchRoleConstraint
ExampleMetadata: fixture=_generated
IsCfnLaunchRoleConstraint(object)
Checks whether the given object is a CfnLaunchRoleConstraint.
public static bool IsCfnLaunchRoleConstraint(object x)
Parameters
- x object
Returns
Remarks
CloudformationResource: AWS::ServiceCatalog::LaunchRoleConstraint
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Specifies a launch constraint.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::ServiceCatalog::LaunchRoleConstraint
ExampleMetadata: fixture=_generated