interface CfnServiceProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.RefactorSpaces.CfnServiceProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsrefactorspaces#CfnServiceProps |
Java | software.amazon.awscdk.services.refactorspaces.CfnServiceProps |
Python | aws_cdk.aws_refactorspaces.CfnServiceProps |
TypeScript | aws-cdk-lib » aws_refactorspaces » 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_refactorspaces as refactorspaces } from 'aws-cdk-lib';
const cfnServiceProps: refactorspaces.CfnServiceProps = {
applicationIdentifier: 'applicationIdentifier',
endpointType: 'endpointType',
environmentIdentifier: 'environmentIdentifier',
name: 'name',
// the properties below are optional
description: 'description',
lambdaEndpoint: {
arn: 'arn',
},
tags: [{
key: 'key',
value: 'value',
}],
urlEndpoint: {
url: 'url',
// the properties below are optional
healthUrl: 'healthUrl',
},
vpcId: 'vpcId',
};
Properties
| Name | Type | Description |
|---|---|---|
| application | string | The unique identifier of the application. |
| endpoint | string | The endpoint type of the service. |
| environment | string | The unique identifier of the environment. |
| name | string | The name of the service. |
| description? | string | A description of the service. |
| lambda | IResolvable | Lambda | A summary of the configuration for the AWS Lambda endpoint type. |
| tags? | Cfn[] | The tags assigned to the service. |
| url | IResolvable | Url | The summary of the configuration for the URL endpoint type. |
| vpc | string | The ID of the virtual private cloud (VPC). |
applicationIdentifier
Type:
string
The unique identifier of the application.
endpointType
Type:
string
The endpoint type of the service.
environmentIdentifier
Type:
string
The unique identifier of the environment.
name
Type:
string
The name of the service.
description?
Type:
string
(optional)
A description of the service.
lambdaEndpoint?
Type:
IResolvable | Lambda
(optional)
A summary of the configuration for the AWS Lambda endpoint type.
tags?
Type:
Cfn[]
(optional)
The tags assigned to the service.
urlEndpoint?
Type:
IResolvable | Url
(optional)
The summary of the configuration for the URL endpoint type.
vpcId?
Type:
string
(optional)
The ID of the virtual private cloud (VPC).

.NET
Go
Java
Python
TypeScript