We recommend new projects start with resources from the AWS provider.
published on Monday, Jun 15, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Jun 15, 2026 by Pulumi
Creates a resilience-managed service with associated systems, input sources, assertions, and service functions.
Create Service Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Service(name: string, args: ServiceArgs, opts?: CustomResourceOptions);@overload
def Service(resource_name: str,
args: ServiceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Service(resource_name: str,
opts: Optional[ResourceOptions] = None,
regions: Optional[Sequence[str]] = None,
assertions: Optional[Sequence[ServiceAssertionDefinitionArgs]] = None,
associated_systems: Optional[Sequence[ServiceAssociatedSystemArgs]] = None,
dependency_discovery: Optional[ServiceDependencyDiscovery] = None,
description: Optional[str] = None,
input_sources: Optional[Sequence[ServiceInputSourceDefinitionArgs]] = None,
kms_key_id: Optional[str] = None,
name: Optional[str] = None,
permission_model: Optional[ServicePermissionModelArgs] = None,
policy_arn: Optional[str] = None,
report_configuration: Optional[ServiceReportConfigurationArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewService(ctx *Context, name string, args ServiceArgs, opts ...ResourceOption) (*Service, error)public Service(string name, ServiceArgs args, CustomResourceOptions? opts = null)
public Service(String name, ServiceArgs args)
public Service(String name, ServiceArgs args, CustomResourceOptions options)
type: aws-native:resiliencehubv2:Service
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_resiliencehubv2_service" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Service Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Service resource accepts the following input properties:
- Regions List<string>
- AWS regions for the service.
- Assertions
List<Pulumi.
Aws Native. Resilience Hub V2. Inputs. Service Assertion Definition> - Assertions associated with this service.
- Associated
Systems List<Pulumi.Aws Native. Resilience Hub V2. Inputs. Service Associated System> - Systems associated with this service.
- Dependency
Discovery Pulumi.Aws Native. Resilience Hub V2. Service Dependency Discovery - Dependency discovery state.
- Description string
- The description of the service.
- Input
Sources List<Pulumi.Aws Native. Resilience Hub V2. Inputs. Service Input Source Definition> - Input sources for this service.
- Kms
Key stringId - The KMS key ID for encrypting service data.
- Name string
- The name of the service.
- Permission
Model Pulumi.Aws Native. Resilience Hub V2. Inputs. Service Permission Model - Policy
Arn string - The ARN of the resilience policy to associate.
- Report
Configuration Pulumi.Aws Native. Resilience Hub V2. Inputs. Service Report Configuration -
List<Pulumi.
Aws Native. Inputs. Tag> - Tags assigned to the service.
- Regions []string
- AWS regions for the service.
- Assertions
[]Service
Assertion Definition Args - Assertions associated with this service.
- Associated
Systems []ServiceAssociated System Args - Systems associated with this service.
- Dependency
Discovery ServiceDependency Discovery - Dependency discovery state.
- Description string
- The description of the service.
- Input
Sources []ServiceInput Source Definition Args - Input sources for this service.
- Kms
Key stringId - The KMS key ID for encrypting service data.
- Name string
- The name of the service.
- Permission
Model ServicePermission Model Args - Policy
Arn string - The ARN of the resilience policy to associate.
- Report
Configuration ServiceReport Configuration Args -
Tag
Args - Tags assigned to the service.
- regions list(string)
- AWS regions for the service.
- assertions list(object)
- Assertions associated with this service.
- associated_
systems list(object) - Systems associated with this service.
- dependency_
discovery "ENABLED" | "DISABLED" | "INITIALIZING" - Dependency discovery state.
- description string
- The description of the service.
- input_
sources list(object) - Input sources for this service.
- kms_
key_ stringid - The KMS key ID for encrypting service data.
- name string
- The name of the service.
- permission_
model object - policy_
arn string - The ARN of the resilience policy to associate.
- report_
configuration object - list(object)
- Tags assigned to the service.
- regions List<String>
- AWS regions for the service.
- assertions
List<Service
Assertion Definition> - Assertions associated with this service.
- associated
Systems List<ServiceAssociated System> - Systems associated with this service.
- dependency
Discovery ServiceDependency Discovery - Dependency discovery state.
- description String
- The description of the service.
- input
Sources List<ServiceInput Source Definition> - Input sources for this service.
- kms
Key StringId - The KMS key ID for encrypting service data.
- name String
- The name of the service.
- permission
Model ServicePermission Model - policy
Arn String - The ARN of the resilience policy to associate.
- report
Configuration ServiceReport Configuration - List<Tag>
- Tags assigned to the service.
- regions string[]
- AWS regions for the service.
- assertions
Service
Assertion Definition[] - Assertions associated with this service.
- associated
Systems ServiceAssociated System[] - Systems associated with this service.
- dependency
Discovery ServiceDependency Discovery - Dependency discovery state.
- description string
- The description of the service.
- input
Sources ServiceInput Source Definition[] - Input sources for this service.
- kms
Key stringId - The KMS key ID for encrypting service data.
- name string
- The name of the service.
- permission
Model ServicePermission Model - policy
Arn string - The ARN of the resilience policy to associate.
- report
Configuration ServiceReport Configuration - Tag[]
- Tags assigned to the service.
- regions Sequence[str]
- AWS regions for the service.
- assertions
Sequence[Service
Assertion Definition Args] - Assertions associated with this service.
- associated_
systems Sequence[ServiceAssociated System Args] - Systems associated with this service.
- dependency_
discovery ServiceDependency Discovery - Dependency discovery state.
- description str
- The description of the service.
- input_
sources Sequence[ServiceInput Source Definition Args] - Input sources for this service.
- kms_
key_ strid - The KMS key ID for encrypting service data.
- name str
- The name of the service.
- permission_
model ServicePermission Model Args - policy_
arn str - The ARN of the resilience policy to associate.
- report_
configuration ServiceReport Configuration Args -
Sequence[Tag
Args] - Tags assigned to the service.
- regions List<String>
- AWS regions for the service.
- assertions List<Property Map>
- Assertions associated with this service.
- associated
Systems List<Property Map> - Systems associated with this service.
- dependency
Discovery "ENABLED" | "DISABLED" | "INITIALIZING" - Dependency discovery state.
- description String
- The description of the service.
- input
Sources List<Property Map> - Input sources for this service.
- kms
Key StringId - The KMS key ID for encrypting service data.
- name String
- The name of the service.
- permission
Model Property Map - policy
Arn String - The ARN of the resilience policy to associate.
- report
Configuration Property Map - List<Property Map>
- Tags assigned to the service.
Outputs
All input properties are implicitly available as output properties. Additionally, the Service resource produces the following output properties:
- Created
At string - The timestamp when the service was created.
- Effective
Policy Pulumi.Values Aws Native. Resilience Hub V2. Outputs. Service Effective Policy Values - Id string
- The provider-assigned unique ID for this managed resource.
- Service
Arn string - The ARN of the service.
- Updated
At string - The timestamp when the service was last updated.
- Created
At string - The timestamp when the service was created.
- Effective
Policy ServiceValues Effective Policy Values - Id string
- The provider-assigned unique ID for this managed resource.
- Service
Arn string - The ARN of the service.
- Updated
At string - The timestamp when the service was last updated.
- created_
at string - The timestamp when the service was created.
- effective_
policy_ objectvalues - id string
- The provider-assigned unique ID for this managed resource.
- service_
arn string - The ARN of the service.
- updated_
at string - The timestamp when the service was last updated.
- created
At String - The timestamp when the service was created.
- effective
Policy ServiceValues Effective Policy Values - id String
- The provider-assigned unique ID for this managed resource.
- service
Arn String - The ARN of the service.
- updated
At String - The timestamp when the service was last updated.
- created
At string - The timestamp when the service was created.
- effective
Policy ServiceValues Effective Policy Values - id string
- The provider-assigned unique ID for this managed resource.
- service
Arn string - The ARN of the service.
- updated
At string - The timestamp when the service was last updated.
- created_
at str - The timestamp when the service was created.
- effective_
policy_ Servicevalues Effective Policy Values - id str
- The provider-assigned unique ID for this managed resource.
- service_
arn str - The ARN of the service.
- updated_
at str - The timestamp when the service was last updated.
- created
At String - The timestamp when the service was created.
- effective
Policy Property MapValues - id String
- The provider-assigned unique ID for this managed resource.
- service
Arn String - The ARN of the service.
- updated
At String - The timestamp when the service was last updated.
Supporting Types
ServiceAssertionDefinition, ServiceAssertionDefinitionArgs
An assertion about the service's resilience posture.- 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, ServiceAssociatedSystemArgs
- 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, ServiceCrossAccountRoleConfigurationArgs
- 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, ServiceDependencyDiscoveryArgs
- Enabled
ENABLED- Disabled
DISABLED- Initializing
INITIALIZING
- Service
Dependency Discovery Enabled ENABLED- Service
Dependency Discovery Disabled DISABLED- Service
Dependency Discovery Initializing INITIALIZING
- "ENABLED"
ENABLED- "DISABLED"
DISABLED- "INITIALIZING"
INITIALIZING
- Enabled
ENABLED- Disabled
DISABLED- Initializing
INITIALIZING
- Enabled
ENABLED- Disabled
DISABLED- Initializing
INITIALIZING
- ENABLED
ENABLED- DISABLED
DISABLED- INITIALIZING
INITIALIZING
- "ENABLED"
ENABLED- "DISABLED"
DISABLED- "INITIALIZING"
INITIALIZING
ServiceDisasterRecoverySource, ServiceDisasterRecoverySourceArgs
- 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, ServiceEffectivePolicyValuesArgs
Effective policy values computed from the associated policy.- 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
ServiceEksSource, ServiceEksSourceArgs
- Cluster
Arn string - ARN of the EKS cluster.
- Namespaces List<string>
- EKS namespaces.
- Cluster
Arn string - ARN of the EKS cluster.
- Namespaces []string
- EKS namespaces.
- cluster_
arn string - ARN of the EKS cluster.
- namespaces list(string)
- EKS namespaces.
- cluster
Arn String - ARN of the EKS cluster.
- namespaces List<String>
- EKS namespaces.
- cluster
Arn string - ARN of the EKS cluster.
- namespaces string[]
- EKS namespaces.
- cluster_
arn str - ARN of the EKS cluster.
- namespaces Sequence[str]
- EKS namespaces.
- cluster
Arn String - ARN of the EKS cluster.
- namespaces List<String>
- EKS namespaces.
ServiceInputSourceDefinition, ServiceInputSourceDefinitionArgs
An input source for the service.ServicePermissionModel, ServicePermissionModelArgs
- 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, ServiceReportConfigurationArgs
Configuration for automatic report generation on a Service.- 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, ServiceReportOutputConfigurationArgs
Configuration for a report output destination.ServiceResourceConfiguration, ServiceResourceConfigurationArgs
Resource configuration for an input source. Provide exactly one field.- 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, ServiceResourceTagArgs
ServiceS3ReportOutputConfiguration, ServiceS3ReportOutputConfigurationArgs
S3 configuration for report output.- 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, ServiceSloSourceArgs
- 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, ServiceTargetSourceArgs
- 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, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Jun 15, 2026 by Pulumi