We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Schema for AWS::ServiceCatalog::ServiceAction
Create ServiceAction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServiceAction(name: string, args: ServiceActionArgs, opts?: CustomResourceOptions);@overload
def ServiceAction(resource_name: str,
args: ServiceActionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServiceAction(resource_name: str,
opts: Optional[ResourceOptions] = None,
definition: Optional[Sequence[ServiceActionDefinitionParameterArgs]] = None,
definition_type: Optional[ServiceActionDefinitionType] = None,
accept_language: Optional[ServiceActionAcceptLanguage] = None,
description: Optional[str] = None,
name: Optional[str] = None)func NewServiceAction(ctx *Context, name string, args ServiceActionArgs, opts ...ResourceOption) (*ServiceAction, error)public ServiceAction(string name, ServiceActionArgs args, CustomResourceOptions? opts = null)
public ServiceAction(String name, ServiceActionArgs args)
public ServiceAction(String name, ServiceActionArgs args, CustomResourceOptions options)
type: aws-native:servicecatalog:ServiceAction
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_servicecatalog_service_action" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ServiceActionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ServiceActionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ServiceActionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceActionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceActionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ServiceAction Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ServiceAction resource accepts the following input properties:
- Definition
List<Pulumi.
Aws Native. Service Catalog. Inputs. Service Action Definition Parameter> - A map that defines the self-service action.
- Definition
Type Pulumi.Aws Native. Service Catalog. Service Action Definition Type - The self-service action definition type. For example,
SSM_AUTOMATION. - Accept
Language Pulumi.Aws Native. Service Catalog. Service Action Accept Language - The language code.
en- English (default)jp- Japanesezh- Chinese
- Description string
- The self-service action description.
- Name string
- The self-service action name.
- Definition
[]Service
Action Definition Parameter Args - A map that defines the self-service action.
- Definition
Type ServiceAction Definition Type - The self-service action definition type. For example,
SSM_AUTOMATION. - Accept
Language ServiceAction Accept Language - The language code.
en- English (default)jp- Japanesezh- Chinese
- Description string
- The self-service action description.
- Name string
- The self-service action name.
- definition list(object)
- A map that defines the self-service action.
- definition_
type "SSM_AUTOMATION" - The self-service action definition type. For example,
SSM_AUTOMATION. - accept_
language "en" | "jp" | "zh" - The language code.
en- English (default)jp- Japanesezh- Chinese
- description string
- The self-service action description.
- name string
- The self-service action name.
- definition
List<Service
Action Definition Parameter> - A map that defines the self-service action.
- definition
Type ServiceAction Definition Type - The self-service action definition type. For example,
SSM_AUTOMATION. - accept
Language ServiceAction Accept Language - The language code.
en- English (default)jp- Japanesezh- Chinese
- description String
- The self-service action description.
- name String
- The self-service action name.
- definition
Service
Action Definition Parameter[] - A map that defines the self-service action.
- definition
Type ServiceAction Definition Type - The self-service action definition type. For example,
SSM_AUTOMATION. - accept
Language ServiceAction Accept Language - The language code.
en- English (default)jp- Japanesezh- Chinese
- description string
- The self-service action description.
- name string
- The self-service action name.
- definition
Sequence[Service
Action Definition Parameter Args] - A map that defines the self-service action.
- definition_
type ServiceAction Definition Type - The self-service action definition type. For example,
SSM_AUTOMATION. - accept_
language ServiceAction Accept Language - The language code.
en- English (default)jp- Japanesezh- Chinese
- description str
- The self-service action description.
- name str
- The self-service action name.
- definition List<Property Map>
- A map that defines the self-service action.
- definition
Type "SSM_AUTOMATION" - The self-service action definition type. For example,
SSM_AUTOMATION. - accept
Language "en" | "jp" | "zh" - The language code.
en- English (default)jp- Japanesezh- Chinese
- description String
- The self-service action description.
- name String
- The self-service action name.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServiceAction resource produces the following output properties:
Look up Existing ServiceAction Resource
Get an existing ServiceAction resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): ServiceAction@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> ServiceActionfunc GetServiceAction(ctx *Context, name string, id IDInput, state *ServiceActionState, opts ...ResourceOption) (*ServiceAction, error)public static ServiceAction Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static ServiceAction get(String name, Output<String> id, CustomResourceOptions options)resources: existingServiceAction: type: aws-native:servicecatalog:ServiceAction get: id: ${id}import {
to = aws-native_servicecatalog_service_action.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state ServiceActionState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
ServiceActionAcceptLanguage
The language code.
en- English (default)jp- Japanesezh- Chinese
| Name | Value |
|---|---|
| En | en |
| Jp | jp |
| Zh | zh |
| Name | Value |
|---|---|
| Service | en |
| Service | jp |
| Service | zh |
| Value |
|---|
en |
jp |
zh |
| Name | Value |
|---|---|
| En | en |
| Jp | jp |
| Zh | zh |
| Name | Value |
|---|---|
| En | en |
| Jp | jp |
| Zh | zh |
| Name | Value |
|---|---|
| EN | en |
| JP | jp |
| ZH | zh |
| Value |
|---|
en |
jp |
zh |
ServiceActionDefinitionParameter, ServiceActionDefinitionParameterArgs
ServiceActionDefinitionType
The self-service action definition type. For example, SSM_AUTOMATION .
| Name | Value |
|---|---|
| Ssm | SSM_AUTOMATION |
| Name | Value |
|---|---|
| Service | SSM_AUTOMATION |
| Value |
|---|
SSM_AUTOMATION |
| Name | Value |
|---|---|
| Ssm | SSM_AUTOMATION |
| Name | Value |
|---|---|
| Ssm | SSM_AUTOMATION |
| Name | Value |
|---|---|
| SSM_AUTOMATION | SSM_AUTOMATION |
| Value |
|---|
SSM_AUTOMATION |
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi