# CfnSecurityConfigurationProps

Properties for defining a `CfnSecurityConfiguration`.

Used as props by: [CfnSecurityConfiguration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnSecurityConfiguration.html)

- Source: Generated at build time

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const cfnSecurityConfigurationProps: glue.CfnSecurityConfigurationProps = {
  encryptionConfiguration: {
    cloudWatchEncryption: {
      cloudWatchEncryptionMode: 'cloudWatchEncryptionMode',
      kmsKeyArn: 'kmsKeyArn',
    },
    jobBookmarksEncryption: {
      jobBookmarksEncryptionMode: 'jobBookmarksEncryptionMode',
      kmsKeyArn: 'kmsKeyArn',
    },
    s3Encryptions: [{
      kmsKeyArn: 'kmsKeyArn',
      s3EncryptionMode: 's3EncryptionMode',
    }],
  },
  name: 'name',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue

cfn_security_configuration_props = glue.CfnSecurityConfigurationProps(
    encryption_configuration=glue.CfnSecurityConfiguration.EncryptionConfigurationProperty(
        cloud_watch_encryption=glue.CfnSecurityConfiguration.CloudWatchEncryptionProperty(
            cloud_watch_encryption_mode="cloudWatchEncryptionMode",
            kms_key_arn="kmsKeyArn"
        ),
        job_bookmarks_encryption=glue.CfnSecurityConfiguration.JobBookmarksEncryptionProperty(
            job_bookmarks_encryption_mode="jobBookmarksEncryptionMode",
            kms_key_arn="kmsKeyArn"
        ),
        s3_encryptions=[glue.CfnSecurityConfiguration.S3EncryptionProperty(
            kms_key_arn="kmsKeyArn",
            s3_encryption_mode="s3EncryptionMode"
        )]
    ),
    name="name"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;

CfnSecurityConfigurationProps cfnSecurityConfigurationProps = CfnSecurityConfigurationProps.builder()
        .encryptionConfiguration(EncryptionConfigurationProperty.builder()
                .cloudWatchEncryption(CloudWatchEncryptionProperty.builder()
                        .cloudWatchEncryptionMode("cloudWatchEncryptionMode")
                        .kmsKeyArn("kmsKeyArn")
                        .build())
                .jobBookmarksEncryption(JobBookmarksEncryptionProperty.builder()
                        .jobBookmarksEncryptionMode("jobBookmarksEncryptionMode")
                        .kmsKeyArn("kmsKeyArn")
                        .build())
                .s3Encryptions(List.of(S3EncryptionProperty.builder()
                        .kmsKeyArn("kmsKeyArn")
                        .s3EncryptionMode("s3EncryptionMode")
                        .build()))
                .build())
        .name("name")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;

var cfnSecurityConfigurationProps = new CfnSecurityConfigurationProps {
    EncryptionConfiguration = new EncryptionConfigurationProperty {
        CloudWatchEncryption = new CloudWatchEncryptionProperty {
            CloudWatchEncryptionMode = "cloudWatchEncryptionMode",
            KmsKeyArn = "kmsKeyArn"
        },
        JobBookmarksEncryption = new JobBookmarksEncryptionProperty {
            JobBookmarksEncryptionMode = "jobBookmarksEncryptionMode",
            KmsKeyArn = "kmsKeyArn"
        },
        S3Encryptions = new [] { new S3EncryptionProperty {
            KmsKeyArn = "kmsKeyArn",
            S3EncryptionMode = "s3EncryptionMode"
        } }
    },
    Name = "name"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnSecurityConfigurationProps := &CfnSecurityConfigurationProps{
	EncryptionConfiguration: &EncryptionConfigurationProperty{
		CloudWatchEncryption: &CloudWatchEncryptionProperty{
			CloudWatchEncryptionMode: jsii.String("cloudWatchEncryptionMode"),
			KmsKeyArn: jsii.String("kmsKeyArn"),
		},
		JobBookmarksEncryption: &JobBookmarksEncryptionProperty{
			JobBookmarksEncryptionMode: jsii.String("jobBookmarksEncryptionMode"),
			KmsKeyArn: jsii.String("kmsKeyArn"),
		},
		S3Encryptions: []interface{}{
			&S3EncryptionProperty{
				KmsKeyArn: jsii.String("kmsKeyArn"),
				S3EncryptionMode: jsii.String("s3EncryptionMode"),
			},
		},
	},
	Name: jsii.String("name"),
}
```

## Properties

- `encryptionConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSecurityConfiguration.EncryptionConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnSecurityConfiguration.EncryptionConfigurationProperty.html) (required) — The encryption configuration associated with this security configuration.

- `name`: string (required) — The name of the security configuration.
