IAuroraClusterInstance
- class aws_cdk.aws_rds.IAuroraClusterInstance(*args, **kwargs)
Bases:
IResource
,Protocol
An Aurora Cluster Instance.
Methods
- apply_removal_policy(policy)
Apply the given removal policy to this resource.
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you’ve removed it from the CDK application or because you’ve made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY
), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN
).- Parameters:
policy (
RemovalPolicy
) –- Return type:
None
Attributes
- db_instance_arn
The instance ARN.
- db_instance_endpoint_address
The instance endpoint address.
- dbi_resource_id
The instance resource ID.
- env
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
- instance_identifier
The instance identifier.
- instance_size
The instance size if the instance is a provisioned type.
- node
The tree node.
- performance_insight_encryption_key
The AWS KMS key for encryption of Performance Insights data.
- performance_insight_retention
The amount of time, in days, to retain Performance Insights data.
- performance_insights_enabled
Whether Performance Insights is enabled.
- stack
The stack in which this resource is defined.
- tier
The promotion tier the instance was created in.
- type
The instance type (provisioned vs serverless v2).