@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:17.049Z") @Stability(value=Experimental) public class CloudFormationInit extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
CloudFormationInit(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CloudFormationInit(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfig(String configName,
InitConfig config)
(experimental) Add a config with the given name to this CloudFormationInit object.
|
void |
addConfigSet(String configSetName)
(experimental) Add a config set with the given name to this CloudFormationInit object.
|
void |
addConfigSet(String configSetName,
List<String> configNames)
(experimental) Add a config set with the given name to this CloudFormationInit object.
|
void |
attach(CfnResource attachedResource,
AttachInitOptions attachOptions)
(experimental) Attach the CloudFormation Init config to the given resource.
|
static CloudFormationInit |
fromConfig(InitConfig config)
(experimental) Use an existing InitConfig object as the default and only config.
|
static CloudFormationInit |
fromConfigSets(ConfigSetProps props)
(experimental) Build a CloudFormationInit from config sets.
|
static CloudFormationInit |
fromElements(InitElement... elements)
(experimental) Build a new config from a set of Init Elements.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CloudFormationInit(software.amazon.jsii.JsiiObjectRef objRef)
protected CloudFormationInit(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static CloudFormationInit fromConfig(@NotNull InitConfig config)
config - This parameter is required.@Stability(value=Experimental) @NotNull public static CloudFormationInit fromConfigSets(@NotNull ConfigSetProps props)
props - This parameter is required.@Stability(value=Experimental) @NotNull public static CloudFormationInit fromElements(@NotNull InitElement... elements)
elements - This parameter is required.@Stability(value=Experimental)
public void addConfig(@NotNull
String configName,
@NotNull
InitConfig config)
configName - This parameter is required.config - This parameter is required.@Stability(value=Experimental)
public void addConfigSet(@NotNull
String configSetName,
@Nullable
List<String> configNames)
The new configset will reference the given configs in the given order.
configSetName - This parameter is required.configNames - @Stability(value=Experimental)
public void addConfigSet(@NotNull
String configSetName)
The new configset will reference the given configs in the given order.
configSetName - This parameter is required.@Stability(value=Experimental)
public void attach(@NotNull
CfnResource attachedResource,
@NotNull
AttachInitOptions attachOptions)
As an app builder, use instance.applyCloudFormationInit() or
autoScalingGroup.applyCloudFormationInit() to trigger this method.
This method does the following:
AWS::CloudFormation::Init object to the given resource's
metadata, potentially adding a AWS::CloudFormation::Authentication object
next to it if required.cfn-init and cfn-signal to work, and potentially add permissions to download
referenced asset and bucket resources.cfn-init script.attachedResource - This parameter is required.attachOptions - This parameter is required.Copyright © 2021. All rights reserved.