Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi
published on Thursday, Sep 10, 2026 by Pulumi
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi
published on Thursday, Sep 10, 2026 by Pulumi
Data source for reading an AWS Resilience Hub V2 System.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.resiliencehub.getV2System({
arn: "arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123",
});
import pulumi
import pulumi_aws as aws
example = aws.resiliencehub.get_v2_system(arn="arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/resiliencehub"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := resiliencehub.LookupV2System(ctx, &resiliencehub.LookupV2SystemArgs{
Arn: "arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123",
}, 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.ResilienceHub.GetV2System.Invoke(new()
{
Arn = "arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.resiliencehub.ResiliencehubFunctions;
import com.pulumi.aws.resiliencehub.inputs.GetV2SystemArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 = ResiliencehubFunctions.getV2System(GetV2SystemArgs.builder()
.arn("arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123")
.build());
}
}
variables:
example:
fn::invoke:
function: aws:resiliencehub:getV2System
arguments:
arn: arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
data "aws_resiliencehub_getv2system" "example" {
arn = "arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123"
}
Using getV2System
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 getV2System(args: GetV2SystemArgs, opts?: InvokeOptions): Promise<GetV2SystemResult>
function getV2SystemOutput(args: GetV2SystemOutputArgs, opts?: InvokeOutputOptions): Output<GetV2SystemResult>def get_v2_system(arn: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetV2SystemResult
def get_v2_system_output(arn: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetV2SystemResult]func LookupV2System(ctx *Context, args *LookupV2SystemArgs, opts ...InvokeOption) (*LookupV2SystemResult, error)
func LookupV2SystemOutput(ctx *Context, args *LookupV2SystemOutputArgs, opts ...InvokeOption) LookupV2SystemResultOutput> Note: This function is named LookupV2System in the Go SDK.
public static class GetV2System
{
public static Task<GetV2SystemResult> InvokeAsync(GetV2SystemArgs args, InvokeOptions? opts = null)
public static Output<GetV2SystemResult> Invoke(GetV2SystemInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetV2SystemResult> Invoke(GetV2SystemInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetV2SystemResult> getV2System(GetV2SystemArgs args, InvokeOptions options)
public static Output<GetV2SystemResult> getV2System(GetV2SystemArgs args, InvokeOptions options)
public static Output<GetV2SystemResult> getV2System(GetV2SystemArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws:resiliencehub/getV2System:getV2System
arguments:
# arguments dictionarydata "aws_resiliencehub_get_v2_system" "name" {
# arguments
}The following arguments are supported:
getV2System Result
The following output properties are available:
- Arn string
- Description string
- Description of the system.
- Kms
Key stringId - KMS key ARN.
- Name string
- Name of the system.
- Organization
Id string - AWS Organizations identifier for the system.
- Ou
Id string - Organizational unit (OU) identifier for the system.
- Region string
- bool
- Whether cross-account sharing is enabled.
- System
Id string - System ID for cross-account use without exposing account structure.
- Dictionary<string, string>
- Map of tags assigned to the resource.
- Arn string
- Description string
- Description of the system.
- Kms
Key stringId - KMS key ARN.
- Name string
- Name of the system.
- Organization
Id string - AWS Organizations identifier for the system.
- Ou
Id string - Organizational unit (OU) identifier for the system.
- Region string
- bool
- Whether cross-account sharing is enabled.
- System
Id string - System ID for cross-account use without exposing account structure.
- map[string]string
- Map of tags assigned to the resource.
- arn string
- description string
- Description of the system.
- kms_
key_ stringid - KMS key ARN.
- name string
- Name of the system.
- organization_
id string - AWS Organizations identifier for the system.
- ou_
id string - Organizational unit (OU) identifier for the system.
- region string
- bool
- Whether cross-account sharing is enabled.
- system_
id string - System ID for cross-account use without exposing account structure.
- map(string)
- Map of tags assigned to the resource.
- arn String
- description String
- Description of the system.
- kms
Key StringId - KMS key ARN.
- name String
- Name of the system.
- organization
Id String - AWS Organizations identifier for the system.
- ou
Id String - Organizational unit (OU) identifier for the system.
- region String
- Boolean
- Whether cross-account sharing is enabled.
- system
Id String - System ID for cross-account use without exposing account structure.
- Map<String,String>
- Map of tags assigned to the resource.
- arn string
- description string
- Description of the system.
- kms
Key stringId - KMS key ARN.
- name string
- Name of the system.
- organization
Id string - AWS Organizations identifier for the system.
- ou
Id string - Organizational unit (OU) identifier for the system.
- region string
- boolean
- Whether cross-account sharing is enabled.
- system
Id string - System ID for cross-account use without exposing account structure.
- {[key: string]: string}
- Map of tags assigned to the resource.
- arn str
- description str
- Description of the system.
- kms_
key_ strid - KMS key ARN.
- name str
- Name of the system.
- organization_
id str - AWS Organizations identifier for the system.
- ou_
id str - Organizational unit (OU) identifier for the system.
- region str
- bool
- Whether cross-account sharing is enabled.
- system_
id str - System ID for cross-account use without exposing account structure.
- Mapping[str, str]
- Map of tags assigned to the resource.
- arn String
- description String
- Description of the system.
- kms
Key StringId - KMS key ARN.
- name String
- Name of the system.
- organization
Id String - AWS Organizations identifier for the system.
- ou
Id String - Organizational unit (OU) identifier for the system.
- region String
- Boolean
- Whether cross-account sharing is enabled.
- system
Id String - System ID for cross-account use without exposing account structure.
- Map<String>
- Map of tags assigned to the resource.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi
published on Thursday, Sep 10, 2026 by Pulumi