1. Packages
  2. AWS Native
  3. API Docs
  4. servicecatalog
  5. getServiceAction

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.servicecatalog.getServiceAction

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    Resource Schema for AWS::ServiceCatalog::ServiceAction

    Using getServiceAction

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getServiceAction(args: GetServiceActionArgs, opts?: InvokeOptions): Promise<GetServiceActionResult>
    function getServiceActionOutput(args: GetServiceActionOutputArgs, opts?: InvokeOptions): Output<GetServiceActionResult>
    def get_service_action(id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetServiceActionResult
    def get_service_action_output(id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetServiceActionResult]
    func LookupServiceAction(ctx *Context, args *LookupServiceActionArgs, opts ...InvokeOption) (*LookupServiceActionResult, error)
    func LookupServiceActionOutput(ctx *Context, args *LookupServiceActionOutputArgs, opts ...InvokeOption) LookupServiceActionResultOutput

    > Note: This function is named LookupServiceAction in the Go SDK.

    public static class GetServiceAction 
    {
        public static Task<GetServiceActionResult> InvokeAsync(GetServiceActionArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceActionResult> Invoke(GetServiceActionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceActionResult> getServiceAction(GetServiceActionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:servicecatalog:getServiceAction
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    Id string
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    id String
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    id string
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    id str
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    id String
    The self-service action identifier. For example, act-fs7abcd89wxyz .

    getServiceAction Result

    The following output properties are available:

    Definition List<Pulumi.AwsNative.ServiceCatalog.Outputs.ServiceActionDefinitionParameter>
    A map that defines the self-service action.
    DefinitionType Pulumi.AwsNative.ServiceCatalog.ServiceActionDefinitionType
    The self-service action definition type. For example, SSM_AUTOMATION .
    Description string
    The self-service action description.
    Id string
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    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 .
    Description string
    The self-service action description.
    Id string
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    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 .
    description String
    The self-service action description.
    id String
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    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 .
    description string
    The self-service action description.
    id string
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    name string
    The self-service action name.
    definition Sequence[ServiceActionDefinitionParameter]
    A map that defines the self-service action.
    definition_type ServiceActionDefinitionType
    The self-service action definition type. For example, SSM_AUTOMATION .
    description str
    The self-service action description.
    id str
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    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 .
    description String
    The self-service action description.
    id String
    The self-service action identifier. For example, act-fs7abcd89wxyz .
    name String
    The self-service action name.

    Supporting Types

    ServiceActionDefinitionParameter

    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

    Package Details

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

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

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi