@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.533Z") @Stability(value=Stable) 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.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnDataCatalogEncryptionSettings(software.constructs.Construct scope,
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 |
|---|---|
String |
getCatalogId()
The ID of the Data Catalog in which the settings are created.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getDataCatalogEncryptionSettings()
Contains configuration information for maintaining Data Catalog security.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setCatalogId(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, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnDataCatalogEncryptionSettings(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDataCatalogEncryptionSettings(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnDataCatalogEncryptionSettings(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getCatalogId()
@Stability(value=Stable)
public void setCatalogId(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getDataCatalogEncryptionSettings()
@Stability(value=Stable)
public void setDataCatalogEncryptionSettings(@NotNull
CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty value)
@Stability(value=Stable)
public void setDataCatalogEncryptionSettings(@NotNull
IResolvable value)
Copyright © 2022. All rights reserved.