@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.130Z") @Stability(value=Stable) public interface CfnResourceProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResourceProps.Builder
A builder for
CfnResourceProps |
static class |
CfnResourceProps.Jsii$Proxy
An implementation for
CfnResourceProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnResourceProps.Builder |
builder() |
String |
getParentId()
If you want to create a child resource, the ID of the parent resource.
|
String |
getPathPart()
A path name for the resource.
|
String |
getRestApiId()
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) @NotNull String getParentId()
For resources without a parent, specify the RestApi root resource ID, such as { "Fn::GetAtt": ["MyRestApi", "RootResourceId"] } .
@Stability(value=Stable) @NotNull String getPathPart()
@Stability(value=Stable) @NotNull String getRestApiId()
@Stability(value=Stable) static CfnResourceProps.Builder builder()
CfnResourceProps.Builder of CfnResourcePropsCopyright © 2022. All rights reserved.