AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

Resource

Resource Type definition for AWS::ApiGateway::Resource

Create a Resource Resource

new Resource(name: string, args: ResourceArgs, opts?: CustomResourceOptions);
@overload
def Resource(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             parent_id: Optional[str] = None,
             path_part: Optional[str] = None,
             rest_api_id: Optional[str] = None)
@overload
def Resource(resource_name: str,
             args: ResourceArgs,
             opts: Optional[ResourceOptions] = None)
func NewResource(ctx *Context, name string, args ResourceArgs, opts ...ResourceOption) (*Resource, error)
public Resource(string name, ResourceArgs args, CustomResourceOptions? opts = null)
public Resource(String name, ResourceArgs args)
public Resource(String name, ResourceArgs args, CustomResourceOptions options)
type: aws-native:apigateway:Resource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ResourceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ResourceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ResourceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ResourceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ResourceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Resource Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Resource resource accepts the following input properties:

ParentId string

The parent resource's identifier.

PathPart string

The last path segment for this resource.

RestApiId string

The ID of the RestApi resource in which you want to create this resource..

ParentId string

The parent resource's identifier.

PathPart string

The last path segment for this resource.

RestApiId string

The ID of the RestApi resource in which you want to create this resource..

parentId String

The parent resource's identifier.

pathPart String

The last path segment for this resource.

restApiId String

The ID of the RestApi resource in which you want to create this resource..

parentId string

The parent resource's identifier.

pathPart string

The last path segment for this resource.

restApiId string

The ID of the RestApi resource in which you want to create this resource..

parent_id str

The parent resource's identifier.

path_part str

The last path segment for this resource.

rest_api_id str

The ID of the RestApi resource in which you want to create this resource..

parentId String

The parent resource's identifier.

pathPart String

The last path segment for this resource.

restApiId String

The ID of the RestApi resource in which you want to create this resource..

Outputs

All input properties are implicitly available as output properties. Additionally, the Resource resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

ResourceId string

A unique primary identifier for a Resource

Id string

The provider-assigned unique ID for this managed resource.

ResourceId string

A unique primary identifier for a Resource

id String

The provider-assigned unique ID for this managed resource.

resourceId String

A unique primary identifier for a Resource

id string

The provider-assigned unique ID for this managed resource.

resourceId string

A unique primary identifier for a Resource

id str

The provider-assigned unique ID for this managed resource.

resource_id str

A unique primary identifier for a Resource

id String

The provider-assigned unique ID for this managed resource.

resourceId String

A unique primary identifier for a Resource

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0