1. Packages
  2. AWS Classic
  3. API Docs
  4. ssmincidents
  5. getReplicationSet

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

aws.ssmincidents.getReplicationSet

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

    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 dictionary

    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 Resouce 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 Resouce 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 Resouce 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 Resouce 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 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_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 Resouce 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 string
    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
    StatusMessage string
    More information about the status of a Region.
    KmsKeyArn string
    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
    StatusMessage string
    More information about the status of a Region.
    kmsKeyArn String
    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
    statusMessage String
    More information about the status of a Region.
    kmsKeyArn string
    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
    statusMessage string
    More information about the status of a Region.
    kms_key_arn str
    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
    status_message str
    More information about the status of a Region.
    kmsKeyArn String
    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
    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 aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi