@Stability(value=Stable) @Internal public static final class CfnLayerProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLayerProps
CfnLayerPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnLayerProps.Builder, CfnLayerProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnLayerProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnLayerProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getAttributes()
One or more user-defined key-value pairs to be added to the stack attributes.
|
Object |
getAutoAssignElasticIps()
Whether to automatically assign an [Elastic IP address](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html) to the layer's instances.
|
Object |
getAutoAssignPublicIps()
For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances.
|
String |
getCustomInstanceProfileArn()
The ARN of an IAM profile to be used for the layer's EC2 instances.
|
Object |
getCustomJson()
A JSON-formatted string containing custom stack configuration and deployment attributes to be installed on the layer's instances.
|
Object |
getCustomRecipes()
A `LayerCustomRecipes` object that specifies the layer custom recipes.
|
List<String> |
getCustomSecurityGroupIds()
An array containing the layer custom security group IDs.
|
Object |
getEnableAutoHealing()
Whether to disable auto healing for the layer.
|
Object |
getInstallUpdatesOnBoot()
Whether to install operating system and package updates when the instance boots.
|
Object |
getLifecycleEventConfiguration()
A `LifeCycleEventConfiguration` object that you can use to configure the Shutdown event to specify an execution timeout and enable or disable Elastic Load Balancer connection draining.
|
Object |
getLoadBasedAutoScaling()
The load-based scaling configuration for the AWS OpsWorks layer.
|
String |
getName()
The layer name, which is used by the console.
|
List<String> |
getPackages()
An array of `Package` objects that describes the layer packages.
|
String |
getShortname()
For custom layers only, use this parameter to specify the layer's short name, which is used internally by AWS OpsWorks Stacks and by Chef recipes.
|
String |
getStackId()
The layer stack ID.
|
List<CfnTag> |
getTags()
Specifies one or more sets of tags (key–value pairs) to associate with this AWS OpsWorks layer.
|
String |
getType()
The layer type.
|
Object |
getUseEbsOptimizedInstances()
Whether to use Amazon EBS-optimized instances.
|
Object |
getVolumeConfigurations()
A `VolumeConfigurations` object that describes the layer's Amazon EBS volumes.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnLayerProps.Builder builder)
CfnLayerProps.Builder.public final Object getAutoAssignElasticIps()
CfnLayerPropsgetAutoAssignElasticIps in interface CfnLayerPropspublic final Object getAutoAssignPublicIps()
CfnLayerPropsFor more information, see How to Edit a Layer .
getAutoAssignPublicIps in interface CfnLayerPropspublic final Object getEnableAutoHealing()
CfnLayerPropsgetEnableAutoHealing in interface CfnLayerPropspublic final String getName()
CfnLayerPropsLayer names can be a maximum of 32 characters.
getName in interface CfnLayerPropspublic final String getShortname()
CfnLayerPropsThe short name is also used as the name for the directory where your app files are installed. It can have a maximum of 32 characters, which are limited to the alphanumeric characters, '-', '_', and '.'.
Built-in layer short names are defined by AWS OpsWorks Stacks. For more information, see the Layer Reference .
getShortname in interface CfnLayerPropspublic final String getStackId()
CfnLayerPropsgetStackId in interface CfnLayerPropspublic final String getType()
CfnLayerPropsA stack cannot have more than one built-in layer of the same type. It can have any number of custom layers. Built-in layers are not available in Chef 12 stacks.
getType in interface CfnLayerPropspublic final Object getAttributes()
CfnLayerProps
To create a cluster layer, set the EcsClusterArn attribute to the cluster's ARN.
getAttributes in interface CfnLayerPropspublic final String getCustomInstanceProfileArn()
CfnLayerPropsFor more information about IAM ARNs, see Using Identifiers .
getCustomInstanceProfileArn in interface CfnLayerPropspublic final Object getCustomJson()
CfnLayerPropsFor more information, see Using Custom JSON . This feature is supported as of version 1.7.42 of the AWS CLI .
getCustomJson in interface CfnLayerPropspublic final Object getCustomRecipes()
CfnLayerPropsgetCustomRecipes in interface CfnLayerPropspublic final List<String> getCustomSecurityGroupIds()
CfnLayerPropsgetCustomSecurityGroupIds in interface CfnLayerPropspublic final Object getInstallUpdatesOnBoot()
CfnLayerProps
The default value is true . To control when updates are installed, set this value to false . You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or by manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances.
To ensure that your instances have the latest security updates, we strongly recommend using the default value of
true.
getInstallUpdatesOnBoot in interface CfnLayerPropspublic final Object getLifecycleEventConfiguration()
CfnLayerPropsgetLifecycleEventConfiguration in interface CfnLayerPropspublic final Object getLoadBasedAutoScaling()
CfnLayerPropsgetLoadBasedAutoScaling in interface CfnLayerPropspublic final List<String> getPackages()
CfnLayerPropsgetPackages in interface CfnLayerPropspublic final List<CfnTag> getTags()
CfnLayerPropsUse tags to manage your resources.
getTags in interface CfnLayerPropspublic final Object getUseEbsOptimizedInstances()
CfnLayerPropsgetUseEbsOptimizedInstances in interface CfnLayerPropspublic final Object getVolumeConfigurations()
CfnLayerPropsgetVolumeConfigurations in interface CfnLayerProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.