Try AWS Native preview for resources not in the classic version.
aws.ssmincidents.getReplicationSet
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
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, nil, 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)
// Output-based functions aren't available in Java yet
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 Resouce Name (ARN) of the replication set.
 - Created
By string - 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 string
 - The provider-assigned unique ID for this managed resource.
 - Last
Modified stringBy  - The ARN of the user who last modified the replication set.
 - Regions
List<Get
Replication 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 Resouce Name (ARN) of the replication set.
 - Created
By string - 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 string
 - The provider-assigned unique ID for this managed resource.
 - Last
Modified stringBy  - The ARN of the user who last modified the replication set.
 - Regions
[]Get
Replication 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 Resouce Name (ARN) of the replication set.
 - created
By String - The ARN of the user who created the replication set.
 - deletion
Protected 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.
 - last
Modified StringBy  - The ARN of the user who last modified the replication set.
 - regions
List<Get
Replication 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 Resouce Name (ARN) of the replication set.
 - created
By string - The ARN of the user who created the replication set.
 - deletion
Protected 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.
 - last
Modified stringBy  - The ARN of the user who last modified the replication set.
 - regions
Get
Replication 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 Resouce 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[Get
Replication 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 Resouce Name (ARN) of the replication set.
 - created
By String - The ARN of the user who created the replication set.
 - deletion
Protected 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.
 - last
Modified 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   
- Kms
Key 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: 
 - Status
Message string - More information about the status of a Region.
 
- Kms
Key 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: 
 - Status
Message string - More information about the status of a Region.
 
- kms
Key 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: 
 - status
Message String - More information about the status of a Region.
 
- kms
Key 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: 
 - status
Message 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.
 
- kms
Key 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: 
 - status
Message 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. 
Try AWS Native preview for resources not in the classic version.