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

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.

    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.AwsNative.ResilienceHubV2.Inputs.ServiceAssertionDefinition>
    Assertions associated with this service.
    AssociatedSystems List<Pulumi.AwsNative.ResilienceHubV2.Inputs.ServiceAssociatedSystem>
    Systems associated with this service.
    DependencyDiscovery Pulumi.AwsNative.ResilienceHubV2.ServiceDependencyDiscovery
    Dependency discovery state.
    Description string
    The description of the service.
    InputSources List<Pulumi.AwsNative.ResilienceHubV2.Inputs.ServiceInputSourceDefinition>
    Input sources for this service.
    KmsKeyId string
    The KMS key ID for encrypting service data.
    Name string
    The name of the service.
    PermissionModel Pulumi.AwsNative.ResilienceHubV2.Inputs.ServicePermissionModel
    PolicyArn string
    The ARN of the resilience policy to associate.
    ReportConfiguration Pulumi.AwsNative.ResilienceHubV2.Inputs.ServiceReportConfiguration
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    Tags assigned to the service.
    Regions []string
    AWS regions for the service.
    Assertions []ServiceAssertionDefinitionArgs
    Assertions associated with this service.
    AssociatedSystems []ServiceAssociatedSystemArgs
    Systems associated with this service.
    DependencyDiscovery ServiceDependencyDiscovery
    Dependency discovery state.
    Description string
    The description of the service.
    InputSources []ServiceInputSourceDefinitionArgs
    Input sources for this service.
    KmsKeyId string
    The KMS key ID for encrypting service data.
    Name string
    The name of the service.
    PermissionModel ServicePermissionModelArgs
    PolicyArn string
    The ARN of the resilience policy to associate.
    ReportConfiguration ServiceReportConfigurationArgs
    Tags TagArgs
    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_id string
    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
    tags list(object)
    Tags assigned to the service.
    regions List<String>
    AWS regions for the service.
    assertions List<ServiceAssertionDefinition>
    Assertions associated with this service.
    associatedSystems List<ServiceAssociatedSystem>
    Systems associated with this service.
    dependencyDiscovery ServiceDependencyDiscovery
    Dependency discovery state.
    description String
    The description of the service.
    inputSources List<ServiceInputSourceDefinition>
    Input sources for this service.
    kmsKeyId String
    The KMS key ID for encrypting service data.
    name String
    The name of the service.
    permissionModel ServicePermissionModel
    policyArn String
    The ARN of the resilience policy to associate.
    reportConfiguration ServiceReportConfiguration
    tags List<Tag>
    Tags assigned to the service.
    regions string[]
    AWS regions for the service.
    assertions ServiceAssertionDefinition[]
    Assertions associated with this service.
    associatedSystems ServiceAssociatedSystem[]
    Systems associated with this service.
    dependencyDiscovery ServiceDependencyDiscovery
    Dependency discovery state.
    description string
    The description of the service.
    inputSources ServiceInputSourceDefinition[]
    Input sources for this service.
    kmsKeyId string
    The KMS key ID for encrypting service data.
    name string
    The name of the service.
    permissionModel ServicePermissionModel
    policyArn string
    The ARN of the resilience policy to associate.
    reportConfiguration ServiceReportConfiguration
    tags Tag[]
    Tags assigned to the service.
    regions Sequence[str]
    AWS regions for the service.
    assertions Sequence[ServiceAssertionDefinitionArgs]
    Assertions associated with this service.
    associated_systems Sequence[ServiceAssociatedSystemArgs]
    Systems associated with this service.
    dependency_discovery ServiceDependencyDiscovery
    Dependency discovery state.
    description str
    The description of the service.
    input_sources Sequence[ServiceInputSourceDefinitionArgs]
    Input sources for this service.
    kms_key_id str
    The KMS key ID for encrypting service data.
    name str
    The name of the service.
    permission_model ServicePermissionModelArgs
    policy_arn str
    The ARN of the resilience policy to associate.
    report_configuration ServiceReportConfigurationArgs
    tags Sequence[TagArgs]
    Tags assigned to the service.
    regions List<String>
    AWS regions for the service.
    assertions List<Property Map>
    Assertions associated with this service.
    associatedSystems List<Property Map>
    Systems associated with this service.
    dependencyDiscovery "ENABLED" | "DISABLED" | "INITIALIZING"
    Dependency discovery state.
    description String
    The description of the service.
    inputSources List<Property Map>
    Input sources for this service.
    kmsKeyId String
    The KMS key ID for encrypting service data.
    name String
    The name of the service.
    permissionModel Property Map
    policyArn String
    The ARN of the resilience policy to associate.
    reportConfiguration Property Map
    tags 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:

    CreatedAt string
    The timestamp when the service was created.
    EffectivePolicyValues Pulumi.AwsNative.ResilienceHubV2.Outputs.ServiceEffectivePolicyValues
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceArn string
    The ARN of the service.
    UpdatedAt string
    The timestamp when the service was last updated.
    CreatedAt string
    The timestamp when the service was created.
    EffectivePolicyValues ServiceEffectivePolicyValues
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceArn string
    The ARN of the service.
    UpdatedAt string
    The timestamp when the service was last updated.
    created_at string
    The timestamp when the service was created.
    effective_policy_values object
    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.
    createdAt String
    The timestamp when the service was created.
    effectivePolicyValues ServiceEffectivePolicyValues
    id String
    The provider-assigned unique ID for this managed resource.
    serviceArn String
    The ARN of the service.
    updatedAt String
    The timestamp when the service was last updated.
    createdAt string
    The timestamp when the service was created.
    effectivePolicyValues ServiceEffectivePolicyValues
    id string
    The provider-assigned unique ID for this managed resource.
    serviceArn string
    The ARN of the service.
    updatedAt string
    The timestamp when the service was last updated.
    created_at str
    The timestamp when the service was created.
    effective_policy_values ServiceEffectivePolicyValues
    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.
    createdAt String
    The timestamp when the service was created.
    effectivePolicyValues Property Map
    id String
    The provider-assigned unique ID for this managed resource.
    serviceArn String
    The ARN of the service.
    updatedAt 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

    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, ServiceCrossAccountRoleConfigurationArgs

    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, ServiceDependencyDiscoveryArgs

    Enabled
    ENABLED
    Disabled
    DISABLED
    Initializing
    INITIALIZING
    ServiceDependencyDiscoveryEnabled
    ENABLED
    ServiceDependencyDiscoveryDisabled
    DISABLED
    ServiceDependencyDiscoveryInitializing
    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

    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, ServiceEffectivePolicyValuesArgs

    Effective policy values computed from the associated policy.

    ServiceEksSource, ServiceEksSourceArgs

    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, ServiceInputSourceDefinitionArgs

    An input source for the service.

    ServicePermissionModel, ServicePermissionModelArgs

    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, ServiceReportConfigurationArgs

    Configuration for automatic report generation on a Service.
    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, ServiceReportOutputConfigurationArgs

    Configuration for a report output destination.

    ServiceResourceConfiguration, ServiceResourceConfigurationArgs

    Resource configuration for an input source. Provide exactly one field.
    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, ServiceResourceTagArgs

    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, ServiceS3ReportOutputConfigurationArgs

    S3 configuration for report output.
    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, ServiceSloSourceArgs

    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, ServiceTargetSourceArgs

    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, TagArgs

    A set of tags to apply to the resource.
    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