Show / Hide Table of Contents

Class CfnServiceProps

Properties for defining a CfnService.

Inheritance
object
CfnServiceProps
Implements
ICfnServiceProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.ResilienceHubV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnServiceProps : ICfnServiceProps
Syntax (vb)
Public Class CfnServiceProps Implements ICfnServiceProps
Remarks

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

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.ResilienceHubV2;

             var cfnServiceProps = new CfnServiceProps {
                 Name = "name",
                 Regions = new [] { "regions" },

                 // the properties below are optional
                 Assertions = new [] { new AssertionDefinitionProperty {
                     Text = "text"
                 } },
                 AssociatedSystems = new [] { new AssociatedSystemProperty {
                     SystemArn = "systemArn",

                     // the properties below are optional
                     UserJourneyIds = new [] { "userJourneyIds" }
                 } },
                 DependencyDiscovery = "dependencyDiscovery",
                 Description = "description",
                 InputSources = new [] { new InputSourceDefinitionProperty {
                     ResourceConfiguration = new ResourceConfigurationProperty {
                         CfnStackArn = "cfnStackArn",
                         DesignFileS3Url = "designFileS3Url",
                         Eks = new EksSourceProperty {
                             ClusterArn = "clusterArn",
                             Namespaces = new [] { "namespaces" }
                         },
                         ResourceTags = new [] { new ResourceTagProperty {
                             Key = "key",
                             Values = new [] { "values" }
                         } },
                         TfStateFileUrl = "tfStateFileUrl"
                     }
                 } },
                 KmsKeyId = "kmsKeyId",
                 PermissionModel = new PermissionModelProperty {
                     InvokerRoleName = "invokerRoleName",

                     // the properties below are optional
                     CrossAccountRoleArns = new [] { new CrossAccountRoleConfigurationProperty {
                         CrossAccountRoleArn = "crossAccountRoleArn",

                         // the properties below are optional
                         ExternalId = "externalId"
                     } }
                 },
                 PolicyArn = "policyArn",
                 ReportConfiguration = new ServiceReportConfigurationProperty {
                     ReportOutput = new [] { new ReportOutputConfigurationProperty {
                         S3 = new S3ReportOutputConfigurationProperty {
                             BucketOwner = "bucketOwner",
                             BucketPath = "bucketPath"
                         }
                     } }
                 },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

CfnServiceProps()

Properties for defining a CfnService.

Properties

Assertions

Assertions associated with this service.

AssociatedSystems

Systems associated with this service.

DependencyDiscovery

Dependency discovery state.

Description

The description of the service.

InputSources

Input sources for this service.

KmsKeyId

The KMS key ID for encrypting service data.

Name

The name of the service.

PermissionModel

Properties for defining a CfnService.

PolicyArn

The ARN of the resilience policy to associate.

Regions

AWS regions for the service.

ReportConfiguration

Configuration for automatic report generation on a Service.

Tags

Tags assigned to the service.

Constructors

CfnServiceProps()

Properties for defining a CfnService.

public CfnServiceProps()
Remarks

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

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.ResilienceHubV2;

             var cfnServiceProps = new CfnServiceProps {
                 Name = "name",
                 Regions = new [] { "regions" },

                 // the properties below are optional
                 Assertions = new [] { new AssertionDefinitionProperty {
                     Text = "text"
                 } },
                 AssociatedSystems = new [] { new AssociatedSystemProperty {
                     SystemArn = "systemArn",

                     // the properties below are optional
                     UserJourneyIds = new [] { "userJourneyIds" }
                 } },
                 DependencyDiscovery = "dependencyDiscovery",
                 Description = "description",
                 InputSources = new [] { new InputSourceDefinitionProperty {
                     ResourceConfiguration = new ResourceConfigurationProperty {
                         CfnStackArn = "cfnStackArn",
                         DesignFileS3Url = "designFileS3Url",
                         Eks = new EksSourceProperty {
                             ClusterArn = "clusterArn",
                             Namespaces = new [] { "namespaces" }
                         },
                         ResourceTags = new [] { new ResourceTagProperty {
                             Key = "key",
                             Values = new [] { "values" }
                         } },
                         TfStateFileUrl = "tfStateFileUrl"
                     }
                 } },
                 KmsKeyId = "kmsKeyId",
                 PermissionModel = new PermissionModelProperty {
                     InvokerRoleName = "invokerRoleName",

                     // the properties below are optional
                     CrossAccountRoleArns = new [] { new CrossAccountRoleConfigurationProperty {
                         CrossAccountRoleArn = "crossAccountRoleArn",

                         // the properties below are optional
                         ExternalId = "externalId"
                     } }
                 },
                 PolicyArn = "policyArn",
                 ReportConfiguration = new ServiceReportConfigurationProperty {
                     ReportOutput = new [] { new ReportOutputConfigurationProperty {
                         S3 = new S3ReportOutputConfigurationProperty {
                             BucketOwner = "bucketOwner",
                             BucketPath = "bucketPath"
                         }
                     } }
                 },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

Assertions

Assertions associated with this service.

public object? Assertions { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or (either IResolvable or CfnService.IAssertionDefinitionProperty)[]

AssociatedSystems

Systems associated with this service.

public object? AssociatedSystems { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or (either IResolvable or CfnService.IAssociatedSystemProperty)[]

DependencyDiscovery

Dependency discovery state.

public string? DependencyDiscovery { get; set; }
Property Value

string

Remarks

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

Description

The description of the service.

public string? Description { get; set; }
Property Value

string

Remarks

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

InputSources

Input sources for this service.

public object? InputSources { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or (either IResolvable or CfnService.IInputSourceDefinitionProperty)[]

KmsKeyId

The KMS key ID for encrypting service data.

public string? KmsKeyId { get; set; }
Property Value

string

Remarks

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

Name

The name of the service.

public string Name { get; set; }
Property Value

string

Remarks

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

PermissionModel

Properties for defining a CfnService.

public object? PermissionModel { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnService.IPermissionModelProperty

PolicyArn

The ARN of the resilience policy to associate.

public string? PolicyArn { get; set; }
Property Value

string

Remarks

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

Regions

AWS regions for the service.

public string[] Regions { get; set; }
Property Value

string[]

Remarks

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

ReportConfiguration

Configuration for automatic report generation on a Service.

public object? ReportConfiguration { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnService.IServiceReportConfigurationProperty

Tags

Tags assigned to the service.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

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

Implements

ICfnServiceProps
Back to top Generated by DocFX