1. Packages
  2. AWS
  3. API Docs
  4. ssmincidents
  5. getReplicationSet
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

aws.ssmincidents.getReplicationSet

Explore with Pulumi AI

NOTE: The AWS Region specified by a provider must always be one of the Regions specified for the replication set.

Use this data source to manage a replication set in AWS Systems Manager Incident Manager.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = aws.ssmincidents.getReplicationSet({});
Copy
import pulumi
import pulumi_aws as aws

example = aws.ssmincidents.get_replication_set()
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ssmincidents"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssmincidents.LookupReplicationSet(ctx, &ssmincidents.LookupReplicationSetArgs{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = Aws.SsmIncidents.GetReplicationSet.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ssmincidents.SsmincidentsFunctions;
import com.pulumi.aws.ssmincidents.inputs.GetReplicationSetArgs;
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) {
        final var example = SsmincidentsFunctions.getReplicationSet(GetReplicationSetArgs.builder()
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: aws:ssmincidents:getReplicationSet
      arguments: {}
Copy

Using getReplicationSet

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getReplicationSet(args: GetReplicationSetArgs, opts?: InvokeOptions): Promise<GetReplicationSetResult>
function getReplicationSetOutput(args: GetReplicationSetOutputArgs, opts?: InvokeOptions): Output<GetReplicationSetResult>
Copy
def get_replication_set(tags: Optional[Mapping[str, str]] = None,
                        opts: Optional[InvokeOptions] = None) -> GetReplicationSetResult
def get_replication_set_output(tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetReplicationSetResult]
Copy
func LookupReplicationSet(ctx *Context, args *LookupReplicationSetArgs, opts ...InvokeOption) (*LookupReplicationSetResult, error)
func LookupReplicationSetOutput(ctx *Context, args *LookupReplicationSetOutputArgs, opts ...InvokeOption) LookupReplicationSetResultOutput
Copy

> Note: This function is named LookupReplicationSet in the Go SDK.

public static class GetReplicationSet 
{
    public static Task<GetReplicationSetResult> InvokeAsync(GetReplicationSetArgs args, InvokeOptions? opts = null)
    public static Output<GetReplicationSetResult> Invoke(GetReplicationSetInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetReplicationSetResult> getReplicationSet(GetReplicationSetArgs args, InvokeOptions options)
public static Output<GetReplicationSetResult> getReplicationSet(GetReplicationSetArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws:ssmincidents/getReplicationSet:getReplicationSet
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Tags Dictionary<string, string>
All tags applied to the replication set.
Tags map[string]string
All tags applied to the replication set.
tags Map<String,String>
All tags applied to the replication set.
tags {[key: string]: string}
All tags applied to the replication set.
tags Mapping[str, str]
All tags applied to the replication set.
tags Map<String>
All tags applied to the replication set.

getReplicationSet Result

The following output properties are available:

Arn string
The Amazon Resource Name (ARN) of the replication set.
CreatedBy string
The ARN of the user who created the replication set.
DeletionProtected bool
If true, the last remaining Region in a replication set can’t be deleted.
Id string
The provider-assigned unique ID for this managed resource.
LastModifiedBy string
The ARN of the user who last modified the replication set.
Regions List<GetReplicationSetRegion>
Status string
The current status of the Region.

  • Valid Values: ACTIVE | CREATING | UPDATING | DELETING | FAILED
Tags Dictionary<string, string>
All tags applied to the replication set.
Arn string
The Amazon Resource Name (ARN) of the replication set.
CreatedBy string
The ARN of the user who created the replication set.
DeletionProtected bool
If true, the last remaining Region in a replication set can’t be deleted.
Id string
The provider-assigned unique ID for this managed resource.
LastModifiedBy string
The ARN of the user who last modified the replication set.
Regions []GetReplicationSetRegion
Status string
The current status of the Region.

  • Valid Values: ACTIVE | CREATING | UPDATING | DELETING | FAILED
Tags map[string]string
All tags applied to the replication set.
arn String
The Amazon Resource Name (ARN) of the replication set.
createdBy String
The ARN of the user who created the replication set.
deletionProtected Boolean
If true, the last remaining Region in a replication set can’t be deleted.
id String
The provider-assigned unique ID for this managed resource.
lastModifiedBy String
The ARN of the user who last modified the replication set.
regions List<GetReplicationSetRegion>
status String
The current status of the Region.

  • Valid Values: ACTIVE | CREATING | UPDATING | DELETING | FAILED
tags Map<String,String>
All tags applied to the replication set.
arn string
The Amazon Resource Name (ARN) of the replication set.
createdBy string
The ARN of the user who created the replication set.
deletionProtected boolean
If true, the last remaining Region in a replication set can’t be deleted.
id string
The provider-assigned unique ID for this managed resource.
lastModifiedBy string
The ARN of the user who last modified the replication set.
regions GetReplicationSetRegion[]
status string
The current status of the Region.

  • Valid Values: ACTIVE | CREATING | UPDATING | DELETING | FAILED
tags {[key: string]: string}
All tags applied to the replication set.
arn str
The Amazon Resource Name (ARN) of the replication set.
created_by str
The ARN of the user who created the replication set.
deletion_protected bool
If true, the last remaining Region in a replication set can’t be deleted.
id str
The provider-assigned unique ID for this managed resource.
last_modified_by str
The ARN of the user who last modified the replication set.
regions Sequence[GetReplicationSetRegion]
status str
The current status of the Region.

  • Valid Values: ACTIVE | CREATING | UPDATING | DELETING | FAILED
tags Mapping[str, str]
All tags applied to the replication set.
arn String
The Amazon Resource Name (ARN) of the replication set.
createdBy String
The ARN of the user who created the replication set.
deletionProtected Boolean
If true, the last remaining Region in a replication set can’t be deleted.
id String
The provider-assigned unique ID for this managed resource.
lastModifiedBy String
The ARN of the user who last modified the replication set.
regions List<Property Map>
status String
The current status of the Region.

  • Valid Values: ACTIVE | CREATING | UPDATING | DELETING | FAILED
tags Map<String>
All tags applied to the replication set.

Supporting Types

GetReplicationSetRegion

KmsKeyArn This property is required. string
The ARN of the AWS Key Management Service (AWS KMS) encryption key.
Name This property is required. string
The name of the Region.
Status This property is required. string
The current status of the Region.

  • Valid Values: ACTIVE | CREATING | UPDATING | DELETING | FAILED
StatusMessage This property is required. string
More information about the status of a Region.
KmsKeyArn This property is required. string
The ARN of the AWS Key Management Service (AWS KMS) encryption key.
Name This property is required. string
The name of the Region.
Status This property is required. string
The current status of the Region.

  • Valid Values: ACTIVE | CREATING | UPDATING | DELETING | FAILED
StatusMessage This property is required. string
More information about the status of a Region.
kmsKeyArn This property is required. String
The ARN of the AWS Key Management Service (AWS KMS) encryption key.
name This property is required. String
The name of the Region.
status This property is required. String
The current status of the Region.

  • Valid Values: ACTIVE | CREATING | UPDATING | DELETING | FAILED
statusMessage This property is required. String
More information about the status of a Region.
kmsKeyArn This property is required. string
The ARN of the AWS Key Management Service (AWS KMS) encryption key.
name This property is required. string
The name of the Region.
status This property is required. string
The current status of the Region.

  • Valid Values: ACTIVE | CREATING | UPDATING | DELETING | FAILED
statusMessage This property is required. string
More information about the status of a Region.
kms_key_arn This property is required. str
The ARN of the AWS Key Management Service (AWS KMS) encryption key.
name This property is required. str
The name of the Region.
status This property is required. str
The current status of the Region.

  • Valid Values: ACTIVE | CREATING | UPDATING | DELETING | FAILED
status_message This property is required. str
More information about the status of a Region.
kmsKeyArn This property is required. String
The ARN of the AWS Key Management Service (AWS KMS) encryption key.
name This property is required. String
The name of the Region.
status This property is required. String
The current status of the Region.

  • Valid Values: ACTIVE | CREATING | UPDATING | DELETING | FAILED
statusMessage This property is required. String
More information about the status of a Region.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.