CfnRecordSetProtectionPropsMixin Mixin Added in v2.278.0
Resource Type definition for AWS::Route53::RecordSetProtection.
Protects a record set (all record sets with the given name and type) in a hosted zone against changes until the protection is deleted. The protection must DependsOn (or reference with Ref) the AWS::Route53::RecordSet it protects. Adding or removing a protection and changing that record set must be two separate stack updates: a removal is applied in the cleanup phase after updates, and an addition in the same update blocks the record set's rollback. To recover a rollback blocked this way (UPDATE_ROLLBACK_FAILED), delete the protection, then run ContinueUpdateRollback. While a protection exists, creating any record set with its name and type, including one with a new SetIdentifier, is refused. Changing Comment replaces the protection by deleting it first, so the record set is unprotected for the duration of the replacement. While a protection exists, including one kept by DeletionPolicy Retain or created outside the stack, deleting its AWS::Route53::RecordSet fails with ResourceConflict; delete the protection first. When a create is retried after its outcome was lost, an existing protection with the same Comment is taken as the one it created; without a Comment, an existing protection that has no comment is adopted.
| CloudFormation | AWS::Route53::RecordSetProtection |
|---|---|
| Source | |
| Type last changed |
Initializer
new CfnRecordSetProtectionPropsMixin(props: CfnRecordSetProtectionMixinProps, options?: CfnPropertyMixinOptions)
CfnRecordSetProtectionPropsMixin(props: CfnRecordSetProtectionMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
new CfnRecordSetProtectionPropsMixin(CfnRecordSetProtectionMixinProps props, CfnPropertyMixinOptions options)
new CfnRecordSetProtectionPropsMixin(CfnRecordSetProtectionMixinProps props, CfnPropertyMixinOptions? options = null)
NewCfnRecordSetProtectionPropsMixin(Props CfnRecordSetProtectionMixinProps, Options CfnPropertyMixinOptions)
Methods
applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct) #isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *bool static #1 parameter · returns
Parameters
xxxxX— Any object.
Returns: true if x is an object created from a class which extends Mixin.
supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool #