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();
 
  • Method Details

    • getResourceArn

      @Stability(Stable) @NotNull String getResourceArn()
      The Amazon Resource Name (ARN) of the resource.
    • getUseServiceLinkedRole

      @Stability(Stable) @NotNull Object getUseServiceLinkedRole()
      Designates a trusted caller, an IAM principal, by registering this caller with the Data Catalog .
    • getRoleArn

      @Stability(Stable) @Nullable default String getRoleArn()
      The IAM role that registered a resource.
    • getWithFederation

      @Stability(Stable) @Nullable default Object getWithFederation()
      Allows Lake Formation to assume a role to access tables in a federated database.
    • builder

      @Stability(Stable) static CfnResourceProps.Builder builder()
      Returns:
      a CfnResourceProps.Builder of CfnResourceProps