Class CfnSecurityConfiguration

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:42.488Z") @Stability(Stable) public class CfnSecurityConfiguration extends CfnResource implements IInspectable
A CloudFormation AWS::Glue::SecurityConfiguration.

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();
 
  • 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 Construct scope, @NotNull String id, @NotNull CfnSecurityConfigurationProps props)
      Create a new AWS::Glue::SecurityConfiguration.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      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.
    • 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.