Resource for managing an Amazon ARC Region Switch plan.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.iam.Role("example", {
name: "arc-region-switch-role",
assumeRolePolicy: JSON.stringify({
Version: "2012-10-17",
Statement: [{
Action: "sts:AssumeRole",
Effect: "Allow",
Principal: {
Service: "arc-region-switch.amazonaws.com",
},
}],
}),
});
const examplePlan = new aws.arcregionswitch.Plan("example", {
name: "example-plan",
executionRole: example.arn,
recoveryApproach: "activePassive",
regions: [
"us-east-1",
"us-west-2",
],
primaryRegion: "us-east-1",
workflows: [
{
workflowTargetAction: "activate",
workflowTargetRegion: "us-west-2",
steps: [{
name: "manual-approval",
executionBlockType: "ManualApproval",
executionApprovalConfigs: [{
approvalRole: example.arn,
timeoutMinutes: 60,
}],
}],
},
{
workflowTargetAction: "deactivate",
workflowTargetRegion: "us-east-1",
steps: [{
name: "manual-approval",
executionBlockType: "ManualApproval",
executionApprovalConfigs: [{
approvalRole: example.arn,
timeoutMinutes: 60,
}],
}],
},
],
});
import pulumi
import json
import pulumi_aws as aws
example = aws.iam.Role("example",
name="arc-region-switch-role",
assume_role_policy=json.dumps({
"Version": "2012-10-17",
"Statement": [{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": "arc-region-switch.amazonaws.com",
},
}],
}))
example_plan = aws.arcregionswitch.Plan("example",
name="example-plan",
execution_role=example.arn,
recovery_approach="activePassive",
regions=[
"us-east-1",
"us-west-2",
],
primary_region="us-east-1",
workflows=[
{
"workflow_target_action": "activate",
"workflow_target_region": "us-west-2",
"steps": [{
"name": "manual-approval",
"execution_block_type": "ManualApproval",
"execution_approval_configs": [{
"approval_role": example.arn,
"timeout_minutes": 60,
}],
}],
},
{
"workflow_target_action": "deactivate",
"workflow_target_region": "us-east-1",
"steps": [{
"name": "manual-approval",
"execution_block_type": "ManualApproval",
"execution_approval_configs": [{
"approval_role": example.arn,
"timeout_minutes": 60,
}],
}],
},
])
package main
import (
"encoding/json"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/arcregionswitch"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
tmpJSON0, err := json.Marshal(map[string]interface{}{
"Version": "2012-10-17",
"Statement": []map[string]interface{}{
map[string]interface{}{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": map[string]interface{}{
"Service": "arc-region-switch.amazonaws.com",
},
},
},
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
example, err := iam.NewRole(ctx, "example", &iam.RoleArgs{
Name: pulumi.String("arc-region-switch-role"),
AssumeRolePolicy: pulumi.String(json0),
})
if err != nil {
return err
}
_, err = arcregionswitch.NewPlan(ctx, "example", &arcregionswitch.PlanArgs{
Name: pulumi.String("example-plan"),
ExecutionRole: example.Arn,
RecoveryApproach: pulumi.String("activePassive"),
Regions: pulumi.StringArray{
pulumi.String("us-east-1"),
pulumi.String("us-west-2"),
},
PrimaryRegion: pulumi.String("us-east-1"),
Workflows: arcregionswitch.PlanWorkflowArray{
&arcregionswitch.PlanWorkflowArgs{
WorkflowTargetAction: pulumi.String("activate"),
WorkflowTargetRegion: pulumi.String("us-west-2"),
Steps: arcregionswitch.PlanWorkflowStepArray{
&arcregionswitch.PlanWorkflowStepArgs{
Name: pulumi.String("manual-approval"),
ExecutionBlockType: pulumi.String("ManualApproval"),
ExecutionApprovalConfigs: arcregionswitch.PlanWorkflowStepExecutionApprovalConfigArray{
&arcregionswitch.PlanWorkflowStepExecutionApprovalConfigArgs{
ApprovalRole: example.Arn,
TimeoutMinutes: pulumi.Int(60),
},
},
},
},
},
&arcregionswitch.PlanWorkflowArgs{
WorkflowTargetAction: pulumi.String("deactivate"),
WorkflowTargetRegion: pulumi.String("us-east-1"),
Steps: arcregionswitch.PlanWorkflowStepArray{
&arcregionswitch.PlanWorkflowStepArgs{
Name: pulumi.String("manual-approval"),
ExecutionBlockType: pulumi.String("ManualApproval"),
ExecutionApprovalConfigs: arcregionswitch.PlanWorkflowStepExecutionApprovalConfigArray{
&arcregionswitch.PlanWorkflowStepExecutionApprovalConfigArgs{
ApprovalRole: example.Arn,
TimeoutMinutes: pulumi.Int(60),
},
},
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Iam.Role("example", new()
{
Name = "arc-region-switch-role",
AssumeRolePolicy = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["Version"] = "2012-10-17",
["Statement"] = new[]
{
new Dictionary<string, object?>
{
["Action"] = "sts:AssumeRole",
["Effect"] = "Allow",
["Principal"] = new Dictionary<string, object?>
{
["Service"] = "arc-region-switch.amazonaws.com",
},
},
},
}),
});
var examplePlan = new Aws.ArcRegionSwitch.Plan("example", new()
{
Name = "example-plan",
ExecutionRole = example.Arn,
RecoveryApproach = "activePassive",
Regions = new[]
{
"us-east-1",
"us-west-2",
},
PrimaryRegion = "us-east-1",
Workflows = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowArgs
{
WorkflowTargetAction = "activate",
WorkflowTargetRegion = "us-west-2",
Steps = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepArgs
{
Name = "manual-approval",
ExecutionBlockType = "ManualApproval",
ExecutionApprovalConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepExecutionApprovalConfigArgs
{
ApprovalRole = example.Arn,
TimeoutMinutes = 60,
},
},
},
},
},
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowArgs
{
WorkflowTargetAction = "deactivate",
WorkflowTargetRegion = "us-east-1",
Steps = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepArgs
{
Name = "manual-approval",
ExecutionBlockType = "ManualApproval",
ExecutionApprovalConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepExecutionApprovalConfigArgs
{
ApprovalRole = example.Arn,
TimeoutMinutes = 60,
},
},
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.iam.Role;
import com.pulumi.aws.iam.RoleArgs;
import com.pulumi.aws.arcregionswitch.Plan;
import com.pulumi.aws.arcregionswitch.PlanArgs;
import com.pulumi.aws.arcregionswitch.inputs.PlanWorkflowArgs;
import static com.pulumi.codegen.internal.Serialization.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Role("example", RoleArgs.builder()
.name("arc-region-switch-role")
.assumeRolePolicy(serializeJson(
jsonObject(
jsonProperty("Version", "2012-10-17"),
jsonProperty("Statement", jsonArray(jsonObject(
jsonProperty("Action", "sts:AssumeRole"),
jsonProperty("Effect", "Allow"),
jsonProperty("Principal", jsonObject(
jsonProperty("Service", "arc-region-switch.amazonaws.com")
))
)))
)))
.build());
var examplePlan = new Plan("examplePlan", PlanArgs.builder()
.name("example-plan")
.executionRole(example.arn())
.recoveryApproach("activePassive")
.regions(
"us-east-1",
"us-west-2")
.primaryRegion("us-east-1")
.workflows(
PlanWorkflowArgs.builder()
.workflowTargetAction("activate")
.workflowTargetRegion("us-west-2")
.steps(PlanWorkflowStepArgs.builder()
.name("manual-approval")
.executionBlockType("ManualApproval")
.executionApprovalConfigs(PlanWorkflowStepExecutionApprovalConfigArgs.builder()
.approvalRole(example.arn())
.timeoutMinutes(60)
.build())
.build())
.build(),
PlanWorkflowArgs.builder()
.workflowTargetAction("deactivate")
.workflowTargetRegion("us-east-1")
.steps(PlanWorkflowStepArgs.builder()
.name("manual-approval")
.executionBlockType("ManualApproval")
.executionApprovalConfigs(PlanWorkflowStepExecutionApprovalConfigArgs.builder()
.approvalRole(example.arn())
.timeoutMinutes(60)
.build())
.build())
.build())
.build());
}
}
resources:
example:
type: aws:iam:Role
properties:
name: arc-region-switch-role
assumeRolePolicy:
fn::toJSON:
Version: 2012-10-17
Statement:
- Action: sts:AssumeRole
Effect: Allow
Principal:
Service: arc-region-switch.amazonaws.com
examplePlan:
type: aws:arcregionswitch:Plan
name: example
properties:
name: example-plan
executionRole: ${example.arn}
recoveryApproach: activePassive
regions:
- us-east-1
- us-west-2
primaryRegion: us-east-1
workflows:
- workflowTargetAction: activate
workflowTargetRegion: us-west-2
steps:
- name: manual-approval
executionBlockType: ManualApproval
executionApprovalConfigs:
- approvalRole: ${example.arn}
timeoutMinutes: 60
- workflowTargetAction: deactivate
workflowTargetRegion: us-east-1
steps:
- name: manual-approval
executionBlockType: ManualApproval
executionApprovalConfigs:
- approvalRole: ${example.arn}
timeoutMinutes: 60
Complex Usage with Multiple Step Types
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const complex = new aws.arcregionswitch.Plan("complex", {
name: "complex-plan",
executionRole: exampleAwsIamRole.arn,
recoveryApproach: "activeActive",
regions: [
"us-east-1",
"us-west-2",
],
description: "Complex plan with multiple execution block types",
recoveryTimeObjectiveMinutes: 60,
associatedAlarms: [{
name: "application-health-alarm",
alarmType: "applicationHealth",
resourceIdentifier: "arn:aws:cloudwatch:us-east-1:123456789012:alarm:MyAlarm",
}],
workflows: [
{
workflowTargetAction: "activate",
workflowTargetRegion: "us-west-2",
steps: [
{
name: "lambda-step",
executionBlockType: "CustomActionLambda",
customActionLambdaConfigs: [{
regionToRun: "activatingRegion",
retryIntervalMinutes: 5,
timeoutMinutes: 30,
lambdas: [{
arn: example.arn,
}],
}],
},
{
name: "parallel-step",
executionBlockType: "Parallel",
parallelConfigs: [{
steps: [
{
name: "asg-scaling",
executionBlockType: "EC2AutoScaling",
ec2AsgCapacityIncreaseConfigs: [{
asgs: [{
arn: exampleAwsAutoscalingGroup.arn,
}],
targetPercent: 150,
}],
},
{
name: "ecs-scaling",
executionBlockType: "ECSServiceScaling",
ecsCapacityIncreaseConfigs: [{
services: [{
clusterArn: exampleAwsEcsCluster.arn,
serviceArn: exampleAwsEcsService.arn,
}],
targetPercent: 200,
}],
},
],
}],
},
],
},
{
workflowTargetAction: "deactivate",
workflowTargetRegion: "us-east-1",
steps: [{
name: "route53-health-check",
executionBlockType: "Route53HealthCheck",
route53HealthCheckConfigs: [{
hostedZoneId: exampleAwsRoute53Zone.zoneId,
recordName: "api.example.com",
}],
}],
},
],
triggers: [{
action: "activate",
targetRegion: "us-west-2",
minDelayMinutesBetweenExecutions: 30,
conditions: [{
associatedAlarmName: "application-health-alarm",
condition: "red",
}],
}],
tags: {
Environment: "production",
},
});
import pulumi
import pulumi_aws as aws
complex = aws.arcregionswitch.Plan("complex",
name="complex-plan",
execution_role=example_aws_iam_role["arn"],
recovery_approach="activeActive",
regions=[
"us-east-1",
"us-west-2",
],
description="Complex plan with multiple execution block types",
recovery_time_objective_minutes=60,
associated_alarms=[{
"name": "application-health-alarm",
"alarm_type": "applicationHealth",
"resource_identifier": "arn:aws:cloudwatch:us-east-1:123456789012:alarm:MyAlarm",
}],
workflows=[
{
"workflow_target_action": "activate",
"workflow_target_region": "us-west-2",
"steps": [
{
"name": "lambda-step",
"execution_block_type": "CustomActionLambda",
"custom_action_lambda_configs": [{
"region_to_run": "activatingRegion",
"retry_interval_minutes": 5,
"timeout_minutes": 30,
"lambdas": [{
"arn": example["arn"],
}],
}],
},
{
"name": "parallel-step",
"execution_block_type": "Parallel",
"parallel_configs": [{
"steps": [
{
"name": "asg-scaling",
"execution_block_type": "EC2AutoScaling",
"ec2_asg_capacity_increase_configs": [{
"asgs": [{
"arn": example_aws_autoscaling_group["arn"],
}],
"target_percent": 150,
}],
},
{
"name": "ecs-scaling",
"execution_block_type": "ECSServiceScaling",
"ecs_capacity_increase_configs": [{
"services": [{
"cluster_arn": example_aws_ecs_cluster["arn"],
"service_arn": example_aws_ecs_service["arn"],
}],
"target_percent": 200,
}],
},
],
}],
},
],
},
{
"workflow_target_action": "deactivate",
"workflow_target_region": "us-east-1",
"steps": [{
"name": "route53-health-check",
"execution_block_type": "Route53HealthCheck",
"route53_health_check_configs": [{
"hosted_zone_id": example_aws_route53_zone["zoneId"],
"record_name": "api.example.com",
}],
}],
},
],
triggers=[{
"action": "activate",
"target_region": "us-west-2",
"min_delay_minutes_between_executions": 30,
"conditions": [{
"associated_alarm_name": "application-health-alarm",
"condition": "red",
}],
}],
tags={
"Environment": "production",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/arcregionswitch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := arcregionswitch.NewPlan(ctx, "complex", &arcregionswitch.PlanArgs{
Name: pulumi.String("complex-plan"),
ExecutionRole: pulumi.Any(exampleAwsIamRole.Arn),
RecoveryApproach: pulumi.String("activeActive"),
Regions: pulumi.StringArray{
pulumi.String("us-east-1"),
pulumi.String("us-west-2"),
},
Description: pulumi.String("Complex plan with multiple execution block types"),
RecoveryTimeObjectiveMinutes: pulumi.Int(60),
AssociatedAlarms: arcregionswitch.PlanAssociatedAlarmArray{
&arcregionswitch.PlanAssociatedAlarmArgs{
Name: "application-health-alarm",
AlarmType: pulumi.String("applicationHealth"),
ResourceIdentifier: pulumi.String("arn:aws:cloudwatch:us-east-1:123456789012:alarm:MyAlarm"),
},
},
Workflows: arcregionswitch.PlanWorkflowArray{
&arcregionswitch.PlanWorkflowArgs{
WorkflowTargetAction: pulumi.String("activate"),
WorkflowTargetRegion: pulumi.String("us-west-2"),
Steps: arcregionswitch.PlanWorkflowStepArray{
&arcregionswitch.PlanWorkflowStepArgs{
Name: pulumi.String("lambda-step"),
ExecutionBlockType: pulumi.String("CustomActionLambda"),
CustomActionLambdaConfigs: arcregionswitch.PlanWorkflowStepCustomActionLambdaConfigArray{
&arcregionswitch.PlanWorkflowStepCustomActionLambdaConfigArgs{
RegionToRun: pulumi.String("activatingRegion"),
RetryIntervalMinutes: pulumi.Float64(5),
TimeoutMinutes: pulumi.Int(30),
Lambdas: arcregionswitch.PlanWorkflowStepCustomActionLambdaConfigLambdaArray{
&arcregionswitch.PlanWorkflowStepCustomActionLambdaConfigLambdaArgs{
Arn: pulumi.Any(example.Arn),
},
},
},
},
},
&arcregionswitch.PlanWorkflowStepArgs{
Name: pulumi.String("parallel-step"),
ExecutionBlockType: pulumi.String("Parallel"),
ParallelConfigs: arcregionswitch.PlanWorkflowStepParallelConfigArray{
&arcregionswitch.PlanWorkflowStepParallelConfigArgs{
Steps: arcregionswitch.PlanWorkflowStepParallelConfigStepArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepArgs{
Name: pulumi.String("asg-scaling"),
ExecutionBlockType: pulumi.String("EC2AutoScaling"),
Ec2AsgCapacityIncreaseConfigs: arcregionswitch.PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigArgs{
Asgs: arcregionswitch.PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigAsgArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigAsgArgs{
Arn: pulumi.Any(exampleAwsAutoscalingGroup.Arn),
},
},
TargetPercent: pulumi.Int(150),
},
},
},
&arcregionswitch.PlanWorkflowStepParallelConfigStepArgs{
Name: pulumi.String("ecs-scaling"),
ExecutionBlockType: pulumi.String("ECSServiceScaling"),
EcsCapacityIncreaseConfigs: arcregionswitch.PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigArgs{
Services: arcregionswitch.PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigServiceArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigServiceArgs{
ClusterArn: pulumi.Any(exampleAwsEcsCluster.Arn),
ServiceArn: pulumi.Any(exampleAwsEcsService.Arn),
},
},
TargetPercent: pulumi.Int(200),
},
},
},
},
},
},
},
},
},
&arcregionswitch.PlanWorkflowArgs{
WorkflowTargetAction: pulumi.String("deactivate"),
WorkflowTargetRegion: pulumi.String("us-east-1"),
Steps: arcregionswitch.PlanWorkflowStepArray{
&arcregionswitch.PlanWorkflowStepArgs{
Name: pulumi.String("route53-health-check"),
ExecutionBlockType: pulumi.String("Route53HealthCheck"),
Route53HealthCheckConfigs: arcregionswitch.PlanWorkflowStepRoute53HealthCheckConfigArray{
&arcregionswitch.PlanWorkflowStepRoute53HealthCheckConfigArgs{
HostedZoneId: pulumi.Any(exampleAwsRoute53Zone.ZoneId),
RecordName: pulumi.String("api.example.com"),
},
},
},
},
},
},
Triggers: arcregionswitch.PlanTriggerArray{
&arcregionswitch.PlanTriggerArgs{
Action: pulumi.String("activate"),
TargetRegion: pulumi.String("us-west-2"),
MinDelayMinutesBetweenExecutions: pulumi.Int(30),
Conditions: arcregionswitch.PlanTriggerConditionArray{
&arcregionswitch.PlanTriggerConditionArgs{
AssociatedAlarmName: pulumi.String("application-health-alarm"),
Condition: pulumi.String("red"),
},
},
},
},
Tags: pulumi.StringMap{
"Environment": pulumi.String("production"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var complex = new Aws.ArcRegionSwitch.Plan("complex", new()
{
Name = "complex-plan",
ExecutionRole = exampleAwsIamRole.Arn,
RecoveryApproach = "activeActive",
Regions = new[]
{
"us-east-1",
"us-west-2",
},
Description = "Complex plan with multiple execution block types",
RecoveryTimeObjectiveMinutes = 60,
AssociatedAlarms = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanAssociatedAlarmArgs
{
Name = "application-health-alarm",
AlarmType = "applicationHealth",
ResourceIdentifier = "arn:aws:cloudwatch:us-east-1:123456789012:alarm:MyAlarm",
},
},
Workflows = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowArgs
{
WorkflowTargetAction = "activate",
WorkflowTargetRegion = "us-west-2",
Steps = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepArgs
{
Name = "lambda-step",
ExecutionBlockType = "CustomActionLambda",
CustomActionLambdaConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepCustomActionLambdaConfigArgs
{
RegionToRun = "activatingRegion",
RetryIntervalMinutes = 5,
TimeoutMinutes = 30,
Lambdas = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepCustomActionLambdaConfigLambdaArgs
{
Arn = example.Arn,
},
},
},
},
},
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepArgs
{
Name = "parallel-step",
ExecutionBlockType = "Parallel",
ParallelConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigArgs
{
Steps = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepArgs
{
Name = "asg-scaling",
ExecutionBlockType = "EC2AutoScaling",
Ec2AsgCapacityIncreaseConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigArgs
{
Asgs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigAsgArgs
{
Arn = exampleAwsAutoscalingGroup.Arn,
},
},
TargetPercent = 150,
},
},
},
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepArgs
{
Name = "ecs-scaling",
ExecutionBlockType = "ECSServiceScaling",
EcsCapacityIncreaseConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigArgs
{
Services = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigServiceArgs
{
ClusterArn = exampleAwsEcsCluster.Arn,
ServiceArn = exampleAwsEcsService.Arn,
},
},
TargetPercent = 200,
},
},
},
},
},
},
},
},
},
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowArgs
{
WorkflowTargetAction = "deactivate",
WorkflowTargetRegion = "us-east-1",
Steps = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepArgs
{
Name = "route53-health-check",
ExecutionBlockType = "Route53HealthCheck",
Route53HealthCheckConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepRoute53HealthCheckConfigArgs
{
HostedZoneId = exampleAwsRoute53Zone.ZoneId,
RecordName = "api.example.com",
},
},
},
},
},
},
Triggers = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanTriggerArgs
{
Action = "activate",
TargetRegion = "us-west-2",
MinDelayMinutesBetweenExecutions = 30,
Conditions = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanTriggerConditionArgs
{
AssociatedAlarmName = "application-health-alarm",
Condition = "red",
},
},
},
},
Tags =
{
{ "Environment", "production" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.arcregionswitch.Plan;
import com.pulumi.aws.arcregionswitch.PlanArgs;
import com.pulumi.aws.arcregionswitch.inputs.PlanAssociatedAlarmArgs;
import com.pulumi.aws.arcregionswitch.inputs.PlanWorkflowArgs;
import com.pulumi.aws.arcregionswitch.inputs.PlanTriggerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var complex = new Plan("complex", PlanArgs.builder()
.name("complex-plan")
.executionRole(exampleAwsIamRole.arn())
.recoveryApproach("activeActive")
.regions(
"us-east-1",
"us-west-2")
.description("Complex plan with multiple execution block types")
.recoveryTimeObjectiveMinutes(60)
.associatedAlarms(PlanAssociatedAlarmArgs.builder()
.name("application-health-alarm")
.alarmType("applicationHealth")
.resourceIdentifier("arn:aws:cloudwatch:us-east-1:123456789012:alarm:MyAlarm")
.build())
.workflows(
PlanWorkflowArgs.builder()
.workflowTargetAction("activate")
.workflowTargetRegion("us-west-2")
.steps(
PlanWorkflowStepArgs.builder()
.name("lambda-step")
.executionBlockType("CustomActionLambda")
.customActionLambdaConfigs(PlanWorkflowStepCustomActionLambdaConfigArgs.builder()
.regionToRun("activatingRegion")
.retryIntervalMinutes(5.0)
.timeoutMinutes(30)
.lambdas(PlanWorkflowStepCustomActionLambdaConfigLambdaArgs.builder()
.arn(example.arn())
.build())
.build())
.build(),
PlanWorkflowStepArgs.builder()
.name("parallel-step")
.executionBlockType("Parallel")
.parallelConfigs(PlanWorkflowStepParallelConfigArgs.builder()
.steps(
PlanWorkflowStepParallelConfigStepArgs.builder()
.name("asg-scaling")
.executionBlockType("EC2AutoScaling")
.ec2AsgCapacityIncreaseConfigs(PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigArgs.builder()
.asgs(PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigAsgArgs.builder()
.arn(exampleAwsAutoscalingGroup.arn())
.build())
.targetPercent(150)
.build())
.build(),
PlanWorkflowStepParallelConfigStepArgs.builder()
.name("ecs-scaling")
.executionBlockType("ECSServiceScaling")
.ecsCapacityIncreaseConfigs(PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigArgs.builder()
.services(PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigServiceArgs.builder()
.clusterArn(exampleAwsEcsCluster.arn())
.serviceArn(exampleAwsEcsService.arn())
.build())
.targetPercent(200)
.build())
.build())
.build())
.build())
.build(),
PlanWorkflowArgs.builder()
.workflowTargetAction("deactivate")
.workflowTargetRegion("us-east-1")
.steps(PlanWorkflowStepArgs.builder()
.name("route53-health-check")
.executionBlockType("Route53HealthCheck")
.route53HealthCheckConfigs(PlanWorkflowStepRoute53HealthCheckConfigArgs.builder()
.hostedZoneId(exampleAwsRoute53Zone.zoneId())
.recordName("api.example.com")
.build())
.build())
.build())
.triggers(PlanTriggerArgs.builder()
.action("activate")
.targetRegion("us-west-2")
.minDelayMinutesBetweenExecutions(30)
.conditions(PlanTriggerConditionArgs.builder()
.associatedAlarmName("application-health-alarm")
.condition("red")
.build())
.build())
.tags(Map.of("Environment", "production"))
.build());
}
}
resources:
complex:
type: aws:arcregionswitch:Plan
properties:
name: complex-plan
executionRole: ${exampleAwsIamRole.arn}
recoveryApproach: activeActive
regions:
- us-east-1
- us-west-2
description: Complex plan with multiple execution block types
recoveryTimeObjectiveMinutes: 60
associatedAlarms:
- name: application-health-alarm
alarmType: applicationHealth
resourceIdentifier: arn:aws:cloudwatch:us-east-1:123456789012:alarm:MyAlarm
workflows:
- workflowTargetAction: activate
workflowTargetRegion: us-west-2
steps:
- name: lambda-step
executionBlockType: CustomActionLambda
customActionLambdaConfigs:
- regionToRun: activatingRegion
retryIntervalMinutes: 5
timeoutMinutes: 30
lambdas:
- arn: ${example.arn}
- name: parallel-step
executionBlockType: Parallel
parallelConfigs:
- steps:
- name: asg-scaling
executionBlockType: EC2AutoScaling
ec2AsgCapacityIncreaseConfigs:
- asgs:
- arn: ${exampleAwsAutoscalingGroup.arn}
targetPercent: 150
- name: ecs-scaling
executionBlockType: ECSServiceScaling
ecsCapacityIncreaseConfigs:
- services:
- clusterArn: ${exampleAwsEcsCluster.arn}
serviceArn: ${exampleAwsEcsService.arn}
targetPercent: 200
- workflowTargetAction: deactivate
workflowTargetRegion: us-east-1
steps:
- name: route53-health-check
executionBlockType: Route53HealthCheck
route53HealthCheckConfigs:
- hostedZoneId: ${exampleAwsRoute53Zone.zoneId}
recordName: api.example.com
triggers:
- action: activate
targetRegion: us-west-2
minDelayMinutesBetweenExecutions: 30
conditions:
- associatedAlarmName: application-health-alarm
condition: red
tags:
Environment: production
Create Plan Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Plan(name: string, args: PlanArgs, opts?: CustomResourceOptions);@overload
def Plan(resource_name: str,
args: PlanArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Plan(resource_name: str,
opts: Optional[ResourceOptions] = None,
recovery_approach: Optional[str] = None,
regions: Optional[Sequence[str]] = None,
execution_role: Optional[str] = None,
recovery_time_objective_minutes: Optional[int] = None,
primary_region: Optional[str] = None,
name: Optional[str] = None,
associated_alarms: Optional[Sequence[PlanAssociatedAlarmArgs]] = None,
region: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[PlanTimeoutsArgs] = None,
triggers: Optional[Sequence[PlanTriggerArgs]] = None,
workflows: Optional[Sequence[PlanWorkflowArgs]] = None)func NewPlan(ctx *Context, name string, args PlanArgs, opts ...ResourceOption) (*Plan, error)public Plan(string name, PlanArgs args, CustomResourceOptions? opts = null)type: aws:arcregionswitch:Plan
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PlanArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PlanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PlanArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var planResource = new Aws.ArcRegionSwitch.Plan("planResource", new()
{
RecoveryApproach = "string",
Regions = new[]
{
"string",
},
ExecutionRole = "string",
RecoveryTimeObjectiveMinutes = 0,
PrimaryRegion = "string",
Name = "string",
AssociatedAlarms = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanAssociatedAlarmArgs
{
AlarmType = "string",
MapBlockKey = "string",
ResourceIdentifier = "string",
CrossAccountRole = "string",
ExternalId = "string",
},
},
Description = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.ArcRegionSwitch.Inputs.PlanTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
Triggers = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanTriggerArgs
{
Action = "string",
MinDelayMinutesBetweenExecutions = 0,
TargetRegion = "string",
Conditions = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanTriggerConditionArgs
{
AssociatedAlarmName = "string",
Condition = "string",
},
},
Description = "string",
},
},
Workflows = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowArgs
{
WorkflowTargetAction = "string",
Steps = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepArgs
{
ExecutionBlockType = "string",
Name = "string",
EksResourceScalingConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepEksResourceScalingConfigArgs
{
CapacityMonitoringApproach = "string",
TargetPercent = 0,
EksClusters = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepEksResourceScalingConfigEksClusterArgs
{
ClusterArn = "string",
CrossAccountRole = "string",
ExternalId = "string",
},
},
KubernetesResourceTypes = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepEksResourceScalingConfigKubernetesResourceTypeArgs
{
ApiVersion = "string",
Kind = "string",
},
},
ScalingResources = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepEksResourceScalingConfigScalingResourceArgs
{
Namespace = "string",
Resources = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepEksResourceScalingConfigScalingResourceResourceArgs
{
Name = "string",
Namespace = "string",
ResourceName = "string",
HpaName = "string",
},
},
},
},
TimeoutMinutes = 0,
Ungracefuls = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepEksResourceScalingConfigUngracefulArgs
{
MinimumSuccessPercentage = 0,
},
},
},
},
DocumentDbConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepDocumentDbConfigArgs
{
Behavior = "string",
DatabaseClusterArns = new[]
{
"string",
},
GlobalClusterIdentifier = "string",
CrossAccountRole = "string",
ExternalId = "string",
TimeoutMinutes = 0,
Ungracefuls = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepDocumentDbConfigUngracefulArgs
{
Ungraceful = "string",
},
},
},
},
Ec2AsgCapacityIncreaseConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepEc2AsgCapacityIncreaseConfigArgs
{
CapacityMonitoringApproach = "string",
Asgs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepEc2AsgCapacityIncreaseConfigAsgArgs
{
Arn = "string",
CrossAccountRole = "string",
ExternalId = "string",
},
},
TargetPercent = 0,
TimeoutMinutes = 0,
Ungraceful = new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepEc2AsgCapacityIncreaseConfigUngracefulArgs
{
MinimumSuccessPercentage = 0,
},
},
},
EcsCapacityIncreaseConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepEcsCapacityIncreaseConfigArgs
{
CapacityMonitoringApproach = "string",
Services = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepEcsCapacityIncreaseConfigServiceArgs
{
ClusterArn = "string",
ServiceArn = "string",
CrossAccountRole = "string",
ExternalId = "string",
},
},
TargetPercent = 0,
TimeoutMinutes = 0,
Ungraceful = new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepEcsCapacityIncreaseConfigUngracefulArgs
{
MinimumSuccessPercentage = 0,
},
},
},
ArcRoutingControlConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepArcRoutingControlConfigArgs
{
CrossAccountRole = "string",
ExternalId = "string",
RegionAndRoutingControls = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepArcRoutingControlConfigRegionAndRoutingControlArgs
{
Region = "string",
RoutingControls = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepArcRoutingControlConfigRegionAndRoutingControlRoutingControlArgs
{
RoutingControlArn = "string",
State = "string",
},
},
},
},
TimeoutMinutes = 0,
},
},
ExecutionApprovalConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepExecutionApprovalConfigArgs
{
ApprovalRole = "string",
TimeoutMinutes = 0,
},
},
Description = "string",
GlobalAuroraConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepGlobalAuroraConfigArgs
{
Behavior = "string",
DatabaseClusterArns = new[]
{
"string",
},
GlobalClusterIdentifier = "string",
CrossAccountRole = "string",
ExternalId = "string",
TimeoutMinutes = 0,
Ungracefuls = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepGlobalAuroraConfigUngracefulArgs
{
Ungraceful = "string",
},
},
},
},
CustomActionLambdaConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepCustomActionLambdaConfigArgs
{
RegionToRun = "string",
RetryIntervalMinutes = 0,
Lambdas = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepCustomActionLambdaConfigLambdaArgs
{
Arn = "string",
CrossAccountRole = "string",
ExternalId = "string",
},
},
TimeoutMinutes = 0,
Ungracefuls = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepCustomActionLambdaConfigUngracefulArgs
{
Behavior = "string",
},
},
},
},
ParallelConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigArgs
{
Steps = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepArgs
{
ExecutionBlockType = "string",
Name = "string",
EksResourceScalingConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigArgs
{
CapacityMonitoringApproach = "string",
TargetPercent = 0,
EksClusters = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigEksClusterArgs
{
ClusterArn = "string",
CrossAccountRole = "string",
ExternalId = "string",
},
},
KubernetesResourceTypes = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigKubernetesResourceTypeArgs
{
ApiVersion = "string",
Kind = "string",
},
},
ScalingResources = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigScalingResourceArgs
{
Namespace = "string",
Resources = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigScalingResourceResourceArgs
{
Name = "string",
Namespace = "string",
ResourceName = "string",
HpaName = "string",
},
},
},
},
TimeoutMinutes = 0,
Ungracefuls = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigUngracefulArgs
{
MinimumSuccessPercentage = 0,
},
},
},
},
DocumentDbConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepDocumentDbConfigArgs
{
Behavior = "string",
DatabaseClusterArns = new[]
{
"string",
},
GlobalClusterIdentifier = "string",
CrossAccountRole = "string",
ExternalId = "string",
TimeoutMinutes = 0,
Ungracefuls = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepDocumentDbConfigUngracefulArgs
{
Ungraceful = "string",
},
},
},
},
Ec2AsgCapacityIncreaseConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigArgs
{
CapacityMonitoringApproach = "string",
Asgs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigAsgArgs
{
Arn = "string",
CrossAccountRole = "string",
ExternalId = "string",
},
},
TargetPercent = 0,
TimeoutMinutes = 0,
Ungraceful = new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigUngracefulArgs
{
MinimumSuccessPercentage = 0,
},
},
},
EcsCapacityIncreaseConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigArgs
{
CapacityMonitoringApproach = "string",
Services = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigServiceArgs
{
ClusterArn = "string",
ServiceArn = "string",
CrossAccountRole = "string",
ExternalId = "string",
},
},
TargetPercent = 0,
TimeoutMinutes = 0,
Ungraceful = new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigUngracefulArgs
{
MinimumSuccessPercentage = 0,
},
},
},
ArcRoutingControlConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepArcRoutingControlConfigArgs
{
CrossAccountRole = "string",
ExternalId = "string",
RegionAndRoutingControls = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepArcRoutingControlConfigRegionAndRoutingControlArgs
{
Region = "string",
RoutingControls = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepArcRoutingControlConfigRegionAndRoutingControlRoutingControlArgs
{
RoutingControlArn = "string",
State = "string",
},
},
},
},
TimeoutMinutes = 0,
},
},
ExecutionApprovalConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepExecutionApprovalConfigArgs
{
ApprovalRole = "string",
TimeoutMinutes = 0,
},
},
Description = "string",
GlobalAuroraConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepGlobalAuroraConfigArgs
{
Behavior = "string",
DatabaseClusterArns = new[]
{
"string",
},
GlobalClusterIdentifier = "string",
CrossAccountRole = "string",
ExternalId = "string",
TimeoutMinutes = 0,
Ungracefuls = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepGlobalAuroraConfigUngracefulArgs
{
Ungraceful = "string",
},
},
},
},
CustomActionLambdaConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepCustomActionLambdaConfigArgs
{
RegionToRun = "string",
RetryIntervalMinutes = 0,
Lambdas = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepCustomActionLambdaConfigLambdaArgs
{
Arn = "string",
CrossAccountRole = "string",
ExternalId = "string",
},
},
TimeoutMinutes = 0,
Ungracefuls = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepCustomActionLambdaConfigUngracefulArgs
{
Behavior = "string",
},
},
},
},
RegionSwitchPlanConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepRegionSwitchPlanConfigArgs
{
Arn = "string",
CrossAccountRole = "string",
ExternalId = "string",
},
},
Route53HealthCheckConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepRoute53HealthCheckConfigArgs
{
HostedZoneId = "string",
RecordName = "string",
CrossAccountRole = "string",
ExternalId = "string",
RecordSets = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepParallelConfigStepRoute53HealthCheckConfigRecordSetArgs
{
RecordSetIdentifier = "string",
Region = "string",
},
},
TimeoutMinutes = 0,
},
},
},
},
},
},
RegionSwitchPlanConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepRegionSwitchPlanConfigArgs
{
Arn = "string",
CrossAccountRole = "string",
ExternalId = "string",
},
},
Route53HealthCheckConfigs = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepRoute53HealthCheckConfigArgs
{
HostedZoneId = "string",
RecordName = "string",
CrossAccountRole = "string",
ExternalId = "string",
RecordSets = new[]
{
new Aws.ArcRegionSwitch.Inputs.PlanWorkflowStepRoute53HealthCheckConfigRecordSetArgs
{
RecordSetIdentifier = "string",
Region = "string",
},
},
TimeoutMinutes = 0,
},
},
},
},
WorkflowDescription = "string",
WorkflowTargetRegion = "string",
},
},
});
example, err := arcregionswitch.NewPlan(ctx, "planResource", &arcregionswitch.PlanArgs{
RecoveryApproach: pulumi.String("string"),
Regions: pulumi.StringArray{
pulumi.String("string"),
},
ExecutionRole: pulumi.String("string"),
RecoveryTimeObjectiveMinutes: pulumi.Int(0),
PrimaryRegion: pulumi.String("string"),
Name: pulumi.String("string"),
AssociatedAlarms: arcregionswitch.PlanAssociatedAlarmArray{
&arcregionswitch.PlanAssociatedAlarmArgs{
AlarmType: pulumi.String("string"),
MapBlockKey: pulumi.String("string"),
ResourceIdentifier: pulumi.String("string"),
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &arcregionswitch.PlanTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
Triggers: arcregionswitch.PlanTriggerArray{
&arcregionswitch.PlanTriggerArgs{
Action: pulumi.String("string"),
MinDelayMinutesBetweenExecutions: pulumi.Int(0),
TargetRegion: pulumi.String("string"),
Conditions: arcregionswitch.PlanTriggerConditionArray{
&arcregionswitch.PlanTriggerConditionArgs{
AssociatedAlarmName: pulumi.String("string"),
Condition: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
},
},
Workflows: arcregionswitch.PlanWorkflowArray{
&arcregionswitch.PlanWorkflowArgs{
WorkflowTargetAction: pulumi.String("string"),
Steps: arcregionswitch.PlanWorkflowStepArray{
&arcregionswitch.PlanWorkflowStepArgs{
ExecutionBlockType: pulumi.String("string"),
Name: pulumi.String("string"),
EksResourceScalingConfigs: arcregionswitch.PlanWorkflowStepEksResourceScalingConfigArray{
&arcregionswitch.PlanWorkflowStepEksResourceScalingConfigArgs{
CapacityMonitoringApproach: pulumi.String("string"),
TargetPercent: pulumi.Int(0),
EksClusters: arcregionswitch.PlanWorkflowStepEksResourceScalingConfigEksClusterArray{
&arcregionswitch.PlanWorkflowStepEksResourceScalingConfigEksClusterArgs{
ClusterArn: pulumi.String("string"),
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
},
},
KubernetesResourceTypes: arcregionswitch.PlanWorkflowStepEksResourceScalingConfigKubernetesResourceTypeArray{
&arcregionswitch.PlanWorkflowStepEksResourceScalingConfigKubernetesResourceTypeArgs{
ApiVersion: pulumi.String("string"),
Kind: pulumi.String("string"),
},
},
ScalingResources: arcregionswitch.PlanWorkflowStepEksResourceScalingConfigScalingResourceArray{
&arcregionswitch.PlanWorkflowStepEksResourceScalingConfigScalingResourceArgs{
Namespace: pulumi.String("string"),
Resources: arcregionswitch.PlanWorkflowStepEksResourceScalingConfigScalingResourceResourceArray{
&arcregionswitch.PlanWorkflowStepEksResourceScalingConfigScalingResourceResourceArgs{
Name: pulumi.String("string"),
Namespace: pulumi.String("string"),
ResourceName: pulumi.String("string"),
HpaName: pulumi.String("string"),
},
},
},
},
TimeoutMinutes: pulumi.Int(0),
Ungracefuls: arcregionswitch.PlanWorkflowStepEksResourceScalingConfigUngracefulArray{
&arcregionswitch.PlanWorkflowStepEksResourceScalingConfigUngracefulArgs{
MinimumSuccessPercentage: pulumi.Int(0),
},
},
},
},
DocumentDbConfigs: arcregionswitch.PlanWorkflowStepDocumentDbConfigArray{
&arcregionswitch.PlanWorkflowStepDocumentDbConfigArgs{
Behavior: pulumi.String("string"),
DatabaseClusterArns: pulumi.StringArray{
pulumi.String("string"),
},
GlobalClusterIdentifier: pulumi.String("string"),
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
TimeoutMinutes: pulumi.Int(0),
Ungracefuls: arcregionswitch.PlanWorkflowStepDocumentDbConfigUngracefulArray{
&arcregionswitch.PlanWorkflowStepDocumentDbConfigUngracefulArgs{
Ungraceful: pulumi.String("string"),
},
},
},
},
Ec2AsgCapacityIncreaseConfigs: arcregionswitch.PlanWorkflowStepEc2AsgCapacityIncreaseConfigArray{
&arcregionswitch.PlanWorkflowStepEc2AsgCapacityIncreaseConfigArgs{
CapacityMonitoringApproach: pulumi.String("string"),
Asgs: arcregionswitch.PlanWorkflowStepEc2AsgCapacityIncreaseConfigAsgArray{
&arcregionswitch.PlanWorkflowStepEc2AsgCapacityIncreaseConfigAsgArgs{
Arn: pulumi.String("string"),
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
},
},
TargetPercent: pulumi.Int(0),
TimeoutMinutes: pulumi.Int(0),
Ungraceful: &arcregionswitch.PlanWorkflowStepEc2AsgCapacityIncreaseConfigUngracefulArgs{
MinimumSuccessPercentage: pulumi.Int(0),
},
},
},
EcsCapacityIncreaseConfigs: arcregionswitch.PlanWorkflowStepEcsCapacityIncreaseConfigArray{
&arcregionswitch.PlanWorkflowStepEcsCapacityIncreaseConfigArgs{
CapacityMonitoringApproach: pulumi.String("string"),
Services: arcregionswitch.PlanWorkflowStepEcsCapacityIncreaseConfigServiceArray{
&arcregionswitch.PlanWorkflowStepEcsCapacityIncreaseConfigServiceArgs{
ClusterArn: pulumi.String("string"),
ServiceArn: pulumi.String("string"),
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
},
},
TargetPercent: pulumi.Int(0),
TimeoutMinutes: pulumi.Int(0),
Ungraceful: &arcregionswitch.PlanWorkflowStepEcsCapacityIncreaseConfigUngracefulArgs{
MinimumSuccessPercentage: pulumi.Int(0),
},
},
},
ArcRoutingControlConfigs: arcregionswitch.PlanWorkflowStepArcRoutingControlConfigArray{
&arcregionswitch.PlanWorkflowStepArcRoutingControlConfigArgs{
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
RegionAndRoutingControls: arcregionswitch.PlanWorkflowStepArcRoutingControlConfigRegionAndRoutingControlArray{
&arcregionswitch.PlanWorkflowStepArcRoutingControlConfigRegionAndRoutingControlArgs{
Region: pulumi.String("string"),
RoutingControls: arcregionswitch.PlanWorkflowStepArcRoutingControlConfigRegionAndRoutingControlRoutingControlArray{
&arcregionswitch.PlanWorkflowStepArcRoutingControlConfigRegionAndRoutingControlRoutingControlArgs{
RoutingControlArn: pulumi.String("string"),
State: pulumi.String("string"),
},
},
},
},
TimeoutMinutes: pulumi.Int(0),
},
},
ExecutionApprovalConfigs: arcregionswitch.PlanWorkflowStepExecutionApprovalConfigArray{
&arcregionswitch.PlanWorkflowStepExecutionApprovalConfigArgs{
ApprovalRole: pulumi.String("string"),
TimeoutMinutes: pulumi.Int(0),
},
},
Description: pulumi.String("string"),
GlobalAuroraConfigs: arcregionswitch.PlanWorkflowStepGlobalAuroraConfigArray{
&arcregionswitch.PlanWorkflowStepGlobalAuroraConfigArgs{
Behavior: pulumi.String("string"),
DatabaseClusterArns: pulumi.StringArray{
pulumi.String("string"),
},
GlobalClusterIdentifier: pulumi.String("string"),
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
TimeoutMinutes: pulumi.Int(0),
Ungracefuls: arcregionswitch.PlanWorkflowStepGlobalAuroraConfigUngracefulArray{
&arcregionswitch.PlanWorkflowStepGlobalAuroraConfigUngracefulArgs{
Ungraceful: pulumi.String("string"),
},
},
},
},
CustomActionLambdaConfigs: arcregionswitch.PlanWorkflowStepCustomActionLambdaConfigArray{
&arcregionswitch.PlanWorkflowStepCustomActionLambdaConfigArgs{
RegionToRun: pulumi.String("string"),
RetryIntervalMinutes: pulumi.Float64(0),
Lambdas: arcregionswitch.PlanWorkflowStepCustomActionLambdaConfigLambdaArray{
&arcregionswitch.PlanWorkflowStepCustomActionLambdaConfigLambdaArgs{
Arn: pulumi.String("string"),
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
},
},
TimeoutMinutes: pulumi.Int(0),
Ungracefuls: arcregionswitch.PlanWorkflowStepCustomActionLambdaConfigUngracefulArray{
&arcregionswitch.PlanWorkflowStepCustomActionLambdaConfigUngracefulArgs{
Behavior: pulumi.String("string"),
},
},
},
},
ParallelConfigs: arcregionswitch.PlanWorkflowStepParallelConfigArray{
&arcregionswitch.PlanWorkflowStepParallelConfigArgs{
Steps: arcregionswitch.PlanWorkflowStepParallelConfigStepArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepArgs{
ExecutionBlockType: pulumi.String("string"),
Name: pulumi.String("string"),
EksResourceScalingConfigs: arcregionswitch.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigArgs{
CapacityMonitoringApproach: pulumi.String("string"),
TargetPercent: pulumi.Int(0),
EksClusters: arcregionswitch.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigEksClusterArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigEksClusterArgs{
ClusterArn: pulumi.String("string"),
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
},
},
KubernetesResourceTypes: arcregionswitch.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigKubernetesResourceTypeArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigKubernetesResourceTypeArgs{
ApiVersion: pulumi.String("string"),
Kind: pulumi.String("string"),
},
},
ScalingResources: arcregionswitch.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigScalingResourceArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigScalingResourceArgs{
Namespace: pulumi.String("string"),
Resources: arcregionswitch.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigScalingResourceResourceArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigScalingResourceResourceArgs{
Name: pulumi.String("string"),
Namespace: pulumi.String("string"),
ResourceName: pulumi.String("string"),
HpaName: pulumi.String("string"),
},
},
},
},
TimeoutMinutes: pulumi.Int(0),
Ungracefuls: arcregionswitch.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigUngracefulArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepEksResourceScalingConfigUngracefulArgs{
MinimumSuccessPercentage: pulumi.Int(0),
},
},
},
},
DocumentDbConfigs: arcregionswitch.PlanWorkflowStepParallelConfigStepDocumentDbConfigArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepDocumentDbConfigArgs{
Behavior: pulumi.String("string"),
DatabaseClusterArns: pulumi.StringArray{
pulumi.String("string"),
},
GlobalClusterIdentifier: pulumi.String("string"),
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
TimeoutMinutes: pulumi.Int(0),
Ungracefuls: arcregionswitch.PlanWorkflowStepParallelConfigStepDocumentDbConfigUngracefulArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepDocumentDbConfigUngracefulArgs{
Ungraceful: pulumi.String("string"),
},
},
},
},
Ec2AsgCapacityIncreaseConfigs: arcregionswitch.PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigArgs{
CapacityMonitoringApproach: pulumi.String("string"),
Asgs: arcregionswitch.PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigAsgArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigAsgArgs{
Arn: pulumi.String("string"),
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
},
},
TargetPercent: pulumi.Int(0),
TimeoutMinutes: pulumi.Int(0),
Ungraceful: &arcregionswitch.PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigUngracefulArgs{
MinimumSuccessPercentage: pulumi.Int(0),
},
},
},
EcsCapacityIncreaseConfigs: arcregionswitch.PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigArgs{
CapacityMonitoringApproach: pulumi.String("string"),
Services: arcregionswitch.PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigServiceArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigServiceArgs{
ClusterArn: pulumi.String("string"),
ServiceArn: pulumi.String("string"),
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
},
},
TargetPercent: pulumi.Int(0),
TimeoutMinutes: pulumi.Int(0),
Ungraceful: &arcregionswitch.PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigUngracefulArgs{
MinimumSuccessPercentage: pulumi.Int(0),
},
},
},
ArcRoutingControlConfigs: arcregionswitch.PlanWorkflowStepParallelConfigStepArcRoutingControlConfigArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepArcRoutingControlConfigArgs{
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
RegionAndRoutingControls: arcregionswitch.PlanWorkflowStepParallelConfigStepArcRoutingControlConfigRegionAndRoutingControlArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepArcRoutingControlConfigRegionAndRoutingControlArgs{
Region: pulumi.String("string"),
RoutingControls: arcregionswitch.PlanWorkflowStepParallelConfigStepArcRoutingControlConfigRegionAndRoutingControlRoutingControlArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepArcRoutingControlConfigRegionAndRoutingControlRoutingControlArgs{
RoutingControlArn: pulumi.String("string"),
State: pulumi.String("string"),
},
},
},
},
TimeoutMinutes: pulumi.Int(0),
},
},
ExecutionApprovalConfigs: arcregionswitch.PlanWorkflowStepParallelConfigStepExecutionApprovalConfigArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepExecutionApprovalConfigArgs{
ApprovalRole: pulumi.String("string"),
TimeoutMinutes: pulumi.Int(0),
},
},
Description: pulumi.String("string"),
GlobalAuroraConfigs: arcregionswitch.PlanWorkflowStepParallelConfigStepGlobalAuroraConfigArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepGlobalAuroraConfigArgs{
Behavior: pulumi.String("string"),
DatabaseClusterArns: pulumi.StringArray{
pulumi.String("string"),
},
GlobalClusterIdentifier: pulumi.String("string"),
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
TimeoutMinutes: pulumi.Int(0),
Ungracefuls: arcregionswitch.PlanWorkflowStepParallelConfigStepGlobalAuroraConfigUngracefulArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepGlobalAuroraConfigUngracefulArgs{
Ungraceful: pulumi.String("string"),
},
},
},
},
CustomActionLambdaConfigs: arcregionswitch.PlanWorkflowStepParallelConfigStepCustomActionLambdaConfigArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepCustomActionLambdaConfigArgs{
RegionToRun: pulumi.String("string"),
RetryIntervalMinutes: pulumi.Float64(0),
Lambdas: arcregionswitch.PlanWorkflowStepParallelConfigStepCustomActionLambdaConfigLambdaArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepCustomActionLambdaConfigLambdaArgs{
Arn: pulumi.String("string"),
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
},
},
TimeoutMinutes: pulumi.Int(0),
Ungracefuls: arcregionswitch.PlanWorkflowStepParallelConfigStepCustomActionLambdaConfigUngracefulArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepCustomActionLambdaConfigUngracefulArgs{
Behavior: pulumi.String("string"),
},
},
},
},
RegionSwitchPlanConfigs: arcregionswitch.PlanWorkflowStepParallelConfigStepRegionSwitchPlanConfigArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepRegionSwitchPlanConfigArgs{
Arn: pulumi.String("string"),
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
},
},
Route53HealthCheckConfigs: arcregionswitch.PlanWorkflowStepParallelConfigStepRoute53HealthCheckConfigArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepRoute53HealthCheckConfigArgs{
HostedZoneId: pulumi.String("string"),
RecordName: pulumi.String("string"),
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
RecordSets: arcregionswitch.PlanWorkflowStepParallelConfigStepRoute53HealthCheckConfigRecordSetArray{
&arcregionswitch.PlanWorkflowStepParallelConfigStepRoute53HealthCheckConfigRecordSetArgs{
RecordSetIdentifier: pulumi.String("string"),
Region: pulumi.String("string"),
},
},
TimeoutMinutes: pulumi.Int(0),
},
},
},
},
},
},
RegionSwitchPlanConfigs: arcregionswitch.PlanWorkflowStepRegionSwitchPlanConfigArray{
&arcregionswitch.PlanWorkflowStepRegionSwitchPlanConfigArgs{
Arn: pulumi.String("string"),
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
},
},
Route53HealthCheckConfigs: arcregionswitch.PlanWorkflowStepRoute53HealthCheckConfigArray{
&arcregionswitch.PlanWorkflowStepRoute53HealthCheckConfigArgs{
HostedZoneId: pulumi.String("string"),
RecordName: pulumi.String("string"),
CrossAccountRole: pulumi.String("string"),
ExternalId: pulumi.String("string"),
RecordSets: arcregionswitch.PlanWorkflowStepRoute53HealthCheckConfigRecordSetArray{
&arcregionswitch.PlanWorkflowStepRoute53HealthCheckConfigRecordSetArgs{
RecordSetIdentifier: pulumi.String("string"),
Region: pulumi.String("string"),
},
},
TimeoutMinutes: pulumi.Int(0),
},
},
},
},
WorkflowDescription: pulumi.String("string"),
WorkflowTargetRegion: pulumi.String("string"),
},
},
})
var planResource = new com.pulumi.aws.arcregionswitch.Plan("planResource", com.pulumi.aws.arcregionswitch.PlanArgs.builder()
.recoveryApproach("string")
.regions("string")
.executionRole("string")
.recoveryTimeObjectiveMinutes(0)
.primaryRegion("string")
.name("string")
.associatedAlarms(PlanAssociatedAlarmArgs.builder()
.alarmType("string")
.mapBlockKey("string")
.resourceIdentifier("string")
.crossAccountRole("string")
.externalId("string")
.build())
.description("string")
.tags(Map.of("string", "string"))
.timeouts(PlanTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.triggers(PlanTriggerArgs.builder()
.action("string")
.minDelayMinutesBetweenExecutions(0)
.targetRegion("string")
.conditions(PlanTriggerConditionArgs.builder()
.associatedAlarmName("string")
.condition("string")
.build())
.description("string")
.build())
.workflows(PlanWorkflowArgs.builder()
.workflowTargetAction("string")
.steps(PlanWorkflowStepArgs.builder()
.executionBlockType("string")
.name("string")
.eksResourceScalingConfigs(PlanWorkflowStepEksResourceScalingConfigArgs.builder()
.capacityMonitoringApproach("string")
.targetPercent(0)
.eksClusters(PlanWorkflowStepEksResourceScalingConfigEksClusterArgs.builder()
.clusterArn("string")
.crossAccountRole("string")
.externalId("string")
.build())
.kubernetesResourceTypes(PlanWorkflowStepEksResourceScalingConfigKubernetesResourceTypeArgs.builder()
.apiVersion("string")
.kind("string")
.build())
.scalingResources(PlanWorkflowStepEksResourceScalingConfigScalingResourceArgs.builder()
.namespace("string")
.resources(PlanWorkflowStepEksResourceScalingConfigScalingResourceResourceArgs.builder()
.name("string")
.namespace("string")
.resourceName("string")
.hpaName("string")
.build())
.build())
.timeoutMinutes(0)
.ungracefuls(PlanWorkflowStepEksResourceScalingConfigUngracefulArgs.builder()
.minimumSuccessPercentage(0)
.build())
.build())
.documentDbConfigs(PlanWorkflowStepDocumentDbConfigArgs.builder()
.behavior("string")
.databaseClusterArns("string")
.globalClusterIdentifier("string")
.crossAccountRole("string")
.externalId("string")
.timeoutMinutes(0)
.ungracefuls(PlanWorkflowStepDocumentDbConfigUngracefulArgs.builder()
.ungraceful("string")
.build())
.build())
.ec2AsgCapacityIncreaseConfigs(PlanWorkflowStepEc2AsgCapacityIncreaseConfigArgs.builder()
.capacityMonitoringApproach("string")
.asgs(PlanWorkflowStepEc2AsgCapacityIncreaseConfigAsgArgs.builder()
.arn("string")
.crossAccountRole("string")
.externalId("string")
.build())
.targetPercent(0)
.timeoutMinutes(0)
.ungraceful(PlanWorkflowStepEc2AsgCapacityIncreaseConfigUngracefulArgs.builder()
.minimumSuccessPercentage(0)
.build())
.build())
.ecsCapacityIncreaseConfigs(PlanWorkflowStepEcsCapacityIncreaseConfigArgs.builder()
.capacityMonitoringApproach("string")
.services(PlanWorkflowStepEcsCapacityIncreaseConfigServiceArgs.builder()
.clusterArn("string")
.serviceArn("string")
.crossAccountRole("string")
.externalId("string")
.build())
.targetPercent(0)
.timeoutMinutes(0)
.ungraceful(PlanWorkflowStepEcsCapacityIncreaseConfigUngracefulArgs.builder()
.minimumSuccessPercentage(0)
.build())
.build())
.arcRoutingControlConfigs(PlanWorkflowStepArcRoutingControlConfigArgs.builder()
.crossAccountRole("string")
.externalId("string")
.regionAndRoutingControls(PlanWorkflowStepArcRoutingControlConfigRegionAndRoutingControlArgs.builder()
.region("string")
.routingControls(PlanWorkflowStepArcRoutingControlConfigRegionAndRoutingControlRoutingControlArgs.builder()
.routingControlArn("string")
.state("string")
.build())
.build())
.timeoutMinutes(0)
.build())
.executionApprovalConfigs(PlanWorkflowStepExecutionApprovalConfigArgs.builder()
.approvalRole("string")
.timeoutMinutes(0)
.build())
.description("string")
.globalAuroraConfigs(PlanWorkflowStepGlobalAuroraConfigArgs.builder()
.behavior("string")
.databaseClusterArns("string")
.globalClusterIdentifier("string")
.crossAccountRole("string")
.externalId("string")
.timeoutMinutes(0)
.ungracefuls(PlanWorkflowStepGlobalAuroraConfigUngracefulArgs.builder()
.ungraceful("string")
.build())
.build())
.customActionLambdaConfigs(PlanWorkflowStepCustomActionLambdaConfigArgs.builder()
.regionToRun("string")
.retryIntervalMinutes(0.0)
.lambdas(PlanWorkflowStepCustomActionLambdaConfigLambdaArgs.builder()
.arn("string")
.crossAccountRole("string")
.externalId("string")
.build())
.timeoutMinutes(0)
.ungracefuls(PlanWorkflowStepCustomActionLambdaConfigUngracefulArgs.builder()
.behavior("string")
.build())
.build())
.parallelConfigs(PlanWorkflowStepParallelConfigArgs.builder()
.steps(PlanWorkflowStepParallelConfigStepArgs.builder()
.executionBlockType("string")
.name("string")
.eksResourceScalingConfigs(PlanWorkflowStepParallelConfigStepEksResourceScalingConfigArgs.builder()
.capacityMonitoringApproach("string")
.targetPercent(0)
.eksClusters(PlanWorkflowStepParallelConfigStepEksResourceScalingConfigEksClusterArgs.builder()
.clusterArn("string")
.crossAccountRole("string")
.externalId("string")
.build())
.kubernetesResourceTypes(PlanWorkflowStepParallelConfigStepEksResourceScalingConfigKubernetesResourceTypeArgs.builder()
.apiVersion("string")
.kind("string")
.build())
.scalingResources(PlanWorkflowStepParallelConfigStepEksResourceScalingConfigScalingResourceArgs.builder()
.namespace("string")
.resources(PlanWorkflowStepParallelConfigStepEksResourceScalingConfigScalingResourceResourceArgs.builder()
.name("string")
.namespace("string")
.resourceName("string")
.hpaName("string")
.build())
.build())
.timeoutMinutes(0)
.ungracefuls(PlanWorkflowStepParallelConfigStepEksResourceScalingConfigUngracefulArgs.builder()
.minimumSuccessPercentage(0)
.build())
.build())
.documentDbConfigs(PlanWorkflowStepParallelConfigStepDocumentDbConfigArgs.builder()
.behavior("string")
.databaseClusterArns("string")
.globalClusterIdentifier("string")
.crossAccountRole("string")
.externalId("string")
.timeoutMinutes(0)
.ungracefuls(PlanWorkflowStepParallelConfigStepDocumentDbConfigUngracefulArgs.builder()
.ungraceful("string")
.build())
.build())
.ec2AsgCapacityIncreaseConfigs(PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigArgs.builder()
.capacityMonitoringApproach("string")
.asgs(PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigAsgArgs.builder()
.arn("string")
.crossAccountRole("string")
.externalId("string")
.build())
.targetPercent(0)
.timeoutMinutes(0)
.ungraceful(PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigUngracefulArgs.builder()
.minimumSuccessPercentage(0)
.build())
.build())
.ecsCapacityIncreaseConfigs(PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigArgs.builder()
.capacityMonitoringApproach("string")
.services(PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigServiceArgs.builder()
.clusterArn("string")
.serviceArn("string")
.crossAccountRole("string")
.externalId("string")
.build())
.targetPercent(0)
.timeoutMinutes(0)
.ungraceful(PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigUngracefulArgs.builder()
.minimumSuccessPercentage(0)
.build())
.build())
.arcRoutingControlConfigs(PlanWorkflowStepParallelConfigStepArcRoutingControlConfigArgs.builder()
.crossAccountRole("string")
.externalId("string")
.regionAndRoutingControls(PlanWorkflowStepParallelConfigStepArcRoutingControlConfigRegionAndRoutingControlArgs.builder()
.region("string")
.routingControls(PlanWorkflowStepParallelConfigStepArcRoutingControlConfigRegionAndRoutingControlRoutingControlArgs.builder()
.routingControlArn("string")
.state("string")
.build())
.build())
.timeoutMinutes(0)
.build())
.executionApprovalConfigs(PlanWorkflowStepParallelConfigStepExecutionApprovalConfigArgs.builder()
.approvalRole("string")
.timeoutMinutes(0)
.build())
.description("string")
.globalAuroraConfigs(PlanWorkflowStepParallelConfigStepGlobalAuroraConfigArgs.builder()
.behavior("string")
.databaseClusterArns("string")
.globalClusterIdentifier("string")
.crossAccountRole("string")
.externalId("string")
.timeoutMinutes(0)
.ungracefuls(PlanWorkflowStepParallelConfigStepGlobalAuroraConfigUngracefulArgs.builder()
.ungraceful("string")
.build())
.build())
.customActionLambdaConfigs(PlanWorkflowStepParallelConfigStepCustomActionLambdaConfigArgs.builder()
.regionToRun("string")
.retryIntervalMinutes(0.0)
.lambdas(PlanWorkflowStepParallelConfigStepCustomActionLambdaConfigLambdaArgs.builder()
.arn("string")
.crossAccountRole("string")
.externalId("string")
.build())
.timeoutMinutes(0)
.ungracefuls(PlanWorkflowStepParallelConfigStepCustomActionLambdaConfigUngracefulArgs.builder()
.behavior("string")
.build())
.build())
.regionSwitchPlanConfigs(PlanWorkflowStepParallelConfigStepRegionSwitchPlanConfigArgs.builder()
.arn("string")
.crossAccountRole("string")
.externalId("string")
.build())
.route53HealthCheckConfigs(PlanWorkflowStepParallelConfigStepRoute53HealthCheckConfigArgs.builder()
.hostedZoneId("string")
.recordName("string")
.crossAccountRole("string")
.externalId("string")
.recordSets(PlanWorkflowStepParallelConfigStepRoute53HealthCheckConfigRecordSetArgs.builder()
.recordSetIdentifier("string")
.region("string")
.build())
.timeoutMinutes(0)
.build())
.build())
.build())
.regionSwitchPlanConfigs(PlanWorkflowStepRegionSwitchPlanConfigArgs.builder()
.arn("string")
.crossAccountRole("string")
.externalId("string")
.build())
.route53HealthCheckConfigs(PlanWorkflowStepRoute53HealthCheckConfigArgs.builder()
.hostedZoneId("string")
.recordName("string")
.crossAccountRole("string")
.externalId("string")
.recordSets(PlanWorkflowStepRoute53HealthCheckConfigRecordSetArgs.builder()
.recordSetIdentifier("string")
.region("string")
.build())
.timeoutMinutes(0)
.build())
.build())
.workflowDescription("string")
.workflowTargetRegion("string")
.build())
.build());
plan_resource = aws.arcregionswitch.Plan("planResource",
recovery_approach="string",
regions=["string"],
execution_role="string",
recovery_time_objective_minutes=0,
primary_region="string",
name="string",
associated_alarms=[{
"alarm_type": "string",
"map_block_key": "string",
"resource_identifier": "string",
"cross_account_role": "string",
"external_id": "string",
}],
description="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
triggers=[{
"action": "string",
"min_delay_minutes_between_executions": 0,
"target_region": "string",
"conditions": [{
"associated_alarm_name": "string",
"condition": "string",
}],
"description": "string",
}],
workflows=[{
"workflow_target_action": "string",
"steps": [{
"execution_block_type": "string",
"name": "string",
"eks_resource_scaling_configs": [{
"capacity_monitoring_approach": "string",
"target_percent": 0,
"eks_clusters": [{
"cluster_arn": "string",
"cross_account_role": "string",
"external_id": "string",
}],
"kubernetes_resource_types": [{
"api_version": "string",
"kind": "string",
}],
"scaling_resources": [{
"namespace": "string",
"resources": [{
"name": "string",
"namespace": "string",
"resource_name": "string",
"hpa_name": "string",
}],
}],
"timeout_minutes": 0,
"ungracefuls": [{
"minimum_success_percentage": 0,
}],
}],
"document_db_configs": [{
"behavior": "string",
"database_cluster_arns": ["string"],
"global_cluster_identifier": "string",
"cross_account_role": "string",
"external_id": "string",
"timeout_minutes": 0,
"ungracefuls": [{
"ungraceful": "string",
}],
}],
"ec2_asg_capacity_increase_configs": [{
"capacity_monitoring_approach": "string",
"asgs": [{
"arn": "string",
"cross_account_role": "string",
"external_id": "string",
}],
"target_percent": 0,
"timeout_minutes": 0,
"ungraceful": {
"minimum_success_percentage": 0,
},
}],
"ecs_capacity_increase_configs": [{
"capacity_monitoring_approach": "string",
"services": [{
"cluster_arn": "string",
"service_arn": "string",
"cross_account_role": "string",
"external_id": "string",
}],
"target_percent": 0,
"timeout_minutes": 0,
"ungraceful": {
"minimum_success_percentage": 0,
},
}],
"arc_routing_control_configs": [{
"cross_account_role": "string",
"external_id": "string",
"region_and_routing_controls": [{
"region": "string",
"routing_controls": [{
"routing_control_arn": "string",
"state": "string",
}],
}],
"timeout_minutes": 0,
}],
"execution_approval_configs": [{
"approval_role": "string",
"timeout_minutes": 0,
}],
"description": "string",
"global_aurora_configs": [{
"behavior": "string",
"database_cluster_arns": ["string"],
"global_cluster_identifier": "string",
"cross_account_role": "string",
"external_id": "string",
"timeout_minutes": 0,
"ungracefuls": [{
"ungraceful": "string",
}],
}],
"custom_action_lambda_configs": [{
"region_to_run": "string",
"retry_interval_minutes": 0,
"lambdas": [{
"arn": "string",
"cross_account_role": "string",
"external_id": "string",
}],
"timeout_minutes": 0,
"ungracefuls": [{
"behavior": "string",
}],
}],
"parallel_configs": [{
"steps": [{
"execution_block_type": "string",
"name": "string",
"eks_resource_scaling_configs": [{
"capacity_monitoring_approach": "string",
"target_percent": 0,
"eks_clusters": [{
"cluster_arn": "string",
"cross_account_role": "string",
"external_id": "string",
}],
"kubernetes_resource_types": [{
"api_version": "string",
"kind": "string",
}],
"scaling_resources": [{
"namespace": "string",
"resources": [{
"name": "string",
"namespace": "string",
"resource_name": "string",
"hpa_name": "string",
}],
}],
"timeout_minutes": 0,
"ungracefuls": [{
"minimum_success_percentage": 0,
}],
}],
"document_db_configs": [{
"behavior": "string",
"database_cluster_arns": ["string"],
"global_cluster_identifier": "string",
"cross_account_role": "string",
"external_id": "string",
"timeout_minutes": 0,
"ungracefuls": [{
"ungraceful": "string",
}],
}],
"ec2_asg_capacity_increase_configs": [{
"capacity_monitoring_approach": "string",
"asgs": [{
"arn": "string",
"cross_account_role": "string",
"external_id": "string",
}],
"target_percent": 0,
"timeout_minutes": 0,
"ungraceful": {
"minimum_success_percentage": 0,
},
}],
"ecs_capacity_increase_configs": [{
"capacity_monitoring_approach": "string",
"services": [{
"cluster_arn": "string",
"service_arn": "string",
"cross_account_role": "string",
"external_id": "string",
}],
"target_percent": 0,
"timeout_minutes": 0,
"ungraceful": {
"minimum_success_percentage": 0,
},
}],
"arc_routing_control_configs": [{
"cross_account_role": "string",
"external_id": "string",
"region_and_routing_controls": [{
"region": "string",
"routing_controls": [{
"routing_control_arn": "string",
"state": "string",
}],
}],
"timeout_minutes": 0,
}],
"execution_approval_configs": [{
"approval_role": "string",
"timeout_minutes": 0,
}],
"description": "string",
"global_aurora_configs": [{
"behavior": "string",
"database_cluster_arns": ["string"],
"global_cluster_identifier": "string",
"cross_account_role": "string",
"external_id": "string",
"timeout_minutes": 0,
"ungracefuls": [{
"ungraceful": "string",
}],
}],
"custom_action_lambda_configs": [{
"region_to_run": "string",
"retry_interval_minutes": 0,
"lambdas": [{
"arn": "string",
"cross_account_role": "string",
"external_id": "string",
}],
"timeout_minutes": 0,
"ungracefuls": [{
"behavior": "string",
}],
}],
"region_switch_plan_configs": [{
"arn": "string",
"cross_account_role": "string",
"external_id": "string",
}],
"route53_health_check_configs": [{
"hosted_zone_id": "string",
"record_name": "string",
"cross_account_role": "string",
"external_id": "string",
"record_sets": [{
"record_set_identifier": "string",
"region": "string",
}],
"timeout_minutes": 0,
}],
}],
}],
"region_switch_plan_configs": [{
"arn": "string",
"cross_account_role": "string",
"external_id": "string",
}],
"route53_health_check_configs": [{
"hosted_zone_id": "string",
"record_name": "string",
"cross_account_role": "string",
"external_id": "string",
"record_sets": [{
"record_set_identifier": "string",
"region": "string",
}],
"timeout_minutes": 0,
}],
}],
"workflow_description": "string",
"workflow_target_region": "string",
}])
const planResource = new aws.arcregionswitch.Plan("planResource", {
recoveryApproach: "string",
regions: ["string"],
executionRole: "string",
recoveryTimeObjectiveMinutes: 0,
primaryRegion: "string",
name: "string",
associatedAlarms: [{
alarmType: "string",
mapBlockKey: "string",
resourceIdentifier: "string",
crossAccountRole: "string",
externalId: "string",
}],
description: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
triggers: [{
action: "string",
minDelayMinutesBetweenExecutions: 0,
targetRegion: "string",
conditions: [{
associatedAlarmName: "string",
condition: "string",
}],
description: "string",
}],
workflows: [{
workflowTargetAction: "string",
steps: [{
executionBlockType: "string",
name: "string",
eksResourceScalingConfigs: [{
capacityMonitoringApproach: "string",
targetPercent: 0,
eksClusters: [{
clusterArn: "string",
crossAccountRole: "string",
externalId: "string",
}],
kubernetesResourceTypes: [{
apiVersion: "string",
kind: "string",
}],
scalingResources: [{
namespace: "string",
resources: [{
name: "string",
namespace: "string",
resourceName: "string",
hpaName: "string",
}],
}],
timeoutMinutes: 0,
ungracefuls: [{
minimumSuccessPercentage: 0,
}],
}],
documentDbConfigs: [{
behavior: "string",
databaseClusterArns: ["string"],
globalClusterIdentifier: "string",
crossAccountRole: "string",
externalId: "string",
timeoutMinutes: 0,
ungracefuls: [{
ungraceful: "string",
}],
}],
ec2AsgCapacityIncreaseConfigs: [{
capacityMonitoringApproach: "string",
asgs: [{
arn: "string",
crossAccountRole: "string",
externalId: "string",
}],
targetPercent: 0,
timeoutMinutes: 0,
ungraceful: {
minimumSuccessPercentage: 0,
},
}],
ecsCapacityIncreaseConfigs: [{
capacityMonitoringApproach: "string",
services: [{
clusterArn: "string",
serviceArn: "string",
crossAccountRole: "string",
externalId: "string",
}],
targetPercent: 0,
timeoutMinutes: 0,
ungraceful: {
minimumSuccessPercentage: 0,
},
}],
arcRoutingControlConfigs: [{
crossAccountRole: "string",
externalId: "string",
regionAndRoutingControls: [{
region: "string",
routingControls: [{
routingControlArn: "string",
state: "string",
}],
}],
timeoutMinutes: 0,
}],
executionApprovalConfigs: [{
approvalRole: "string",
timeoutMinutes: 0,
}],
description: "string",
globalAuroraConfigs: [{
behavior: "string",
databaseClusterArns: ["string"],
globalClusterIdentifier: "string",
crossAccountRole: "string",
externalId: "string",
timeoutMinutes: 0,
ungracefuls: [{
ungraceful: "string",
}],
}],
customActionLambdaConfigs: [{
regionToRun: "string",
retryIntervalMinutes: 0,
lambdas: [{
arn: "string",
crossAccountRole: "string",
externalId: "string",
}],
timeoutMinutes: 0,
ungracefuls: [{
behavior: "string",
}],
}],
parallelConfigs: [{
steps: [{
executionBlockType: "string",
name: "string",
eksResourceScalingConfigs: [{
capacityMonitoringApproach: "string",
targetPercent: 0,
eksClusters: [{
clusterArn: "string",
crossAccountRole: "string",
externalId: "string",
}],
kubernetesResourceTypes: [{
apiVersion: "string",
kind: "string",
}],
scalingResources: [{
namespace: "string",
resources: [{
name: "string",
namespace: "string",
resourceName: "string",
hpaName: "string",
}],
}],
timeoutMinutes: 0,
ungracefuls: [{
minimumSuccessPercentage: 0,
}],
}],
documentDbConfigs: [{
behavior: "string",
databaseClusterArns: ["string"],
globalClusterIdentifier: "string",
crossAccountRole: "string",
externalId: "string",
timeoutMinutes: 0,
ungracefuls: [{
ungraceful: "string",
}],
}],
ec2AsgCapacityIncreaseConfigs: [{
capacityMonitoringApproach: "string",
asgs: [{
arn: "string",
crossAccountRole: "string",
externalId: "string",
}],
targetPercent: 0,
timeoutMinutes: 0,
ungraceful: {
minimumSuccessPercentage: 0,
},
}],
ecsCapacityIncreaseConfigs: [{
capacityMonitoringApproach: "string",
services: [{
clusterArn: "string",
serviceArn: "string",
crossAccountRole: "string",
externalId: "string",
}],
targetPercent: 0,
timeoutMinutes: 0,
ungraceful: {
minimumSuccessPercentage: 0,
},
}],
arcRoutingControlConfigs: [{
crossAccountRole: "string",
externalId: "string",
regionAndRoutingControls: [{
region: "string",
routingControls: [{
routingControlArn: "string",
state: "string",
}],
}],
timeoutMinutes: 0,
}],
executionApprovalConfigs: [{
approvalRole: "string",
timeoutMinutes: 0,
}],
description: "string",
globalAuroraConfigs: [{
behavior: "string",
databaseClusterArns: ["string"],
globalClusterIdentifier: "string",
crossAccountRole: "string",
externalId: "string",
timeoutMinutes: 0,
ungracefuls: [{
ungraceful: "string",
}],
}],
customActionLambdaConfigs: [{
regionToRun: "string",
retryIntervalMinutes: 0,
lambdas: [{
arn: "string",
crossAccountRole: "string",
externalId: "string",
}],
timeoutMinutes: 0,
ungracefuls: [{
behavior: "string",
}],
}],
regionSwitchPlanConfigs: [{
arn: "string",
crossAccountRole: "string",
externalId: "string",
}],
route53HealthCheckConfigs: [{
hostedZoneId: "string",
recordName: "string",
crossAccountRole: "string",
externalId: "string",
recordSets: [{
recordSetIdentifier: "string",
region: "string",
}],
timeoutMinutes: 0,
}],
}],
}],
regionSwitchPlanConfigs: [{
arn: "string",
crossAccountRole: "string",
externalId: "string",
}],
route53HealthCheckConfigs: [{
hostedZoneId: "string",
recordName: "string",
crossAccountRole: "string",
externalId: "string",
recordSets: [{
recordSetIdentifier: "string",
region: "string",
}],
timeoutMinutes: 0,
}],
}],
workflowDescription: "string",
workflowTargetRegion: "string",
}],
});
type: aws:arcregionswitch:Plan
properties:
associatedAlarms:
- alarmType: string
crossAccountRole: string
externalId: string
mapBlockKey: string
resourceIdentifier: string
description: string
executionRole: string
name: string
primaryRegion: string
recoveryApproach: string
recoveryTimeObjectiveMinutes: 0
regions:
- string
tags:
string: string
timeouts:
create: string
delete: string
update: string
triggers:
- action: string
conditions:
- associatedAlarmName: string
condition: string
description: string
minDelayMinutesBetweenExecutions: 0
targetRegion: string
workflows:
- steps:
- arcRoutingControlConfigs:
- crossAccountRole: string
externalId: string
regionAndRoutingControls:
- region: string
routingControls:
- routingControlArn: string
state: string
timeoutMinutes: 0
customActionLambdaConfigs:
- lambdas:
- arn: string
crossAccountRole: string
externalId: string
regionToRun: string
retryIntervalMinutes: 0
timeoutMinutes: 0
ungracefuls:
- behavior: string
description: string
documentDbConfigs:
- behavior: string
crossAccountRole: string
databaseClusterArns:
- string
externalId: string
globalClusterIdentifier: string
timeoutMinutes: 0
ungracefuls:
- ungraceful: string
ec2AsgCapacityIncreaseConfigs:
- asgs:
- arn: string
crossAccountRole: string
externalId: string
capacityMonitoringApproach: string
targetPercent: 0
timeoutMinutes: 0
ungraceful:
minimumSuccessPercentage: 0
ecsCapacityIncreaseConfigs:
- capacityMonitoringApproach: string
services:
- clusterArn: string
crossAccountRole: string
externalId: string
serviceArn: string
targetPercent: 0
timeoutMinutes: 0
ungraceful:
minimumSuccessPercentage: 0
eksResourceScalingConfigs:
- capacityMonitoringApproach: string
eksClusters:
- clusterArn: string
crossAccountRole: string
externalId: string
kubernetesResourceTypes:
- apiVersion: string
kind: string
scalingResources:
- namespace: string
resources:
- hpaName: string
name: string
namespace: string
resourceName: string
targetPercent: 0
timeoutMinutes: 0
ungracefuls:
- minimumSuccessPercentage: 0
executionApprovalConfigs:
- approvalRole: string
timeoutMinutes: 0
executionBlockType: string
globalAuroraConfigs:
- behavior: string
crossAccountRole: string
databaseClusterArns:
- string
externalId: string
globalClusterIdentifier: string
timeoutMinutes: 0
ungracefuls:
- ungraceful: string
name: string
parallelConfigs:
- steps:
- arcRoutingControlConfigs:
- crossAccountRole: string
externalId: string
regionAndRoutingControls:
- region: string
routingControls:
- routingControlArn: string
state: string
timeoutMinutes: 0
customActionLambdaConfigs:
- lambdas:
- arn: string
crossAccountRole: string
externalId: string
regionToRun: string
retryIntervalMinutes: 0
timeoutMinutes: 0
ungracefuls:
- behavior: string
description: string
documentDbConfigs:
- behavior: string
crossAccountRole: string
databaseClusterArns:
- string
externalId: string
globalClusterIdentifier: string
timeoutMinutes: 0
ungracefuls:
- ungraceful: string
ec2AsgCapacityIncreaseConfigs:
- asgs:
- arn: string
crossAccountRole: string
externalId: string
capacityMonitoringApproach: string
targetPercent: 0
timeoutMinutes: 0
ungraceful:
minimumSuccessPercentage: 0
ecsCapacityIncreaseConfigs:
- capacityMonitoringApproach: string
services:
- clusterArn: string
crossAccountRole: string
externalId: string
serviceArn: string
targetPercent: 0
timeoutMinutes: 0
ungraceful:
minimumSuccessPercentage: 0
eksResourceScalingConfigs:
- capacityMonitoringApproach: string
eksClusters:
- clusterArn: string
crossAccountRole: string
externalId: string
kubernetesResourceTypes:
- apiVersion: string
kind: string
scalingResources:
- namespace: string
resources:
- hpaName: string
name: string
namespace: string
resourceName: string
targetPercent: 0
timeoutMinutes: 0
ungracefuls:
- minimumSuccessPercentage: 0
executionApprovalConfigs:
- approvalRole: string
timeoutMinutes: 0
executionBlockType: string
globalAuroraConfigs:
- behavior: string
crossAccountRole: string
databaseClusterArns:
- string
externalId: string
globalClusterIdentifier: string
timeoutMinutes: 0
ungracefuls:
- ungraceful: string
name: string
regionSwitchPlanConfigs:
- arn: string
crossAccountRole: string
externalId: string
route53HealthCheckConfigs:
- crossAccountRole: string
externalId: string
hostedZoneId: string
recordName: string
recordSets:
- recordSetIdentifier: string
region: string
timeoutMinutes: 0
regionSwitchPlanConfigs:
- arn: string
crossAccountRole: string
externalId: string
route53HealthCheckConfigs:
- crossAccountRole: string
externalId: string
hostedZoneId: string
recordName: string
recordSets:
- recordSetIdentifier: string
region: string
timeoutMinutes: 0
workflowDescription: string
workflowTargetAction: string
workflowTargetRegion: string
Plan Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Plan resource accepts the following input properties:
- Execution
Role string - ARN of the IAM role that ARC Region Switch will assume to execute the plan.
- Recovery
Approach string - Recovery approach for the plan. Valid values:
activeActive,activePassive. - Regions List<string>
- List of AWS regions involved in the plan.
- Associated
Alarms List<PlanAssociated Alarm> - Set of CloudWatch alarms associated with the plan. See Associated Alarms below.
- Description string
- Description of the plan.
- Name string
- Name of the plan. Must be unique within the account.
- Primary
Region string - Primary region for the plan.
- Recovery
Time intObjective Minutes - Recovery time objective in minutes.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Plan
Timeouts - Triggers
List<Plan
Trigger> - Set of triggers that can initiate the plan execution. See Triggers below.
- Workflows
List<Plan
Workflow> List of workflows that define the steps to execute. See Workflow below.
The following arguments are optional:
- Execution
Role string - ARN of the IAM role that ARC Region Switch will assume to execute the plan.
- Recovery
Approach string - Recovery approach for the plan. Valid values:
activeActive,activePassive. - Regions []string
- List of AWS regions involved in the plan.
- Associated
Alarms []PlanAssociated Alarm Args - Set of CloudWatch alarms associated with the plan. See Associated Alarms below.
- Description string
- Description of the plan.
- Name string
- Name of the plan. Must be unique within the account.
- Primary
Region string - Primary region for the plan.
- Recovery
Time intObjective Minutes - Recovery time objective in minutes.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Plan
Timeouts Args - Triggers
[]Plan
Trigger Args - Set of triggers that can initiate the plan execution. See Triggers below.
- Workflows
[]Plan
Workflow Args List of workflows that define the steps to execute. See Workflow below.
The following arguments are optional:
- execution
Role String - ARN of the IAM role that ARC Region Switch will assume to execute the plan.
- recovery
Approach String - Recovery approach for the plan. Valid values:
activeActive,activePassive. - regions List<String>
- List of AWS regions involved in the plan.
- associated
Alarms List<PlanAssociated Alarm> - Set of CloudWatch alarms associated with the plan. See Associated Alarms below.
- description String
- Description of the plan.
- name String
- Name of the plan. Must be unique within the account.
- primary
Region String - Primary region for the plan.
- recovery
Time IntegerObjective Minutes - Recovery time objective in minutes.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Plan
Timeouts - triggers
List<Plan
Trigger> - Set of triggers that can initiate the plan execution. See Triggers below.
- workflows
List<Plan
Workflow> List of workflows that define the steps to execute. See Workflow below.
The following arguments are optional:
- execution
Role string - ARN of the IAM role that ARC Region Switch will assume to execute the plan.
- recovery
Approach string - Recovery approach for the plan. Valid values:
activeActive,activePassive. - regions string[]
- List of AWS regions involved in the plan.
- associated
Alarms PlanAssociated Alarm[] - Set of CloudWatch alarms associated with the plan. See Associated Alarms below.
- description string
- Description of the plan.
- name string
- Name of the plan. Must be unique within the account.
- primary
Region string - Primary region for the plan.
- recovery
Time numberObjective Minutes - Recovery time objective in minutes.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Plan
Timeouts - triggers
Plan
Trigger[] - Set of triggers that can initiate the plan execution. See Triggers below.
- workflows
Plan
Workflow[] List of workflows that define the steps to execute. See Workflow below.
The following arguments are optional:
- execution_
role str - ARN of the IAM role that ARC Region Switch will assume to execute the plan.
- recovery_
approach str - Recovery approach for the plan. Valid values:
activeActive,activePassive. - regions Sequence[str]
- List of AWS regions involved in the plan.
- associated_
alarms Sequence[PlanAssociated Alarm Args] - Set of CloudWatch alarms associated with the plan. See Associated Alarms below.
- description str
- Description of the plan.
- name str
- Name of the plan. Must be unique within the account.
- primary_
region str - Primary region for the plan.
- recovery_
time_ intobjective_ minutes - Recovery time objective in minutes.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Plan
Timeouts Args - triggers
Sequence[Plan
Trigger Args] - Set of triggers that can initiate the plan execution. See Triggers below.
- workflows
Sequence[Plan
Workflow Args] List of workflows that define the steps to execute. See Workflow below.
The following arguments are optional:
- execution
Role String - ARN of the IAM role that ARC Region Switch will assume to execute the plan.
- recovery
Approach String - Recovery approach for the plan. Valid values:
activeActive,activePassive. - regions List<String>
- List of AWS regions involved in the plan.
- associated
Alarms List<Property Map> - Set of CloudWatch alarms associated with the plan. See Associated Alarms below.
- description String
- Description of the plan.
- name String
- Name of the plan. Must be unique within the account.
- primary
Region String - Primary region for the plan.
- recovery
Time NumberObjective Minutes - Recovery time objective in minutes.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts Property Map
- triggers List<Property Map>
- Set of triggers that can initiate the plan execution. See Triggers below.
- workflows List<Property Map>
List of workflows that define the steps to execute. See Workflow below.
The following arguments are optional:
Outputs
All input properties are implicitly available as output properties. Additionally, the Plan resource produces the following output properties:
Look up Existing Plan Resource
Get an existing Plan resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PlanState, opts?: CustomResourceOptions): Plan@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
associated_alarms: Optional[Sequence[PlanAssociatedAlarmArgs]] = None,
description: Optional[str] = None,
execution_role: Optional[str] = None,
name: Optional[str] = None,
primary_region: Optional[str] = None,
recovery_approach: Optional[str] = None,
recovery_time_objective_minutes: Optional[int] = None,
region: Optional[str] = None,
regions: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[PlanTimeoutsArgs] = None,
triggers: Optional[Sequence[PlanTriggerArgs]] = None,
workflows: Optional[Sequence[PlanWorkflowArgs]] = None) -> Planfunc GetPlan(ctx *Context, name string, id IDInput, state *PlanState, opts ...ResourceOption) (*Plan, error)public static Plan Get(string name, Input<string> id, PlanState? state, CustomResourceOptions? opts = null)public static Plan get(String name, Output<String> id, PlanState state, CustomResourceOptions options)resources: _: type: aws:arcregionswitch:Plan get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN of the plan.
- Associated
Alarms List<PlanAssociated Alarm> - Set of CloudWatch alarms associated with the plan. See Associated Alarms below.
- Description string
- Description of the plan.
- Execution
Role string - ARN of the IAM role that ARC Region Switch will assume to execute the plan.
- Name string
- Name of the plan. Must be unique within the account.
- Primary
Region string - Primary region for the plan.
- Recovery
Approach string - Recovery approach for the plan. Valid values:
activeActive,activePassive. - Recovery
Time intObjective Minutes - Recovery time objective in minutes.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Regions List<string>
- List of AWS regions involved in the plan.
- Dictionary<string, string>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - Timeouts
Plan
Timeouts - Triggers
List<Plan
Trigger> - Set of triggers that can initiate the plan execution. See Triggers below.
- Workflows
List<Plan
Workflow> List of workflows that define the steps to execute. See Workflow below.
The following arguments are optional:
- Arn string
- ARN of the plan.
- Associated
Alarms []PlanAssociated Alarm Args - Set of CloudWatch alarms associated with the plan. See Associated Alarms below.
- Description string
- Description of the plan.
- Execution
Role string - ARN of the IAM role that ARC Region Switch will assume to execute the plan.
- Name string
- Name of the plan. Must be unique within the account.
- Primary
Region string - Primary region for the plan.
- Recovery
Approach string - Recovery approach for the plan. Valid values:
activeActive,activePassive. - Recovery
Time intObjective Minutes - Recovery time objective in minutes.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Regions []string
- List of AWS regions involved in the plan.
- map[string]string
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - Timeouts
Plan
Timeouts Args - Triggers
[]Plan
Trigger Args - Set of triggers that can initiate the plan execution. See Triggers below.
- Workflows
[]Plan
Workflow Args List of workflows that define the steps to execute. See Workflow below.
The following arguments are optional:
- arn String
- ARN of the plan.
- associated
Alarms List<PlanAssociated Alarm> - Set of CloudWatch alarms associated with the plan. See Associated Alarms below.
- description String
- Description of the plan.
- execution
Role String - ARN of the IAM role that ARC Region Switch will assume to execute the plan.
- name String
- Name of the plan. Must be unique within the account.
- primary
Region String - Primary region for the plan.
- recovery
Approach String - Recovery approach for the plan. Valid values:
activeActive,activePassive. - recovery
Time IntegerObjective Minutes - Recovery time objective in minutes.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- regions List<String>
- List of AWS regions involved in the plan.
- Map<String,String>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - timeouts
Plan
Timeouts - triggers
List<Plan
Trigger> - Set of triggers that can initiate the plan execution. See Triggers below.
- workflows
List<Plan
Workflow> List of workflows that define the steps to execute. See Workflow below.
The following arguments are optional:
- arn string
- ARN of the plan.
- associated
Alarms PlanAssociated Alarm[] - Set of CloudWatch alarms associated with the plan. See Associated Alarms below.
- description string
- Description of the plan.
- execution
Role string - ARN of the IAM role that ARC Region Switch will assume to execute the plan.
- name string
- Name of the plan. Must be unique within the account.
- primary
Region string - Primary region for the plan.
- recovery
Approach string - Recovery approach for the plan. Valid values:
activeActive,activePassive. - recovery
Time numberObjective Minutes - Recovery time objective in minutes.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- regions string[]
- List of AWS regions involved in the plan.
- {[key: string]: string}
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - timeouts
Plan
Timeouts - triggers
Plan
Trigger[] - Set of triggers that can initiate the plan execution. See Triggers below.
- workflows
Plan
Workflow[] List of workflows that define the steps to execute. See Workflow below.
The following arguments are optional:
- arn str
- ARN of the plan.
- associated_
alarms Sequence[PlanAssociated Alarm Args] - Set of CloudWatch alarms associated with the plan. See Associated Alarms below.
- description str
- Description of the plan.
- execution_
role str - ARN of the IAM role that ARC Region Switch will assume to execute the plan.
- name str
- Name of the plan. Must be unique within the account.
- primary_
region str - Primary region for the plan.
- recovery_
approach str - Recovery approach for the plan. Valid values:
activeActive,activePassive. - recovery_
time_ intobjective_ minutes - Recovery time objective in minutes.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- regions Sequence[str]
- List of AWS regions involved in the plan.
- Mapping[str, str]
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - timeouts
Plan
Timeouts Args - triggers
Sequence[Plan
Trigger Args] - Set of triggers that can initiate the plan execution. See Triggers below.
- workflows
Sequence[Plan
Workflow Args] List of workflows that define the steps to execute. See Workflow below.
The following arguments are optional:
- arn String
- ARN of the plan.
- associated
Alarms List<Property Map> - Set of CloudWatch alarms associated with the plan. See Associated Alarms below.
- description String
- Description of the plan.
- execution
Role String - ARN of the IAM role that ARC Region Switch will assume to execute the plan.
- name String
- Name of the plan. Must be unique within the account.
- primary
Region String - Primary region for the plan.
- recovery
Approach String - Recovery approach for the plan. Valid values:
activeActive,activePassive. - recovery
Time NumberObjective Minutes - Recovery time objective in minutes.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- regions List<String>
- List of AWS regions involved in the plan.
- Map<String>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - timeouts Property Map
- triggers List<Property Map>
- Set of triggers that can initiate the plan execution. See Triggers below.
- workflows List<Property Map>
List of workflows that define the steps to execute. See Workflow below.
The following arguments are optional:
Supporting Types
PlanAssociatedAlarm, PlanAssociatedAlarmArgs
- Alarm
Type string - Type of alarm. Valid values:
applicationHealth,trigger. - Map
Block stringKey - Name of the alarm.
- Resource
Identifier string - Resource identifier (ARN) of the CloudWatch alarm.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Alarm
Type string - Type of alarm. Valid values:
applicationHealth,trigger. - Map
Block stringKey - Name of the alarm.
- Resource
Identifier string - Resource identifier (ARN) of the CloudWatch alarm.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- alarm
Type String - Type of alarm. Valid values:
applicationHealth,trigger. - map
Block StringKey - Name of the alarm.
- resource
Identifier String - Resource identifier (ARN) of the CloudWatch alarm.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- alarm
Type string - Type of alarm. Valid values:
applicationHealth,trigger. - map
Block stringKey - Name of the alarm.
- resource
Identifier string - Resource identifier (ARN) of the CloudWatch alarm.
- cross
Account stringRole - ARN of the cross-account role to assume.
- external
Id string - External ID for cross-account role assumption.
- alarm_
type str - Type of alarm. Valid values:
applicationHealth,trigger. - map_
block_ strkey - Name of the alarm.
- resource_
identifier str - Resource identifier (ARN) of the CloudWatch alarm.
- cross_
account_ strrole - ARN of the cross-account role to assume.
- external_
id str - External ID for cross-account role assumption.
- alarm
Type String - Type of alarm. Valid values:
applicationHealth,trigger. - map
Block StringKey - Name of the alarm.
- resource
Identifier String - Resource identifier (ARN) of the CloudWatch alarm.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
PlanTimeouts, PlanTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
PlanTrigger, PlanTriggerArgs
- Action string
- Action to trigger. Valid values:
activate,deactivate. - Min
Delay intMinutes Between Executions - Minimum delay in minutes between executions.
- Target
Region string - Target region for the trigger.
- Conditions
List<Plan
Trigger Condition> - List of conditions that must be met. See Conditions below.
- Description string
- Description of the trigger.
- Action string
- Action to trigger. Valid values:
activate,deactivate. - Min
Delay intMinutes Between Executions - Minimum delay in minutes between executions.
- Target
Region string - Target region for the trigger.
- Conditions
[]Plan
Trigger Condition - List of conditions that must be met. See Conditions below.
- Description string
- Description of the trigger.
- action String
- Action to trigger. Valid values:
activate,deactivate. - min
Delay IntegerMinutes Between Executions - Minimum delay in minutes between executions.
- target
Region String - Target region for the trigger.
- conditions
List<Plan
Trigger Condition> - List of conditions that must be met. See Conditions below.
- description String
- Description of the trigger.
- action string
- Action to trigger. Valid values:
activate,deactivate. - min
Delay numberMinutes Between Executions - Minimum delay in minutes between executions.
- target
Region string - Target region for the trigger.
- conditions
Plan
Trigger Condition[] - List of conditions that must be met. See Conditions below.
- description string
- Description of the trigger.
- action str
- Action to trigger. Valid values:
activate,deactivate. - min_
delay_ intminutes_ between_ executions - Minimum delay in minutes between executions.
- target_
region str - Target region for the trigger.
- conditions
Sequence[Plan
Trigger Condition] - List of conditions that must be met. See Conditions below.
- description str
- Description of the trigger.
- action String
- Action to trigger. Valid values:
activate,deactivate. - min
Delay NumberMinutes Between Executions - Minimum delay in minutes between executions.
- target
Region String - Target region for the trigger.
- conditions List<Property Map>
- List of conditions that must be met. See Conditions below.
- description String
- Description of the trigger.
PlanTriggerCondition, PlanTriggerConditionArgs
- Associated
Alarm stringName - Name of the associated alarm.
- Condition string
- Condition to check. Valid values:
red,green.
- Associated
Alarm stringName - Name of the associated alarm.
- Condition string
- Condition to check. Valid values:
red,green.
- associated
Alarm StringName - Name of the associated alarm.
- condition String
- Condition to check. Valid values:
red,green.
- associated
Alarm stringName - Name of the associated alarm.
- condition string
- Condition to check. Valid values:
red,green.
- associated_
alarm_ strname - Name of the associated alarm.
- condition str
- Condition to check. Valid values:
red,green.
- associated
Alarm StringName - Name of the associated alarm.
- condition String
- Condition to check. Valid values:
red,green.
PlanWorkflow, PlanWorkflowArgs
- Workflow
Target stringAction - Action to perform. Valid values:
activate,deactivate. - Steps
List<Plan
Workflow Step> - List of steps in the workflow. See Step below.
- Workflow
Description string - Description of the workflow.
- Workflow
Target stringRegion - Target region for the workflow.
- Workflow
Target stringAction - Action to perform. Valid values:
activate,deactivate. - Steps
[]Plan
Workflow Step - List of steps in the workflow. See Step below.
- Workflow
Description string - Description of the workflow.
- Workflow
Target stringRegion - Target region for the workflow.
- workflow
Target StringAction - Action to perform. Valid values:
activate,deactivate. - steps
List<Plan
Workflow Step> - List of steps in the workflow. See Step below.
- workflow
Description String - Description of the workflow.
- workflow
Target StringRegion - Target region for the workflow.
- workflow
Target stringAction - Action to perform. Valid values:
activate,deactivate. - steps
Plan
Workflow Step[] - List of steps in the workflow. See Step below.
- workflow
Description string - Description of the workflow.
- workflow
Target stringRegion - Target region for the workflow.
- workflow_
target_ straction - Action to perform. Valid values:
activate,deactivate. - steps
Sequence[Plan
Workflow Step] - List of steps in the workflow. See Step below.
- workflow_
description str - Description of the workflow.
- workflow_
target_ strregion - Target region for the workflow.
- workflow
Target StringAction - Action to perform. Valid values:
activate,deactivate. - steps List<Property Map>
- List of steps in the workflow. See Step below.
- workflow
Description String - Description of the workflow.
- workflow
Target StringRegion - Target region for the workflow.
PlanWorkflowStep, PlanWorkflowStepArgs
- Execution
Block stringType - Type of execution block. Valid values:
ARCRegionSwitchPlan,ARCRoutingControl,AuroraGlobalDatabase,CustomActionLambda,DocumentDb,EC2AutoScaling,ECSServiceScaling,EKSResourceScaling,ManualApproval,Parallel,Route53HealthCheck. - Name string
- Name of the step.
- Arc
Routing List<PlanControl Configs Workflow Step Arc Routing Control Config> - Configuration for ARC routing control. See ARC Routing Control Config below.
- Custom
Action List<PlanLambda Configs Workflow Step Custom Action Lambda Config> - Configuration for Lambda function execution. See Custom Action Lambda Config below.
- Description string
- Description of the step.
- Document
Db List<PlanConfigs Workflow Step Document Db Config> - Configuration for DocumentDB global cluster operations. See DocumentDB Config below.
- Ec2Asg
Capacity List<PlanIncrease Configs Workflow Step Ec2Asg Capacity Increase Config> - Configuration for EC2 Auto Scaling group capacity increase. See EC2 ASG Capacity Increase Config below.
- Ecs
Capacity List<PlanIncrease Configs Workflow Step Ecs Capacity Increase Config> - Configuration for ECS service capacity increase. See ECS Capacity Increase Config below.
- Eks
Resource List<PlanScaling Configs Workflow Step Eks Resource Scaling Config> - Configuration for EKS resource scaling. See EKS Resource Scaling Config below.
- Execution
Approval List<PlanConfigs Workflow Step Execution Approval Config> - Configuration for manual approval steps. See Execution Approval Config below.
- Global
Aurora List<PlanConfigs Workflow Step Global Aurora Config> - Configuration for Aurora Global Database operations. See Global Aurora Config below.
- Parallel
Configs List<PlanWorkflow Step Parallel Config> - Configuration for parallel execution of multiple steps. See Parallel Config below.
- Region
Switch List<PlanPlan Configs Workflow Step Region Switch Plan Config> - Route53Health
Check List<PlanConfigs Workflow Step Route53Health Check Config> - Configuration for Route53 health check operations. See Route53 Health Check Config below.
- Execution
Block stringType - Type of execution block. Valid values:
ARCRegionSwitchPlan,ARCRoutingControl,AuroraGlobalDatabase,CustomActionLambda,DocumentDb,EC2AutoScaling,ECSServiceScaling,EKSResourceScaling,ManualApproval,Parallel,Route53HealthCheck. - Name string
- Name of the step.
- Arc
Routing []PlanControl Configs Workflow Step Arc Routing Control Config - Configuration for ARC routing control. See ARC Routing Control Config below.
- Custom
Action []PlanLambda Configs Workflow Step Custom Action Lambda Config - Configuration for Lambda function execution. See Custom Action Lambda Config below.
- Description string
- Description of the step.
- Document
Db []PlanConfigs Workflow Step Document Db Config - Configuration for DocumentDB global cluster operations. See DocumentDB Config below.
- Ec2Asg
Capacity []PlanIncrease Configs Workflow Step Ec2Asg Capacity Increase Config - Configuration for EC2 Auto Scaling group capacity increase. See EC2 ASG Capacity Increase Config below.
- Ecs
Capacity []PlanIncrease Configs Workflow Step Ecs Capacity Increase Config - Configuration for ECS service capacity increase. See ECS Capacity Increase Config below.
- Eks
Resource []PlanScaling Configs Workflow Step Eks Resource Scaling Config - Configuration for EKS resource scaling. See EKS Resource Scaling Config below.
- Execution
Approval []PlanConfigs Workflow Step Execution Approval Config - Configuration for manual approval steps. See Execution Approval Config below.
- Global
Aurora []PlanConfigs Workflow Step Global Aurora Config - Configuration for Aurora Global Database operations. See Global Aurora Config below.
- Parallel
Configs []PlanWorkflow Step Parallel Config - Configuration for parallel execution of multiple steps. See Parallel Config below.
- Region
Switch []PlanPlan Configs Workflow Step Region Switch Plan Config - Route53Health
Check []PlanConfigs Workflow Step Route53Health Check Config - Configuration for Route53 health check operations. See Route53 Health Check Config below.
- execution
Block StringType - Type of execution block. Valid values:
ARCRegionSwitchPlan,ARCRoutingControl,AuroraGlobalDatabase,CustomActionLambda,DocumentDb,EC2AutoScaling,ECSServiceScaling,EKSResourceScaling,ManualApproval,Parallel,Route53HealthCheck. - name String
- Name of the step.
- arc
Routing List<PlanControl Configs Workflow Step Arc Routing Control Config> - Configuration for ARC routing control. See ARC Routing Control Config below.
- custom
Action List<PlanLambda Configs Workflow Step Custom Action Lambda Config> - Configuration for Lambda function execution. See Custom Action Lambda Config below.
- description String
- Description of the step.
- document
Db List<PlanConfigs Workflow Step Document Db Config> - Configuration for DocumentDB global cluster operations. See DocumentDB Config below.
- ec2Asg
Capacity List<PlanIncrease Configs Workflow Step Ec2Asg Capacity Increase Config> - Configuration for EC2 Auto Scaling group capacity increase. See EC2 ASG Capacity Increase Config below.
- ecs
Capacity List<PlanIncrease Configs Workflow Step Ecs Capacity Increase Config> - Configuration for ECS service capacity increase. See ECS Capacity Increase Config below.
- eks
Resource List<PlanScaling Configs Workflow Step Eks Resource Scaling Config> - Configuration for EKS resource scaling. See EKS Resource Scaling Config below.
- execution
Approval List<PlanConfigs Workflow Step Execution Approval Config> - Configuration for manual approval steps. See Execution Approval Config below.
- global
Aurora List<PlanConfigs Workflow Step Global Aurora Config> - Configuration for Aurora Global Database operations. See Global Aurora Config below.
- parallel
Configs List<PlanWorkflow Step Parallel Config> - Configuration for parallel execution of multiple steps. See Parallel Config below.
- region
Switch List<PlanPlan Configs Workflow Step Region Switch Plan Config> - route53Health
Check List<PlanConfigs Workflow Step Route53Health Check Config> - Configuration for Route53 health check operations. See Route53 Health Check Config below.
- execution
Block stringType - Type of execution block. Valid values:
ARCRegionSwitchPlan,ARCRoutingControl,AuroraGlobalDatabase,CustomActionLambda,DocumentDb,EC2AutoScaling,ECSServiceScaling,EKSResourceScaling,ManualApproval,Parallel,Route53HealthCheck. - name string
- Name of the step.
- arc
Routing PlanControl Configs Workflow Step Arc Routing Control Config[] - Configuration for ARC routing control. See ARC Routing Control Config below.
- custom
Action PlanLambda Configs Workflow Step Custom Action Lambda Config[] - Configuration for Lambda function execution. See Custom Action Lambda Config below.
- description string
- Description of the step.
- document
Db PlanConfigs Workflow Step Document Db Config[] - Configuration for DocumentDB global cluster operations. See DocumentDB Config below.
- ec2Asg
Capacity PlanIncrease Configs Workflow Step Ec2Asg Capacity Increase Config[] - Configuration for EC2 Auto Scaling group capacity increase. See EC2 ASG Capacity Increase Config below.
- ecs
Capacity PlanIncrease Configs Workflow Step Ecs Capacity Increase Config[] - Configuration for ECS service capacity increase. See ECS Capacity Increase Config below.
- eks
Resource PlanScaling Configs Workflow Step Eks Resource Scaling Config[] - Configuration for EKS resource scaling. See EKS Resource Scaling Config below.
- execution
Approval PlanConfigs Workflow Step Execution Approval Config[] - Configuration for manual approval steps. See Execution Approval Config below.
- global
Aurora PlanConfigs Workflow Step Global Aurora Config[] - Configuration for Aurora Global Database operations. See Global Aurora Config below.
- parallel
Configs PlanWorkflow Step Parallel Config[] - Configuration for parallel execution of multiple steps. See Parallel Config below.
- region
Switch PlanPlan Configs Workflow Step Region Switch Plan Config[] - route53Health
Check PlanConfigs Workflow Step Route53Health Check Config[] - Configuration for Route53 health check operations. See Route53 Health Check Config below.
- execution_
block_ strtype - Type of execution block. Valid values:
ARCRegionSwitchPlan,ARCRoutingControl,AuroraGlobalDatabase,CustomActionLambda,DocumentDb,EC2AutoScaling,ECSServiceScaling,EKSResourceScaling,ManualApproval,Parallel,Route53HealthCheck. - name str
- Name of the step.
- arc_
routing_ Sequence[Plancontrol_ configs Workflow Step Arc Routing Control Config] - Configuration for ARC routing control. See ARC Routing Control Config below.
- custom_
action_ Sequence[Planlambda_ configs Workflow Step Custom Action Lambda Config] - Configuration for Lambda function execution. See Custom Action Lambda Config below.
- description str
- Description of the step.
- document_
db_ Sequence[Planconfigs Workflow Step Document Db Config] - Configuration for DocumentDB global cluster operations. See DocumentDB Config below.
- ec2_
asg_ Sequence[Plancapacity_ increase_ configs Workflow Step Ec2Asg Capacity Increase Config] - Configuration for EC2 Auto Scaling group capacity increase. See EC2 ASG Capacity Increase Config below.
- ecs_
capacity_ Sequence[Planincrease_ configs Workflow Step Ecs Capacity Increase Config] - Configuration for ECS service capacity increase. See ECS Capacity Increase Config below.
- eks_
resource_ Sequence[Planscaling_ configs Workflow Step Eks Resource Scaling Config] - Configuration for EKS resource scaling. See EKS Resource Scaling Config below.
- execution_
approval_ Sequence[Planconfigs Workflow Step Execution Approval Config] - Configuration for manual approval steps. See Execution Approval Config below.
- global_
aurora_ Sequence[Planconfigs Workflow Step Global Aurora Config] - Configuration for Aurora Global Database operations. See Global Aurora Config below.
- parallel_
configs Sequence[PlanWorkflow Step Parallel Config] - Configuration for parallel execution of multiple steps. See Parallel Config below.
- region_
switch_ Sequence[Planplan_ configs Workflow Step Region Switch Plan Config] - route53_
health_ Sequence[Plancheck_ configs Workflow Step Route53Health Check Config] - Configuration for Route53 health check operations. See Route53 Health Check Config below.
- execution
Block StringType - Type of execution block. Valid values:
ARCRegionSwitchPlan,ARCRoutingControl,AuroraGlobalDatabase,CustomActionLambda,DocumentDb,EC2AutoScaling,ECSServiceScaling,EKSResourceScaling,ManualApproval,Parallel,Route53HealthCheck. - name String
- Name of the step.
- arc
Routing List<Property Map>Control Configs - Configuration for ARC routing control. See ARC Routing Control Config below.
- custom
Action List<Property Map>Lambda Configs - Configuration for Lambda function execution. See Custom Action Lambda Config below.
- description String
- Description of the step.
- document
Db List<Property Map>Configs - Configuration for DocumentDB global cluster operations. See DocumentDB Config below.
- ec2Asg
Capacity List<Property Map>Increase Configs - Configuration for EC2 Auto Scaling group capacity increase. See EC2 ASG Capacity Increase Config below.
- ecs
Capacity List<Property Map>Increase Configs - Configuration for ECS service capacity increase. See ECS Capacity Increase Config below.
- eks
Resource List<Property Map>Scaling Configs - Configuration for EKS resource scaling. See EKS Resource Scaling Config below.
- execution
Approval List<Property Map>Configs - Configuration for manual approval steps. See Execution Approval Config below.
- global
Aurora List<Property Map>Configs - Configuration for Aurora Global Database operations. See Global Aurora Config below.
- parallel
Configs List<Property Map> - Configuration for parallel execution of multiple steps. See Parallel Config below.
- region
Switch List<Property Map>Plan Configs - route53Health
Check List<Property Map>Configs - Configuration for Route53 health check operations. See Route53 Health Check Config below.
PlanWorkflowStepArcRoutingControlConfig, PlanWorkflowStepArcRoutingControlConfigArgs
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Region
And List<PlanRouting Controls Workflow Step Arc Routing Control Config Region And Routing Control> - List of regions and their routing controls. See Region and Routing Controls below.
- Timeout
Minutes int - Timeout in minutes.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Region
And []PlanRouting Controls Workflow Step Arc Routing Control Config Region And Routing Control - List of regions and their routing controls. See Region and Routing Controls below.
- Timeout
Minutes int - Timeout in minutes.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- region
And List<PlanRouting Controls Workflow Step Arc Routing Control Config Region And Routing Control> - List of regions and their routing controls. See Region and Routing Controls below.
- timeout
Minutes Integer - Timeout in minutes.
- cross
Account stringRole - ARN of the cross-account role to assume.
- external
Id string - External ID for cross-account role assumption.
- region
And PlanRouting Controls Workflow Step Arc Routing Control Config Region And Routing Control[] - List of regions and their routing controls. See Region and Routing Controls below.
- timeout
Minutes number - Timeout in minutes.
- cross_
account_ strrole - ARN of the cross-account role to assume.
- external_
id str - External ID for cross-account role assumption.
- region_
and_ Sequence[Planrouting_ controls Workflow Step Arc Routing Control Config Region And Routing Control] - List of regions and their routing controls. See Region and Routing Controls below.
- timeout_
minutes int - Timeout in minutes.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- region
And List<Property Map>Routing Controls - List of regions and their routing controls. See Region and Routing Controls below.
- timeout
Minutes Number - Timeout in minutes.
PlanWorkflowStepArcRoutingControlConfigRegionAndRoutingControl, PlanWorkflowStepArcRoutingControlConfigRegionAndRoutingControlArgs
- Region string
- AWS region.
- Routing
Controls List<PlanWorkflow Step Arc Routing Control Config Region And Routing Control Routing Control> - List of routing controls. See Routing Control below.
- Region string
- AWS region.
- Routing
Controls []PlanWorkflow Step Arc Routing Control Config Region And Routing Control Routing Control - List of routing controls. See Routing Control below.
- region String
- AWS region.
- routing
Controls List<PlanWorkflow Step Arc Routing Control Config Region And Routing Control Routing Control> - List of routing controls. See Routing Control below.
- region string
- AWS region.
- routing
Controls PlanWorkflow Step Arc Routing Control Config Region And Routing Control Routing Control[] - List of routing controls. See Routing Control below.
- region str
- AWS region.
- routing_
controls Sequence[PlanWorkflow Step Arc Routing Control Config Region And Routing Control Routing Control] - List of routing controls. See Routing Control below.
- region String
- AWS region.
- routing
Controls List<Property Map> - List of routing controls. See Routing Control below.
PlanWorkflowStepArcRoutingControlConfigRegionAndRoutingControlRoutingControl, PlanWorkflowStepArcRoutingControlConfigRegionAndRoutingControlRoutingControlArgs
- Routing
Control stringArn - ARN of the routing control.
- State string
- State of the routing control. Valid values:
On,Off.
- Routing
Control stringArn - ARN of the routing control.
- State string
- State of the routing control. Valid values:
On,Off.
- routing
Control StringArn - ARN of the routing control.
- state String
- State of the routing control. Valid values:
On,Off.
- routing
Control stringArn - ARN of the routing control.
- state string
- State of the routing control. Valid values:
On,Off.
- routing_
control_ strarn - ARN of the routing control.
- state str
- State of the routing control. Valid values:
On,Off.
- routing
Control StringArn - ARN of the routing control.
- state String
- State of the routing control. Valid values:
On,Off.
PlanWorkflowStepCustomActionLambdaConfig, PlanWorkflowStepCustomActionLambdaConfigArgs
- Region
To stringRun - Region where the Lambda function should run. Valid values:
activatingRegion,deactivatingRegion. - Retry
Interval doubleMinutes - Retry interval in minutes.
- Lambdas
List<Plan
Workflow Step Custom Action Lambda Config Lambda> - Lambda function configuration. See Lambda below.
- Timeout
Minutes int - Timeout in minutes.
- Ungracefuls
List<Plan
Workflow Step Custom Action Lambda Config Ungraceful> - Ungraceful behavior configuration. See Ungraceful below.
- Region
To stringRun - Region where the Lambda function should run. Valid values:
activatingRegion,deactivatingRegion. - Retry
Interval float64Minutes - Retry interval in minutes.
- Lambdas
[]Plan
Workflow Step Custom Action Lambda Config Lambda - Lambda function configuration. See Lambda below.
- Timeout
Minutes int - Timeout in minutes.
- Ungracefuls
[]Plan
Workflow Step Custom Action Lambda Config Ungraceful - Ungraceful behavior configuration. See Ungraceful below.
- region
To StringRun - Region where the Lambda function should run. Valid values:
activatingRegion,deactivatingRegion. - retry
Interval DoubleMinutes - Retry interval in minutes.
- lambdas
List<Plan
Workflow Step Custom Action Lambda Config Lambda> - Lambda function configuration. See Lambda below.
- timeout
Minutes Integer - Timeout in minutes.
- ungracefuls
List<Plan
Workflow Step Custom Action Lambda Config Ungraceful> - Ungraceful behavior configuration. See Ungraceful below.
- region
To stringRun - Region where the Lambda function should run. Valid values:
activatingRegion,deactivatingRegion. - retry
Interval numberMinutes - Retry interval in minutes.
- lambdas
Plan
Workflow Step Custom Action Lambda Config Lambda[] - Lambda function configuration. See Lambda below.
- timeout
Minutes number - Timeout in minutes.
- ungracefuls
Plan
Workflow Step Custom Action Lambda Config Ungraceful[] - Ungraceful behavior configuration. See Ungraceful below.
- region_
to_ strrun - Region where the Lambda function should run. Valid values:
activatingRegion,deactivatingRegion. - retry_
interval_ floatminutes - Retry interval in minutes.
- lambdas
Sequence[Plan
Workflow Step Custom Action Lambda Config Lambda] - Lambda function configuration. See Lambda below.
- timeout_
minutes int - Timeout in minutes.
- ungracefuls
Sequence[Plan
Workflow Step Custom Action Lambda Config Ungraceful] - Ungraceful behavior configuration. See Ungraceful below.
- region
To StringRun - Region where the Lambda function should run. Valid values:
activatingRegion,deactivatingRegion. - retry
Interval NumberMinutes - Retry interval in minutes.
- lambdas List<Property Map>
- Lambda function configuration. See Lambda below.
- timeout
Minutes Number - Timeout in minutes.
- ungracefuls List<Property Map>
- Ungraceful behavior configuration. See Ungraceful below.
PlanWorkflowStepCustomActionLambdaConfigLambda, PlanWorkflowStepCustomActionLambdaConfigLambdaArgs
- Arn string
- ARN of the Lambda function.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Arn string
- ARN of the Lambda function.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- arn String
- ARN of the Lambda function.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- arn string
- ARN of the Lambda function.
- cross
Account stringRole - ARN of the cross-account role to assume.
- external
Id string - External ID for cross-account role assumption.
- arn str
- ARN of the Lambda function.
- cross_
account_ strrole - ARN of the cross-account role to assume.
- external_
id str - External ID for cross-account role assumption.
- arn String
- ARN of the Lambda function.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
PlanWorkflowStepCustomActionLambdaConfigUngraceful, PlanWorkflowStepCustomActionLambdaConfigUngracefulArgs
- Behavior string
- Behavior when ungraceful. Valid values:
skip.
- Behavior string
- Behavior when ungraceful. Valid values:
skip.
- behavior String
- Behavior when ungraceful. Valid values:
skip.
- behavior string
- Behavior when ungraceful. Valid values:
skip.
- behavior str
- Behavior when ungraceful. Valid values:
skip.
- behavior String
- Behavior when ungraceful. Valid values:
skip.
PlanWorkflowStepDocumentDbConfig, PlanWorkflowStepDocumentDbConfigArgs
- Behavior string
- Database
Cluster List<string>Arns - Global
Cluster stringIdentifier - Cross
Account stringRole - External
Id string - Timeout
Minutes int - Ungracefuls
List<Plan
Workflow Step Document Db Config Ungraceful>
- Behavior string
- Database
Cluster []stringArns - Global
Cluster stringIdentifier - Cross
Account stringRole - External
Id string - Timeout
Minutes int - Ungracefuls
[]Plan
Workflow Step Document Db Config Ungraceful
- behavior String
- database
Cluster List<String>Arns - global
Cluster StringIdentifier - cross
Account StringRole - external
Id String - timeout
Minutes Integer - ungracefuls
List<Plan
Workflow Step Document Db Config Ungraceful>
- behavior string
- database
Cluster string[]Arns - global
Cluster stringIdentifier - cross
Account stringRole - external
Id string - timeout
Minutes number - ungracefuls
Plan
Workflow Step Document Db Config Ungraceful[]
- behavior String
- database
Cluster List<String>Arns - global
Cluster StringIdentifier - cross
Account StringRole - external
Id String - timeout
Minutes Number - ungracefuls List<Property Map>
PlanWorkflowStepDocumentDbConfigUngraceful, PlanWorkflowStepDocumentDbConfigUngracefulArgs
- Ungraceful string
- Ungraceful string
- ungraceful String
- ungraceful string
- ungraceful str
- ungraceful String
PlanWorkflowStepEc2AsgCapacityIncreaseConfig, PlanWorkflowStepEc2AsgCapacityIncreaseConfigArgs
- Capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - Asgs
List<Plan
Workflow Step Ec2Asg Capacity Increase Config Asg> - Auto Scaling group configuration. See ASG below.
- Target
Percent int - Target capacity percentage.
- Timeout
Minutes int - Timeout in minutes.
- Ungraceful
Plan
Workflow Step Ec2Asg Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful below.
- Capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - Asgs
[]Plan
Workflow Step Ec2Asg Capacity Increase Config Asg - Auto Scaling group configuration. See ASG below.
- Target
Percent int - Target capacity percentage.
- Timeout
Minutes int - Timeout in minutes.
- Ungraceful
Plan
Workflow Step Ec2Asg Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful below.
- capacity
Monitoring StringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - asgs
List<Plan
Workflow Step Ec2Asg Capacity Increase Config Asg> - Auto Scaling group configuration. See ASG below.
- target
Percent Integer - Target capacity percentage.
- timeout
Minutes Integer - Timeout in minutes.
- ungraceful
Plan
Workflow Step Ec2Asg Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful below.
- capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - asgs
Plan
Workflow Step Ec2Asg Capacity Increase Config Asg[] - Auto Scaling group configuration. See ASG below.
- target
Percent number - Target capacity percentage.
- timeout
Minutes number - Timeout in minutes.
- ungraceful
Plan
Workflow Step Ec2Asg Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful below.
- capacity_
monitoring_ strapproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - asgs
Sequence[Plan
Workflow Step Ec2Asg Capacity Increase Config Asg] - Auto Scaling group configuration. See ASG below.
- target_
percent int - Target capacity percentage.
- timeout_
minutes int - Timeout in minutes.
- ungraceful
Plan
Workflow Step Ec2Asg Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful below.
- capacity
Monitoring StringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - asgs List<Property Map>
- Auto Scaling group configuration. See ASG below.
- target
Percent Number - Target capacity percentage.
- timeout
Minutes Number - Timeout in minutes.
- ungraceful Property Map
- Ungraceful behavior configuration. See Ungraceful below.
PlanWorkflowStepEc2AsgCapacityIncreaseConfigAsg, PlanWorkflowStepEc2AsgCapacityIncreaseConfigAsgArgs
- Arn string
- ARN of the Auto Scaling group.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Arn string
- ARN of the Auto Scaling group.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- arn String
- ARN of the Auto Scaling group.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- arn string
- ARN of the Auto Scaling group.
- cross
Account stringRole - ARN of the cross-account role to assume.
- external
Id string - External ID for cross-account role assumption.
- arn str
- ARN of the Auto Scaling group.
- cross_
account_ strrole - ARN of the cross-account role to assume.
- external_
id str - External ID for cross-account role assumption.
- arn String
- ARN of the Auto Scaling group.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
PlanWorkflowStepEc2AsgCapacityIncreaseConfigUngraceful, PlanWorkflowStepEc2AsgCapacityIncreaseConfigUngracefulArgs
- Minimum
Success intPercentage - Minimum success percentage required.
- Minimum
Success intPercentage - Minimum success percentage required.
- minimum
Success IntegerPercentage - Minimum success percentage required.
- minimum
Success numberPercentage - Minimum success percentage required.
- minimum_
success_ intpercentage - Minimum success percentage required.
- minimum
Success NumberPercentage - Minimum success percentage required.
PlanWorkflowStepEcsCapacityIncreaseConfig, PlanWorkflowStepEcsCapacityIncreaseConfigArgs
- Capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,containerInsightsMaxInLast24Hours. - Services
List<Plan
Workflow Step Ecs Capacity Increase Config Service> - ECS service configuration. See ECS Service below.
- Target
Percent int - Target capacity percentage.
- Timeout
Minutes int - Timeout in minutes.
- Ungraceful
Plan
Workflow Step Ecs Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful Capacity below.
- Capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,containerInsightsMaxInLast24Hours. - Services
[]Plan
Workflow Step Ecs Capacity Increase Config Service - ECS service configuration. See ECS Service below.
- Target
Percent int - Target capacity percentage.
- Timeout
Minutes int - Timeout in minutes.
- Ungraceful
Plan
Workflow Step Ecs Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful Capacity below.
- capacity
Monitoring StringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,containerInsightsMaxInLast24Hours. - services
List<Plan
Workflow Step Ecs Capacity Increase Config Service> - ECS service configuration. See ECS Service below.
- target
Percent Integer - Target capacity percentage.
- timeout
Minutes Integer - Timeout in minutes.
- ungraceful
Plan
Workflow Step Ecs Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful Capacity below.
- capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,containerInsightsMaxInLast24Hours. - services
Plan
Workflow Step Ecs Capacity Increase Config Service[] - ECS service configuration. See ECS Service below.
- target
Percent number - Target capacity percentage.
- timeout
Minutes number - Timeout in minutes.
- ungraceful
Plan
Workflow Step Ecs Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful Capacity below.
- capacity_
monitoring_ strapproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,containerInsightsMaxInLast24Hours. - services
Sequence[Plan
Workflow Step Ecs Capacity Increase Config Service] - ECS service configuration. See ECS Service below.
- target_
percent int - Target capacity percentage.
- timeout_
minutes int - Timeout in minutes.
- ungraceful
Plan
Workflow Step Ecs Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful Capacity below.
- capacity
Monitoring StringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,containerInsightsMaxInLast24Hours. - services List<Property Map>
- ECS service configuration. See ECS Service below.
- target
Percent Number - Target capacity percentage.
- timeout
Minutes Number - Timeout in minutes.
- ungraceful Property Map
- Ungraceful behavior configuration. See Ungraceful Capacity below.
PlanWorkflowStepEcsCapacityIncreaseConfigService, PlanWorkflowStepEcsCapacityIncreaseConfigServiceArgs
- Cluster
Arn string - Service
Arn string - ARN of the ECS service.
- Cross
Account stringRole - External
Id string
- Cluster
Arn string - Service
Arn string - ARN of the ECS service.
- Cross
Account stringRole - External
Id string
- cluster
Arn String - service
Arn String - ARN of the ECS service.
- cross
Account StringRole - external
Id String
- cluster
Arn string - service
Arn string - ARN of the ECS service.
- cross
Account stringRole - external
Id string
- cluster_
arn str - service_
arn str - ARN of the ECS service.
- cross_
account_ strrole - external_
id str
- cluster
Arn String - service
Arn String - ARN of the ECS service.
- cross
Account StringRole - external
Id String
PlanWorkflowStepEcsCapacityIncreaseConfigUngraceful, PlanWorkflowStepEcsCapacityIncreaseConfigUngracefulArgs
- Minimum
Success intPercentage - Minimum success percentage required.
- Minimum
Success intPercentage - Minimum success percentage required.
- minimum
Success IntegerPercentage - Minimum success percentage required.
- minimum
Success numberPercentage - Minimum success percentage required.
- minimum_
success_ intpercentage - Minimum success percentage required.
- minimum
Success NumberPercentage - Minimum success percentage required.
PlanWorkflowStepEksResourceScalingConfig, PlanWorkflowStepEksResourceScalingConfigArgs
- Capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - Target
Percent int - Target capacity percentage.
- Eks
Clusters List<PlanWorkflow Step Eks Resource Scaling Config Eks Cluster> - List of EKS clusters. See EKS Clusters below.
- Kubernetes
Resource List<PlanTypes Workflow Step Eks Resource Scaling Config Kubernetes Resource Type> - Kubernetes resource type. See Kubernetes Resource Type below.
- Scaling
Resources List<PlanWorkflow Step Eks Resource Scaling Config Scaling Resource> - List of scaling resources. See Scaling Resources below.
- Timeout
Minutes int - Timeout in minutes.
- Ungracefuls
List<Plan
Workflow Step Eks Resource Scaling Config Ungraceful> - Ungraceful behavior configuration. See Ungraceful Capacity below.
- Capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - Target
Percent int - Target capacity percentage.
- Eks
Clusters []PlanWorkflow Step Eks Resource Scaling Config Eks Cluster - List of EKS clusters. See EKS Clusters below.
- Kubernetes
Resource []PlanTypes Workflow Step Eks Resource Scaling Config Kubernetes Resource Type - Kubernetes resource type. See Kubernetes Resource Type below.
- Scaling
Resources []PlanWorkflow Step Eks Resource Scaling Config Scaling Resource - List of scaling resources. See Scaling Resources below.
- Timeout
Minutes int - Timeout in minutes.
- Ungracefuls
[]Plan
Workflow Step Eks Resource Scaling Config Ungraceful - Ungraceful behavior configuration. See Ungraceful Capacity below.
- capacity
Monitoring StringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - target
Percent Integer - Target capacity percentage.
- eks
Clusters List<PlanWorkflow Step Eks Resource Scaling Config Eks Cluster> - List of EKS clusters. See EKS Clusters below.
- kubernetes
Resource List<PlanTypes Workflow Step Eks Resource Scaling Config Kubernetes Resource Type> - Kubernetes resource type. See Kubernetes Resource Type below.
- scaling
Resources List<PlanWorkflow Step Eks Resource Scaling Config Scaling Resource> - List of scaling resources. See Scaling Resources below.
- timeout
Minutes Integer - Timeout in minutes.
- ungracefuls
List<Plan
Workflow Step Eks Resource Scaling Config Ungraceful> - Ungraceful behavior configuration. See Ungraceful Capacity below.
- capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - target
Percent number - Target capacity percentage.
- eks
Clusters PlanWorkflow Step Eks Resource Scaling Config Eks Cluster[] - List of EKS clusters. See EKS Clusters below.
- kubernetes
Resource PlanTypes Workflow Step Eks Resource Scaling Config Kubernetes Resource Type[] - Kubernetes resource type. See Kubernetes Resource Type below.
- scaling
Resources PlanWorkflow Step Eks Resource Scaling Config Scaling Resource[] - List of scaling resources. See Scaling Resources below.
- timeout
Minutes number - Timeout in minutes.
- ungracefuls
Plan
Workflow Step Eks Resource Scaling Config Ungraceful[] - Ungraceful behavior configuration. See Ungraceful Capacity below.
- capacity_
monitoring_ strapproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - target_
percent int - Target capacity percentage.
- eks_
clusters Sequence[PlanWorkflow Step Eks Resource Scaling Config Eks Cluster] - List of EKS clusters. See EKS Clusters below.
- kubernetes_
resource_ Sequence[Plantypes Workflow Step Eks Resource Scaling Config Kubernetes Resource Type] - Kubernetes resource type. See Kubernetes Resource Type below.
- scaling_
resources Sequence[PlanWorkflow Step Eks Resource Scaling Config Scaling Resource] - List of scaling resources. See Scaling Resources below.
- timeout_
minutes int - Timeout in minutes.
- ungracefuls
Sequence[Plan
Workflow Step Eks Resource Scaling Config Ungraceful] - Ungraceful behavior configuration. See Ungraceful Capacity below.
- capacity
Monitoring StringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - target
Percent Number - Target capacity percentage.
- eks
Clusters List<Property Map> - List of EKS clusters. See EKS Clusters below.
- kubernetes
Resource List<Property Map>Types - Kubernetes resource type. See Kubernetes Resource Type below.
- scaling
Resources List<Property Map> - List of scaling resources. See Scaling Resources below.
- timeout
Minutes Number - Timeout in minutes.
- ungracefuls List<Property Map>
- Ungraceful behavior configuration. See Ungraceful Capacity below.
PlanWorkflowStepEksResourceScalingConfigEksCluster, PlanWorkflowStepEksResourceScalingConfigEksClusterArgs
- Cluster
Arn string - ARN of the EKS cluster.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Cluster
Arn string - ARN of the EKS cluster.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- cluster
Arn String - ARN of the EKS cluster.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- cluster
Arn string - ARN of the EKS cluster.
- cross
Account stringRole - ARN of the cross-account role to assume.
- external
Id string - External ID for cross-account role assumption.
- cluster_
arn str - ARN of the EKS cluster.
- cross_
account_ strrole - ARN of the cross-account role to assume.
- external_
id str - External ID for cross-account role assumption.
- cluster
Arn String - ARN of the EKS cluster.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
PlanWorkflowStepEksResourceScalingConfigKubernetesResourceType, PlanWorkflowStepEksResourceScalingConfigKubernetesResourceTypeArgs
- Api
Version string - Kubernetes API version.
- Kind string
- Kubernetes resource kind.
- Api
Version string - Kubernetes API version.
- Kind string
- Kubernetes resource kind.
- api
Version String - Kubernetes API version.
- kind String
- Kubernetes resource kind.
- api
Version string - Kubernetes API version.
- kind string
- Kubernetes resource kind.
- api_
version str - Kubernetes API version.
- kind str
- Kubernetes resource kind.
- api
Version String - Kubernetes API version.
- kind String
- Kubernetes resource kind.
PlanWorkflowStepEksResourceScalingConfigScalingResource, PlanWorkflowStepEksResourceScalingConfigScalingResourceArgs
- Namespace string
- Kubernetes namespace.
- Resources
List<Plan
Workflow Step Eks Resource Scaling Config Scaling Resource Resource> - Set of resources to scale. See Resources below.
- Namespace string
- Kubernetes namespace.
- Resources
[]Plan
Workflow Step Eks Resource Scaling Config Scaling Resource Resource - Set of resources to scale. See Resources below.
- namespace String
- Kubernetes namespace.
- resources
List<Plan
Workflow Step Eks Resource Scaling Config Scaling Resource Resource> - Set of resources to scale. See Resources below.
- namespace string
- Kubernetes namespace.
- resources
Plan
Workflow Step Eks Resource Scaling Config Scaling Resource Resource[] - Set of resources to scale. See Resources below.
- namespace str
- Kubernetes namespace.
- resources
Sequence[Plan
Workflow Step Eks Resource Scaling Config Scaling Resource Resource] - Set of resources to scale. See Resources below.
- namespace String
- Kubernetes namespace.
- resources List<Property Map>
- Set of resources to scale. See Resources below.
PlanWorkflowStepEksResourceScalingConfigScalingResourceResource, PlanWorkflowStepEksResourceScalingConfigScalingResourceResourceArgs
- Name string
- Name of the Kubernetes object.
- Namespace string
- Kubernetes namespace.
- Resource
Name string - Name of the resource.
- Hpa
Name string - Name of the Horizontal Pod Autoscaler.
- Name string
- Name of the Kubernetes object.
- Namespace string
- Kubernetes namespace.
- Resource
Name string - Name of the resource.
- Hpa
Name string - Name of the Horizontal Pod Autoscaler.
- name String
- Name of the Kubernetes object.
- namespace String
- Kubernetes namespace.
- resource
Name String - Name of the resource.
- hpa
Name String - Name of the Horizontal Pod Autoscaler.
- name string
- Name of the Kubernetes object.
- namespace string
- Kubernetes namespace.
- resource
Name string - Name of the resource.
- hpa
Name string - Name of the Horizontal Pod Autoscaler.
- name str
- Name of the Kubernetes object.
- namespace str
- Kubernetes namespace.
- resource_
name str - Name of the resource.
- hpa_
name str - Name of the Horizontal Pod Autoscaler.
- name String
- Name of the Kubernetes object.
- namespace String
- Kubernetes namespace.
- resource
Name String - Name of the resource.
- hpa
Name String - Name of the Horizontal Pod Autoscaler.
PlanWorkflowStepEksResourceScalingConfigUngraceful, PlanWorkflowStepEksResourceScalingConfigUngracefulArgs
- Minimum
Success intPercentage - Minimum success percentage required.
- Minimum
Success intPercentage - Minimum success percentage required.
- minimum
Success IntegerPercentage - Minimum success percentage required.
- minimum
Success numberPercentage - Minimum success percentage required.
- minimum_
success_ intpercentage - Minimum success percentage required.
- minimum
Success NumberPercentage - Minimum success percentage required.
PlanWorkflowStepExecutionApprovalConfig, PlanWorkflowStepExecutionApprovalConfigArgs
- Approval
Role string - ARN of the IAM role for approval.
- Timeout
Minutes int - Timeout in minutes for the approval.
- Approval
Role string - ARN of the IAM role for approval.
- Timeout
Minutes int - Timeout in minutes for the approval.
- approval
Role String - ARN of the IAM role for approval.
- timeout
Minutes Integer - Timeout in minutes for the approval.
- approval
Role string - ARN of the IAM role for approval.
- timeout
Minutes number - Timeout in minutes for the approval.
- approval_
role str - ARN of the IAM role for approval.
- timeout_
minutes int - Timeout in minutes for the approval.
- approval
Role String - ARN of the IAM role for approval.
- timeout
Minutes Number - Timeout in minutes for the approval.
PlanWorkflowStepGlobalAuroraConfig, PlanWorkflowStepGlobalAuroraConfigArgs
- Behavior string
- Behavior for Aurora operations. Valid values:
switchoverOnly,failover. - Database
Cluster List<string>Arns - List of database cluster ARNs.
- Global
Cluster stringIdentifier - Global cluster identifier.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Timeout
Minutes int - Timeout in minutes.
- Ungracefuls
List<Plan
Workflow Step Global Aurora Config Ungraceful> - Ungraceful behavior configuration. See Ungraceful Aurora below.
- Behavior string
- Behavior for Aurora operations. Valid values:
switchoverOnly,failover. - Database
Cluster []stringArns - List of database cluster ARNs.
- Global
Cluster stringIdentifier - Global cluster identifier.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Timeout
Minutes int - Timeout in minutes.
- Ungracefuls
[]Plan
Workflow Step Global Aurora Config Ungraceful - Ungraceful behavior configuration. See Ungraceful Aurora below.
- behavior String
- Behavior for Aurora operations. Valid values:
switchoverOnly,failover. - database
Cluster List<String>Arns - List of database cluster ARNs.
- global
Cluster StringIdentifier - Global cluster identifier.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- timeout
Minutes Integer - Timeout in minutes.
- ungracefuls
List<Plan
Workflow Step Global Aurora Config Ungraceful> - Ungraceful behavior configuration. See Ungraceful Aurora below.
- behavior string
- Behavior for Aurora operations. Valid values:
switchoverOnly,failover. - database
Cluster string[]Arns - List of database cluster ARNs.
- global
Cluster stringIdentifier - Global cluster identifier.
- cross
Account stringRole - ARN of the cross-account role to assume.
- external
Id string - External ID for cross-account role assumption.
- timeout
Minutes number - Timeout in minutes.
- ungracefuls
Plan
Workflow Step Global Aurora Config Ungraceful[] - Ungraceful behavior configuration. See Ungraceful Aurora below.
- behavior str
- Behavior for Aurora operations. Valid values:
switchoverOnly,failover. - database_
cluster_ Sequence[str]arns - List of database cluster ARNs.
- global_
cluster_ stridentifier - Global cluster identifier.
- cross_
account_ strrole - ARN of the cross-account role to assume.
- external_
id str - External ID for cross-account role assumption.
- timeout_
minutes int - Timeout in minutes.
- ungracefuls
Sequence[Plan
Workflow Step Global Aurora Config Ungraceful] - Ungraceful behavior configuration. See Ungraceful Aurora below.
- behavior String
- Behavior for Aurora operations. Valid values:
switchoverOnly,failover. - database
Cluster List<String>Arns - List of database cluster ARNs.
- global
Cluster StringIdentifier - Global cluster identifier.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- timeout
Minutes Number - Timeout in minutes.
- ungracefuls List<Property Map>
- Ungraceful behavior configuration. See Ungraceful Aurora below.
PlanWorkflowStepGlobalAuroraConfigUngraceful, PlanWorkflowStepGlobalAuroraConfigUngracefulArgs
- Ungraceful string
- Ungraceful string
- ungraceful String
- ungraceful string
- ungraceful str
- ungraceful String
PlanWorkflowStepParallelConfig, PlanWorkflowStepParallelConfigArgs
- Steps
List<Plan
Workflow Step Parallel Config Step> - List of steps to execute in parallel. Uses the same schema as Step but without
parallel_configto prevent infinite nesting.
- Steps
[]Plan
Workflow Step Parallel Config Step - List of steps to execute in parallel. Uses the same schema as Step but without
parallel_configto prevent infinite nesting.
- steps
List<Plan
Workflow Step Parallel Config Step> - List of steps to execute in parallel. Uses the same schema as Step but without
parallel_configto prevent infinite nesting.
- steps
Plan
Workflow Step Parallel Config Step[] - List of steps to execute in parallel. Uses the same schema as Step but without
parallel_configto prevent infinite nesting.
- steps
Sequence[Plan
Workflow Step Parallel Config Step] - List of steps to execute in parallel. Uses the same schema as Step but without
parallel_configto prevent infinite nesting.
- steps List<Property Map>
- List of steps to execute in parallel. Uses the same schema as Step but without
parallel_configto prevent infinite nesting.
PlanWorkflowStepParallelConfigStep, PlanWorkflowStepParallelConfigStepArgs
- Execution
Block stringType - Type of execution block. Valid values:
ARCRegionSwitchPlan,ARCRoutingControl,AuroraGlobalDatabase,CustomActionLambda,DocumentDb,EC2AutoScaling,ECSServiceScaling,EKSResourceScaling,ManualApproval,Parallel,Route53HealthCheck. - Name string
- Name of the step.
- Arc
Routing List<PlanControl Configs Workflow Step Parallel Config Step Arc Routing Control Config> - Configuration for ARC routing control. See ARC Routing Control Config below.
- Custom
Action List<PlanLambda Configs Workflow Step Parallel Config Step Custom Action Lambda Config> - Configuration for Lambda function execution. See Custom Action Lambda Config below.
- Description string
- Description of the step.
- Document
Db List<PlanConfigs Workflow Step Parallel Config Step Document Db Config> - Configuration for DocumentDB global cluster operations. See DocumentDB Config below.
- Ec2Asg
Capacity List<PlanIncrease Configs Workflow Step Parallel Config Step Ec2Asg Capacity Increase Config> - Configuration for EC2 Auto Scaling group capacity increase. See EC2 ASG Capacity Increase Config below.
- Ecs
Capacity List<PlanIncrease Configs Workflow Step Parallel Config Step Ecs Capacity Increase Config> - Configuration for ECS service capacity increase. See ECS Capacity Increase Config below.
- Eks
Resource List<PlanScaling Configs Workflow Step Parallel Config Step Eks Resource Scaling Config> - Configuration for EKS resource scaling. See EKS Resource Scaling Config below.
- Execution
Approval List<PlanConfigs Workflow Step Parallel Config Step Execution Approval Config> - Configuration for manual approval steps. See Execution Approval Config below.
- Global
Aurora List<PlanConfigs Workflow Step Parallel Config Step Global Aurora Config> - Configuration for Aurora Global Database operations. See Global Aurora Config below.
- Region
Switch List<PlanPlan Configs Workflow Step Parallel Config Step Region Switch Plan Config> - Route53Health
Check List<PlanConfigs Workflow Step Parallel Config Step Route53Health Check Config> - Configuration for Route53 health check operations. See Route53 Health Check Config below.
- Execution
Block stringType - Type of execution block. Valid values:
ARCRegionSwitchPlan,ARCRoutingControl,AuroraGlobalDatabase,CustomActionLambda,DocumentDb,EC2AutoScaling,ECSServiceScaling,EKSResourceScaling,ManualApproval,Parallel,Route53HealthCheck. - Name string
- Name of the step.
- Arc
Routing []PlanControl Configs Workflow Step Parallel Config Step Arc Routing Control Config - Configuration for ARC routing control. See ARC Routing Control Config below.
- Custom
Action []PlanLambda Configs Workflow Step Parallel Config Step Custom Action Lambda Config - Configuration for Lambda function execution. See Custom Action Lambda Config below.
- Description string
- Description of the step.
- Document
Db []PlanConfigs Workflow Step Parallel Config Step Document Db Config - Configuration for DocumentDB global cluster operations. See DocumentDB Config below.
- Ec2Asg
Capacity []PlanIncrease Configs Workflow Step Parallel Config Step Ec2Asg Capacity Increase Config - Configuration for EC2 Auto Scaling group capacity increase. See EC2 ASG Capacity Increase Config below.
- Ecs
Capacity []PlanIncrease Configs Workflow Step Parallel Config Step Ecs Capacity Increase Config - Configuration for ECS service capacity increase. See ECS Capacity Increase Config below.
- Eks
Resource []PlanScaling Configs Workflow Step Parallel Config Step Eks Resource Scaling Config - Configuration for EKS resource scaling. See EKS Resource Scaling Config below.
- Execution
Approval []PlanConfigs Workflow Step Parallel Config Step Execution Approval Config - Configuration for manual approval steps. See Execution Approval Config below.
- Global
Aurora []PlanConfigs Workflow Step Parallel Config Step Global Aurora Config - Configuration for Aurora Global Database operations. See Global Aurora Config below.
- Region
Switch []PlanPlan Configs Workflow Step Parallel Config Step Region Switch Plan Config - Route53Health
Check []PlanConfigs Workflow Step Parallel Config Step Route53Health Check Config - Configuration for Route53 health check operations. See Route53 Health Check Config below.
- execution
Block StringType - Type of execution block. Valid values:
ARCRegionSwitchPlan,ARCRoutingControl,AuroraGlobalDatabase,CustomActionLambda,DocumentDb,EC2AutoScaling,ECSServiceScaling,EKSResourceScaling,ManualApproval,Parallel,Route53HealthCheck. - name String
- Name of the step.
- arc
Routing List<PlanControl Configs Workflow Step Parallel Config Step Arc Routing Control Config> - Configuration for ARC routing control. See ARC Routing Control Config below.
- custom
Action List<PlanLambda Configs Workflow Step Parallel Config Step Custom Action Lambda Config> - Configuration for Lambda function execution. See Custom Action Lambda Config below.
- description String
- Description of the step.
- document
Db List<PlanConfigs Workflow Step Parallel Config Step Document Db Config> - Configuration for DocumentDB global cluster operations. See DocumentDB Config below.
- ec2Asg
Capacity List<PlanIncrease Configs Workflow Step Parallel Config Step Ec2Asg Capacity Increase Config> - Configuration for EC2 Auto Scaling group capacity increase. See EC2 ASG Capacity Increase Config below.
- ecs
Capacity List<PlanIncrease Configs Workflow Step Parallel Config Step Ecs Capacity Increase Config> - Configuration for ECS service capacity increase. See ECS Capacity Increase Config below.
- eks
Resource List<PlanScaling Configs Workflow Step Parallel Config Step Eks Resource Scaling Config> - Configuration for EKS resource scaling. See EKS Resource Scaling Config below.
- execution
Approval List<PlanConfigs Workflow Step Parallel Config Step Execution Approval Config> - Configuration for manual approval steps. See Execution Approval Config below.
- global
Aurora List<PlanConfigs Workflow Step Parallel Config Step Global Aurora Config> - Configuration for Aurora Global Database operations. See Global Aurora Config below.
- region
Switch List<PlanPlan Configs Workflow Step Parallel Config Step Region Switch Plan Config> - route53Health
Check List<PlanConfigs Workflow Step Parallel Config Step Route53Health Check Config> - Configuration for Route53 health check operations. See Route53 Health Check Config below.
- execution
Block stringType - Type of execution block. Valid values:
ARCRegionSwitchPlan,ARCRoutingControl,AuroraGlobalDatabase,CustomActionLambda,DocumentDb,EC2AutoScaling,ECSServiceScaling,EKSResourceScaling,ManualApproval,Parallel,Route53HealthCheck. - name string
- Name of the step.
- arc
Routing PlanControl Configs Workflow Step Parallel Config Step Arc Routing Control Config[] - Configuration for ARC routing control. See ARC Routing Control Config below.
- custom
Action PlanLambda Configs Workflow Step Parallel Config Step Custom Action Lambda Config[] - Configuration for Lambda function execution. See Custom Action Lambda Config below.
- description string
- Description of the step.
- document
Db PlanConfigs Workflow Step Parallel Config Step Document Db Config[] - Configuration for DocumentDB global cluster operations. See DocumentDB Config below.
- ec2Asg
Capacity PlanIncrease Configs Workflow Step Parallel Config Step Ec2Asg Capacity Increase Config[] - Configuration for EC2 Auto Scaling group capacity increase. See EC2 ASG Capacity Increase Config below.
- ecs
Capacity PlanIncrease Configs Workflow Step Parallel Config Step Ecs Capacity Increase Config[] - Configuration for ECS service capacity increase. See ECS Capacity Increase Config below.
- eks
Resource PlanScaling Configs Workflow Step Parallel Config Step Eks Resource Scaling Config[] - Configuration for EKS resource scaling. See EKS Resource Scaling Config below.
- execution
Approval PlanConfigs Workflow Step Parallel Config Step Execution Approval Config[] - Configuration for manual approval steps. See Execution Approval Config below.
- global
Aurora PlanConfigs Workflow Step Parallel Config Step Global Aurora Config[] - Configuration for Aurora Global Database operations. See Global Aurora Config below.
- region
Switch PlanPlan Configs Workflow Step Parallel Config Step Region Switch Plan Config[] - route53Health
Check PlanConfigs Workflow Step Parallel Config Step Route53Health Check Config[] - Configuration for Route53 health check operations. See Route53 Health Check Config below.
- execution_
block_ strtype - Type of execution block. Valid values:
ARCRegionSwitchPlan,ARCRoutingControl,AuroraGlobalDatabase,CustomActionLambda,DocumentDb,EC2AutoScaling,ECSServiceScaling,EKSResourceScaling,ManualApproval,Parallel,Route53HealthCheck. - name str
- Name of the step.
- arc_
routing_ Sequence[Plancontrol_ configs Workflow Step Parallel Config Step Arc Routing Control Config] - Configuration for ARC routing control. See ARC Routing Control Config below.
- custom_
action_ Sequence[Planlambda_ configs Workflow Step Parallel Config Step Custom Action Lambda Config] - Configuration for Lambda function execution. See Custom Action Lambda Config below.
- description str
- Description of the step.
- document_
db_ Sequence[Planconfigs Workflow Step Parallel Config Step Document Db Config] - Configuration for DocumentDB global cluster operations. See DocumentDB Config below.
- ec2_
asg_ Sequence[Plancapacity_ increase_ configs Workflow Step Parallel Config Step Ec2Asg Capacity Increase Config] - Configuration for EC2 Auto Scaling group capacity increase. See EC2 ASG Capacity Increase Config below.
- ecs_
capacity_ Sequence[Planincrease_ configs Workflow Step Parallel Config Step Ecs Capacity Increase Config] - Configuration for ECS service capacity increase. See ECS Capacity Increase Config below.
- eks_
resource_ Sequence[Planscaling_ configs Workflow Step Parallel Config Step Eks Resource Scaling Config] - Configuration for EKS resource scaling. See EKS Resource Scaling Config below.
- execution_
approval_ Sequence[Planconfigs Workflow Step Parallel Config Step Execution Approval Config] - Configuration for manual approval steps. See Execution Approval Config below.
- global_
aurora_ Sequence[Planconfigs Workflow Step Parallel Config Step Global Aurora Config] - Configuration for Aurora Global Database operations. See Global Aurora Config below.
- region_
switch_ Sequence[Planplan_ configs Workflow Step Parallel Config Step Region Switch Plan Config] - route53_
health_ Sequence[Plancheck_ configs Workflow Step Parallel Config Step Route53Health Check Config] - Configuration for Route53 health check operations. See Route53 Health Check Config below.
- execution
Block StringType - Type of execution block. Valid values:
ARCRegionSwitchPlan,ARCRoutingControl,AuroraGlobalDatabase,CustomActionLambda,DocumentDb,EC2AutoScaling,ECSServiceScaling,EKSResourceScaling,ManualApproval,Parallel,Route53HealthCheck. - name String
- Name of the step.
- arc
Routing List<Property Map>Control Configs - Configuration for ARC routing control. See ARC Routing Control Config below.
- custom
Action List<Property Map>Lambda Configs - Configuration for Lambda function execution. See Custom Action Lambda Config below.
- description String
- Description of the step.
- document
Db List<Property Map>Configs - Configuration for DocumentDB global cluster operations. See DocumentDB Config below.
- ec2Asg
Capacity List<Property Map>Increase Configs - Configuration for EC2 Auto Scaling group capacity increase. See EC2 ASG Capacity Increase Config below.
- ecs
Capacity List<Property Map>Increase Configs - Configuration for ECS service capacity increase. See ECS Capacity Increase Config below.
- eks
Resource List<Property Map>Scaling Configs - Configuration for EKS resource scaling. See EKS Resource Scaling Config below.
- execution
Approval List<Property Map>Configs - Configuration for manual approval steps. See Execution Approval Config below.
- global
Aurora List<Property Map>Configs - Configuration for Aurora Global Database operations. See Global Aurora Config below.
- region
Switch List<Property Map>Plan Configs - route53Health
Check List<Property Map>Configs - Configuration for Route53 health check operations. See Route53 Health Check Config below.
PlanWorkflowStepParallelConfigStepArcRoutingControlConfig, PlanWorkflowStepParallelConfigStepArcRoutingControlConfigArgs
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Region
And List<PlanRouting Controls Workflow Step Parallel Config Step Arc Routing Control Config Region And Routing Control> - List of regions and their routing controls. See Region and Routing Controls below.
- Timeout
Minutes int - Timeout in minutes.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Region
And []PlanRouting Controls Workflow Step Parallel Config Step Arc Routing Control Config Region And Routing Control - List of regions and their routing controls. See Region and Routing Controls below.
- Timeout
Minutes int - Timeout in minutes.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- region
And List<PlanRouting Controls Workflow Step Parallel Config Step Arc Routing Control Config Region And Routing Control> - List of regions and their routing controls. See Region and Routing Controls below.
- timeout
Minutes Integer - Timeout in minutes.
- cross
Account stringRole - ARN of the cross-account role to assume.
- external
Id string - External ID for cross-account role assumption.
- region
And PlanRouting Controls Workflow Step Parallel Config Step Arc Routing Control Config Region And Routing Control[] - List of regions and their routing controls. See Region and Routing Controls below.
- timeout
Minutes number - Timeout in minutes.
- cross_
account_ strrole - ARN of the cross-account role to assume.
- external_
id str - External ID for cross-account role assumption.
- region_
and_ Sequence[Planrouting_ controls Workflow Step Parallel Config Step Arc Routing Control Config Region And Routing Control] - List of regions and their routing controls. See Region and Routing Controls below.
- timeout_
minutes int - Timeout in minutes.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- region
And List<Property Map>Routing Controls - List of regions and their routing controls. See Region and Routing Controls below.
- timeout
Minutes Number - Timeout in minutes.
PlanWorkflowStepParallelConfigStepArcRoutingControlConfigRegionAndRoutingControl, PlanWorkflowStepParallelConfigStepArcRoutingControlConfigRegionAndRoutingControlArgs
- Region string
- AWS region.
- Routing
Controls List<PlanWorkflow Step Parallel Config Step Arc Routing Control Config Region And Routing Control Routing Control> - List of routing controls. See Routing Control below.
- Region string
- AWS region.
- Routing
Controls []PlanWorkflow Step Parallel Config Step Arc Routing Control Config Region And Routing Control Routing Control - List of routing controls. See Routing Control below.
- region String
- AWS region.
- routing
Controls List<PlanWorkflow Step Parallel Config Step Arc Routing Control Config Region And Routing Control Routing Control> - List of routing controls. See Routing Control below.
- region string
- AWS region.
- routing
Controls PlanWorkflow Step Parallel Config Step Arc Routing Control Config Region And Routing Control Routing Control[] - List of routing controls. See Routing Control below.
- region str
- AWS region.
- routing_
controls Sequence[PlanWorkflow Step Parallel Config Step Arc Routing Control Config Region And Routing Control Routing Control] - List of routing controls. See Routing Control below.
- region String
- AWS region.
- routing
Controls List<Property Map> - List of routing controls. See Routing Control below.
PlanWorkflowStepParallelConfigStepArcRoutingControlConfigRegionAndRoutingControlRoutingControl, PlanWorkflowStepParallelConfigStepArcRoutingControlConfigRegionAndRoutingControlRoutingControlArgs
- Routing
Control stringArn - ARN of the routing control.
- State string
- State of the routing control. Valid values:
On,Off.
- Routing
Control stringArn - ARN of the routing control.
- State string
- State of the routing control. Valid values:
On,Off.
- routing
Control StringArn - ARN of the routing control.
- state String
- State of the routing control. Valid values:
On,Off.
- routing
Control stringArn - ARN of the routing control.
- state string
- State of the routing control. Valid values:
On,Off.
- routing_
control_ strarn - ARN of the routing control.
- state str
- State of the routing control. Valid values:
On,Off.
- routing
Control StringArn - ARN of the routing control.
- state String
- State of the routing control. Valid values:
On,Off.
PlanWorkflowStepParallelConfigStepCustomActionLambdaConfig, PlanWorkflowStepParallelConfigStepCustomActionLambdaConfigArgs
- Region
To stringRun - Region where the Lambda function should run. Valid values:
activatingRegion,deactivatingRegion. - Retry
Interval doubleMinutes - Retry interval in minutes.
- Lambdas
List<Plan
Workflow Step Parallel Config Step Custom Action Lambda Config Lambda> - Lambda function configuration. See Lambda below.
- Timeout
Minutes int - Timeout in minutes.
- Ungracefuls
List<Plan
Workflow Step Parallel Config Step Custom Action Lambda Config Ungraceful> - Ungraceful behavior configuration. See Ungraceful below.
- Region
To stringRun - Region where the Lambda function should run. Valid values:
activatingRegion,deactivatingRegion. - Retry
Interval float64Minutes - Retry interval in minutes.
- Lambdas
[]Plan
Workflow Step Parallel Config Step Custom Action Lambda Config Lambda - Lambda function configuration. See Lambda below.
- Timeout
Minutes int - Timeout in minutes.
- Ungracefuls
[]Plan
Workflow Step Parallel Config Step Custom Action Lambda Config Ungraceful - Ungraceful behavior configuration. See Ungraceful below.
- region
To StringRun - Region where the Lambda function should run. Valid values:
activatingRegion,deactivatingRegion. - retry
Interval DoubleMinutes - Retry interval in minutes.
- lambdas
List<Plan
Workflow Step Parallel Config Step Custom Action Lambda Config Lambda> - Lambda function configuration. See Lambda below.
- timeout
Minutes Integer - Timeout in minutes.
- ungracefuls
List<Plan
Workflow Step Parallel Config Step Custom Action Lambda Config Ungraceful> - Ungraceful behavior configuration. See Ungraceful below.
- region
To stringRun - Region where the Lambda function should run. Valid values:
activatingRegion,deactivatingRegion. - retry
Interval numberMinutes - Retry interval in minutes.
- lambdas
Plan
Workflow Step Parallel Config Step Custom Action Lambda Config Lambda[] - Lambda function configuration. See Lambda below.
- timeout
Minutes number - Timeout in minutes.
- ungracefuls
Plan
Workflow Step Parallel Config Step Custom Action Lambda Config Ungraceful[] - Ungraceful behavior configuration. See Ungraceful below.
- region_
to_ strrun - Region where the Lambda function should run. Valid values:
activatingRegion,deactivatingRegion. - retry_
interval_ floatminutes - Retry interval in minutes.
- lambdas
Sequence[Plan
Workflow Step Parallel Config Step Custom Action Lambda Config Lambda] - Lambda function configuration. See Lambda below.
- timeout_
minutes int - Timeout in minutes.
- ungracefuls
Sequence[Plan
Workflow Step Parallel Config Step Custom Action Lambda Config Ungraceful] - Ungraceful behavior configuration. See Ungraceful below.
- region
To StringRun - Region where the Lambda function should run. Valid values:
activatingRegion,deactivatingRegion. - retry
Interval NumberMinutes - Retry interval in minutes.
- lambdas List<Property Map>
- Lambda function configuration. See Lambda below.
- timeout
Minutes Number - Timeout in minutes.
- ungracefuls List<Property Map>
- Ungraceful behavior configuration. See Ungraceful below.
PlanWorkflowStepParallelConfigStepCustomActionLambdaConfigLambda, PlanWorkflowStepParallelConfigStepCustomActionLambdaConfigLambdaArgs
- Arn string
- ARN of the Lambda function.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Arn string
- ARN of the Lambda function.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- arn String
- ARN of the Lambda function.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- arn string
- ARN of the Lambda function.
- cross
Account stringRole - ARN of the cross-account role to assume.
- external
Id string - External ID for cross-account role assumption.
- arn str
- ARN of the Lambda function.
- cross_
account_ strrole - ARN of the cross-account role to assume.
- external_
id str - External ID for cross-account role assumption.
- arn String
- ARN of the Lambda function.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
PlanWorkflowStepParallelConfigStepCustomActionLambdaConfigUngraceful, PlanWorkflowStepParallelConfigStepCustomActionLambdaConfigUngracefulArgs
- Behavior string
- Behavior when ungraceful. Valid values:
skip.
- Behavior string
- Behavior when ungraceful. Valid values:
skip.
- behavior String
- Behavior when ungraceful. Valid values:
skip.
- behavior string
- Behavior when ungraceful. Valid values:
skip.
- behavior str
- Behavior when ungraceful. Valid values:
skip.
- behavior String
- Behavior when ungraceful. Valid values:
skip.
PlanWorkflowStepParallelConfigStepDocumentDbConfig, PlanWorkflowStepParallelConfigStepDocumentDbConfigArgs
- Behavior string
- Database
Cluster List<string>Arns - Global
Cluster stringIdentifier - Cross
Account stringRole - External
Id string - Timeout
Minutes int - Ungracefuls
List<Plan
Workflow Step Parallel Config Step Document Db Config Ungraceful>
- Behavior string
- Database
Cluster []stringArns - Global
Cluster stringIdentifier - Cross
Account stringRole - External
Id string - Timeout
Minutes int - Ungracefuls
[]Plan
Workflow Step Parallel Config Step Document Db Config Ungraceful
- behavior String
- database
Cluster List<String>Arns - global
Cluster StringIdentifier - cross
Account StringRole - external
Id String - timeout
Minutes Integer - ungracefuls
List<Plan
Workflow Step Parallel Config Step Document Db Config Ungraceful>
- behavior string
- database
Cluster string[]Arns - global
Cluster stringIdentifier - cross
Account stringRole - external
Id string - timeout
Minutes number - ungracefuls
Plan
Workflow Step Parallel Config Step Document Db Config Ungraceful[]
- behavior String
- database
Cluster List<String>Arns - global
Cluster StringIdentifier - cross
Account StringRole - external
Id String - timeout
Minutes Number - ungracefuls List<Property Map>
PlanWorkflowStepParallelConfigStepDocumentDbConfigUngraceful, PlanWorkflowStepParallelConfigStepDocumentDbConfigUngracefulArgs
- Ungraceful string
- Ungraceful string
- ungraceful String
- ungraceful string
- ungraceful str
- ungraceful String
PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfig, PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigArgs
- Capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - Asgs
List<Plan
Workflow Step Parallel Config Step Ec2Asg Capacity Increase Config Asg> - Auto Scaling group configuration. See ASG below.
- Target
Percent int - Target capacity percentage.
- Timeout
Minutes int - Timeout in minutes.
- Ungraceful
Plan
Workflow Step Parallel Config Step Ec2Asg Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful below.
- Capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - Asgs
[]Plan
Workflow Step Parallel Config Step Ec2Asg Capacity Increase Config Asg - Auto Scaling group configuration. See ASG below.
- Target
Percent int - Target capacity percentage.
- Timeout
Minutes int - Timeout in minutes.
- Ungraceful
Plan
Workflow Step Parallel Config Step Ec2Asg Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful below.
- capacity
Monitoring StringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - asgs
List<Plan
Workflow Step Parallel Config Step Ec2Asg Capacity Increase Config Asg> - Auto Scaling group configuration. See ASG below.
- target
Percent Integer - Target capacity percentage.
- timeout
Minutes Integer - Timeout in minutes.
- ungraceful
Plan
Workflow Step Parallel Config Step Ec2Asg Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful below.
- capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - asgs
Plan
Workflow Step Parallel Config Step Ec2Asg Capacity Increase Config Asg[] - Auto Scaling group configuration. See ASG below.
- target
Percent number - Target capacity percentage.
- timeout
Minutes number - Timeout in minutes.
- ungraceful
Plan
Workflow Step Parallel Config Step Ec2Asg Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful below.
- capacity_
monitoring_ strapproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - asgs
Sequence[Plan
Workflow Step Parallel Config Step Ec2Asg Capacity Increase Config Asg] - Auto Scaling group configuration. See ASG below.
- target_
percent int - Target capacity percentage.
- timeout_
minutes int - Timeout in minutes.
- ungraceful
Plan
Workflow Step Parallel Config Step Ec2Asg Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful below.
- capacity
Monitoring StringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - asgs List<Property Map>
- Auto Scaling group configuration. See ASG below.
- target
Percent Number - Target capacity percentage.
- timeout
Minutes Number - Timeout in minutes.
- ungraceful Property Map
- Ungraceful behavior configuration. See Ungraceful below.
PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigAsg, PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigAsgArgs
- Arn string
- ARN of the Auto Scaling group.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Arn string
- ARN of the Auto Scaling group.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- arn String
- ARN of the Auto Scaling group.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- arn string
- ARN of the Auto Scaling group.
- cross
Account stringRole - ARN of the cross-account role to assume.
- external
Id string - External ID for cross-account role assumption.
- arn str
- ARN of the Auto Scaling group.
- cross_
account_ strrole - ARN of the cross-account role to assume.
- external_
id str - External ID for cross-account role assumption.
- arn String
- ARN of the Auto Scaling group.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigUngraceful, PlanWorkflowStepParallelConfigStepEc2AsgCapacityIncreaseConfigUngracefulArgs
- Minimum
Success intPercentage - Minimum success percentage required.
- Minimum
Success intPercentage - Minimum success percentage required.
- minimum
Success IntegerPercentage - Minimum success percentage required.
- minimum
Success numberPercentage - Minimum success percentage required.
- minimum_
success_ intpercentage - Minimum success percentage required.
- minimum
Success NumberPercentage - Minimum success percentage required.
PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfig, PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigArgs
- Capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,containerInsightsMaxInLast24Hours. - Services
List<Plan
Workflow Step Parallel Config Step Ecs Capacity Increase Config Service> - ECS service configuration. See ECS Service below.
- Target
Percent int - Target capacity percentage.
- Timeout
Minutes int - Timeout in minutes.
- Ungraceful
Plan
Workflow Step Parallel Config Step Ecs Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful Capacity below.
- Capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,containerInsightsMaxInLast24Hours. - Services
[]Plan
Workflow Step Parallel Config Step Ecs Capacity Increase Config Service - ECS service configuration. See ECS Service below.
- Target
Percent int - Target capacity percentage.
- Timeout
Minutes int - Timeout in minutes.
- Ungraceful
Plan
Workflow Step Parallel Config Step Ecs Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful Capacity below.
- capacity
Monitoring StringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,containerInsightsMaxInLast24Hours. - services
List<Plan
Workflow Step Parallel Config Step Ecs Capacity Increase Config Service> - ECS service configuration. See ECS Service below.
- target
Percent Integer - Target capacity percentage.
- timeout
Minutes Integer - Timeout in minutes.
- ungraceful
Plan
Workflow Step Parallel Config Step Ecs Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful Capacity below.
- capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,containerInsightsMaxInLast24Hours. - services
Plan
Workflow Step Parallel Config Step Ecs Capacity Increase Config Service[] - ECS service configuration. See ECS Service below.
- target
Percent number - Target capacity percentage.
- timeout
Minutes number - Timeout in minutes.
- ungraceful
Plan
Workflow Step Parallel Config Step Ecs Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful Capacity below.
- capacity_
monitoring_ strapproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,containerInsightsMaxInLast24Hours. - services
Sequence[Plan
Workflow Step Parallel Config Step Ecs Capacity Increase Config Service] - ECS service configuration. See ECS Service below.
- target_
percent int - Target capacity percentage.
- timeout_
minutes int - Timeout in minutes.
- ungraceful
Plan
Workflow Step Parallel Config Step Ecs Capacity Increase Config Ungraceful - Ungraceful behavior configuration. See Ungraceful Capacity below.
- capacity
Monitoring StringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,containerInsightsMaxInLast24Hours. - services List<Property Map>
- ECS service configuration. See ECS Service below.
- target
Percent Number - Target capacity percentage.
- timeout
Minutes Number - Timeout in minutes.
- ungraceful Property Map
- Ungraceful behavior configuration. See Ungraceful Capacity below.
PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigService, PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigServiceArgs
- Cluster
Arn string - Service
Arn string - ARN of the ECS service.
- Cross
Account stringRole - External
Id string
- Cluster
Arn string - Service
Arn string - ARN of the ECS service.
- Cross
Account stringRole - External
Id string
- cluster
Arn String - service
Arn String - ARN of the ECS service.
- cross
Account StringRole - external
Id String
- cluster
Arn string - service
Arn string - ARN of the ECS service.
- cross
Account stringRole - external
Id string
- cluster_
arn str - service_
arn str - ARN of the ECS service.
- cross_
account_ strrole - external_
id str
- cluster
Arn String - service
Arn String - ARN of the ECS service.
- cross
Account StringRole - external
Id String
PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigUngraceful, PlanWorkflowStepParallelConfigStepEcsCapacityIncreaseConfigUngracefulArgs
- Minimum
Success intPercentage - Minimum success percentage required.
- Minimum
Success intPercentage - Minimum success percentage required.
- minimum
Success IntegerPercentage - Minimum success percentage required.
- minimum
Success numberPercentage - Minimum success percentage required.
- minimum_
success_ intpercentage - Minimum success percentage required.
- minimum
Success NumberPercentage - Minimum success percentage required.
PlanWorkflowStepParallelConfigStepEksResourceScalingConfig, PlanWorkflowStepParallelConfigStepEksResourceScalingConfigArgs
- Capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - Target
Percent int - Target capacity percentage.
- Eks
Clusters List<PlanWorkflow Step Parallel Config Step Eks Resource Scaling Config Eks Cluster> - List of EKS clusters. See EKS Clusters below.
- Kubernetes
Resource List<PlanTypes Workflow Step Parallel Config Step Eks Resource Scaling Config Kubernetes Resource Type> - Kubernetes resource type. See Kubernetes Resource Type below.
- Scaling
Resources List<PlanWorkflow Step Parallel Config Step Eks Resource Scaling Config Scaling Resource> - List of scaling resources. See Scaling Resources below.
- Timeout
Minutes int - Timeout in minutes.
- Ungracefuls
List<Plan
Workflow Step Parallel Config Step Eks Resource Scaling Config Ungraceful> - Ungraceful behavior configuration. See Ungraceful Capacity below.
- Capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - Target
Percent int - Target capacity percentage.
- Eks
Clusters []PlanWorkflow Step Parallel Config Step Eks Resource Scaling Config Eks Cluster - List of EKS clusters. See EKS Clusters below.
- Kubernetes
Resource []PlanTypes Workflow Step Parallel Config Step Eks Resource Scaling Config Kubernetes Resource Type - Kubernetes resource type. See Kubernetes Resource Type below.
- Scaling
Resources []PlanWorkflow Step Parallel Config Step Eks Resource Scaling Config Scaling Resource - List of scaling resources. See Scaling Resources below.
- Timeout
Minutes int - Timeout in minutes.
- Ungracefuls
[]Plan
Workflow Step Parallel Config Step Eks Resource Scaling Config Ungraceful - Ungraceful behavior configuration. See Ungraceful Capacity below.
- capacity
Monitoring StringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - target
Percent Integer - Target capacity percentage.
- eks
Clusters List<PlanWorkflow Step Parallel Config Step Eks Resource Scaling Config Eks Cluster> - List of EKS clusters. See EKS Clusters below.
- kubernetes
Resource List<PlanTypes Workflow Step Parallel Config Step Eks Resource Scaling Config Kubernetes Resource Type> - Kubernetes resource type. See Kubernetes Resource Type below.
- scaling
Resources List<PlanWorkflow Step Parallel Config Step Eks Resource Scaling Config Scaling Resource> - List of scaling resources. See Scaling Resources below.
- timeout
Minutes Integer - Timeout in minutes.
- ungracefuls
List<Plan
Workflow Step Parallel Config Step Eks Resource Scaling Config Ungraceful> - Ungraceful behavior configuration. See Ungraceful Capacity below.
- capacity
Monitoring stringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - target
Percent number - Target capacity percentage.
- eks
Clusters PlanWorkflow Step Parallel Config Step Eks Resource Scaling Config Eks Cluster[] - List of EKS clusters. See EKS Clusters below.
- kubernetes
Resource PlanTypes Workflow Step Parallel Config Step Eks Resource Scaling Config Kubernetes Resource Type[] - Kubernetes resource type. See Kubernetes Resource Type below.
- scaling
Resources PlanWorkflow Step Parallel Config Step Eks Resource Scaling Config Scaling Resource[] - List of scaling resources. See Scaling Resources below.
- timeout
Minutes number - Timeout in minutes.
- ungracefuls
Plan
Workflow Step Parallel Config Step Eks Resource Scaling Config Ungraceful[] - Ungraceful behavior configuration. See Ungraceful Capacity below.
- capacity_
monitoring_ strapproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - target_
percent int - Target capacity percentage.
- eks_
clusters Sequence[PlanWorkflow Step Parallel Config Step Eks Resource Scaling Config Eks Cluster] - List of EKS clusters. See EKS Clusters below.
- kubernetes_
resource_ Sequence[Plantypes Workflow Step Parallel Config Step Eks Resource Scaling Config Kubernetes Resource Type] - Kubernetes resource type. See Kubernetes Resource Type below.
- scaling_
resources Sequence[PlanWorkflow Step Parallel Config Step Eks Resource Scaling Config Scaling Resource] - List of scaling resources. See Scaling Resources below.
- timeout_
minutes int - Timeout in minutes.
- ungracefuls
Sequence[Plan
Workflow Step Parallel Config Step Eks Resource Scaling Config Ungraceful] - Ungraceful behavior configuration. See Ungraceful Capacity below.
- capacity
Monitoring StringApproach - Capacity monitoring approach. Valid values:
sampledMaxInLast24Hours,autoscalingMaxInLast24Hours. - target
Percent Number - Target capacity percentage.
- eks
Clusters List<Property Map> - List of EKS clusters. See EKS Clusters below.
- kubernetes
Resource List<Property Map>Types - Kubernetes resource type. See Kubernetes Resource Type below.
- scaling
Resources List<Property Map> - List of scaling resources. See Scaling Resources below.
- timeout
Minutes Number - Timeout in minutes.
- ungracefuls List<Property Map>
- Ungraceful behavior configuration. See Ungraceful Capacity below.
PlanWorkflowStepParallelConfigStepEksResourceScalingConfigEksCluster, PlanWorkflowStepParallelConfigStepEksResourceScalingConfigEksClusterArgs
- Cluster
Arn string - ARN of the EKS cluster.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Cluster
Arn string - ARN of the EKS cluster.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- cluster
Arn String - ARN of the EKS cluster.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- cluster
Arn string - ARN of the EKS cluster.
- cross
Account stringRole - ARN of the cross-account role to assume.
- external
Id string - External ID for cross-account role assumption.
- cluster_
arn str - ARN of the EKS cluster.
- cross_
account_ strrole - ARN of the cross-account role to assume.
- external_
id str - External ID for cross-account role assumption.
- cluster
Arn String - ARN of the EKS cluster.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
PlanWorkflowStepParallelConfigStepEksResourceScalingConfigKubernetesResourceType, PlanWorkflowStepParallelConfigStepEksResourceScalingConfigKubernetesResourceTypeArgs
- Api
Version string - Kubernetes API version.
- Kind string
- Kubernetes resource kind.
- Api
Version string - Kubernetes API version.
- Kind string
- Kubernetes resource kind.
- api
Version String - Kubernetes API version.
- kind String
- Kubernetes resource kind.
- api
Version string - Kubernetes API version.
- kind string
- Kubernetes resource kind.
- api_
version str - Kubernetes API version.
- kind str
- Kubernetes resource kind.
- api
Version String - Kubernetes API version.
- kind String
- Kubernetes resource kind.
PlanWorkflowStepParallelConfigStepEksResourceScalingConfigScalingResource, PlanWorkflowStepParallelConfigStepEksResourceScalingConfigScalingResourceArgs
- Namespace string
- Kubernetes namespace.
- Resources
List<Plan
Workflow Step Parallel Config Step Eks Resource Scaling Config Scaling Resource Resource> - Set of resources to scale. See Resources below.
- Namespace string
- Kubernetes namespace.
- Resources
[]Plan
Workflow Step Parallel Config Step Eks Resource Scaling Config Scaling Resource Resource - Set of resources to scale. See Resources below.
- namespace String
- Kubernetes namespace.
- resources
List<Plan
Workflow Step Parallel Config Step Eks Resource Scaling Config Scaling Resource Resource> - Set of resources to scale. See Resources below.
- namespace string
- Kubernetes namespace.
- resources
Plan
Workflow Step Parallel Config Step Eks Resource Scaling Config Scaling Resource Resource[] - Set of resources to scale. See Resources below.
- namespace str
- Kubernetes namespace.
- resources
Sequence[Plan
Workflow Step Parallel Config Step Eks Resource Scaling Config Scaling Resource Resource] - Set of resources to scale. See Resources below.
- namespace String
- Kubernetes namespace.
- resources List<Property Map>
- Set of resources to scale. See Resources below.
PlanWorkflowStepParallelConfigStepEksResourceScalingConfigScalingResourceResource, PlanWorkflowStepParallelConfigStepEksResourceScalingConfigScalingResourceResourceArgs
- Name string
- Name of the Kubernetes object.
- Namespace string
- Kubernetes namespace.
- Resource
Name string - Name of the resource.
- Hpa
Name string - Name of the Horizontal Pod Autoscaler.
- Name string
- Name of the Kubernetes object.
- Namespace string
- Kubernetes namespace.
- Resource
Name string - Name of the resource.
- Hpa
Name string - Name of the Horizontal Pod Autoscaler.
- name String
- Name of the Kubernetes object.
- namespace String
- Kubernetes namespace.
- resource
Name String - Name of the resource.
- hpa
Name String - Name of the Horizontal Pod Autoscaler.
- name string
- Name of the Kubernetes object.
- namespace string
- Kubernetes namespace.
- resource
Name string - Name of the resource.
- hpa
Name string - Name of the Horizontal Pod Autoscaler.
- name str
- Name of the Kubernetes object.
- namespace str
- Kubernetes namespace.
- resource_
name str - Name of the resource.
- hpa_
name str - Name of the Horizontal Pod Autoscaler.
- name String
- Name of the Kubernetes object.
- namespace String
- Kubernetes namespace.
- resource
Name String - Name of the resource.
- hpa
Name String - Name of the Horizontal Pod Autoscaler.
PlanWorkflowStepParallelConfigStepEksResourceScalingConfigUngraceful, PlanWorkflowStepParallelConfigStepEksResourceScalingConfigUngracefulArgs
- Minimum
Success intPercentage - Minimum success percentage required.
- Minimum
Success intPercentage - Minimum success percentage required.
- minimum
Success IntegerPercentage - Minimum success percentage required.
- minimum
Success numberPercentage - Minimum success percentage required.
- minimum_
success_ intpercentage - Minimum success percentage required.
- minimum
Success NumberPercentage - Minimum success percentage required.
PlanWorkflowStepParallelConfigStepExecutionApprovalConfig, PlanWorkflowStepParallelConfigStepExecutionApprovalConfigArgs
- Approval
Role string - ARN of the IAM role for approval.
- Timeout
Minutes int - Timeout in minutes for the approval.
- Approval
Role string - ARN of the IAM role for approval.
- Timeout
Minutes int - Timeout in minutes for the approval.
- approval
Role String - ARN of the IAM role for approval.
- timeout
Minutes Integer - Timeout in minutes for the approval.
- approval
Role string - ARN of the IAM role for approval.
- timeout
Minutes number - Timeout in minutes for the approval.
- approval_
role str - ARN of the IAM role for approval.
- timeout_
minutes int - Timeout in minutes for the approval.
- approval
Role String - ARN of the IAM role for approval.
- timeout
Minutes Number - Timeout in minutes for the approval.
PlanWorkflowStepParallelConfigStepGlobalAuroraConfig, PlanWorkflowStepParallelConfigStepGlobalAuroraConfigArgs
- Behavior string
- Behavior for Aurora operations. Valid values:
switchoverOnly,failover. - Database
Cluster List<string>Arns - List of database cluster ARNs.
- Global
Cluster stringIdentifier - Global cluster identifier.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Timeout
Minutes int - Timeout in minutes.
- Ungracefuls
List<Plan
Workflow Step Parallel Config Step Global Aurora Config Ungraceful> - Ungraceful behavior configuration. See Ungraceful Aurora below.
- Behavior string
- Behavior for Aurora operations. Valid values:
switchoverOnly,failover. - Database
Cluster []stringArns - List of database cluster ARNs.
- Global
Cluster stringIdentifier - Global cluster identifier.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Timeout
Minutes int - Timeout in minutes.
- Ungracefuls
[]Plan
Workflow Step Parallel Config Step Global Aurora Config Ungraceful - Ungraceful behavior configuration. See Ungraceful Aurora below.
- behavior String
- Behavior for Aurora operations. Valid values:
switchoverOnly,failover. - database
Cluster List<String>Arns - List of database cluster ARNs.
- global
Cluster StringIdentifier - Global cluster identifier.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- timeout
Minutes Integer - Timeout in minutes.
- ungracefuls
List<Plan
Workflow Step Parallel Config Step Global Aurora Config Ungraceful> - Ungraceful behavior configuration. See Ungraceful Aurora below.
- behavior string
- Behavior for Aurora operations. Valid values:
switchoverOnly,failover. - database
Cluster string[]Arns - List of database cluster ARNs.
- global
Cluster stringIdentifier - Global cluster identifier.
- cross
Account stringRole - ARN of the cross-account role to assume.
- external
Id string - External ID for cross-account role assumption.
- timeout
Minutes number - Timeout in minutes.
- ungracefuls
Plan
Workflow Step Parallel Config Step Global Aurora Config Ungraceful[] - Ungraceful behavior configuration. See Ungraceful Aurora below.
- behavior str
- Behavior for Aurora operations. Valid values:
switchoverOnly,failover. - database_
cluster_ Sequence[str]arns - List of database cluster ARNs.
- global_
cluster_ stridentifier - Global cluster identifier.
- cross_
account_ strrole - ARN of the cross-account role to assume.
- external_
id str - External ID for cross-account role assumption.
- timeout_
minutes int - Timeout in minutes.
- ungracefuls
Sequence[Plan
Workflow Step Parallel Config Step Global Aurora Config Ungraceful] - Ungraceful behavior configuration. See Ungraceful Aurora below.
- behavior String
- Behavior for Aurora operations. Valid values:
switchoverOnly,failover. - database
Cluster List<String>Arns - List of database cluster ARNs.
- global
Cluster StringIdentifier - Global cluster identifier.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- timeout
Minutes Number - Timeout in minutes.
- ungracefuls List<Property Map>
- Ungraceful behavior configuration. See Ungraceful Aurora below.
PlanWorkflowStepParallelConfigStepGlobalAuroraConfigUngraceful, PlanWorkflowStepParallelConfigStepGlobalAuroraConfigUngracefulArgs
- Ungraceful string
- Ungraceful string
- ungraceful String
- ungraceful string
- ungraceful str
- ungraceful String
PlanWorkflowStepParallelConfigStepRegionSwitchPlanConfig, PlanWorkflowStepParallelConfigStepRegionSwitchPlanConfigArgs
- Arn string
- ARN of the nested region switch plan.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Arn string
- ARN of the nested region switch plan.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- arn String
- ARN of the nested region switch plan.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- arn string
- ARN of the nested region switch plan.
- cross
Account stringRole - ARN of the cross-account role to assume.
- external
Id string - External ID for cross-account role assumption.
- arn str
- ARN of the nested region switch plan.
- cross_
account_ strrole - ARN of the cross-account role to assume.
- external_
id str - External ID for cross-account role assumption.
- arn String
- ARN of the nested region switch plan.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
PlanWorkflowStepParallelConfigStepRoute53HealthCheckConfig, PlanWorkflowStepParallelConfigStepRoute53HealthCheckConfigArgs
- Hosted
Zone stringId - Route53 hosted zone ID.
- Record
Name string - DNS record name.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Record
Sets List<PlanWorkflow Step Parallel Config Step Route53Health Check Config Record Set> - Configuration block for record sets. See Record Set below.
- Timeout
Minutes int - Timeout in minutes.
- Hosted
Zone stringId - Route53 hosted zone ID.
- Record
Name string - DNS record name.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Record
Sets []PlanWorkflow Step Parallel Config Step Route53Health Check Config Record Set - Configuration block for record sets. See Record Set below.
- Timeout
Minutes int - Timeout in minutes.
- hosted
Zone StringId - Route53 hosted zone ID.
- record
Name String - DNS record name.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- record
Sets List<PlanWorkflow Step Parallel Config Step Route53Health Check Config Record Set> - Configuration block for record sets. See Record Set below.
- timeout
Minutes Integer - Timeout in minutes.
- hosted
Zone stringId - Route53 hosted zone ID.
- record
Name string - DNS record name.
- cross
Account stringRole - ARN of the cross-account role to assume.
- external
Id string - External ID for cross-account role assumption.
- record
Sets PlanWorkflow Step Parallel Config Step Route53Health Check Config Record Set[] - Configuration block for record sets. See Record Set below.
- timeout
Minutes number - Timeout in minutes.
- hosted_
zone_ strid - Route53 hosted zone ID.
- record_
name str - DNS record name.
- cross_
account_ strrole - ARN of the cross-account role to assume.
- external_
id str - External ID for cross-account role assumption.
- record_
sets Sequence[PlanWorkflow Step Parallel Config Step Route53Health Check Config Record Set] - Configuration block for record sets. See Record Set below.
- timeout_
minutes int - Timeout in minutes.
- hosted
Zone StringId - Route53 hosted zone ID.
- record
Name String - DNS record name.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- record
Sets List<Property Map> - Configuration block for record sets. See Record Set below.
- timeout
Minutes Number - Timeout in minutes.
PlanWorkflowStepParallelConfigStepRoute53HealthCheckConfigRecordSet, PlanWorkflowStepParallelConfigStepRoute53HealthCheckConfigRecordSetArgs
- Record
Set stringIdentifier - Record set identifier.
- Region string
- AWS region.
- Record
Set stringIdentifier - Record set identifier.
- Region string
- AWS region.
- record
Set StringIdentifier - Record set identifier.
- region String
- AWS region.
- record
Set stringIdentifier - Record set identifier.
- region string
- AWS region.
- record_
set_ stridentifier - Record set identifier.
- region str
- AWS region.
- record
Set StringIdentifier - Record set identifier.
- region String
- AWS region.
PlanWorkflowStepRegionSwitchPlanConfig, PlanWorkflowStepRegionSwitchPlanConfigArgs
- Arn string
- ARN of the nested region switch plan.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Arn string
- ARN of the nested region switch plan.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- arn String
- ARN of the nested region switch plan.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- arn string
- ARN of the nested region switch plan.
- cross
Account stringRole - ARN of the cross-account role to assume.
- external
Id string - External ID for cross-account role assumption.
- arn str
- ARN of the nested region switch plan.
- cross_
account_ strrole - ARN of the cross-account role to assume.
- external_
id str - External ID for cross-account role assumption.
- arn String
- ARN of the nested region switch plan.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
PlanWorkflowStepRoute53HealthCheckConfig, PlanWorkflowStepRoute53HealthCheckConfigArgs
- Hosted
Zone stringId - Route53 hosted zone ID.
- Record
Name string - DNS record name.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Record
Sets List<PlanWorkflow Step Route53Health Check Config Record Set> - Configuration block for record sets. See Record Set below.
- Timeout
Minutes int - Timeout in minutes.
- Hosted
Zone stringId - Route53 hosted zone ID.
- Record
Name string - DNS record name.
- Cross
Account stringRole - ARN of the cross-account role to assume.
- External
Id string - External ID for cross-account role assumption.
- Record
Sets []PlanWorkflow Step Route53Health Check Config Record Set - Configuration block for record sets. See Record Set below.
- Timeout
Minutes int - Timeout in minutes.
- hosted
Zone StringId - Route53 hosted zone ID.
- record
Name String - DNS record name.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- record
Sets List<PlanWorkflow Step Route53Health Check Config Record Set> - Configuration block for record sets. See Record Set below.
- timeout
Minutes Integer - Timeout in minutes.
- hosted
Zone stringId - Route53 hosted zone ID.
- record
Name string - DNS record name.
- cross
Account stringRole - ARN of the cross-account role to assume.
- external
Id string - External ID for cross-account role assumption.
- record
Sets PlanWorkflow Step Route53Health Check Config Record Set[] - Configuration block for record sets. See Record Set below.
- timeout
Minutes number - Timeout in minutes.
- hosted_
zone_ strid - Route53 hosted zone ID.
- record_
name str - DNS record name.
- cross_
account_ strrole - ARN of the cross-account role to assume.
- external_
id str - External ID for cross-account role assumption.
- record_
sets Sequence[PlanWorkflow Step Route53Health Check Config Record Set] - Configuration block for record sets. See Record Set below.
- timeout_
minutes int - Timeout in minutes.
- hosted
Zone StringId - Route53 hosted zone ID.
- record
Name String - DNS record name.
- cross
Account StringRole - ARN of the cross-account role to assume.
- external
Id String - External ID for cross-account role assumption.
- record
Sets List<Property Map> - Configuration block for record sets. See Record Set below.
- timeout
Minutes Number - Timeout in minutes.
PlanWorkflowStepRoute53HealthCheckConfigRecordSet, PlanWorkflowStepRoute53HealthCheckConfigRecordSetArgs
- Record
Set stringIdentifier - Record set identifier.
- Region string
- AWS region.
- Record
Set stringIdentifier - Record set identifier.
- Region string
- AWS region.
- record
Set StringIdentifier - Record set identifier.
- region String
- AWS region.
- record
Set stringIdentifier - Record set identifier.
- region string
- AWS region.
- record_
set_ stridentifier - Record set identifier.
- region str
- AWS region.
- record
Set StringIdentifier - Record set identifier.
- region String
- AWS region.
Import
Using pulumi import, import Application Recovery Controller Region Switch Plan using the arn. For example:
$ pulumi import aws:arcregionswitch/plan:Plan example arn:aws:arcregionswitch:us-east-1:123456789012:plan/example-plan
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
