ResourceConfigurationProperty Struct
Resource configuration for an input source.
Provide exactly one field.
Example
ts
// 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 resourceConfigurationProperty: resiliencehubv2.CfnService.ResourceConfigurationProperty = {
cfnStackArn: 'cfnStackArn',
designFileS3Url: 'designFileS3Url',
eks: {
clusterArn: 'clusterArn',
namespaces: ['namespaces'],
// the properties below are optional
labelSelector: {
matchExpressions: [{
key: 'key',
operator: 'operator',
// the properties below are optional
values: ['values'],
}],
matchLabels: {
matchLabelsKey: 'matchLabels',
},
},
},
resourceTags: [{
key: 'key',
values: ['values'],
}],
tfStateFileUrl: 'tfStateFileUrl',
};
Properties
ARN of a CloudFormation stack.
designFileS3Urlstringdesign_file_s3_urlstrdesignFileS3UrlStringDesignFileS3UrlstringDesignFileS3Url*string#S3 URL of a design file.
eksIResolvable | CfnService.EksSourcePropertyekstyping.Union[IResolvable, EksSourceProperty]eksIResolvableEksIResolvableEksinterface{}#resourceTagsIResolvable | IResolvable | CfnService.ResourceTagProperty[]resource_tagstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ResourceTagProperty]]]resourceTagsIResolvableResourceTagsIResolvableResourceTagsinterface{}#Resource tags to discover resources.
tfStateFileUrlstringtf_state_file_urlstrtfStateFileUrlStringTfStateFileUrlstringTfStateFileUrl*string#URL of a Terraform state file.