| Package | Description |
|---|---|
| software.amazon.awssdk.services.opsworks |
|
| software.amazon.awssdk.services.opsworks.model |
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<CreateLayerResponse> |
OpsWorksAsyncClient.createLayer(Consumer<CreateLayerRequest.Builder> createLayerRequest)
Creates a layer.
|
default CreateLayerResponse |
OpsWorksClient.createLayer(Consumer<CreateLayerRequest.Builder> createLayerRequest)
Creates a layer.
|
| Modifier and Type | Method and Description |
|---|---|
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.attributes(Map<LayerAttributesKeys,String> attributes)
One or more user-defined key-value pairs to be added to the stack attributes.
|
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.attributesWithStrings(Map<String,String> attributes)
One or more user-defined key-value pairs to be added to the stack attributes.
|
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.autoAssignElasticIps(Boolean autoAssignElasticIps)
Whether to automatically assign an Elastic IP
address to the layer's instances.
|
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.autoAssignPublicIps(Boolean autoAssignPublicIps)
For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's
instances.
|
static CreateLayerRequest.Builder |
CreateLayerRequest.builder() |
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.cloudWatchLogsConfiguration(CloudWatchLogsConfiguration cloudWatchLogsConfiguration)
Specifies CloudWatch Logs configuration options for the layer.
|
default CreateLayerRequest.Builder |
CreateLayerRequest.Builder.cloudWatchLogsConfiguration(Consumer<CloudWatchLogsConfiguration.Builder> cloudWatchLogsConfiguration)
Specifies CloudWatch Logs configuration options for the layer.
|
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.customInstanceProfileArn(String customInstanceProfileArn)
The ARN of an IAM profile to be used for the layer's EC2 instances.
|
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.customJson(String customJson)
A JSON-formatted string containing custom stack configuration and deployment attributes to be installed on
the layer's instances.
|
default CreateLayerRequest.Builder |
CreateLayerRequest.Builder.customRecipes(Consumer<Recipes.Builder> customRecipes)
A
LayerCustomRecipes object that specifies the layer custom recipes. |
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.customRecipes(Recipes customRecipes)
A
LayerCustomRecipes object that specifies the layer custom recipes. |
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.customSecurityGroupIds(Collection<String> customSecurityGroupIds)
An array containing the layer custom security group IDs.
|
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.customSecurityGroupIds(String... customSecurityGroupIds)
An array containing the layer custom security group IDs.
|
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.enableAutoHealing(Boolean enableAutoHealing)
Whether to disable auto healing for the layer.
|
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.installUpdatesOnBoot(Boolean installUpdatesOnBoot)
Whether to install operating system and package updates when the instance boots.
|
default CreateLayerRequest.Builder |
CreateLayerRequest.Builder.lifecycleEventConfiguration(Consumer<LifecycleEventConfiguration.Builder> lifecycleEventConfiguration)
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. |
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.lifecycleEventConfiguration(LifecycleEventConfiguration lifecycleEventConfiguration)
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. |
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.name(String name)
The layer name, which is used by the console.
|
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.packages(Collection<String> packages)
An array of
Package objects that describes the layer packages. |
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.packages(String... packages)
An array of
Package objects that describes the layer packages. |
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.shortname(String shortname)
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.
|
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.stackId(String stackId)
The layer stack ID.
|
CreateLayerRequest.Builder |
CreateLayerRequest.toBuilder() |
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.type(LayerType type)
The layer type.
|
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.type(String type)
The layer type.
|
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.useEbsOptimizedInstances(Boolean useEbsOptimizedInstances)
Whether to use Amazon EBS-optimized instances.
|
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.volumeConfigurations(Collection<VolumeConfiguration> volumeConfigurations)
A
VolumeConfigurations object that describes the layer's Amazon EBS volumes. |
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.volumeConfigurations(Consumer<VolumeConfiguration.Builder>... volumeConfigurations)
A
VolumeConfigurations object that describes the layer's Amazon EBS volumes. |
CreateLayerRequest.Builder |
CreateLayerRequest.Builder.volumeConfigurations(VolumeConfiguration... volumeConfigurations)
A
VolumeConfigurations object that describes the layer's Amazon EBS volumes. |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends CreateLayerRequest.Builder> |
CreateLayerRequest.serializableBuilderClass() |
Copyright © 2023. All rights reserved.