Class CfnSecurityConfiguration

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:02.667Z") @Stability(Stable) public class CfnSecurityConfiguration extends CfnResource implements IInspectable
Creates a new security configuration.

A security configuration is a set of security properties that can be used by AWS Glue . You can use a security configuration to encrypt data at rest. For information about using security configurations in AWS Glue , see Encrypting Data Written by Crawlers, Jobs, and Development Endpoints .

Example:

 // 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.*;
 CfnSecurityConfiguration cfnSecurityConfiguration = CfnSecurityConfiguration.Builder.create(this, "MyCfnSecurityConfiguration")
         .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();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnSecurityConfiguration

      protected CfnSecurityConfiguration(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnSecurityConfiguration

      protected CfnSecurityConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnSecurityConfiguration

      @Stability(Stable) public CfnSecurityConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnSecurityConfigurationProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getEncryptionConfiguration

      @Stability(Stable) @NotNull public Object getEncryptionConfiguration()
      The encryption configuration associated with this security configuration.
    • setEncryptionConfiguration

      @Stability(Stable) public void setEncryptionConfiguration(@NotNull IResolvable value)
      The encryption configuration associated with this security configuration.
    • setEncryptionConfiguration

      @Stability(Stable) public void setEncryptionConfiguration(@NotNull CfnSecurityConfiguration.EncryptionConfigurationProperty value)
      The encryption configuration associated with this security configuration.
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the security configuration.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the security configuration.