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

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.servicecatalog.getServiceAction

Explore with Pulumi AI

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 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>
Copy
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]
Copy
func LookupServiceAction(ctx *Context, args *LookupServiceActionArgs, opts ...InvokeOption) (*LookupServiceActionResult, error)
func LookupServiceActionOutput(ctx *Context, args *LookupServiceActionOutputArgs, opts ...InvokeOption) LookupServiceActionResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetServiceActionResult> getServiceAction(GetServiceActionArgs args, InvokeOptions options)
public static Output<GetServiceActionResult> getServiceAction(GetServiceActionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:servicecatalog:getServiceAction
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id This property is required. string
The self-service action identifier. For example, act-fs7abcd89wxyz .
Id This property is required. string
The self-service action identifier. For example, act-fs7abcd89wxyz .
id This property is required. String
The self-service action identifier. For example, act-fs7abcd89wxyz .
id This property is required. string
The self-service action identifier. For example, act-fs7abcd89wxyz .
id This property is required. str
The self-service action identifier. For example, act-fs7abcd89wxyz .
id This property is required. 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 This property is required. string
The parameter key.
Value This property is required. string
The value of the parameter.
Key This property is required. string
The parameter key.
Value This property is required. string
The value of the parameter.
key This property is required. String
The parameter key.
value This property is required. String
The value of the parameter.
key This property is required. string
The parameter key.
value This property is required. string
The value of the parameter.
key This property is required. str
The parameter key.
value This property is required. str
The value of the parameter.
key This property is required. String
The parameter key.
value This property is required. String
The value of the parameter.

ServiceActionDefinitionType

Package Details

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

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi