CfnResourceProps

class aws_cdk.aws_apigateway.CfnResourceProps(*, parent_id, path_part, rest_api_id)

Bases: object

Properties for defining a CfnResource.

Parameters:
  • parent_id (str) – The parent resource’s identifier.

  • path_part (str) – The last path segment for this resource.

  • rest_api_id (str) – The string identifier of the associated RestApi.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_apigateway as apigateway

cfn_resource_props = apigateway.CfnResourceProps(
    parent_id="parentId",
    path_part="pathPart",
    rest_api_id="restApiId"
)

Attributes

parent_id

The parent resource’s identifier.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html#cfn-apigateway-resource-parentid

path_part

The last path segment for this resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html#cfn-apigateway-resource-pathpart

rest_api_id

The string identifier of the associated RestApi.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html#cfn-apigateway-resource-restapiid