1. Packages
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. resiliencehubv2
  6. getService

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

Viewing docs for AWS Cloud Control v1.69.0
published on Monday, Jun 15, 2026 by Pulumi
aws-native logo

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

Viewing docs for AWS Cloud Control v1.69.0
published on Monday, Jun 15, 2026 by Pulumi

    Creates a resilience-managed service with associated systems, input sources, assertions, and service functions.

    Using getService

    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 getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
    function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>
    def get_service(service_arn: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetServiceResult
    def get_service_output(service_arn: pulumi.Input[Optional[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]
    func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
    func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput

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

    public static class GetService 
    {
        public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
    public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:resiliencehubv2:getService
      arguments:
        # arguments dictionary
    data "aws-native_resiliencehubv2_getservice" "name" {
        # arguments
    }

    The following arguments are supported:

    ServiceArn string
    The ARN of the service.
    ServiceArn string
    The ARN of the service.
    service_arn string
    The ARN of the service.
    serviceArn String
    The ARN of the service.
    serviceArn string
    The ARN of the service.
    service_arn str
    The ARN of the service.
    serviceArn String
    The ARN of the service.

    getService Result

    The following output properties are available:

    Assertions List<Pulumi.AwsNative.ResilienceHubV2.Outputs.ServiceAssertionDefinition>
    Assertions associated with this service.
    AssociatedSystems List<Pulumi.AwsNative.ResilienceHubV2.Outputs.ServiceAssociatedSystem>
    Systems associated with this service.
    CreatedAt string
    The timestamp when the service was created.
    DependencyDiscovery Pulumi.AwsNative.ResilienceHubV2.ServiceDependencyDiscovery
    Dependency discovery state.
    Description string
    The description of the service.
    EffectivePolicyValues Pulumi.AwsNative.ResilienceHubV2.Outputs.ServiceEffectivePolicyValues
    InputSources List<Pulumi.AwsNative.ResilienceHubV2.Outputs.ServiceInputSourceDefinition>
    Input sources for this service.
    PermissionModel Pulumi.AwsNative.ResilienceHubV2.Outputs.ServicePermissionModel
    PolicyArn string
    The ARN of the resilience policy to associate.
    ReportConfiguration Pulumi.AwsNative.ResilienceHubV2.Outputs.ServiceReportConfiguration
    ServiceArn string
    The ARN of the service.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Tags assigned to the service.
    UpdatedAt string
    The timestamp when the service was last updated.
    Assertions []ServiceAssertionDefinition
    Assertions associated with this service.
    AssociatedSystems []ServiceAssociatedSystem
    Systems associated with this service.
    CreatedAt string
    The timestamp when the service was created.
    DependencyDiscovery ServiceDependencyDiscovery
    Dependency discovery state.
    Description string
    The description of the service.
    EffectivePolicyValues ServiceEffectivePolicyValues
    InputSources []ServiceInputSourceDefinition
    Input sources for this service.
    PermissionModel ServicePermissionModel
    PolicyArn string
    The ARN of the resilience policy to associate.
    ReportConfiguration ServiceReportConfiguration
    ServiceArn string
    The ARN of the service.
    Tags Tag
    Tags assigned to the service.
    UpdatedAt string
    The timestamp when the service was last updated.
    assertions list(object)
    Assertions associated with this service.
    associated_systems list(object)
    Systems associated with this service.
    created_at string
    The timestamp when the service was created.
    dependency_discovery "ENABLED" | "DISABLED" | "INITIALIZING"
    Dependency discovery state.
    description string
    The description of the service.
    effective_policy_values object
    input_sources list(object)
    Input sources for this service.
    permission_model object
    policy_arn string
    The ARN of the resilience policy to associate.
    report_configuration object
    service_arn string
    The ARN of the service.
    tags list(object)
    Tags assigned to the service.
    updated_at string
    The timestamp when the service was last updated.
    assertions List<ServiceAssertionDefinition>
    Assertions associated with this service.
    associatedSystems List<ServiceAssociatedSystem>
    Systems associated with this service.
    createdAt String
    The timestamp when the service was created.
    dependencyDiscovery ServiceDependencyDiscovery
    Dependency discovery state.
    description String
    The description of the service.
    effectivePolicyValues ServiceEffectivePolicyValues
    inputSources List<ServiceInputSourceDefinition>
    Input sources for this service.
    permissionModel ServicePermissionModel
    policyArn String
    The ARN of the resilience policy to associate.
    reportConfiguration ServiceReportConfiguration
    serviceArn String
    The ARN of the service.
    tags List<Tag>
    Tags assigned to the service.
    updatedAt String
    The timestamp when the service was last updated.
    assertions ServiceAssertionDefinition[]
    Assertions associated with this service.
    associatedSystems ServiceAssociatedSystem[]
    Systems associated with this service.
    createdAt string
    The timestamp when the service was created.
    dependencyDiscovery ServiceDependencyDiscovery
    Dependency discovery state.
    description string
    The description of the service.
    effectivePolicyValues ServiceEffectivePolicyValues
    inputSources ServiceInputSourceDefinition[]
    Input sources for this service.
    permissionModel ServicePermissionModel
    policyArn string
    The ARN of the resilience policy to associate.
    reportConfiguration ServiceReportConfiguration
    serviceArn string
    The ARN of the service.
    tags Tag[]
    Tags assigned to the service.
    updatedAt string
    The timestamp when the service was last updated.
    assertions Sequence[ServiceAssertionDefinition]
    Assertions associated with this service.
    associated_systems Sequence[ServiceAssociatedSystem]
    Systems associated with this service.
    created_at str
    The timestamp when the service was created.
    dependency_discovery ServiceDependencyDiscovery
    Dependency discovery state.
    description str
    The description of the service.
    effective_policy_values ServiceEffectivePolicyValues
    input_sources Sequence[ServiceInputSourceDefinition]
    Input sources for this service.
    permission_model ServicePermissionModel
    policy_arn str
    The ARN of the resilience policy to associate.
    report_configuration ServiceReportConfiguration
    service_arn str
    The ARN of the service.
    tags Sequence[root_Tag]
    Tags assigned to the service.
    updated_at str
    The timestamp when the service was last updated.
    assertions List<Property Map>
    Assertions associated with this service.
    associatedSystems List<Property Map>
    Systems associated with this service.
    createdAt String
    The timestamp when the service was created.
    dependencyDiscovery "ENABLED" | "DISABLED" | "INITIALIZING"
    Dependency discovery state.
    description String
    The description of the service.
    effectivePolicyValues Property Map
    inputSources List<Property Map>
    Input sources for this service.
    permissionModel Property Map
    policyArn String
    The ARN of the resilience policy to associate.
    reportConfiguration Property Map
    serviceArn String
    The ARN of the service.
    tags List<Property Map>
    Tags assigned to the service.
    updatedAt String
    The timestamp when the service was last updated.

    Supporting Types

    ServiceAssertionDefinition

    Text string
    The text of the assertion.
    Text string
    The text of the assertion.
    text string
    The text of the assertion.
    text String
    The text of the assertion.
    text string
    The text of the assertion.
    text str
    The text of the assertion.
    text String
    The text of the assertion.

    ServiceAssociatedSystem

    SystemArn string
    The system ARN.
    UserJourneyIds List<string>
    User journey IDs associated with this system.
    SystemArn string
    The system ARN.
    UserJourneyIds []string
    User journey IDs associated with this system.
    system_arn string
    The system ARN.
    user_journey_ids list(string)
    User journey IDs associated with this system.
    systemArn String
    The system ARN.
    userJourneyIds List<String>
    User journey IDs associated with this system.
    systemArn string
    The system ARN.
    userJourneyIds string[]
    User journey IDs associated with this system.
    system_arn str
    The system ARN.
    user_journey_ids Sequence[str]
    User journey IDs associated with this system.
    systemArn String
    The system ARN.
    userJourneyIds List<String>
    User journey IDs associated with this system.

    ServiceCrossAccountRoleConfiguration

    CrossAccountRoleArn string
    ARN of the cross-account IAM role.
    ExternalId string
    External ID for cross-account access.
    CrossAccountRoleArn string
    ARN of the cross-account IAM role.
    ExternalId string
    External ID for cross-account access.
    cross_account_role_arn string
    ARN of the cross-account IAM role.
    external_id string
    External ID for cross-account access.
    crossAccountRoleArn String
    ARN of the cross-account IAM role.
    externalId String
    External ID for cross-account access.
    crossAccountRoleArn string
    ARN of the cross-account IAM role.
    externalId string
    External ID for cross-account access.
    cross_account_role_arn str
    ARN of the cross-account IAM role.
    external_id str
    External ID for cross-account access.
    crossAccountRoleArn String
    ARN of the cross-account IAM role.
    externalId String
    External ID for cross-account access.

    ServiceDependencyDiscovery

    ServiceDisasterRecoverySource

    PolicyName string
    Value string
    PolicyName string
    Value string
    policy_name string
    value string
    policyName String
    value String
    policyName string
    value string
    policyName String
    value String

    ServiceEffectivePolicyValues

    ServiceEksSource

    ClusterArn string
    ARN of the EKS cluster.
    Namespaces List<string>
    EKS namespaces.
    ClusterArn string
    ARN of the EKS cluster.
    Namespaces []string
    EKS namespaces.
    cluster_arn string
    ARN of the EKS cluster.
    namespaces list(string)
    EKS namespaces.
    clusterArn String
    ARN of the EKS cluster.
    namespaces List<String>
    EKS namespaces.
    clusterArn string
    ARN of the EKS cluster.
    namespaces string[]
    EKS namespaces.
    cluster_arn str
    ARN of the EKS cluster.
    namespaces Sequence[str]
    EKS namespaces.
    clusterArn String
    ARN of the EKS cluster.
    namespaces List<String>
    EKS namespaces.

    ServiceInputSourceDefinition

    ServicePermissionModel

    InvokerRoleName string
    Name of the invoker IAM role.
    CrossAccountRoleArns []ServiceCrossAccountRoleConfiguration
    Cross-account role ARNs.
    invoker_role_name string
    Name of the invoker IAM role.
    cross_account_role_arns list(object)
    Cross-account role ARNs.
    invokerRoleName String
    Name of the invoker IAM role.
    crossAccountRoleArns List<ServiceCrossAccountRoleConfiguration>
    Cross-account role ARNs.
    invokerRoleName string
    Name of the invoker IAM role.
    crossAccountRoleArns ServiceCrossAccountRoleConfiguration[]
    Cross-account role ARNs.
    invoker_role_name str
    Name of the invoker IAM role.
    cross_account_role_arns Sequence[ServiceCrossAccountRoleConfiguration]
    Cross-account role ARNs.
    invokerRoleName String
    Name of the invoker IAM role.
    crossAccountRoleArns List<Property Map>
    Cross-account role ARNs.

    ServiceReportConfiguration

    ReportOutput []ServiceReportOutputConfiguration
    Output destinations for generated reports.
    report_output list(object)
    Output destinations for generated reports.
    reportOutput List<ServiceReportOutputConfiguration>
    Output destinations for generated reports.
    reportOutput ServiceReportOutputConfiguration[]
    Output destinations for generated reports.
    report_output Sequence[ServiceReportOutputConfiguration]
    Output destinations for generated reports.
    reportOutput List<Property Map>
    Output destinations for generated reports.

    ServiceReportOutputConfiguration

    ServiceResourceConfiguration

    CfnStackArn string
    ARN of a CloudFormation stack.
    DesignFileS3Url string
    S3 URL of a design file.
    Eks Pulumi.AwsNative.ResilienceHubV2.Inputs.ServiceEksSource
    ResourceTags List<Pulumi.AwsNative.ResilienceHubV2.Inputs.ServiceResourceTag>
    Resource tags to discover resources.
    TfStateFileUrl string
    URL of a Terraform state file.
    CfnStackArn string
    ARN of a CloudFormation stack.
    DesignFileS3Url string
    S3 URL of a design file.
    Eks ServiceEksSource
    ResourceTags []ServiceResourceTag
    Resource tags to discover resources.
    TfStateFileUrl string
    URL of a Terraform state file.
    cfn_stack_arn string
    ARN of a CloudFormation stack.
    design_file_s3_url string
    S3 URL of a design file.
    eks object
    resource_tags list(object)
    Resource tags to discover resources.
    tf_state_file_url string
    URL of a Terraform state file.
    cfnStackArn String
    ARN of a CloudFormation stack.
    designFileS3Url String
    S3 URL of a design file.
    eks ServiceEksSource
    resourceTags List<ServiceResourceTag>
    Resource tags to discover resources.
    tfStateFileUrl String
    URL of a Terraform state file.
    cfnStackArn string
    ARN of a CloudFormation stack.
    designFileS3Url string
    S3 URL of a design file.
    eks ServiceEksSource
    resourceTags ServiceResourceTag[]
    Resource tags to discover resources.
    tfStateFileUrl string
    URL of a Terraform state file.
    cfn_stack_arn str
    ARN of a CloudFormation stack.
    design_file_s3_url str
    S3 URL of a design file.
    eks ServiceEksSource
    resource_tags Sequence[ServiceResourceTag]
    Resource tags to discover resources.
    tf_state_file_url str
    URL of a Terraform state file.
    cfnStackArn String
    ARN of a CloudFormation stack.
    designFileS3Url String
    S3 URL of a design file.
    eks Property Map
    resourceTags List<Property Map>
    Resource tags to discover resources.
    tfStateFileUrl String
    URL of a Terraform state file.

    ServiceResourceTag

    Key string
    Tag key.
    Values List<string>
    Tag values.
    Key string
    Tag key.
    Values []string
    Tag values.
    key string
    Tag key.
    values list(string)
    Tag values.
    key String
    Tag key.
    values List<String>
    Tag values.
    key string
    Tag key.
    values string[]
    Tag values.
    key str
    Tag key.
    values Sequence[str]
    Tag values.
    key String
    Tag key.
    values List<String>
    Tag values.

    ServiceS3ReportOutputConfiguration

    BucketOwner string
    Account ID of the bucket owner.
    BucketPath string
    S3 bucket path where reports will be written.
    BucketOwner string
    Account ID of the bucket owner.
    BucketPath string
    S3 bucket path where reports will be written.
    bucket_owner string
    Account ID of the bucket owner.
    bucket_path string
    S3 bucket path where reports will be written.
    bucketOwner String
    Account ID of the bucket owner.
    bucketPath String
    S3 bucket path where reports will be written.
    bucketOwner string
    Account ID of the bucket owner.
    bucketPath string
    S3 bucket path where reports will be written.
    bucket_owner str
    Account ID of the bucket owner.
    bucket_path str
    S3 bucket path where reports will be written.
    bucketOwner String
    Account ID of the bucket owner.
    bucketPath String
    S3 bucket path where reports will be written.

    ServiceSloSource

    PolicyName string
    Value double
    PolicyName string
    Value float64
    policy_name string
    value number
    policyName String
    value Double
    policyName string
    value number
    policyName String
    value Number

    ServiceTargetSource

    PolicyName string
    Value int
    PolicyName string
    Value int
    policy_name string
    value number
    policyName String
    value Integer
    policyName string
    value number
    policyName String
    value Number

    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

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

    Viewing docs for AWS Cloud Control v1.69.0
    published on Monday, Jun 15, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial