AWS v6.71.0 published on Friday, Mar 7, 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({});
import pulumi
import pulumi_aws as aws
example = aws.ssmincidents.get_replication_set()
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
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = Aws.SsmIncidents.GetReplicationSet.Invoke();
});
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();
    }
}
variables:
  example:
    fn::invoke:
      function: aws:ssmincidents:getReplicationSet
      arguments: {}
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>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]func LookupReplicationSet(ctx *Context, args *LookupReplicationSetArgs, opts ...InvokeOption) (*LookupReplicationSetResult, error)
func LookupReplicationSetOutput(ctx *Context, args *LookupReplicationSetOutputArgs, opts ...InvokeOption) LookupReplicationSetResultOutput> 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)
}public static CompletableFuture<GetReplicationSetResult> getReplicationSet(GetReplicationSetArgs args, InvokeOptions options)
public static Output<GetReplicationSetResult> getReplicationSet(GetReplicationSetArgs args, InvokeOptions options)
fn::invoke:
  function: aws:ssmincidents/getReplicationSet:getReplicationSet
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Dictionary<string, string>
- All tags applied to the replication set.
- map[string]string
- All tags applied to the replication set.
- Map<String,String>
- All tags applied to the replication set.
- {[key: string]: string}
- All tags applied to the replication set.
- Mapping[str, str]
- All tags applied to the replication set.
- 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.
- LastModified stringBy 
- The ARN of the user who last modified the replication set.
- Regions
List<GetReplication Set Region> 
- Status string
- The current status of the Region.- Valid Values: ACTIVE|CREATING|UPDATING|DELETING|FAILED
 
- Valid Values: 
- 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.
- LastModified stringBy 
- The ARN of the user who last modified the replication set.
- Regions
[]GetReplication Set Region 
- Status string
- The current status of the Region.- Valid Values: ACTIVE|CREATING|UPDATING|DELETING|FAILED
 
- Valid Values: 
- 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.
- lastModified StringBy 
- The ARN of the user who last modified the replication set.
- regions
List<GetReplication Set Region> 
- status String
- The current status of the Region.- Valid Values: ACTIVE|CREATING|UPDATING|DELETING|FAILED
 
- Valid Values: 
- 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.
- lastModified stringBy 
- The ARN of the user who last modified the replication set.
- regions
GetReplication Set Region[] 
- status string
- The current status of the Region.- Valid Values: ACTIVE|CREATING|UPDATING|DELETING|FAILED
 
- Valid Values: 
- {[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_ strby 
- The ARN of the user who last modified the replication set.
- regions
Sequence[GetReplication Set Region] 
- status str
- The current status of the Region.- Valid Values: ACTIVE|CREATING|UPDATING|DELETING|FAILED
 
- Valid Values: 
- 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.
- lastModified StringBy 
- 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
 
- Valid Values: 
- Map<String>
- All tags applied to the replication set.
Supporting Types
GetReplicationSetRegion   
- KmsKey stringArn 
- The ARN of the AWS Key Management Service (AWS KMS) encryption key.
- Name string
- The name of the Region.
- Status string
- The current status of the Region.- Valid Values: ACTIVE|CREATING|UPDATING|DELETING|FAILED
 
- Valid Values: 
- StatusMessage string
- More information about the status of a Region.
- KmsKey stringArn 
- The ARN of the AWS Key Management Service (AWS KMS) encryption key.
- Name string
- The name of the Region.
- Status string
- The current status of the Region.- Valid Values: ACTIVE|CREATING|UPDATING|DELETING|FAILED
 
- Valid Values: 
- StatusMessage string
- More information about the status of a Region.
- kmsKey StringArn 
- The ARN of the AWS Key Management Service (AWS KMS) encryption key.
- name String
- The name of the Region.
- status String
- The current status of the Region.- Valid Values: ACTIVE|CREATING|UPDATING|DELETING|FAILED
 
- Valid Values: 
- statusMessage String
- More information about the status of a Region.
- kmsKey stringArn 
- The ARN of the AWS Key Management Service (AWS KMS) encryption key.
- name string
- The name of the Region.
- status string
- The current status of the Region.- Valid Values: ACTIVE|CREATING|UPDATING|DELETING|FAILED
 
- Valid Values: 
- statusMessage string
- More information about the status of a Region.
- kms_key_ strarn 
- The ARN of the AWS Key Management Service (AWS KMS) encryption key.
- name str
- The name of the Region.
- status str
- The current status of the Region.- Valid Values: ACTIVE|CREATING|UPDATING|DELETING|FAILED
 
- Valid Values: 
- status_message str
- More information about the status of a Region.
- kmsKey StringArn 
- The ARN of the AWS Key Management Service (AWS KMS) encryption key.
- name String
- The name of the Region.
- status String
- The current status of the Region.- Valid Values: ACTIVE|CREATING|UPDATING|DELETING|FAILED
 
- Valid Values: 
- statusMessage 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 awsTerraform Provider.