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:30:44.860Z") @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.apigateway.*;
 CfnResourceProps cfnResourceProps = CfnResourceProps.builder()
         .parentId("parentId")
         .pathPart("pathPart")
         .restApiId("restApiId")
         .build();
 
  • Method Details

    • getParentId

      @Stability(Stable) @NotNull String getParentId()
      The parent resource's identifier.
    • getPathPart

      @Stability(Stable) @NotNull String getPathPart()
      The last path segment for this resource.
    • getRestApiId

      @Stability(Stable) @NotNull String getRestApiId()
      The string identifier of the associated RestApi.
    • builder

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