@Generated(value="jsii-pacmak/1.5.0 (build 46538f8)", date="2020-05-21T11:01:44.834Z") @Stability(value=External) public class CfnLaunchTemplate extends CfnResource implements IInspectable
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html
software.amazon.jsii.JsiiObject.InitializationMode
IInspectable.Jsii$Proxy
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 |
---|---|
|
CfnLaunchTemplate(Construct scope,
String id)
Create a new `AWS::EC2::LaunchTemplate`.
|
|
CfnLaunchTemplate(Construct scope,
String id,
CfnLaunchTemplateProps props)
Create a new `AWS::EC2::LaunchTemplate`.
|
protected |
CfnLaunchTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnLaunchTemplate(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
static CfnLaunchTemplate |
fromCloudFormation(Construct scope,
String id,
Object resourceAttributes,
FromCloudFormationOptions options)
A factory method that creates a new instance of this class from an object containing the CloudFormation properties of this resource.
|
String |
getAttrDefaultVersionNumber() |
String |
getAttrLatestVersionNumber() |
protected Map<String,Object> |
getCfnProperties() |
Object |
getLaunchTemplateData()
`AWS::EC2::LaunchTemplate.LaunchTemplateData`.
|
String |
getLaunchTemplateName()
`AWS::EC2::LaunchTemplate.LaunchTemplateName`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setLaunchTemplateData(CfnLaunchTemplate.LaunchTemplateDataProperty value)
`AWS::EC2::LaunchTemplate.LaunchTemplateData`.
|
void |
setLaunchTemplateData(IResolvable value)
`AWS::EC2::LaunchTemplate.LaunchTemplateData`.
|
void |
setLaunchTemplateName(String value)
`AWS::EC2::LaunchTemplate.LaunchTemplateName`.
|
addDeletionOverride, addDependsOn, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getUpdatedProperites, isCfnResource, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet
@Stability(value=External) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnLaunchTemplate(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnLaunchTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=External) public CfnLaunchTemplate(@NotNull Construct scope, @NotNull String id, @Nullable CfnLaunchTemplateProps 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.@Stability(value=External) public CfnLaunchTemplate(@NotNull Construct scope, @NotNull String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.@Stability(value=Experimental) @NotNull public static CfnLaunchTemplate fromCloudFormation(@NotNull Construct scope, @NotNull String id, @NotNull Object resourceAttributes, @NotNull FromCloudFormationOptions options)
Used in the @aws-cdk/cloudformation-include module.
EXPERIMENTAL
scope
- This parameter is required.id
- This parameter is required.resourceAttributes
- This parameter is required.options
- This parameter is required.@Stability(value=Experimental) public void inspect(@NotNull TreeInspector inspector)
EXPERIMENTAL
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.@Stability(value=External) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.@Stability(value=External) @NotNull public String getAttrDefaultVersionNumber()
@Stability(value=External) @NotNull public String getAttrLatestVersionNumber()
@Stability(value=External) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties
in class CfnResource
@Stability(value=External) @Nullable public Object getLaunchTemplateData()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-launchtemplatedata
@Stability(value=External) public void setLaunchTemplateData(@Nullable IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-launchtemplatedata
@Stability(value=External) public void setLaunchTemplateData(@Nullable CfnLaunchTemplate.LaunchTemplateDataProperty value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-launchtemplatedata
@Stability(value=External) @Nullable public String getLaunchTemplateName()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-launchtemplatename
@Stability(value=External) public void setLaunchTemplateName(@Nullable String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-launchtemplatename
Copyright © 2020. All rights reserved.