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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnServicePropsstatic final classAn implementation forCfnServiceProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnServiceProps.Builderbuilder()default ObjectAssertions associated with this service.default ObjectSystems associated with this service.default StringDependency discovery state.default StringThe description of the service.default ObjectInput sources for this service.default StringThe KMS key ID for encrypting service data.getName()The name of the service.default ObjectReturns union: eitherIResolvableorCfnService.PermissionModelPropertydefault StringThe ARN of the resilience policy to associate.AWS regions for the service.default ObjectConfiguration for automatic report generation on a Service.getTags()Tags assigned to the service.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the service.- See Also:
-
getRegions
AWS regions for the service.- See Also:
-
getAssertions
Assertions associated with this service.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnService.AssertionDefinitionProperty>- See Also:
-
getAssociatedSystems
Systems associated with this service.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnService.AssociatedSystemProperty>- See Also:
-
getDependencyDiscovery
Dependency discovery state.- See Also:
-
getDescription
The description of the service.- See Also:
-
getInputSources
Input sources for this service.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnService.InputSourceDefinitionProperty>- See Also:
-
getKmsKeyId
The KMS key ID for encrypting service data.- See Also:
-
getPermissionModel
Returns union: eitherIResolvableorCfnService.PermissionModelProperty- See Also:
-
getPolicyArn
The ARN of the resilience policy to associate.- See Also:
-
getReportConfiguration
Configuration for automatic report generation on a Service.Returns union: either
IResolvableorCfnService.ServiceReportConfigurationProperty- See Also:
-
getTags
Tags assigned to the service.- See Also:
-
builder
- Returns:
- a
CfnServiceProps.BuilderofCfnServiceProps
-