Interface CfnServiceProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnServiceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)", date="2026-06-16T16:14:31.947Z") @Stability(Stable) public interface CfnServiceProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnService.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.resiliencehubv2.*;
 CfnServiceProps cfnServiceProps = CfnServiceProps.builder()
         .name("name")
         .regions(List.of("regions"))
         // the properties below are optional
         .assertions(List.of(AssertionDefinitionProperty.builder()
                 .text("text")
                 .build()))
         .associatedSystems(List.of(AssociatedSystemProperty.builder()
                 .systemArn("systemArn")
                 // the properties below are optional
                 .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")
         .permissionModel(PermissionModelProperty.builder()
                 .invokerRoleName("invokerRoleName")
                 // the properties below are optional
                 .crossAccountRoleArns(List.of(CrossAccountRoleConfigurationProperty.builder()
                         .crossAccountRoleArn("crossAccountRoleArn")
                         // the properties below are optional
                         .externalId("externalId")
                         .build()))
                 .build())
         .policyArn("policyArn")
         .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();
 

See Also: