Class: Aws::ServiceCatalog::Types::CreateServiceActionInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::ServiceCatalog::Types::CreateServiceActionInput
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-servicecatalog/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#accept_language ⇒ String
The language code.
-
#definition ⇒ Hash<String,String>
The self-service action definition.
-
#definition_type ⇒ String
The service action definition type.
-
#description ⇒ String
The self-service action description.
-
#idempotency_token ⇒ String
A unique identifier that you provide to ensure idempotency.
-
#name ⇒ String
The self-service action name.
Instance Attribute Details
#accept_language ⇒ String
The language code.
-
‘jp` - Japanese
-
‘zh` - Chinese
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 |
# File 'lib/aws-sdk-servicecatalog/types.rb', line 1237 class CreateServiceActionInput < Struct.new( :name, :definition_type, :definition, :description, :accept_language, :idempotency_token) SENSITIVE = [] include Aws::Structure end |
#definition ⇒ Hash<String,String>
The self-service action definition. Can be one of the following:
Name
: The name of the Amazon Web Services Systems Manager document (SSM
document). For example, `AWS-RestartEC2Instance`.
If you are using a shared SSM document, you must provide the ARN
instead of the name.
Version
: The Amazon Web Services Systems Manager automation document
version. For example, `"Version": "1"`
AssumeRole
: The Amazon Resource Name (ARN) of the role that performs the
self-service actions on your behalf. For example, `"AssumeRole":
"arn:aws:iam::12345678910:role/ActionRole"`.
To reuse the provisioned product launch role, set to
`"AssumeRole": "LAUNCH_ROLE"`.
Parameters
: The list of parameters in JSON format.
For example: `[{"Name":"InstanceId","Type":"TARGET"}]` or
`[{"Name":"InstanceId","Type":"TEXT_VALUE"}]`.
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 |
# File 'lib/aws-sdk-servicecatalog/types.rb', line 1237 class CreateServiceActionInput < Struct.new( :name, :definition_type, :definition, :description, :accept_language, :idempotency_token) SENSITIVE = [] include Aws::Structure end |
#definition_type ⇒ String
The service action definition type. For example, ‘SSM_AUTOMATION`.
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 |
# File 'lib/aws-sdk-servicecatalog/types.rb', line 1237 class CreateServiceActionInput < Struct.new( :name, :definition_type, :definition, :description, :accept_language, :idempotency_token) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
The self-service action description.
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 |
# File 'lib/aws-sdk-servicecatalog/types.rb', line 1237 class CreateServiceActionInput < Struct.new( :name, :definition_type, :definition, :description, :accept_language, :idempotency_token) SENSITIVE = [] include Aws::Structure end |
#idempotency_token ⇒ String
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
**A suitable default value is auto-generated.** You should normally not need to pass this option.
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 |
# File 'lib/aws-sdk-servicecatalog/types.rb', line 1237 class CreateServiceActionInput < Struct.new( :name, :definition_type, :definition, :description, :accept_language, :idempotency_token) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The self-service action name.
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 |
# File 'lib/aws-sdk-servicecatalog/types.rb', line 1237 class CreateServiceActionInput < Struct.new( :name, :definition_type, :definition, :description, :accept_language, :idempotency_token) SENSITIVE = [] include Aws::Structure end |