1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. servicecatalog
  6. ServiceAction

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
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.AwsNative.ServiceCatalog.Inputs.ServiceActionDefinitionParameter>
    A map that defines the self-service action.
    DefinitionType Pulumi.AwsNative.ServiceCatalog.ServiceActionDefinitionType
    The self-service action definition type. For example, SSM_AUTOMATION .
    AcceptLanguage Pulumi.AwsNative.ServiceCatalog.ServiceActionAcceptLanguage
    The language code.

    • en - English (default)
    • jp - Japanese
    • zh - Chinese
    Description string
    The self-service action description.
    Name string
    The self-service action name.
    Definition []ServiceActionDefinitionParameterArgs
    A map that defines the self-service action.
    DefinitionType ServiceActionDefinitionType
    The self-service action definition type. For example, SSM_AUTOMATION .
    AcceptLanguage ServiceActionAcceptLanguage
    The language code.

    • en - English (default)
    • jp - Japanese
    • zh - 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 - Japanese
    • zh - Chinese
    description string
    The self-service action description.
    name string
    The self-service action name.
    definition List<ServiceActionDefinitionParameter>
    A map that defines the self-service action.
    definitionType ServiceActionDefinitionType
    The self-service action definition type. For example, SSM_AUTOMATION .
    acceptLanguage ServiceActionAcceptLanguage
    The language code.

    • en - English (default)
    • jp - Japanese
    • zh - Chinese
    description String
    The self-service action description.
    name String
    The self-service action name.
    definition ServiceActionDefinitionParameter[]
    A map that defines the self-service action.
    definitionType ServiceActionDefinitionType
    The self-service action definition type. For example, SSM_AUTOMATION .
    acceptLanguage ServiceActionAcceptLanguage
    The language code.

    • en - English (default)
    • jp - Japanese
    • zh - Chinese
    description string
    The self-service action description.
    name string
    The self-service action name.
    definition Sequence[ServiceActionDefinitionParameterArgs]
    A map that defines the self-service action.
    definition_type ServiceActionDefinitionType
    The self-service action definition type. For example, SSM_AUTOMATION .
    accept_language ServiceActionAcceptLanguage
    The language code.

    • en - English (default)
    • jp - Japanese
    • zh - 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.
    definitionType "SSM_AUTOMATION"
    The self-service action definition type. For example, SSM_AUTOMATION .
    acceptLanguage "en" | "jp" | "zh"
    The language code.

    • en - English (default)
    • jp - Japanese
    • zh - 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:

    AwsId string
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    Id string
    The provider-assigned unique ID for this managed resource.
    AwsId string
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    Id string
    The provider-assigned unique ID for this managed resource.
    aws_id string
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    id string
    The provider-assigned unique ID for this managed resource.
    awsId String
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    id String
    The provider-assigned unique ID for this managed resource.
    awsId string
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    id string
    The provider-assigned unique ID for this managed resource.
    aws_id str
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    id str
    The provider-assigned unique ID for this managed resource.
    awsId String
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    id String
    The provider-assigned unique ID for this managed resource.

    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) -> ServiceAction
    func 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 - Japanese
    • zh - Chinese
    NameValue
    Enen
    Jpjp
    Zhzh
    NameValue
    ServiceActionAcceptLanguageEnen
    ServiceActionAcceptLanguageJpjp
    ServiceActionAcceptLanguageZhzh
    Value
    en
    jp
    zh
    NameValue
    Enen
    Jpjp
    Zhzh
    NameValue
    Enen
    Jpjp
    Zhzh
    NameValue
    ENen
    JPjp
    ZHzh
    Value
    en
    jp
    zh

    ServiceActionDefinitionParameter, ServiceActionDefinitionParameterArgs

    Key string
    The parameter key.
    Value string
    The value of the parameter.
    Key string
    The parameter key.
    Value string
    The value of the parameter.
    key string
    The parameter key.
    value string
    The value of the parameter.
    key String
    The parameter key.
    value String
    The value of the parameter.
    key string
    The parameter key.
    value string
    The value of the parameter.
    key str
    The parameter key.
    value str
    The value of the parameter.
    key String
    The parameter key.
    value String
    The value of the parameter.

    ServiceActionDefinitionType

    The self-service action definition type. For example, SSM_AUTOMATION .

    NameValue
    SsmAutomationSSM_AUTOMATION
    NameValue
    ServiceActionDefinitionTypeSsmAutomationSSM_AUTOMATION
    Value
    SSM_AUTOMATION
    NameValue
    SsmAutomationSSM_AUTOMATION
    NameValue
    SsmAutomationSSM_AUTOMATION
    NameValue
    SSM_AUTOMATIONSSM_AUTOMATION
    Value
    SSM_AUTOMATION

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial