@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-15T10:03:45.276Z") @Stability(value=Stable) public class CfnLaunchTemplateConstraint extends CfnResource implements IInspectable
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.*;
CfnLaunchTemplateConstraint cfnLaunchTemplateConstraint = CfnLaunchTemplateConstraint.Builder.create(this, "MyCfnLaunchTemplateConstraint")
.portfolioId("portfolioId")
.productId("productId")
.rules("rules")
// the properties below are optional
.acceptLanguage("acceptLanguage")
.description("description")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnLaunchTemplateConstraint.Builder
A fluent builder for
CfnLaunchTemplateConstraint. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnLaunchTemplateConstraint(Construct scope,
String id,
CfnLaunchTemplateConstraintProps props)
Create a new `AWS::ServiceCatalog::LaunchTemplateConstraint`.
|
protected |
CfnLaunchTemplateConstraint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnLaunchTemplateConstraint(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAcceptLanguage()
`AWS::ServiceCatalog::LaunchTemplateConstraint.AcceptLanguage`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
`AWS::ServiceCatalog::LaunchTemplateConstraint.Description`.
|
String |
getPortfolioId()
`AWS::ServiceCatalog::LaunchTemplateConstraint.PortfolioId`.
|
String |
getProductId()
`AWS::ServiceCatalog::LaunchTemplateConstraint.ProductId`.
|
String |
getRules()
`AWS::ServiceCatalog::LaunchTemplateConstraint.Rules`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAcceptLanguage(String value)
`AWS::ServiceCatalog::LaunchTemplateConstraint.AcceptLanguage`.
|
void |
setDescription(String value)
`AWS::ServiceCatalog::LaunchTemplateConstraint.Description`.
|
void |
setPortfolioId(String value)
`AWS::ServiceCatalog::LaunchTemplateConstraint.PortfolioId`.
|
void |
setProductId(String value)
`AWS::ServiceCatalog::LaunchTemplateConstraint.ProductId`.
|
void |
setRules(String value)
`AWS::ServiceCatalog::LaunchTemplateConstraint.Rules`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnLaunchTemplateConstraint(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnLaunchTemplateConstraint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnLaunchTemplateConstraint(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnLaunchTemplateConstraintProps 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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @Nullable public String getAcceptLanguage()
@Stability(value=Stable)
public void setAcceptLanguage(@Nullable
String value)
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @NotNull public String getPortfolioId()
@Stability(value=Stable)
public void setPortfolioId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getProductId()
@Stability(value=Stable)
public void setProductId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getRules()
@Stability(value=Stable)
public void setRules(@NotNull
String value)
Copyright © 2021. All rights reserved.