Class EncryptionConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.sfn.model.EncryptionConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class EncryptionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
Settings to configure server-side encryption.
For additional control over security, you can encrypt your data using a customer-managed key for Step Functions state machines and activities. You can configure a symmetric KMS key and data key reuse period when creating or updating a State Machine, and when creating an Activity. The execution history and state machine definition will be encrypted with the key applied to the State Machine. Activity inputs will be encrypted with the key applied to the Activity.
Step Functions automatically enables encryption at rest using Amazon Web Services owned keys at no charge. However, KMS charges apply when using a customer managed key. For more information about pricing, see Key Management Service pricing.
For more information on KMS, see What is Key Management Service?
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEncryptionConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncryptionConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerkmsDataKeyReusePeriodSeconds()Maximum duration that Step Functions will reuse data keys.StringkmsKeyId()An alias, alias ARN, key ID, or key ARN of a symmetric encryption KMS key to encrypt data.List<SdkField<?>>sdkFields()static Class<? extends EncryptionConfiguration.Builder>serializableBuilderClass()EncryptionConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.EncryptionTypetype()Encryption typeStringtypeAsString()Encryption type-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
kmsKeyId
public final String kmsKeyId()
An alias, alias ARN, key ID, or key ARN of a symmetric encryption KMS key to encrypt data. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.
- Returns:
- An alias, alias ARN, key ID, or key ARN of a symmetric encryption KMS key to encrypt data. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.
-
kmsDataKeyReusePeriodSeconds
public final Integer kmsDataKeyReusePeriodSeconds()
Maximum duration that Step Functions will reuse data keys. When the period expires, Step Functions will call
GenerateDataKey. Only applies to customer managed keys.- Returns:
- Maximum duration that Step Functions will reuse data keys. When the period expires, Step Functions will
call
GenerateDataKey. Only applies to customer managed keys.
-
type
public final EncryptionType type()
Encryption type
If the service returns an enum value that is not available in the current SDK version,
typewill returnEncryptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Encryption type
- See Also:
EncryptionType
-
typeAsString
public final String typeAsString()
Encryption type
If the service returns an enum value that is not available in the current SDK version,
typewill returnEncryptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Encryption type
- See Also:
EncryptionType
-
toBuilder
public EncryptionConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
-
builder
public static EncryptionConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends EncryptionConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-