Class CfnResourcePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lakeformation.CfnResourcePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourcePropsMixin>
- Enclosing class:
CfnResourcePropsMixin
@Stability(Stable)
public static final class CfnResourcePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourcePropsMixin>
A fluent builder for
CfnResourcePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) hybridAccessEnabled(Boolean hybridAccessEnabled) Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.hybridAccessEnabled(IResolvable hybridAccessEnabled) Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.resourceArn(String resourceArn) The Amazon Resource Name (ARN) of the resource.The IAM role that registered a resource.useServiceLinkedRole(Boolean useServiceLinkedRole) Designates a trusted caller, an IAM principal, by registering this caller with the Data Catalog .useServiceLinkedRole(IResolvable useServiceLinkedRole) Designates a trusted caller, an IAM principal, by registering this caller with the Data Catalog .withFederation(Boolean withFederation) Allows Lake Formation to assume a role to access tables in a federated database.withFederation(IResolvable withFederation) Allows Lake Formation to assume a role to access tables in a federated database.
-
Method Details
-
create
@Stability(Stable) public static CfnResourcePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnResourcePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnResourcePropsMixin.Builder.
-
hybridAccessEnabled
@Stability(Stable) public CfnResourcePropsMixin.Builder hybridAccessEnabled(Boolean hybridAccessEnabled) Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.- Parameters:
hybridAccessEnabled- Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies. This parameter is required.- Returns:
this- See Also:
-
hybridAccessEnabled
@Stability(Stable) public CfnResourcePropsMixin.Builder hybridAccessEnabled(IResolvable hybridAccessEnabled) Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.- Parameters:
hybridAccessEnabled- Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies. This parameter is required.- Returns:
this- See Also:
-
resourceArn
The Amazon Resource Name (ARN) of the resource.- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the resource. This parameter is required.- Returns:
this- See Also:
-
roleArn
The IAM role that registered a resource.- Parameters:
roleArn- The IAM role that registered a resource. This parameter is required.- Returns:
this- See Also:
-
useServiceLinkedRole
@Stability(Stable) public CfnResourcePropsMixin.Builder useServiceLinkedRole(Boolean useServiceLinkedRole) Designates a trusted caller, an IAM principal, by registering this caller with the Data Catalog .- Parameters:
useServiceLinkedRole- Designates a trusted caller, an IAM principal, by registering this caller with the Data Catalog . This parameter is required.- Returns:
this- See Also:
-
useServiceLinkedRole
@Stability(Stable) public CfnResourcePropsMixin.Builder useServiceLinkedRole(IResolvable useServiceLinkedRole) Designates a trusted caller, an IAM principal, by registering this caller with the Data Catalog .- Parameters:
useServiceLinkedRole- Designates a trusted caller, an IAM principal, by registering this caller with the Data Catalog . This parameter is required.- Returns:
this- See Also:
-
withFederation
Allows Lake Formation to assume a role to access tables in a federated database.- Parameters:
withFederation- Allows Lake Formation to assume a role to access tables in a federated database. This parameter is required.- Returns:
this- See Also:
-
withFederation
Allows Lake Formation to assume a role to access tables in a federated database.- Parameters:
withFederation- Allows Lake Formation to assume a role to access tables in a federated database. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourcePropsMixin>- Returns:
- a newly built instance of
CfnResourcePropsMixin.
-