Class ResourceAttributes
Attributes that can be specified when importing a Resource.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ResourceAttributes : Object, IResourceAttributes
Syntax (vb)
Public Class ResourceAttributes
Inherits Object
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
Resource |
Properties
Path | The full path of this resource. |
Resource |
The ID of the resource. |
Rest |
The rest API that this resource is part of. |
Constructors
ResourceAttributes()
public ResourceAttributes()
Properties
Path
The full path of this resource.
public string Path { get; set; }
Property Value
System.
ResourceId
The ID of the resource.
public string ResourceId { get; set; }
Property Value
System.
RestApi
The rest API that this resource is part of.
public IRestApi RestApi { get; set; }
Property Value