1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. rds
  6. getDeployment

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi

    Resource Type definition for AWS::RDS::Deployment. Creates and manages an Amazon RDS Blue/Green Deployment.

    Using getDeployment

    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 getDeployment(args: GetDeploymentArgs, opts?: InvokeOptions): Promise<GetDeploymentResult>
    function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: InvokeOutputOptions): Output<GetDeploymentResult>
    def get_deployment(arn: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetDeploymentResult
    def get_deployment_output(arn: pulumi.Input[Optional[str]] = None,
                       opts: Optional[InvokeOutputOptions] = None) -> Output[GetDeploymentResult]
    func LookupDeployment(ctx *Context, args *LookupDeploymentArgs, opts ...InvokeOption) (*LookupDeploymentResult, error)
    func LookupDeploymentOutput(ctx *Context, args *LookupDeploymentOutputArgs, opts ...InvokeOption) LookupDeploymentResultOutput

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

    public static class GetDeployment 
    {
        public static Task<GetDeploymentResult> InvokeAsync(GetDeploymentArgs args, InvokeOptions? opts = null)
        public static Output<GetDeploymentResult> Invoke(GetDeploymentInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetDeploymentResult> Invoke(GetDeploymentInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetDeploymentResult> getDeployment(GetDeploymentArgs args, InvokeOptions options)
    public static Output<GetDeploymentResult> getDeployment(GetDeploymentArgs args, InvokeOptions options)
    public static Output<GetDeploymentResult> getDeployment(GetDeploymentArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:rds:getDeployment
      arguments:
        # arguments dictionary
    data "aws-native_rds_get_deployment" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the Blue/Green Deployment.
    Arn string
    The Amazon Resource Name (ARN) of the Blue/Green Deployment.
    arn string
    The Amazon Resource Name (ARN) of the Blue/Green Deployment.
    arn String
    The Amazon Resource Name (ARN) of the Blue/Green Deployment.
    arn string
    The Amazon Resource Name (ARN) of the Blue/Green Deployment.
    arn str
    The Amazon Resource Name (ARN) of the Blue/Green Deployment.
    arn String
    The Amazon Resource Name (ARN) of the Blue/Green Deployment.

    getDeployment Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the Blue/Green Deployment.
    BlueGreenDeploymentIdentifier string
    The system-generated identifier of the Blue/Green Deployment.
    CreateTime string
    The time when the Blue/Green Deployment was created in UTC.
    Status string
    The status of the Blue/Green Deployment.
    SwitchoverDetails List<Pulumi.AwsNative.Rds.Outputs.DeploymentSwitchoverDetail>
    The source and target member mappings in the Blue/Green Deployment.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags assigned to the Blue/Green Deployment.
    Target string
    The ARN of the target database in the green environment.
    Tasks List<Pulumi.AwsNative.Rds.Outputs.DeploymentTask>
    The provisioning tasks for the Blue/Green Deployment.
    Arn string
    The Amazon Resource Name (ARN) of the Blue/Green Deployment.
    BlueGreenDeploymentIdentifier string
    The system-generated identifier of the Blue/Green Deployment.
    CreateTime string
    The time when the Blue/Green Deployment was created in UTC.
    Status string
    The status of the Blue/Green Deployment.
    SwitchoverDetails []DeploymentSwitchoverDetail
    The source and target member mappings in the Blue/Green Deployment.
    Tags Tag
    The tags assigned to the Blue/Green Deployment.
    Target string
    The ARN of the target database in the green environment.
    Tasks []DeploymentTask
    The provisioning tasks for the Blue/Green Deployment.
    arn string
    The Amazon Resource Name (ARN) of the Blue/Green Deployment.
    blue_green_deployment_identifier string
    The system-generated identifier of the Blue/Green Deployment.
    create_time string
    The time when the Blue/Green Deployment was created in UTC.
    status string
    The status of the Blue/Green Deployment.
    switchover_details list(object)
    The source and target member mappings in the Blue/Green Deployment.
    tags list(object)
    The tags assigned to the Blue/Green Deployment.
    target string
    The ARN of the target database in the green environment.
    tasks list(object)
    The provisioning tasks for the Blue/Green Deployment.
    arn String
    The Amazon Resource Name (ARN) of the Blue/Green Deployment.
    blueGreenDeploymentIdentifier String
    The system-generated identifier of the Blue/Green Deployment.
    createTime String
    The time when the Blue/Green Deployment was created in UTC.
    status String
    The status of the Blue/Green Deployment.
    switchoverDetails List<DeploymentSwitchoverDetail>
    The source and target member mappings in the Blue/Green Deployment.
    tags List<Tag>
    The tags assigned to the Blue/Green Deployment.
    target String
    The ARN of the target database in the green environment.
    tasks List<DeploymentTask>
    The provisioning tasks for the Blue/Green Deployment.
    arn string
    The Amazon Resource Name (ARN) of the Blue/Green Deployment.
    blueGreenDeploymentIdentifier string
    The system-generated identifier of the Blue/Green Deployment.
    createTime string
    The time when the Blue/Green Deployment was created in UTC.
    status string
    The status of the Blue/Green Deployment.
    switchoverDetails DeploymentSwitchoverDetail[]
    The source and target member mappings in the Blue/Green Deployment.
    tags Tag[]
    The tags assigned to the Blue/Green Deployment.
    target string
    The ARN of the target database in the green environment.
    tasks DeploymentTask[]
    The provisioning tasks for the Blue/Green Deployment.
    arn str
    The Amazon Resource Name (ARN) of the Blue/Green Deployment.
    blue_green_deployment_identifier str
    The system-generated identifier of the Blue/Green Deployment.
    create_time str
    The time when the Blue/Green Deployment was created in UTC.
    status str
    The status of the Blue/Green Deployment.
    switchover_details Sequence[DeploymentSwitchoverDetail]
    The source and target member mappings in the Blue/Green Deployment.
    tags Sequence[root_Tag]
    The tags assigned to the Blue/Green Deployment.
    target str
    The ARN of the target database in the green environment.
    tasks Sequence[DeploymentTask]
    The provisioning tasks for the Blue/Green Deployment.
    arn String
    The Amazon Resource Name (ARN) of the Blue/Green Deployment.
    blueGreenDeploymentIdentifier String
    The system-generated identifier of the Blue/Green Deployment.
    createTime String
    The time when the Blue/Green Deployment was created in UTC.
    status String
    The status of the Blue/Green Deployment.
    switchoverDetails List<Property Map>
    The source and target member mappings in the Blue/Green Deployment.
    tags List<Property Map>
    The tags assigned to the Blue/Green Deployment.
    target String
    The ARN of the target database in the green environment.
    tasks List<Property Map>
    The provisioning tasks for the Blue/Green Deployment.

    Supporting Types

    DeploymentSwitchoverDetail

    SourceMember string
    The source database member in the Blue/Green Deployment.
    SwitchoverDetailStatus string
    The status of this source and target member pair.
    TargetMember string
    The target database member in the Blue/Green Deployment.
    SourceMember string
    The source database member in the Blue/Green Deployment.
    SwitchoverDetailStatus string
    The status of this source and target member pair.
    TargetMember string
    The target database member in the Blue/Green Deployment.
    source_member string
    The source database member in the Blue/Green Deployment.
    switchover_detail_status string
    The status of this source and target member pair.
    target_member string
    The target database member in the Blue/Green Deployment.
    sourceMember String
    The source database member in the Blue/Green Deployment.
    switchoverDetailStatus String
    The status of this source and target member pair.
    targetMember String
    The target database member in the Blue/Green Deployment.
    sourceMember string
    The source database member in the Blue/Green Deployment.
    switchoverDetailStatus string
    The status of this source and target member pair.
    targetMember string
    The target database member in the Blue/Green Deployment.
    source_member str
    The source database member in the Blue/Green Deployment.
    switchover_detail_status str
    The status of this source and target member pair.
    target_member str
    The target database member in the Blue/Green Deployment.
    sourceMember String
    The source database member in the Blue/Green Deployment.
    switchoverDetailStatus String
    The status of this source and target member pair.
    targetMember String
    The target database member in the Blue/Green Deployment.

    DeploymentTask

    TaskName string
    The name of a Blue/Green Deployment provisioning task.
    TaskStatus string
    The status of a Blue/Green Deployment provisioning task.
    TaskName string
    The name of a Blue/Green Deployment provisioning task.
    TaskStatus string
    The status of a Blue/Green Deployment provisioning task.
    task_name string
    The name of a Blue/Green Deployment provisioning task.
    task_status string
    The status of a Blue/Green Deployment provisioning task.
    taskName String
    The name of a Blue/Green Deployment provisioning task.
    taskStatus String
    The status of a Blue/Green Deployment provisioning task.
    taskName string
    The name of a Blue/Green Deployment provisioning task.
    taskStatus string
    The status of a Blue/Green Deployment provisioning task.
    task_name str
    The name of a Blue/Green Deployment provisioning task.
    task_status str
    The status of a Blue/Green Deployment provisioning task.
    taskName String
    The name of a Blue/Green Deployment provisioning task.
    taskStatus String
    The status of a Blue/Green Deployment provisioning task.

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.85.0
    published on Monday, Nov 2, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial