# AwsOwnedEncryptionConfiguration

Define a new AwsOwnedEncryptionConfiguration.

Extends: EncryptionConfiguration › AwsOwnedEncryptionConfiguration

- Source: [`aws-stepfunctions/lib/aws-owned-key-encryption-configuration.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-stepfunctions/lib/aws-owned-key-encryption-configuration.ts#L8)
- Type last changed: v2.160.0 · 24 Sep 2024

## Example

```ts
const stateMachine = new sfn.StateMachine(this, 'StateMachine', {
  stateMachineName: 'StateMachine',
  definitionBody: sfn.DefinitionBody.fromChainable(sfn.Chain.start(new sfn.Pass(this, 'Pass'))),
  stateMachineType: sfn.StateMachineType.STANDARD,
  encryptionConfiguration: new sfn.AwsOwnedEncryptionConfiguration(),
});
```

## Initializer

```ts
new AwsOwnedEncryptionConfiguration()
```

## Properties

- `type`: string (required) — Encryption option for the state machine or activity.

  Can be either CUSTOMER_MANAGED_KMS_KEY or AWS_OWNED_KEY.
