Package software.amazon.awscdk.interfaces
package software.amazon.awscdk.interfaces
CDK Resource Interfaces
This module contains resource interfaces for all AWS service resources.
These are interfaces that look like this:
/**
* Indicates that this resource can be referenced as a Bucket.
*/
interface IBucketRef {
/**
* A reference to a Bucket resource.
*/
readonly bucketRef: BucketReference;
}
interface BucketReference {
/**
* The BucketName of the Bucket resource.
*/
readonly bucketName: string;
/**
* The ARN of the Bucket resource.
*/
readonly bucketArn: string;
}
These are in a separate submodule so that they can be referenced from all other service submodules without introducing cyclic dependencies between them.
-
ClassDescriptionUsed to indicate that a particular construct has an resource environment.Internal default implementation for
IEnvironmentAware.A proxy class which represents a concrete javascript instance of this type.Represents the environment a given resource lives in.A builder forResourceEnvironmentAn implementation forResourceEnvironment