interface CfnServiceProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ResilienceHubV2.CfnServiceProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsresiliencehubv2#CfnServiceProps |
Java | software.amazon.awscdk.services.resiliencehubv2.CfnServiceProps |
Python | aws_cdk.aws_resiliencehubv2.CfnServiceProps |
TypeScript | aws-cdk-lib » aws_resiliencehubv2 » CfnServiceProps |
Properties for defining a CfnService.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_resiliencehubv2 as resiliencehubv2 } from 'aws-cdk-lib';
const cfnServiceProps: resiliencehubv2.CfnServiceProps = {
name: 'name',
regions: ['regions'],
// the properties below are optional
assertions: [{
text: 'text',
}],
associatedSystems: [{
systemArn: 'systemArn',
// the properties below are optional
userJourneyIds: ['userJourneyIds'],
}],
dependencyDiscovery: 'dependencyDiscovery',
description: 'description',
inputSources: [{
resourceConfiguration: {
cfnStackArn: 'cfnStackArn',
designFileS3Url: 'designFileS3Url',
eks: {
clusterArn: 'clusterArn',
namespaces: ['namespaces'],
},
resourceTags: [{
key: 'key',
values: ['values'],
}],
tfStateFileUrl: 'tfStateFileUrl',
},
}],
kmsKeyId: 'kmsKeyId',
permissionModel: {
invokerRoleName: 'invokerRoleName',
// the properties below are optional
crossAccountRoleArns: [{
crossAccountRoleArn: 'crossAccountRoleArn',
// the properties below are optional
externalId: 'externalId',
}],
},
policyArn: 'policyArn',
reportConfiguration: {
reportOutput: [{
s3: {
bucketOwner: 'bucketOwner',
bucketPath: 'bucketPath',
},
}],
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the service. |
| regions | string[] | AWS regions for the service. |
| assertions? | IResolvable | (IResolvable | Assertion)[] | Assertions associated with this service. |
| associated | IResolvable | (IResolvable | Associated)[] | Systems associated with this service. |
| dependency | string | Dependency discovery state. |
| description? | string | The description of the service. |
| input | IResolvable | (IResolvable | Input)[] | Input sources for this service. |
| kms | string | The KMS key ID for encrypting service data. |
| permission | IResolvable | Permission | |
| policy | string | The ARN of the resilience policy to associate. |
| report | IResolvable | Service | Configuration for automatic report generation on a Service. |
| tags? | Cfn[] | Tags assigned to the service. |
name
Type:
string
The name of the service.
regions
Type:
string[]
AWS regions for the service.
assertions?
Type:
IResolvable | (IResolvable | Assertion)[]
(optional)
Assertions associated with this service.
associatedSystems?
Type:
IResolvable | (IResolvable | Associated)[]
(optional)
Systems associated with this service.
dependencyDiscovery?
Type:
string
(optional)
Dependency discovery state.
description?
Type:
string
(optional)
The description of the service.
inputSources?
Type:
IResolvable | (IResolvable | Input)[]
(optional)
Input sources for this service.
kmsKeyId?
Type:
string
(optional)
The KMS key ID for encrypting service data.
permissionModel?
Type:
IResolvable | Permission
(optional)
policyArn?
Type:
string
(optional)
The ARN of the resilience policy to associate.
reportConfiguration?
Type:
IResolvable | Service
(optional)
Configuration for automatic report generation on a Service.
tags?
Type:
Cfn[]
(optional)
Tags assigned to the service.

.NET
Go
Java
Python
TypeScript