@Stability(value=Stable) public static final class CfnResource.Builder extends Object implements software.amazon.jsii.Builder<CfnResource>
CfnResource.| Modifier and Type | Method and Description |
|---|---|
CfnResource |
build() |
static CfnResource.Builder |
create(software.constructs.Construct scope,
String id) |
CfnResource.Builder |
parentId(String parentId)
If you want to create a child resource, the ID of the parent resource.
|
CfnResource.Builder |
pathPart(String pathPart)
A path name for the resource.
|
CfnResource.Builder |
restApiId(String restApiId)
The ID of the [RestApi](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html) resource in which you want to create this resource.
|
@Stability(value=Stable) public static CfnResource.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnResource.Builder.@Stability(value=Stable) public CfnResource.Builder parentId(String parentId)
For resources without a parent, specify the RestApi root resource ID, such as { "Fn::GetAtt": ["MyRestApi", "RootResourceId"] } .
parentId - If you want to create a child resource, the ID of the parent resource. This parameter is required.this@Stability(value=Stable) public CfnResource.Builder pathPart(String pathPart)
pathPart - A path name for the resource. This parameter is required.this@Stability(value=Stable) public CfnResource.Builder restApiId(String restApiId)
restApiId - The ID of the [RestApi](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html) resource in which you want to create this resource. This parameter is required.this@Stability(value=Stable) public CfnResource build()
build in interface software.amazon.jsii.Builder<CfnResource>Copyright © 2022. All rights reserved.