# AWS::ServiceCatalog::ServiceAction Resource Schema for AWS::ServiceCatalog::ServiceAction ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{ "Type" : "AWS::ServiceCatalog::ServiceAction", "Properties" : { "AcceptLanguage" : String, "Name" : String, "DefinitionType" : String, "Definition" : [ DefinitionParameter, ... ], "Description" : String, } }### YAML
Type: AWS::ServiceCatalog::ServiceAction Properties: AcceptLanguage: String Name: String DefinitionType: String Definition: - DefinitionParameter Description: String## Properties #### AcceptLanguage _Required_: No _Type_: String _Allowed Values_:
en
| jp
| zh
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### Name
_Required_: Yes
_Type_: String
_Minimum_: 1
_Maximum_: 256
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### DefinitionType
_Required_: Yes
_Type_: String
_Allowed Values_: SSM_AUTOMATION
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### Definition
_Required_: Yes
_Type_: List of DefinitionParameter
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### Description
_Required_: No
_Type_: String
_Maximum_: 1024
_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 Id.
### 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).
#### Id
Returns the Id
value.