We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.69.0
published on Monday, Jun 15, 2026 by Pulumi
published on Monday, Jun 15, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.69.0
published on Monday, Jun 15, 2026 by Pulumi
published on Monday, Jun 15, 2026 by Pulumi
Creates a service function within a Resilience Hub service.
Using getServiceFunction
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 getServiceFunction(args: GetServiceFunctionArgs, opts?: InvokeOptions): Promise<GetServiceFunctionResult>
function getServiceFunctionOutput(args: GetServiceFunctionOutputArgs, opts?: InvokeOptions): Output<GetServiceFunctionResult>def get_service_function(service_arn: Optional[str] = None,
service_function_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceFunctionResult
def get_service_function_output(service_arn: pulumi.Input[Optional[str]] = None,
service_function_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceFunctionResult]func LookupServiceFunction(ctx *Context, args *LookupServiceFunctionArgs, opts ...InvokeOption) (*LookupServiceFunctionResult, error)
func LookupServiceFunctionOutput(ctx *Context, args *LookupServiceFunctionOutputArgs, opts ...InvokeOption) LookupServiceFunctionResultOutput> Note: This function is named LookupServiceFunction in the Go SDK.
public static class GetServiceFunction
{
public static Task<GetServiceFunctionResult> InvokeAsync(GetServiceFunctionArgs args, InvokeOptions? opts = null)
public static Output<GetServiceFunctionResult> Invoke(GetServiceFunctionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceFunctionResult> getServiceFunction(GetServiceFunctionArgs args, InvokeOptions options)
public static Output<GetServiceFunctionResult> getServiceFunction(GetServiceFunctionArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:resiliencehubv2:getServiceFunction
arguments:
# arguments dictionarydata "aws-native_resiliencehubv2_getservicefunction" "name" {
# arguments
}The following arguments are supported:
- Service
Arn string - The ARN of the parent service.
- Service
Function stringId - The server-generated service function ID.
- Service
Arn string - The ARN of the parent service.
- Service
Function stringId - The server-generated service function ID.
- service_
arn string - The ARN of the parent service.
- service_
function_ stringid - The server-generated service function ID.
- service
Arn String - The ARN of the parent service.
- service
Function StringId - The server-generated service function ID.
- service
Arn string - The ARN of the parent service.
- service
Function stringId - The server-generated service function ID.
- service_
arn str - The ARN of the parent service.
- service_
function_ strid - The server-generated service function ID.
- service
Arn String - The ARN of the parent service.
- service
Function StringId - The server-generated service function ID.
getServiceFunction Result
The following output properties are available:
- Created
At string - The timestamp when the service function was created.
- Criticality
Pulumi.
Aws Native. Resilience Hub V2. Service Function Criticality - The criticality of the service function.
- Description string
- The description of the service function.
- Name string
- The name of the service function.
- Resource
Count int - The number of resources associated with this function.
- Service
Function stringId - The server-generated service function ID.
- Source
Pulumi.
Aws Native. Resilience Hub V2. Service Function Source - The source of the service function.
- Updated
At string - The timestamp when the service function was last updated.
- Created
At string - The timestamp when the service function was created.
- Criticality
Service
Function Criticality - The criticality of the service function.
- Description string
- The description of the service function.
- Name string
- The name of the service function.
- Resource
Count int - The number of resources associated with this function.
- Service
Function stringId - The server-generated service function ID.
- Source
Service
Function Source - The source of the service function.
- Updated
At string - The timestamp when the service function was last updated.
- created_
at string - The timestamp when the service function was created.
- criticality "PRIMARY" | "SUPPLEMENTAL"
- The criticality of the service function.
- description string
- The description of the service function.
- name string
- The name of the service function.
- resource_
count number - The number of resources associated with this function.
- service_
function_ stringid - The server-generated service function ID.
- source "AI_GENERATED" | "USER"
- The source of the service function.
- updated_
at string - The timestamp when the service function was last updated.
- created
At String - The timestamp when the service function was created.
- criticality
Service
Function Criticality - The criticality of the service function.
- description String
- The description of the service function.
- name String
- The name of the service function.
- resource
Count Integer - The number of resources associated with this function.
- service
Function StringId - The server-generated service function ID.
- source
Service
Function Source - The source of the service function.
- updated
At String - The timestamp when the service function was last updated.
- created
At string - The timestamp when the service function was created.
- criticality
Service
Function Criticality - The criticality of the service function.
- description string
- The description of the service function.
- name string
- The name of the service function.
- resource
Count number - The number of resources associated with this function.
- service
Function stringId - The server-generated service function ID.
- source
Service
Function Source - The source of the service function.
- updated
At string - The timestamp when the service function was last updated.
- created_
at str - The timestamp when the service function was created.
- criticality
Service
Function Criticality - The criticality of the service function.
- description str
- The description of the service function.
- name str
- The name of the service function.
- resource_
count int - The number of resources associated with this function.
- service_
function_ strid - The server-generated service function ID.
- source
Service
Function Source - The source of the service function.
- updated_
at str - The timestamp when the service function was last updated.
- created
At String - The timestamp when the service function was created.
- criticality "PRIMARY" | "SUPPLEMENTAL"
- The criticality of the service function.
- description String
- The description of the service function.
- name String
- The name of the service function.
- resource
Count Number - The number of resources associated with this function.
- service
Function StringId - The server-generated service function ID.
- source "AI_GENERATED" | "USER"
- The source of the service function.
- updated
At String - The timestamp when the service function was last updated.
Supporting Types
ServiceFunctionCriticality
ServiceFunctionSource
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.69.0
published on Monday, Jun 15, 2026 by Pulumi
published on Monday, Jun 15, 2026 by Pulumi