Class CfnDataLakeSettings
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::LakeFormation::DataLakeSettings.
The AWS::LakeFormation::DataLakeSettings resource is an AWS Lake Formation resource type that manages the data lake settings for your account.
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.lakeformation.*;
Object parameters;
CfnDataLakeSettings cfnDataLakeSettings = CfnDataLakeSettings.Builder.create(this, "MyCfnDataLakeSettings")
.admins(List.of(DataLakePrincipalProperty.builder()
.dataLakePrincipalIdentifier("dataLakePrincipalIdentifier")
.build()))
.allowExternalDataFiltering(false)
.authorizedSessionTagValueList(List.of("authorizedSessionTagValueList"))
.createDatabaseDefaultPermissions(List.of(PrincipalPermissionsProperty.builder()
.permissions(List.of("permissions"))
.principal(DataLakePrincipalProperty.builder()
.dataLakePrincipalIdentifier("dataLakePrincipalIdentifier")
.build())
.build()))
.createTableDefaultPermissions(List.of(PrincipalPermissionsProperty.builder()
.permissions(List.of("permissions"))
.principal(DataLakePrincipalProperty.builder()
.dataLakePrincipalIdentifier("dataLakePrincipalIdentifier")
.build())
.build()))
.externalDataFilteringAllowList(List.of(DataLakePrincipalProperty.builder()
.dataLakePrincipalIdentifier("dataLakePrincipalIdentifier")
.build()))
.parameters(parameters)
.trustedResourceOwners(List.of("trustedResourceOwners"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDataLakeSettings.static interfaceThe Lake Formation principal.static interfacePermissions granted to a principal.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnDataLakeSettings(Construct scope, String id) Create a newAWS::LakeFormation::DataLakeSettings.CfnDataLakeSettings(Construct scope, String id, CfnDataLakeSettingsProps props) Create a newAWS::LakeFormation::DataLakeSettings.protectedCfnDataLakeSettings(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDataLakeSettings(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionA list of AWS Lake Formation principals.Whether to allow Amazon EMR clusters or other third-party query engines to access data managed by Lake Formation .Lake Formation relies on a privileged process secured by Amazon EMR or the third party integrator to tag the user's role while assuming it.Specifies whether access control on a newly created database is managed by Lake Formation permissions or exclusively by IAM permissions.Specifies whether access control on a newly created table is managed by Lake Formation permissions or exclusively by IAM permissions.A list of the account IDs of AWS accounts with Amazon EMR clusters or third-party engines that are allwed to perform data filtering.A key-value map that provides an additional configuration on your data lake.An array of UTF-8 strings.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidA list of AWS Lake Formation principals.voidsetAdmins(IResolvable value) A list of AWS Lake Formation principals.voidWhether to allow Amazon EMR clusters or other third-party query engines to access data managed by Lake Formation .voidWhether to allow Amazon EMR clusters or other third-party query engines to access data managed by Lake Formation .voidLake Formation relies on a privileged process secured by Amazon EMR or the third party integrator to tag the user's role while assuming it.voidSpecifies whether access control on a newly created database is managed by Lake Formation permissions or exclusively by IAM permissions.voidSpecifies whether access control on a newly created database is managed by Lake Formation permissions or exclusively by IAM permissions.voidSpecifies whether access control on a newly created table is managed by Lake Formation permissions or exclusively by IAM permissions.voidSpecifies whether access control on a newly created table is managed by Lake Formation permissions or exclusively by IAM permissions.voidA list of the account IDs of AWS accounts with Amazon EMR clusters or third-party engines that are allwed to perform data filtering.voidA list of the account IDs of AWS accounts with Amazon EMR clusters or third-party engines that are allwed to perform data filtering.voidsetParameters(Object value) A key-value map that provides an additional configuration on your data lake.voidsetTrustedResourceOwners(List<String> value) An array of UTF-8 strings.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDataLakeSettings
protected CfnDataLakeSettings(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDataLakeSettings
protected CfnDataLakeSettings(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDataLakeSettings
@Stability(Stable) public CfnDataLakeSettings(@NotNull Construct scope, @NotNull String id, @Nullable CfnDataLakeSettingsProps props) Create a newAWS::LakeFormation::DataLakeSettings.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
CfnDataLakeSettings
Create a newAWS::LakeFormation::DataLakeSettings.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getParameters
A key-value map that provides an additional configuration on your data lake.CrossAccountVersionis the key you can configure in theParametersfield. Accepted values for theCrossAccountVersionkey are 1, 2, and 3. -
setParameters
A key-value map that provides an additional configuration on your data lake.CrossAccountVersionis the key you can configure in theParametersfield. Accepted values for theCrossAccountVersionkey are 1, 2, and 3. -
getAdmins
A list of AWS Lake Formation principals. -
setAdmins
A list of AWS Lake Formation principals. -
setAdmins
A list of AWS Lake Formation principals. -
getAllowExternalDataFiltering
Whether to allow Amazon EMR clusters or other third-party query engines to access data managed by Lake Formation .If set to true, you allow Amazon EMR clusters or other third-party engines to access data in Amazon S3 locations that are registered with Lake Formation .
If false or null, no third-party query engines will be able to access data in Amazon S3 locations that are registered with Lake Formation.
For more information, see External data filtering setting .
-
setAllowExternalDataFiltering
Whether to allow Amazon EMR clusters or other third-party query engines to access data managed by Lake Formation .If set to true, you allow Amazon EMR clusters or other third-party engines to access data in Amazon S3 locations that are registered with Lake Formation .
If false or null, no third-party query engines will be able to access data in Amazon S3 locations that are registered with Lake Formation.
For more information, see External data filtering setting .
-
setAllowExternalDataFiltering
Whether to allow Amazon EMR clusters or other third-party query engines to access data managed by Lake Formation .If set to true, you allow Amazon EMR clusters or other third-party engines to access data in Amazon S3 locations that are registered with Lake Formation .
If false or null, no third-party query engines will be able to access data in Amazon S3 locations that are registered with Lake Formation.
For more information, see External data filtering setting .
-
getAuthorizedSessionTagValueList
Lake Formation relies on a privileged process secured by Amazon EMR or the third party integrator to tag the user's role while assuming it.Lake Formation will publish the acceptable key-value pair, for example key = "LakeFormationTrustedCaller" and value = "TRUE" and the third party integrator must properly tag the temporary security credentials that will be used to call Lake Formation 's administrative API operations.
-
setAuthorizedSessionTagValueList
Lake Formation relies on a privileged process secured by Amazon EMR or the third party integrator to tag the user's role while assuming it.Lake Formation will publish the acceptable key-value pair, for example key = "LakeFormationTrustedCaller" and value = "TRUE" and the third party integrator must properly tag the temporary security credentials that will be used to call Lake Formation 's administrative API operations.
-
getCreateDatabaseDefaultPermissions
Specifies whether access control on a newly created database is managed by Lake Formation permissions or exclusively by IAM permissions.A null value indicates that the access is controlled by Lake Formation permissions.
ALLpermissions assigned toIAM_ALLOWED_PRINCIPALSgroup indicates that the user's IAM permissions determine the access to the database. This is referred to as the setting "Use only IAM access control," and is to support backward compatibility with the AWS Glue permission model implemented by IAM permissions.The only permitted values are an empty array or an array that contains a single JSON object that grants
ALLtoIAM_ALLOWED_PRINCIPALS.For more information, see Changing the default security settings for your data lake .
-
setCreateDatabaseDefaultPermissions
Specifies whether access control on a newly created database is managed by Lake Formation permissions or exclusively by IAM permissions.A null value indicates that the access is controlled by Lake Formation permissions.
ALLpermissions assigned toIAM_ALLOWED_PRINCIPALSgroup indicates that the user's IAM permissions determine the access to the database. This is referred to as the setting "Use only IAM access control," and is to support backward compatibility with the AWS Glue permission model implemented by IAM permissions.The only permitted values are an empty array or an array that contains a single JSON object that grants
ALLtoIAM_ALLOWED_PRINCIPALS.For more information, see Changing the default security settings for your data lake .
-
setCreateDatabaseDefaultPermissions
Specifies whether access control on a newly created database is managed by Lake Formation permissions or exclusively by IAM permissions.A null value indicates that the access is controlled by Lake Formation permissions.
ALLpermissions assigned toIAM_ALLOWED_PRINCIPALSgroup indicates that the user's IAM permissions determine the access to the database. This is referred to as the setting "Use only IAM access control," and is to support backward compatibility with the AWS Glue permission model implemented by IAM permissions.The only permitted values are an empty array or an array that contains a single JSON object that grants
ALLtoIAM_ALLOWED_PRINCIPALS.For more information, see Changing the default security settings for your data lake .
-
getCreateTableDefaultPermissions
Specifies whether access control on a newly created table is managed by Lake Formation permissions or exclusively by IAM permissions.A null value indicates that the access is controlled by Lake Formation permissions.
ALLpermissions assigned toIAM_ALLOWED_PRINCIPALSgroup indicate that the user's IAM permissions determine the access to the table. This is referred to as the setting "Use only IAM access control," and is to support the backward compatibility with the AWS Glue permission model implemented by IAM permissions.The only permitted values are an empty array or an array that contains a single JSON object that grants
ALLpermissions toIAM_ALLOWED_PRINCIPALS.For more information, see Changing the default security settings for your data lake .
-
setCreateTableDefaultPermissions
Specifies whether access control on a newly created table is managed by Lake Formation permissions or exclusively by IAM permissions.A null value indicates that the access is controlled by Lake Formation permissions.
ALLpermissions assigned toIAM_ALLOWED_PRINCIPALSgroup indicate that the user's IAM permissions determine the access to the table. This is referred to as the setting "Use only IAM access control," and is to support the backward compatibility with the AWS Glue permission model implemented by IAM permissions.The only permitted values are an empty array or an array that contains a single JSON object that grants
ALLpermissions toIAM_ALLOWED_PRINCIPALS.For more information, see Changing the default security settings for your data lake .
-
setCreateTableDefaultPermissions
Specifies whether access control on a newly created table is managed by Lake Formation permissions or exclusively by IAM permissions.A null value indicates that the access is controlled by Lake Formation permissions.
ALLpermissions assigned toIAM_ALLOWED_PRINCIPALSgroup indicate that the user's IAM permissions determine the access to the table. This is referred to as the setting "Use only IAM access control," and is to support the backward compatibility with the AWS Glue permission model implemented by IAM permissions.The only permitted values are an empty array or an array that contains a single JSON object that grants
ALLpermissions toIAM_ALLOWED_PRINCIPALS.For more information, see Changing the default security settings for your data lake .
-
getExternalDataFilteringAllowList
A list of the account IDs of AWS accounts with Amazon EMR clusters or third-party engines that are allwed to perform data filtering. -
setExternalDataFilteringAllowList
A list of the account IDs of AWS accounts with Amazon EMR clusters or third-party engines that are allwed to perform data filtering. -
setExternalDataFilteringAllowList
A list of the account IDs of AWS accounts with Amazon EMR clusters or third-party engines that are allwed to perform data filtering. -
getTrustedResourceOwners
An array of UTF-8 strings.A list of the resource-owning account IDs that the caller's account can use to share their user access details (user ARNs). The user ARNs can be logged in the resource owner's CloudTrail log. You may want to specify this property when you are in a high-trust boundary, such as the same team or company.
-
setTrustedResourceOwners
An array of UTF-8 strings.A list of the resource-owning account IDs that the caller's account can use to share their user access details (user ARNs). The user ARNs can be logged in the resource owner's CloudTrail log. You may want to specify this property when you are in a high-trust boundary, such as the same team or company.
-