Show / Hide Table of Contents

Class ResourceAttributes

Attributes that can be specified when importing a Resource.

Inheritance
object
ResourceAttributes
Implements
IResourceAttributes
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ResourceAttributes : IResourceAttributes
Syntax (vb)
Public Class ResourceAttributes Implements IResourceAttributes
Remarks

ExampleMetadata: fixture=_generated

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
            };

Synopsis

Constructors

ResourceAttributes()

Attributes that can be specified when importing a Resource.

Properties

Path

The full path of this resource.

ResourceId

The ID of the resource.

RestApi

The rest API that this resource is part of.

Constructors

ResourceAttributes()

Attributes that can be specified when importing a Resource.

public ResourceAttributes()
Remarks

ExampleMetadata: fixture=_generated

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
            };

Properties

Path

The full path of this resource.

public string Path { get; set; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

ResourceId

The ID of the resource.

public string ResourceId { get; set; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

RestApi

The rest API that this resource is part of.

public IRestApi RestApi { get; set; }
Property Value

IRestApi

Remarks

ExampleMetadata: fixture=_generated

Implements

IResourceAttributes
Back to top Generated by DocFX