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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnResourceProps
static final class
An implementation forCfnResourceProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnResourceProps.Builder
builder()
The Amazon Resource Name (ARN) of the resource.default String
The IAM role that registered a resource.Designates a trusted caller, an IAM principal, by registering this caller with the Data Catalog .default Object
Allows 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.Builder
ofCfnResourceProps
-