CfnServiceProps

class aws_cdk.aws_resiliencehubv2.CfnServiceProps(*, name, regions, assertions=None, associated_systems=None, dependency_discovery=None, description=None, input_sources=None, kms_key_id=None, permission_model=None, policy_arn=None, report_configuration=None, tags=None)

Bases: object

Properties for defining a CfnService.

Parameters:
  • name (str) – The name of the service.

  • regions (Sequence[str]) – AWS regions for the service.

  • assertions (Union[IResolvable, Sequence[Union[IResolvable, AssertionDefinitionProperty, Dict[str, Any]]], None]) – Assertions associated with this service.

  • associated_systems (Union[IResolvable, Sequence[Union[IResolvable, AssociatedSystemProperty, Dict[str, Any]]], None]) – Systems associated with this service.

  • dependency_discovery (Optional[str]) – Dependency discovery state.

  • description (Optional[str]) – The description of the service.

  • input_sources (Union[IResolvable, Sequence[Union[IResolvable, InputSourceDefinitionProperty, Dict[str, Any]]], None]) – Input sources for this service.

  • kms_key_id (Optional[str]) – The KMS key ID for encrypting service data.

  • permission_model (Union[IResolvable, PermissionModelProperty, Dict[str, Any], None])

  • policy_arn (Optional[str]) – The ARN of the resilience policy to associate.

  • report_configuration (Union[IResolvable, ServiceReportConfigurationProperty, Dict[str, Any], None]) – Configuration for automatic report generation on a Service.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Tags assigned to the service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-service.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_resiliencehubv2 as resiliencehubv2

cfn_service_props = resiliencehubv2.CfnServiceProps(
    name="name",
    regions=["regions"],

    # the properties below are optional
    assertions=[resiliencehubv2.CfnService.AssertionDefinitionProperty(
        text="text"
    )],
    associated_systems=[resiliencehubv2.CfnService.AssociatedSystemProperty(
        system_arn="systemArn",

        # the properties below are optional
        user_journey_ids=["userJourneyIds"]
    )],
    dependency_discovery="dependencyDiscovery",
    description="description",
    input_sources=[resiliencehubv2.CfnService.InputSourceDefinitionProperty(
        resource_configuration=resiliencehubv2.CfnService.ResourceConfigurationProperty(
            cfn_stack_arn="cfnStackArn",
            design_file_s3_url="designFileS3Url",
            eks=resiliencehubv2.CfnService.EksSourceProperty(
                cluster_arn="clusterArn",
                namespaces=["namespaces"]
            ),
            resource_tags=[resiliencehubv2.CfnService.ResourceTagProperty(
                key="key",
                values=["values"]
            )],
            tf_state_file_url="tfStateFileUrl"
        )
    )],
    kms_key_id="kmsKeyId",
    permission_model=resiliencehubv2.CfnService.PermissionModelProperty(
        invoker_role_name="invokerRoleName",

        # the properties below are optional
        cross_account_role_arns=[resiliencehubv2.CfnService.CrossAccountRoleConfigurationProperty(
            cross_account_role_arn="crossAccountRoleArn",

            # the properties below are optional
            external_id="externalId"
        )]
    ),
    policy_arn="policyArn",
    report_configuration=resiliencehubv2.CfnService.ServiceReportConfigurationProperty(
        report_output=[resiliencehubv2.CfnService.ReportOutputConfigurationProperty(
            s3=resiliencehubv2.CfnService.S3ReportOutputConfigurationProperty(
                bucket_owner="bucketOwner",
                bucket_path="bucketPath"
            )
        )]
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

assertions

Assertions associated with this service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-service.html#cfn-resiliencehubv2-service-assertions

associated_systems

Systems associated with this service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-service.html#cfn-resiliencehubv2-service-associatedsystems

dependency_discovery

Dependency discovery state.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-service.html#cfn-resiliencehubv2-service-dependencydiscovery

description

The description of the service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-service.html#cfn-resiliencehubv2-service-description

input_sources

Input sources for this service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-service.html#cfn-resiliencehubv2-service-inputsources

kms_key_id

The KMS key ID for encrypting service data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-service.html#cfn-resiliencehubv2-service-kmskeyid

name

The name of the service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-service.html#cfn-resiliencehubv2-service-name

permission_model

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-service.html#cfn-resiliencehubv2-service-permissionmodel

Type:

see

policy_arn

The ARN of the resilience policy to associate.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-service.html#cfn-resiliencehubv2-service-policyarn

regions

AWS regions for the service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-service.html#cfn-resiliencehubv2-service-regions

report_configuration

Configuration for automatic report generation on a Service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-service.html#cfn-resiliencehubv2-service-reportconfiguration

tags

Tags assigned to the service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-service.html#cfn-resiliencehubv2-service-tags