@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:45.507Z") public class CfnDataCatalogEncryptionSettings extends CfnResource implements IInspectable
Sets the security configuration for a specified catalog. After the configuration has been set, the specified encryption is applied to every catalog write thereafter.
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.*; CfnDataCatalogEncryptionSettings cfnDataCatalogEncryptionSettings = CfnDataCatalogEncryptionSettings.Builder.create(this, "MyCfnDataCatalogEncryptionSettings") .catalogId("catalogId") .dataCatalogEncryptionSettings(DataCatalogEncryptionSettingsProperty.builder() .connectionPasswordEncryption(ConnectionPasswordEncryptionProperty.builder() .kmsKeyId("kmsKeyId") .returnConnectionPasswordEncrypted(false) .build()) .encryptionAtRest(EncryptionAtRestProperty.builder() .catalogEncryptionMode("catalogEncryptionMode") .sseAwsKmsKeyId("sseAwsKmsKeyId") .build()) .build()) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnDataCatalogEncryptionSettings.Builder
A fluent builder for
CfnDataCatalogEncryptionSettings . |
static interface |
CfnDataCatalogEncryptionSettings.ConnectionPasswordEncryptionProperty
The data structure used by the Data Catalog to encrypt the password as part of `CreateConnection` or `UpdateConnection` and store it in the `ENCRYPTED_PASSWORD` field in the connection properties.
|
static interface |
CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty
Contains configuration information for maintaining Data Catalog security.
|
static interface |
CfnDataCatalogEncryptionSettings.EncryptionAtRestProperty
Specifies the encryption-at-rest configuration for the Data Catalog.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnDataCatalogEncryptionSettings(Construct scope,
java.lang.String id,
CfnDataCatalogEncryptionSettingsProps props)
Create a new `AWS::Glue::DataCatalogEncryptionSettings`.
|
protected |
CfnDataCatalogEncryptionSettings(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDataCatalogEncryptionSettings(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCatalogId()
The ID of the Data Catalog in which the settings are created.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.Object |
getDataCatalogEncryptionSettings()
Contains configuration information for maintaining Data Catalog security.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setCatalogId(java.lang.String value)
The ID of the Data Catalog in which the settings are created.
|
void |
setDataCatalogEncryptionSettings(CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty value)
Contains configuration information for maintaining Data Catalog security.
|
void |
setDataCatalogEncryptionSettings(IResolvable value)
Contains configuration information for maintaining Data Catalog security.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnDataCatalogEncryptionSettings(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDataCatalogEncryptionSettings(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnDataCatalogEncryptionSettings(Construct scope, java.lang.String id, CfnDataCatalogEncryptionSettingsProps props)
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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getCatalogId()
public void setCatalogId(java.lang.String value)
public java.lang.Object getDataCatalogEncryptionSettings()
public void setDataCatalogEncryptionSettings(IResolvable value)
public void setDataCatalogEncryptionSettings(CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty value)