@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.354Z") @Stability(value=Stable) public class CfnDataLakeSettings extends CfnResource implements IInspectable
The AWS::LakeFormation::DataLakeSettings resource is an AWS Lake Formation resource type that manages the data lake settings for your account. Note that the CloudFormation template only supports updating the Admins list. It does not support updating the CreateDatabaseDefaultPermissions or CreateTableDefaultPermissions . Those permissions can only be edited in the DataLakeSettings resource via the API.
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.*;
CfnDataLakeSettings cfnDataLakeSettings = CfnDataLakeSettings.Builder.create(this, "MyCfnDataLakeSettings")
.admins(List.of(DataLakePrincipalProperty.builder()
.dataLakePrincipalIdentifier("dataLakePrincipalIdentifier")
.build()))
.trustedResourceOwners(List.of("trustedResourceOwners"))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnDataLakeSettings.Builder
A fluent builder for
CfnDataLakeSettings. |
static interface |
CfnDataLakeSettings.DataLakePrincipalProperty
The Lake Formation principal.
|
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 |
|---|---|
|
CfnDataLakeSettings(software.constructs.Construct scope,
String id)
Create a new `AWS::LakeFormation::DataLakeSettings`.
|
|
CfnDataLakeSettings(software.constructs.Construct scope,
String id,
CfnDataLakeSettingsProps props)
Create a new `AWS::LakeFormation::DataLakeSettings`.
|
protected |
CfnDataLakeSettings(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDataLakeSettings(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAdmins()
A list of AWS Lake Formation principals.
|
protected Map<String,Object> |
getCfnProperties() |
List<String> |
getTrustedResourceOwners()
`AWS::LakeFormation::DataLakeSettings.TrustedResourceOwners`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAdmins(IResolvable value)
A list of AWS Lake Formation principals.
|
void |
setAdmins(List<Object> value)
A list of AWS Lake Formation principals.
|
void |
setTrustedResourceOwners(List<String> value)
`AWS::LakeFormation::DataLakeSettings.TrustedResourceOwners`.
|
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 CfnDataLakeSettings(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDataLakeSettings(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnDataLakeSettings(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnDataLakeSettingsProps 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.@Stability(value=Stable)
public CfnDataLakeSettings(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. 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) @Nullable public Object getAdmins()
@Stability(value=Stable)
public void setAdmins(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setAdmins(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public List<String> getTrustedResourceOwners()
Copyright © 2022. All rights reserved.