We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 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?: InvokeOutputOptions): 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[InvokeOutputOptions] = 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 Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:resiliencehubv2:getService
arguments:
# arguments dictionarydata "aws-native_resiliencehubv2_get_service" "name" {
# arguments
}The following arguments are supported:
- Service
Arn string - The ARN of the service.
- Service
Arn string - The ARN of the service.
- service_
arn string - The ARN of the service.
- service
Arn String - The ARN of the service.
- service
Arn string - The ARN of the service.
- service_
arn str - The ARN of the service.
- service
Arn String - The ARN of the service.
getService Result
The following output properties are available:
- Assertions
List<Pulumi.
Aws Native. Resilience Hub V2. Outputs. Service Assertion Definition> - Assertions associated with this service.
- Associated
Systems List<Pulumi.Aws Native. Resilience Hub V2. Outputs. Service Associated System> - Systems associated with this service.
- Created
At string - The timestamp when the service was created.
- Dependency
Discovery Pulumi.Aws Native. Resilience Hub V2. Service Dependency Discovery - Dependency discovery state.
- Description string
- The description of the service.
- Dev
Ops Pulumi.Agent Configuration Aws Native. Resilience Hub V2. Outputs. Service Dev Ops Agent Configuration - Effective
Policy Pulumi.Values Aws Native. Resilience Hub V2. Outputs. Service Effective Policy Values - Input
Sources List<Pulumi.Aws Native. Resilience Hub V2. Outputs. Service Input Source Definition> - Input sources for this service.
- Permission
Model Pulumi.Aws Native. Resilience Hub V2. Outputs. Service Permission Model - Policy
Arn string - The ARN of the resilience policy to associate.
- Report
Configuration Pulumi.Aws Native. Resilience Hub V2. Outputs. Service Report Configuration - Service
Arn string - The ARN of the service.
-
List<Pulumi.
Aws Native. Outputs. Tag> - Tags assigned to the service.
- Updated
At string - The timestamp when the service was last updated.
- Assertions
[]Service
Assertion Definition - Assertions associated with this service.
- Associated
Systems []ServiceAssociated System - Systems associated with this service.
- Created
At string - The timestamp when the service was created.
- Dependency
Discovery ServiceDependency Discovery - Dependency discovery state.
- Description string
- The description of the service.
- Dev
Ops ServiceAgent Configuration Dev Ops Agent Configuration - Effective
Policy ServiceValues Effective Policy Values - Input
Sources []ServiceInput Source Definition - Input sources for this service.
- Permission
Model ServicePermission Model - Policy
Arn string - The ARN of the resilience policy to associate.
- Report
Configuration ServiceReport Configuration - Service
Arn string - The ARN of the service.
- Tag
- Tags assigned to the service.
- Updated
At 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.
- dev_
ops_ objectagent_ configuration - effective_
policy_ objectvalues - 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.
- list(object)
- Tags assigned to the service.
- updated_
at string - The timestamp when the service was last updated.
- assertions
List<Service
Assertion Definition> - Assertions associated with this service.
- associated
Systems List<ServiceAssociated System> - Systems associated with this service.
- created
At String - The timestamp when the service was created.
- dependency
Discovery ServiceDependency Discovery - Dependency discovery state.
- description String
- The description of the service.
- dev
Ops ServiceAgent Configuration Dev Ops Agent Configuration - effective
Policy ServiceValues Effective Policy Values - input
Sources List<ServiceInput Source Definition> - Input sources for this service.
- permission
Model ServicePermission Model - policy
Arn String - The ARN of the resilience policy to associate.
- report
Configuration ServiceReport Configuration - service
Arn String - The ARN of the service.
- List<Tag>
- Tags assigned to the service.
- updated
At String - The timestamp when the service was last updated.
- assertions
Service
Assertion Definition[] - Assertions associated with this service.
- associated
Systems ServiceAssociated System[] - Systems associated with this service.
- created
At string - The timestamp when the service was created.
- dependency
Discovery ServiceDependency Discovery - Dependency discovery state.
- description string
- The description of the service.
- dev
Ops ServiceAgent Configuration Dev Ops Agent Configuration - effective
Policy ServiceValues Effective Policy Values - input
Sources ServiceInput Source Definition[] - Input sources for this service.
- permission
Model ServicePermission Model - policy
Arn string - The ARN of the resilience policy to associate.
- report
Configuration ServiceReport Configuration - service
Arn string - The ARN of the service.
- Tag[]
- Tags assigned to the service.
- updated
At string - The timestamp when the service was last updated.
- assertions
Sequence[Service
Assertion Definition] - Assertions associated with this service.
- associated_
systems Sequence[ServiceAssociated System] - Systems associated with this service.
- created_
at str - The timestamp when the service was created.
- dependency_
discovery ServiceDependency Discovery - Dependency discovery state.
- description str
- The description of the service.
- dev_
ops_ Serviceagent_ configuration Dev Ops Agent Configuration - effective_
policy_ Servicevalues Effective Policy Values - input_
sources Sequence[ServiceInput Source Definition] - Input sources for this service.
- permission_
model ServicePermission Model - policy_
arn str - The ARN of the resilience policy to associate.
- report_
configuration ServiceReport Configuration - service_
arn str - The ARN of the service.
- 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.
- associated
Systems List<Property Map> - 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.
- dev
Ops Property MapAgent Configuration - effective
Policy Property MapValues - input
Sources List<Property Map> - Input sources for this service.
- permission
Model Property Map - policy
Arn String - The ARN of the resilience policy to associate.
- report
Configuration Property Map - service
Arn String - The ARN of the service.
- List<Property Map>
- Tags assigned to the service.
- updated
At 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
- System
Arn string - The system ARN.
- User
Journey List<string>Ids - User journey IDs associated with this system.
- System
Arn string - The system ARN.
- User
Journey []stringIds - User journey IDs associated with this system.
- system_
arn string - The system ARN.
- user_
journey_ list(string)ids - User journey IDs associated with this system.
- system
Arn String - The system ARN.
- user
Journey List<String>Ids - User journey IDs associated with this system.
- system
Arn string - The system ARN.
- user
Journey string[]Ids - User journey IDs associated with this system.
- system_
arn str - The system ARN.
- user_
journey_ Sequence[str]ids - User journey IDs associated with this system.
- system
Arn String - The system ARN.
- user
Journey List<String>Ids - User journey IDs associated with this system.
ServiceCrossAccountRoleConfiguration
- Cross
Account stringRole Arn - ARN of the cross-account IAM role.
- External
Id string - External ID for cross-account access.
- Cross
Account stringRole Arn - ARN of the cross-account IAM role.
- External
Id string - External ID for cross-account access.
- cross_
account_ stringrole_ arn - ARN of the cross-account IAM role.
- external_
id string - External ID for cross-account access.
- cross
Account StringRole Arn - ARN of the cross-account IAM role.
- external
Id String - External ID for cross-account access.
- cross
Account stringRole Arn - ARN of the cross-account IAM role.
- external
Id string - External ID for cross-account access.
- cross_
account_ strrole_ arn - ARN of the cross-account IAM role.
- external_
id str - External ID for cross-account access.
- cross
Account StringRole Arn - ARN of the cross-account IAM role.
- external
Id String - External ID for cross-account access.
ServiceDependencyDiscovery
| Name | Value |
|---|---|
| Enabled | ENABLED |
| Disabled | DISABLED |
| Initializing | INITIALIZING |
| Name | Value |
|---|---|
| Service | ENABLED |
| Service | DISABLED |
| Service | INITIALIZING |
| Value |
|---|
ENABLED |
DISABLED |
INITIALIZING |
| Name | Value |
|---|---|
| Enabled | ENABLED |
| Disabled | DISABLED |
| Initializing | INITIALIZING |
| Name | Value |
|---|---|
| Enabled | ENABLED |
| Disabled | DISABLED |
| Initializing | INITIALIZING |
| Name | Value |
|---|---|
| ENABLED | ENABLED |
| DISABLED | DISABLED |
| INITIALIZING | INITIALIZING |
| Value |
|---|
ENABLED |
DISABLED |
INITIALIZING |
ServiceDevOpsAgentConfiguration
- Agent
Space stringArn - The ARN of the DevOps Agent Agent Space to link to this service.
- Agent
Space stringArn - The ARN of the DevOps Agent Agent Space to link to this service.
- agent_
space_ stringarn - The ARN of the DevOps Agent Agent Space to link to this service.
- agent
Space StringArn - The ARN of the DevOps Agent Agent Space to link to this service.
- agent
Space stringArn - The ARN of the DevOps Agent Agent Space to link to this service.
- agent_
space_ strarn - The ARN of the DevOps Agent Agent Space to link to this service.
- agent
Space StringArn - The ARN of the DevOps Agent Agent Space to link to this service.
ServiceDisasterRecoverySource
- Policy
Name string - Value string
- Policy
Name string - Value string
- policy_
name string - value string
- policy
Name String - value String
- policy
Name string - value string
- policy_
name str - value str
- policy
Name String - value String
ServiceEffectivePolicyValues
- Availability
Slo Pulumi.Aws Native. Resilience Hub V2. Inputs. Service Slo Source - Multi
Az Pulumi.Dr Approach Aws Native. Resilience Hub V2. Inputs. Service Disaster Recovery Source - Multi
Az Pulumi.Rpo Aws Native. Resilience Hub V2. Inputs. Service Target Source - Multi
Az Pulumi.Rto Aws Native. Resilience Hub V2. Inputs. Service Target Source - Multi
Region Pulumi.Dr Approach Aws Native. Resilience Hub V2. Inputs. Service Disaster Recovery Source - Multi
Region Pulumi.Rpo Aws Native. Resilience Hub V2. Inputs. Service Target Source - Multi
Region Pulumi.Rto Aws Native. Resilience Hub V2. Inputs. Service Target Source
ServiceEksLabelSelector
- Match
Expressions List<Pulumi.Aws Native. Resilience Hub V2. Inputs. Service Eks Label Selector Requirement> - Label selector requirements an object must satisfy to be discovered. Up to 20 requirements, all of which must match.
- Match
Labels Dictionary<string, string> - Label key/value pairs an object must carry to be discovered. Up to 20 pairs.
- Match
Expressions []ServiceEks Label Selector Requirement - Label selector requirements an object must satisfy to be discovered. Up to 20 requirements, all of which must match.
- Match
Labels map[string]string - Label key/value pairs an object must carry to be discovered. Up to 20 pairs.
- match_
expressions list(object) - Label selector requirements an object must satisfy to be discovered. Up to 20 requirements, all of which must match.
- match_
labels map(string) - Label key/value pairs an object must carry to be discovered. Up to 20 pairs.
- match
Expressions List<ServiceEks Label Selector Requirement> - Label selector requirements an object must satisfy to be discovered. Up to 20 requirements, all of which must match.
- match
Labels Map<String,String> - Label key/value pairs an object must carry to be discovered. Up to 20 pairs.
- match
Expressions ServiceEks Label Selector Requirement[] - Label selector requirements an object must satisfy to be discovered. Up to 20 requirements, all of which must match.
- match
Labels {[key: string]: string} - Label key/value pairs an object must carry to be discovered. Up to 20 pairs.
- match_
expressions Sequence[ServiceEks Label Selector Requirement] - Label selector requirements an object must satisfy to be discovered. Up to 20 requirements, all of which must match.
- match_
labels Mapping[str, str] - Label key/value pairs an object must carry to be discovered. Up to 20 pairs.
- match
Expressions List<Property Map> - Label selector requirements an object must satisfy to be discovered. Up to 20 requirements, all of which must match.
- match
Labels Map<String> - Label key/value pairs an object must carry to be discovered. Up to 20 pairs.
ServiceEksLabelSelectorRequirement
- Key string
- Label key the requirement applies to.
- Operator
Pulumi.
Aws Native. Resilience Hub V2. Service Eks Label Selector Requirement Operator - Operator applied to the label key.
- Values List<string>
- Label values the requirement compares against. Up to 20 values. Required for IN and NOT_IN; omit for EXISTS and DOES_NOT_EXIST.
- Key string
- Label key the requirement applies to.
- Operator
Service
Eks Label Selector Requirement Operator - Operator applied to the label key.
- Values []string
- Label values the requirement compares against. Up to 20 values. Required for IN and NOT_IN; omit for EXISTS and DOES_NOT_EXIST.
- key string
- Label key the requirement applies to.
- operator "IN" | "NOT_IN" | "EXISTS" | "DOES_NOT_EXIST"
- Operator applied to the label key.
- values list(string)
- Label values the requirement compares against. Up to 20 values. Required for IN and NOT_IN; omit for EXISTS and DOES_NOT_EXIST.
- key String
- Label key the requirement applies to.
- operator
Service
Eks Label Selector Requirement Operator - Operator applied to the label key.
- values List<String>
- Label values the requirement compares against. Up to 20 values. Required for IN and NOT_IN; omit for EXISTS and DOES_NOT_EXIST.
- key string
- Label key the requirement applies to.
- operator
Service
Eks Label Selector Requirement Operator - Operator applied to the label key.
- values string[]
- Label values the requirement compares against. Up to 20 values. Required for IN and NOT_IN; omit for EXISTS and DOES_NOT_EXIST.
- key str
- Label key the requirement applies to.
- operator
Service
Eks Label Selector Requirement Operator - Operator applied to the label key.
- values Sequence[str]
- Label values the requirement compares against. Up to 20 values. Required for IN and NOT_IN; omit for EXISTS and DOES_NOT_EXIST.
- key String
- Label key the requirement applies to.
- operator "IN" | "NOT_IN" | "EXISTS" | "DOES_NOT_EXIST"
- Operator applied to the label key.
- values List<String>
- Label values the requirement compares against. Up to 20 values. Required for IN and NOT_IN; omit for EXISTS and DOES_NOT_EXIST.
ServiceEksLabelSelectorRequirementOperator
| Name | Value |
|---|---|
| In | IN |
| Not | NOT_IN |
| Exists | EXISTS |
| Does | DOES_NOT_EXIST |
| Name | Value |
|---|---|
| Service | IN |
| Service | NOT_IN |
| Service | EXISTS |
| Service | DOES_NOT_EXIST |
| Value |
|---|
IN |
NOT_IN |
EXISTS |
DOES_NOT_EXIST |
| Name | Value |
|---|---|
| In | IN |
| Not | NOT_IN |
| Exists | EXISTS |
| Does | DOES_NOT_EXIST |
| Name | Value |
|---|---|
| In | IN |
| Not | NOT_IN |
| Exists | EXISTS |
| Does | DOES_NOT_EXIST |
| Name | Value |
|---|---|
| IN_ | IN |
| NOT_IN | NOT_IN |
| EXISTS | EXISTS |
| DOES_NOT_EXIST | DOES_NOT_EXIST |
| Value |
|---|
IN |
NOT_IN |
EXISTS |
DOES_NOT_EXIST |
ServiceEksSource
- Cluster
Arn string - ARN of the EKS cluster.
- Namespaces List<string>
- EKS namespaces.
- Label
Selector Pulumi.Aws Native. Resilience Hub V2. Inputs. Service Eks Label Selector
- Cluster
Arn string - ARN of the EKS cluster.
- Namespaces []string
- EKS namespaces.
- Label
Selector ServiceEks Label Selector
- cluster_
arn string - ARN of the EKS cluster.
- namespaces list(string)
- EKS namespaces.
- label_
selector object
- cluster
Arn String - ARN of the EKS cluster.
- namespaces List<String>
- EKS namespaces.
- label
Selector ServiceEks Label Selector
- cluster
Arn string - ARN of the EKS cluster.
- namespaces string[]
- EKS namespaces.
- label
Selector ServiceEks Label Selector
- cluster_
arn str - ARN of the EKS cluster.
- namespaces Sequence[str]
- EKS namespaces.
- label_
selector ServiceEks Label Selector
- cluster
Arn String - ARN of the EKS cluster.
- namespaces List<String>
- EKS namespaces.
- label
Selector Property Map
ServiceInputSourceDefinition
ServicePermissionModel
- Invoker
Role stringName - Name of the invoker IAM role.
- Cross
Account List<Pulumi.Role Arns Aws Native. Resilience Hub V2. Inputs. Service Cross Account Role Configuration> - Cross-account role ARNs.
- Invoker
Role stringName - Name of the invoker IAM role.
- Cross
Account []ServiceRole Arns Cross Account Role Configuration - Cross-account role ARNs.
- invoker_
role_ stringname - Name of the invoker IAM role.
- cross_
account_ list(object)role_ arns - Cross-account role ARNs.
- invoker
Role StringName - Name of the invoker IAM role.
- cross
Account List<ServiceRole Arns Cross Account Role Configuration> - Cross-account role ARNs.
- invoker
Role stringName - Name of the invoker IAM role.
- cross
Account ServiceRole Arns Cross Account Role Configuration[] - Cross-account role ARNs.
- invoker_
role_ strname - Name of the invoker IAM role.
- cross_
account_ Sequence[Servicerole_ arns Cross Account Role Configuration] - Cross-account role ARNs.
- invoker
Role StringName - Name of the invoker IAM role.
- cross
Account List<Property Map>Role Arns - Cross-account role ARNs.
ServiceReportConfiguration
- Report
Output List<Pulumi.Aws Native. Resilience Hub V2. Inputs. Service Report Output Configuration> - Output destinations for generated reports.
- Report
Output []ServiceReport Output Configuration - Output destinations for generated reports.
- report_
output list(object) - Output destinations for generated reports.
- report
Output List<ServiceReport Output Configuration> - Output destinations for generated reports.
- report
Output ServiceReport Output Configuration[] - Output destinations for generated reports.
- report_
output Sequence[ServiceReport Output Configuration] - Output destinations for generated reports.
- report
Output List<Property Map> - Output destinations for generated reports.
ServiceReportOutputConfiguration
ServiceResourceConfiguration
- Cfn
Stack stringArn - ARN of a CloudFormation stack.
- Design
File stringS3Url - S3 URL of a design file.
- Eks
Pulumi.
Aws Native. Resilience Hub V2. Inputs. Service Eks Source -
List<Pulumi.
Aws Native. Resilience Hub V2. Inputs. Service Resource Tag> - Resource tags to discover resources.
- Tf
State stringFile Url - URL of a Terraform state file.
- Cfn
Stack stringArn - ARN of a CloudFormation stack.
- Design
File stringS3Url - S3 URL of a design file.
- Eks
Service
Eks Source -
[]Service
Resource Tag - Resource tags to discover resources.
- Tf
State stringFile Url - URL of a Terraform state file.
- cfn_
stack_ stringarn - ARN of a CloudFormation stack.
- design_
file_ strings3_ url - S3 URL of a design file.
- eks object
- list(object)
- Resource tags to discover resources.
- tf_
state_ stringfile_ url - URL of a Terraform state file.
- cfn
Stack StringArn - ARN of a CloudFormation stack.
- design
File StringS3Url - S3 URL of a design file.
- eks
Service
Eks Source -
List<Service
Resource Tag> - Resource tags to discover resources.
- tf
State StringFile Url - URL of a Terraform state file.
- cfn
Stack stringArn - ARN of a CloudFormation stack.
- design
File stringS3Url - S3 URL of a design file.
- eks
Service
Eks Source -
Service
Resource Tag[] - Resource tags to discover resources.
- tf
State stringFile Url - URL of a Terraform state file.
- cfn_
stack_ strarn - ARN of a CloudFormation stack.
- design_
file_ strs3_ url - S3 URL of a design file.
- eks
Service
Eks Source -
Sequence[Service
Resource Tag] - Resource tags to discover resources.
- tf_
state_ strfile_ url - URL of a Terraform state file.
- cfn
Stack StringArn - ARN of a CloudFormation stack.
- design
File StringS3Url - S3 URL of a design file.
- eks Property Map
- List<Property Map>
- Resource tags to discover resources.
- tf
State StringFile Url - URL of a Terraform state file.
ServiceResourceTag
ServiceS3ReportOutputConfiguration
- Bucket
Owner string - Account ID of the bucket owner.
- Bucket
Path 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.
- bucket_
owner string - Account ID of the bucket owner.
- bucket_
path 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.
- bucket
Owner string - Account ID of the bucket owner.
- bucket
Path 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.
- bucket
Owner String - Account ID of the bucket owner.
- bucket
Path String - S3 bucket path where reports will be written.
ServiceSloSource
- Policy
Name string - Value double
- Policy
Name string - Value float64
- policy_
name string - value number
- policy
Name String - value Double
- policy
Name string - value number
- policy_
name str - value float
- policy
Name String - value Number
ServiceTargetSource
- Policy
Name string - Value int
- Policy
Name string - Value int
- policy_
name string - value number
- policy
Name String - value Integer
- policy
Name string - value number
- policy_
name str - value int
- policy
Name String - value Number
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 2026 by Pulumi