Class CfnRecordSetGroupPropsMixin

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.route53.CfnRecordSetGroupPropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-11T13:20:04.566Z") @Stability(Stable) public class CfnRecordSetGroupPropsMixin extends Mixin implements software.constructs.IMixin
A complex type that contains an optional comment, the name and ID of the hosted zone that you want to make changes in, and values for the records that you want to create.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.route53.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnRecordSetGroupPropsMixin cfnRecordSetGroupPropsMixin = CfnRecordSetGroupPropsMixin.Builder.create(CfnRecordSetGroupMixinProps.builder()
         .comment("comment")
         .hostedZoneId("hostedZoneId")
         .hostedZoneName("hostedZoneName")
         .recordSets(List.of(RecordSetProperty.builder()
                 .aliasTarget(AliasTargetProperty.builder()
                         .dnsName("dnsName")
                         .evaluateTargetHealth(false)
                         .hostedZoneId("hostedZoneId")
                         .build())
                 .cidrRoutingConfig(CidrRoutingConfigProperty.builder()
                         .collectionId("collectionId")
                         .locationName("locationName")
                         .build())
                 .failover("failover")
                 .geoLocation(GeoLocationProperty.builder()
                         .continentCode("continentCode")
                         .countryCode("countryCode")
                         .subdivisionCode("subdivisionCode")
                         .build())
                 .geoProximityLocation(GeoProximityLocationProperty.builder()
                         .awsRegion("awsRegion")
                         .bias(123)
                         .coordinates(CoordinatesProperty.builder()
                                 .latitude("latitude")
                                 .longitude("longitude")
                                 .build())
                         .localZoneGroup("localZoneGroup")
                         .build())
                 .healthCheckId("healthCheckId")
                 .hostedZoneId("hostedZoneId")
                 .hostedZoneName("hostedZoneName")
                 .multiValueAnswer(false)
                 .name("name")
                 .region("region")
                 .resourceRecords(List.of("resourceRecords"))
                 .setIdentifier("setIdentifier")
                 .ttl("ttl")
                 .type("type")
                 .weight(123)
                 .build()))
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnRecordSetGroupPropsMixin

      protected CfnRecordSetGroupPropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnRecordSetGroupPropsMixin

      protected CfnRecordSetGroupPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnRecordSetGroupPropsMixin

      @Stability(Stable) public CfnRecordSetGroupPropsMixin(@NotNull CfnRecordSetGroupMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::Route53::RecordSetGroup.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnRecordSetGroupPropsMixin

      @Stability(Stable) public CfnRecordSetGroupPropsMixin(@NotNull CfnRecordSetGroupMixinProps props)
      Create a mixin to apply properties to AWS::Route53::RecordSetGroup.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnRecordSetGroupMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()