Class ResourceAttributes
Attributes that can be specified when importing a Resource.
Implements
Inherited Members
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
Remarks
ExampleMetadata: fixture=_generated
ResourceId
The ID of the resource.
public string ResourceId { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
RestApi
The rest API that this resource is part of.
public IRestApi RestApi { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated