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
ResourceId
The ID of the resource.
public string ResourceId { get; set; }
Property Value
RestApi
The rest API that this resource is part of.
public IRestApi RestApi { get; set; }