AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.79.0 published on Monday, Oct 2, 2023 by Pulumi
aws-native.cloudfront.getFunction
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.79.0 published on Monday, Oct 2, 2023 by Pulumi
Resource Type definition for AWS::CloudFront::Function
Using getFunction
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 getFunction(args: GetFunctionArgs, opts?: InvokeOptions): Promise<GetFunctionResult>
function getFunctionOutput(args: GetFunctionOutputArgs, opts?: InvokeOptions): Output<GetFunctionResult>
def get_function(function_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFunctionResult
def get_function_output(function_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFunctionResult]
func LookupFunction(ctx *Context, args *LookupFunctionArgs, opts ...InvokeOption) (*LookupFunctionResult, error)
func LookupFunctionOutput(ctx *Context, args *LookupFunctionOutputArgs, opts ...InvokeOption) LookupFunctionResultOutput
> Note: This function is named LookupFunction
in the Go SDK.
public static class GetFunction
{
public static Task<GetFunctionResult> InvokeAsync(GetFunctionArgs args, InvokeOptions? opts = null)
public static Output<GetFunctionResult> Invoke(GetFunctionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFunctionResult> getFunction(GetFunctionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:cloudfront:getFunction
arguments:
# arguments dictionary
The following arguments are supported:
- Function
Arn string
- Function
Arn string
- function
Arn String
- function
Arn string
- function_
arn str
- function
Arn String
getFunction Result
The following output properties are available:
- Function
Arn string - Function
Code string - Function
Config FunctionConfig - Function
Metadata FunctionMetadata - Name string
- Stage string
- function
Arn String - function
Code String - function
Config FunctionConfig - function
Metadata FunctionMetadata - name String
- stage String
- function
Arn string - function
Code string - function
Config FunctionConfig - function
Metadata FunctionMetadata - name string
- stage string
- function
Arn String - function
Code String - function
Config Property Map - function
Metadata Property Map - name String
- stage String
Supporting Types
FunctionConfig
FunctionMetadata
- Function
Arn string
- Function
Arn string
- function
Arn String
- function
Arn string
- function_
arn str
- function
Arn String
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.79.0 published on Monday, Oct 2, 2023 by Pulumi