@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-28T21:34:16.552Z") 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.
|
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 |
---|---|
|
CfnDataLakeSettings(Construct scope,
java.lang.String id)
Create a new `AWS::LakeFormation::DataLakeSettings`.
|
|
CfnDataLakeSettings(Construct scope,
java.lang.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 |
---|---|
java.lang.Object |
getAdmins()
A list of AWS Lake Formation principals.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.util.List<java.lang.String> |
getTrustedResourceOwners()
An array of UTF-8 strings.
|
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 |
setAdmins(IResolvable value)
A list of AWS Lake Formation principals.
|
void |
setAdmins(java.util.List<java.lang.Object> value)
A list of AWS Lake Formation principals.
|
void |
setTrustedResourceOwners(java.util.List<java.lang.String> value)
An array of UTF-8 strings.
|
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 CfnDataLakeSettings(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDataLakeSettings(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnDataLakeSettings(Construct scope, java.lang.String id, 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.public CfnDataLakeSettings(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. 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.Object getAdmins()
public void setAdmins(IResolvable value)
public void setAdmins(java.util.List<java.lang.Object> value)
public java.util.List<java.lang.String> getTrustedResourceOwners()
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.
public void setTrustedResourceOwners(java.util.List<java.lang.String> value)
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.