interface IHubRef
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SecurityHub.IHubRef |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssecurityhub#IHubRef |
Java | software.amazon.awscdk.services.securityhub.IHubRef |
Python | aws_cdk.aws_securityhub.IHubRef |
TypeScript | aws-cdk-lib » aws_securityhub » IHubRef |
Implemented by
Cfn
Indicates that this resource can be referenced as a Hub.
Properties
| Name | Type | Description |
|---|---|---|
| env | Resource | The environment this resource belongs to. |
| hub | Hub | A reference to a Hub resource. |
| node | Node | The tree node. |
env
Type:
Resource
The environment this resource belongs to.
For resources that are created and managed in a Stack (those created by
creating new class instances like new Role(), new Bucket(), etc.), this
is always the same as the environment of the stack they belong to.
For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be
different than the stack they were imported into.
hubRef
Type:
Hub
A reference to a Hub resource.
node
Type:
Node
The tree node.

.NET
Go
Java
Python
TypeScript