Interface CfnResourceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)",
date="2023-10-26T00:56:09.691Z")
@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();
- See Also:
-
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.- See Also:
-
getUseServiceLinkedRole
Designates a trusted caller, an IAM principal, by registering this caller with the Data Catalog .- 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.- See Also:
-
builder
- Returns:
- a
CfnResourceProps.BuilderofCfnResourceProps
-