# AWS::VpcLattice::Service A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC). ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{ "Type" : "AWS::VpcLattice::Service", "Properties" : { "AuthType" : String, "DnsEntry" : DnsEntry, "Name" : String, "CertificateArn" : String, "CustomDomainName" : String, "Tags" : [ Tag, ... ] } }### YAML
Type: AWS::VpcLattice::Service Properties: AuthType: String DnsEntry: DnsEntry Name: String CertificateArn: String CustomDomainName: String Tags: - Tag## Properties #### AuthType _Required_: No _Type_: String _Allowed Values_:
NONE
| AWS_IAM
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### DnsEntry
_Required_: No
_Type_: DnsEntry
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### Name
_Required_: No
_Type_: String
_Minimum Length_: 3
_Maximum Length_: 40
_Pattern_: ^(?!svc-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### CertificateArn
_Required_: No
_Type_: String
_Maximum Length_: 2048
_Pattern_: ^(arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:certificate/[0-9a-z-]+)?$
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### CustomDomainName
_Required_: No
_Type_: String
_Minimum Length_: 3
_Maximum Length_: 255
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### Tags
_Required_: No
_Type_: List of Tag
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
## Return Values
### Ref
When you pass the logical ID of this resource to the intrinsic `Ref` function, Ref returns the Arn.
### Fn::GetAtt
The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html).
#### Arn
Returns the Arn
value.
#### CreatedAt
Returns the CreatedAt
value.
#### DomainName
Returns the DomainName
value.
#### HostedZoneId
Returns the HostedZoneId
value.
#### Id
Returns the Id
value.
#### LastUpdatedAt
Returns the LastUpdatedAt
value.
#### Status
Returns the Status
value.