Interface CfnResourceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:12.580Z")
@Stability(Stable)
public interface CfnResourceProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnResource.
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.*;
CfnResourceProps cfnResourceProps = CfnResourceProps.builder()
.resourceArn("resourceArn")
.useServiceLinkedRole(false)
// the properties below are optional
.hybridAccessEnabled(false)
.roleArn("roleArn")
.withFederation(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnResourcePropsstatic final classAn implementation forCfnResourceProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnResourceProps.Builderbuilder()default ObjectIndicates 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.The Amazon Resource Name (ARN) of the resource.default StringThe IAM role that registered a resource.Designates a trusted caller, an IAM principal, by registering this caller with the Data Catalog .default ObjectAllows Lake Formation to assume a role to access tables in a federated database.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getResourceArn
The Amazon Resource Name (ARN) of the resource.- See Also:
-
getUseServiceLinkedRole
Designates a trusted caller, an IAM principal, by registering this caller with the Data Catalog .Returns union: either
BooleanorIResolvable- See Also:
-
getHybridAccessEnabled
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.Returns union: either
BooleanorIResolvable- See Also:
-
getRoleArn
The IAM role that registered a resource.- See Also:
-
getWithFederation
Allows Lake Formation to assume a role to access tables in a federated database.Returns union: either
BooleanorIResolvable- See Also:
-
builder
- Returns:
- a
CfnResourceProps.BuilderofCfnResourceProps
-