Class ManagedStorageConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ManagedStorageConfiguration.Builder,ManagedStorageConfiguration>
The managed storage configuration for the cluster.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final StringSpecify the Key Management Service key ID for Fargate ephemeral storage.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringkmsKeyId()Specify a Key Management Service key ID to encrypt Amazon ECS managed storage.static Class<? extends ManagedStorageConfiguration.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
kmsKeyId
Specify a Key Management Service key ID to encrypt Amazon ECS managed storage.
When you specify a
kmsKeyId, Amazon ECS uses the key to encrypt data volumes managed by Amazon ECS that are attached to tasks in the cluster. The following data volumes are managed by Amazon ECS: Amazon EBS. For more information about encryption of Amazon EBS volumes attached to Amazon ECS tasks, see Encrypt data stored in Amazon EBS volumes for Amazon ECS in the Amazon Elastic Container Service Developer Guide.The key must be a single Region key.
- Returns:
- Specify a Key Management Service key ID to encrypt Amazon ECS managed storage.
When you specify a
kmsKeyId, Amazon ECS uses the key to encrypt data volumes managed by Amazon ECS that are attached to tasks in the cluster. The following data volumes are managed by Amazon ECS: Amazon EBS. For more information about encryption of Amazon EBS volumes attached to Amazon ECS tasks, see Encrypt data stored in Amazon EBS volumes for Amazon ECS in the Amazon Elastic Container Service Developer Guide.The key must be a single Region key.
-
fargateEphemeralStorageKmsKeyId
Specify the Key Management Service key ID for Fargate ephemeral storage.
When you specify a
fargateEphemeralStorageKmsKeyId, Amazon Web Services Fargate uses the key to encrypt data at rest in ephemeral storage. For more information about Fargate ephemeral storage encryption, see Customer managed keys for Amazon Web Services Fargate ephemeral storage for Amazon ECS in the Amazon Elastic Container Service Developer Guide.The key must be a single Region key.
- Returns:
- Specify the Key Management Service key ID for Fargate ephemeral storage.
When you specify a
fargateEphemeralStorageKmsKeyId, Amazon Web Services Fargate uses the key to encrypt data at rest in ephemeral storage. For more information about Fargate ephemeral storage encryption, see Customer managed keys for Amazon Web Services Fargate ephemeral storage for Amazon ECS in the Amazon Elastic Container Service Developer Guide.The key must be a single Region key.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ManagedStorageConfiguration.Builder,ManagedStorageConfiguration>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-