Interface ResourceAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ResourceAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.063Z")
@Stability(Stable)
public interface ResourceAttributes
extends software.amazon.jsii.JsiiSerializable
Attributes that can be specified when importing a Resource.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.apigateway.*; RestApi restApi; ResourceAttributes resourceAttributes = ResourceAttributes.builder() .path("path") .resourceId("resourceId") .restApi(restApi) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forResourceAttributes
static final class
An implementation forResourceAttributes
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceAttributes.Builder
builder()
getPath()
The full path of this resource.The ID of the resource.The rest API that this resource is part of.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPath
The full path of this resource. -
getResourceId
The ID of the resource. -
getRestApi
The rest API that this resource is part of. -
builder
- Returns:
- a
ResourceAttributes.Builder
ofResourceAttributes
-