Class CfnServiceProps
Properties for defining a CfnService.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.ResilienceHubV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnServiceProps : ICfnServiceProps
Syntax (vb)
Public Class CfnServiceProps Implements ICfnServiceProps
Remarks
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 |
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 |
| 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
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
Remarks
AssociatedSystems
Systems associated with this service.
public object? AssociatedSystems { get; set; }
Property Value
Remarks
DependencyDiscovery
Dependency discovery state.
public string? DependencyDiscovery { get; set; }
Property Value
Remarks
Description
The description of the service.
public string? Description { get; set; }
Property Value
Remarks
InputSources
Input sources for this service.
public object? InputSources { get; set; }
Property Value
Remarks
KmsKeyId
The KMS key ID for encrypting service data.
public string? KmsKeyId { get; set; }
Property Value
Remarks
Name
The name of the service.
public string Name { get; set; }
Property Value
Remarks
PermissionModel
Properties for defining a CfnService.
public object? PermissionModel { get; set; }
Property Value
Remarks
PolicyArn
The ARN of the resilience policy to associate.
public string? PolicyArn { get; set; }
Property Value
Remarks
Regions
ReportConfiguration
Configuration for automatic report generation on a Service.
public object? ReportConfiguration { get; set; }