AWS::VpcLattice::ServiceCreates a service. A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC). For more information, see [Services](https://docs.aws.amazon.com/vpc-lattice/latest/ug/services.html) in the *Amazon VPC Lattice User Guide* .
import { CfnService } from 'aws-cdk-lib/aws-vpclattice';Or use the module namespace:
import * as vpclattice from 'aws-cdk-lib/aws-vpclattice';
// vpclattice.CfnServiceConfiguration passed to the constructor as CfnServiceProps.
authTypeOptionalstringThe type of IAM policy. - `NONE` : The resource does not use an IAM policy. This is the default. - `AWS_IAM` : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
Default: - "NONE"
certificateArnOptionalstringThe Amazon Resource Name (ARN) of the certificate.
customDomainNameOptionalstringThe custom domain name of the service.
dnsEntryOptionalIResolvable | DnsEntryPropertyDescribes the DNS information of the service. This field is read-only.
nameOptionalstringThe name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen. If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
tagsOptionalCfnTag[]The tags for the service.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-vpclatticeAWS::VpcLattice::Service