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

@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)", date="2026-06-16T16:14:46.576Z") @Stability(Stable) public class CfnServicePropsMixin extends Mixin implements software.constructs.IMixin
Creates a resilience-managed service with associated systems, input sources, assertions, and service functions.

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.resiliencehubv2.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnServicePropsMixin cfnServicePropsMixin = CfnServicePropsMixin.Builder.create(CfnServiceMixinProps.builder()
         .assertions(List.of(AssertionDefinitionProperty.builder()
                 .text("text")
                 .build()))
         .associatedSystems(List.of(AssociatedSystemProperty.builder()
                 .systemArn("systemArn")
                 .userJourneyIds(List.of("userJourneyIds"))
                 .build()))
         .dependencyDiscovery("dependencyDiscovery")
         .description("description")
         .inputSources(List.of(InputSourceDefinitionProperty.builder()
                 .resourceConfiguration(ResourceConfigurationProperty.builder()
                         .cfnStackArn("cfnStackArn")
                         .designFileS3Url("designFileS3Url")
                         .eks(EksSourceProperty.builder()
                                 .clusterArn("clusterArn")
                                 .namespaces(List.of("namespaces"))
                                 .build())
                         .resourceTags(List.of(ResourceTagProperty.builder()
                                 .key("key")
                                 .values(List.of("values"))
                                 .build()))
                         .tfStateFileUrl("tfStateFileUrl")
                         .build())
                 .build()))
         .kmsKeyId("kmsKeyId")
         .name("name")
         .permissionModel(PermissionModelProperty.builder()
                 .crossAccountRoleArns(List.of(CrossAccountRoleConfigurationProperty.builder()
                         .crossAccountRoleArn("crossAccountRoleArn")
                         .externalId("externalId")
                         .build()))
                 .invokerRoleName("invokerRoleName")
                 .build())
         .policyArn("policyArn")
         .regions(List.of("regions"))
         .reportConfiguration(ServiceReportConfigurationProperty.builder()
                 .reportOutput(List.of(ReportOutputConfigurationProperty.builder()
                         .s3(S3ReportOutputConfigurationProperty.builder()
                                 .bucketOwner("bucketOwner")
                                 .bucketPath("bucketPath")
                                 .build())
                         .build()))
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

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

    • CfnServicePropsMixin

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

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

      @Stability(Stable) public CfnServicePropsMixin(@NotNull CfnServiceMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::ResilienceHubV2::Service.

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

      @Stability(Stable) public CfnServicePropsMixin(@NotNull CfnServiceMixinProps props)
      Create a mixin to apply properties to AWS::ResilienceHubV2::Service.

      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 CfnServiceMixinProps getProps()
    • getStrategy

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