Interface CfnResourceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:58.432Z")
@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
.roleArn("roleArn")
.withFederation(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnResourcePropsstatic final classAn implementation forCfnResourceProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnResourceProps.Builderbuilder()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. -
getUseServiceLinkedRole
Designates a trusted caller, an IAM principal, by registering this caller with the Data Catalog . -
getRoleArn
The IAM role that registered a resource. -
getWithFederation
Allows Lake Formation to assume a role to access tables in a federated database. -
builder
- Returns:
- a
CfnResourceProps.BuilderofCfnResourceProps
-