Table of Contents

Class ResourceAttributes

Namespace
Amazon.CDK.AWS.APIGateway
Assembly
Amazon.CDK.AWS.APIGateway.dll

Attributes that can be specified when importing a Resource.

public class ResourceAttributes : IResourceAttributes
Inheritance
ResourceAttributes
Implements
Inherited Members

Examples

// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK.AWS.APIGateway;

            RestApi restApi;

            var resourceAttributes = new ResourceAttributes {
                Path = "path",
                ResourceId = "resourceId",
                RestApi = restApi
            };

Remarks

ExampleMetadata: fixture=_generated

Constructors

ResourceAttributes()

public ResourceAttributes()

Properties

Path

The full path of this resource.

public string Path { get; set; }

Property Value

string

ResourceId

The ID of the resource.

public string ResourceId { get; set; }

Property Value

string

RestApi

The rest API that this resource is part of.

public IRestApi RestApi { get; set; }

Property Value

IRestApi