Interface CfnPlanPropsMixin.StepProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlanPropsMixin.StepProperty.Jsii$Proxy
- Enclosing class:
CfnPlanPropsMixin
@Stability(Stable)
public static interface CfnPlanPropsMixin.StepProperty
extends software.amazon.jsii.JsiiSerializable
Represents a step in a Region switch plan workflow.
Each step performs a specific action during the Region switch process.
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.arcregionswitch.*;
StepProperty stepProperty_;
StepProperty stepProperty = StepProperty.builder()
.description("description")
.executionBlockConfiguration(ExecutionBlockConfigurationProperty.builder()
.arcRoutingControlConfig(ArcRoutingControlConfigurationProperty.builder()
.crossAccountRole("crossAccountRole")
.externalId("externalId")
.regionAndRoutingControls(Map.of(
"regionAndRoutingControlsKey", List.of(ArcRoutingControlStateProperty.builder()
.routingControlArn("routingControlArn")
.state("state")
.build())))
.timeoutMinutes(123)
.build())
.customActionLambdaConfig(CustomActionLambdaConfigurationProperty.builder()
.lambdas(List.of(LambdasProperty.builder()
.arn("arn")
.crossAccountRole("crossAccountRole")
.externalId("externalId")
.build()))
.regionToRun("regionToRun")
.retryIntervalMinutes(123)
.timeoutMinutes(123)
.ungraceful(LambdaUngracefulProperty.builder()
.behavior("behavior")
.build())
.build())
.documentDbConfig(DocumentDbConfigurationProperty.builder()
.behavior("behavior")
.crossAccountRole("crossAccountRole")
.databaseClusterArns(List.of("databaseClusterArns"))
.externalId("externalId")
.globalClusterIdentifier("globalClusterIdentifier")
.timeoutMinutes(123)
.ungraceful(DocumentDbUngracefulProperty.builder()
.ungraceful("ungraceful")
.build())
.build())
.ec2AsgCapacityIncreaseConfig(Ec2AsgCapacityIncreaseConfigurationProperty.builder()
.asgs(List.of(AsgProperty.builder()
.arn("arn")
.crossAccountRole("crossAccountRole")
.externalId("externalId")
.build()))
.capacityMonitoringApproach("capacityMonitoringApproach")
.targetPercent(123)
.timeoutMinutes(123)
.ungraceful(Ec2UngracefulProperty.builder()
.minimumSuccessPercentage(123)
.build())
.build())
.ecsCapacityIncreaseConfig(EcsCapacityIncreaseConfigurationProperty.builder()
.capacityMonitoringApproach("capacityMonitoringApproach")
.services(List.of(ServiceProperty.builder()
.clusterArn("clusterArn")
.crossAccountRole("crossAccountRole")
.externalId("externalId")
.serviceArn("serviceArn")
.build()))
.targetPercent(123)
.timeoutMinutes(123)
.ungraceful(EcsUngracefulProperty.builder()
.minimumSuccessPercentage(123)
.build())
.build())
.eksResourceScalingConfig(EksResourceScalingConfigurationProperty.builder()
.capacityMonitoringApproach("capacityMonitoringApproach")
.eksClusters(List.of(EksClusterProperty.builder()
.clusterArn("clusterArn")
.crossAccountRole("crossAccountRole")
.externalId("externalId")
.build()))
.kubernetesResourceType(KubernetesResourceTypeProperty.builder()
.apiVersion("apiVersion")
.kind("kind")
.build())
.scalingResources(List.of(Map.of(
"scalingResourcesKey", Map.of(
"scalingResourcesKey", KubernetesScalingResourceProperty.builder()
.hpaName("hpaName")
.name("name")
.namespace("namespace")
.build()))))
.targetPercent(123)
.timeoutMinutes(123)
.ungraceful(EksResourceScalingUngracefulProperty.builder()
.minimumSuccessPercentage(123)
.build())
.build())
.executionApprovalConfig(ExecutionApprovalConfigurationProperty.builder()
.approvalRole("approvalRole")
.timeoutMinutes(123)
.build())
.globalAuroraConfig(GlobalAuroraConfigurationProperty.builder()
.behavior("behavior")
.crossAccountRole("crossAccountRole")
.databaseClusterArns(List.of("databaseClusterArns"))
.externalId("externalId")
.globalClusterIdentifier("globalClusterIdentifier")
.timeoutMinutes(123)
.ungraceful(GlobalAuroraUngracefulProperty.builder()
.ungraceful("ungraceful")
.build())
.build())
.parallelConfig(ParallelExecutionBlockConfigurationProperty.builder()
.steps(List.of(stepProperty_))
.build())
.rdsCreateCrossRegionReadReplicaConfig(RdsCreateCrossRegionReplicaConfigurationProperty.builder()
.crossAccountRole("crossAccountRole")
.dbInstanceArnMap(Map.of(
"dbInstanceArnMapKey", "dbInstanceArnMap"))
.externalId("externalId")
.timeoutMinutes(123)
.build())
.rdsPromoteReadReplicaConfig(RdsPromoteReadReplicaConfigurationProperty.builder()
.crossAccountRole("crossAccountRole")
.dbInstanceArnMap(Map.of(
"dbInstanceArnMapKey", "dbInstanceArnMap"))
.externalId("externalId")
.timeoutMinutes(123)
.build())
.regionSwitchPlanConfig(RegionSwitchPlanConfigurationProperty.builder()
.arn("arn")
.crossAccountRole("crossAccountRole")
.externalId("externalId")
.build())
.route53HealthCheckConfig(Route53HealthCheckConfigurationProperty.builder()
.crossAccountRole("crossAccountRole")
.externalId("externalId")
.hostedZoneId("hostedZoneId")
.recordName("recordName")
.recordSets(List.of(Route53ResourceRecordSetProperty.builder()
.recordSetIdentifier("recordSetIdentifier")
.region("region")
.build()))
.timeoutMinutes(123)
.build())
.build())
.executionBlockType("executionBlockType")
.name("name")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPlanPropsMixin.StepPropertystatic final classAn implementation forCfnPlanPropsMixin.StepProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
The description of a step in a workflow.- See Also:
-
getExecutionBlockConfiguration
The configuration for an execution block in a workflow.Returns union: either
IResolvableorCfnPlanPropsMixin.ExecutionBlockConfigurationProperty- See Also:
-
getExecutionBlockType
The type of an execution block in a workflow.- See Also:
-
getName
The name of a step in a workflow.- See Also:
-
builder
-