Documentation
¶
Overview ¶
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
Index ¶
- type Alias
- type AliasArgs
- type AliasRoutingConfig
- type AliasRoutingConfigArgs
- func (AliasRoutingConfigArgs) ElementType() reflect.Type
- func (i AliasRoutingConfigArgs) ToAliasRoutingConfigOutput() AliasRoutingConfigOutput
- func (i AliasRoutingConfigArgs) ToAliasRoutingConfigOutputWithContext(ctx context.Context) AliasRoutingConfigOutput
- func (i AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
- func (i AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
- type AliasRoutingConfigInput
- type AliasRoutingConfigOutput
- func (o AliasRoutingConfigOutput) AdditionalVersionWeights() pulumi.Float64MapOutput
- func (AliasRoutingConfigOutput) ElementType() reflect.Type
- func (o AliasRoutingConfigOutput) ToAliasRoutingConfigOutput() AliasRoutingConfigOutput
- func (o AliasRoutingConfigOutput) ToAliasRoutingConfigOutputWithContext(ctx context.Context) AliasRoutingConfigOutput
- func (o AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
- func (o AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
- type AliasRoutingConfigPtrInput
- type AliasRoutingConfigPtrOutput
- func (o AliasRoutingConfigPtrOutput) AdditionalVersionWeights() pulumi.Float64MapOutput
- func (o AliasRoutingConfigPtrOutput) Elem() AliasRoutingConfigOutput
- func (AliasRoutingConfigPtrOutput) ElementType() reflect.Type
- func (o AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
- func (o AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
- type AliasState
- type EventSourceMapping
- type EventSourceMappingArgs
- type EventSourceMappingState
- type Function
- type FunctionArgs
- type FunctionDeadLetterConfig
- type FunctionDeadLetterConfigArgs
- func (FunctionDeadLetterConfigArgs) ElementType() reflect.Type
- func (i FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigOutput() FunctionDeadLetterConfigOutput
- func (i FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigOutputWithContext(ctx context.Context) FunctionDeadLetterConfigOutput
- func (i FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigPtrOutput() FunctionDeadLetterConfigPtrOutput
- func (i FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigPtrOutputWithContext(ctx context.Context) FunctionDeadLetterConfigPtrOutput
- type FunctionDeadLetterConfigInput
- type FunctionDeadLetterConfigOutput
- func (FunctionDeadLetterConfigOutput) ElementType() reflect.Type
- func (o FunctionDeadLetterConfigOutput) TargetArn() pulumi.StringOutput
- func (o FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigOutput() FunctionDeadLetterConfigOutput
- func (o FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigOutputWithContext(ctx context.Context) FunctionDeadLetterConfigOutput
- func (o FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigPtrOutput() FunctionDeadLetterConfigPtrOutput
- func (o FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigPtrOutputWithContext(ctx context.Context) FunctionDeadLetterConfigPtrOutput
- type FunctionDeadLetterConfigPtrInput
- type FunctionDeadLetterConfigPtrOutput
- func (o FunctionDeadLetterConfigPtrOutput) Elem() FunctionDeadLetterConfigOutput
- func (FunctionDeadLetterConfigPtrOutput) ElementType() reflect.Type
- func (o FunctionDeadLetterConfigPtrOutput) TargetArn() pulumi.StringOutput
- func (o FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutput() FunctionDeadLetterConfigPtrOutput
- func (o FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutputWithContext(ctx context.Context) FunctionDeadLetterConfigPtrOutput
- type FunctionEnvironment
- type FunctionEnvironmentArgs
- func (FunctionEnvironmentArgs) ElementType() reflect.Type
- func (i FunctionEnvironmentArgs) ToFunctionEnvironmentOutput() FunctionEnvironmentOutput
- func (i FunctionEnvironmentArgs) ToFunctionEnvironmentOutputWithContext(ctx context.Context) FunctionEnvironmentOutput
- func (i FunctionEnvironmentArgs) ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput
- func (i FunctionEnvironmentArgs) ToFunctionEnvironmentPtrOutputWithContext(ctx context.Context) FunctionEnvironmentPtrOutput
- type FunctionEnvironmentInput
- type FunctionEnvironmentOutput
- func (FunctionEnvironmentOutput) ElementType() reflect.Type
- func (o FunctionEnvironmentOutput) ToFunctionEnvironmentOutput() FunctionEnvironmentOutput
- func (o FunctionEnvironmentOutput) ToFunctionEnvironmentOutputWithContext(ctx context.Context) FunctionEnvironmentOutput
- func (o FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput
- func (o FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutputWithContext(ctx context.Context) FunctionEnvironmentPtrOutput
- func (o FunctionEnvironmentOutput) Variables() pulumi.StringMapOutput
- type FunctionEnvironmentPtrInput
- type FunctionEnvironmentPtrOutput
- func (o FunctionEnvironmentPtrOutput) Elem() FunctionEnvironmentOutput
- func (FunctionEnvironmentPtrOutput) ElementType() reflect.Type
- func (o FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput
- func (o FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutputWithContext(ctx context.Context) FunctionEnvironmentPtrOutput
- func (o FunctionEnvironmentPtrOutput) Variables() pulumi.StringMapOutput
- type FunctionEventInvokeConfig
- type FunctionEventInvokeConfigArgs
- type FunctionEventInvokeConfigDestinationConfig
- type FunctionEventInvokeConfigDestinationConfigArgs
- func (FunctionEventInvokeConfigDestinationConfigArgs) ElementType() reflect.Type
- func (i FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigOutput() FunctionEventInvokeConfigDestinationConfigOutput
- func (i FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOutput
- func (i FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigPtrOutput() FunctionEventInvokeConfigDestinationConfigPtrOutput
- func (i FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigPtrOutput
- type FunctionEventInvokeConfigDestinationConfigInput
- type FunctionEventInvokeConfigDestinationConfigOnFailure
- type FunctionEventInvokeConfigDestinationConfigOnFailureArgs
- func (FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ElementType() reflect.Type
- func (i FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutput() FunctionEventInvokeConfigDestinationConfigOnFailureOutput
- func (i FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailureOutput
- func (i FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
- func (i FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
- type FunctionEventInvokeConfigDestinationConfigOnFailureInput
- type FunctionEventInvokeConfigDestinationConfigOnFailureOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnFailureOutput) Destination() pulumi.StringOutput
- func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ElementType() reflect.Type
- func (o FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutput() FunctionEventInvokeConfigDestinationConfigOnFailureOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailureOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
- type FunctionEventInvokeConfigDestinationConfigOnFailurePtrInput
- type FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) Destination() pulumi.StringOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) Elem() FunctionEventInvokeConfigDestinationConfigOnFailureOutput
- func (FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ElementType() reflect.Type
- func (o FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
- type FunctionEventInvokeConfigDestinationConfigOnSuccess
- type FunctionEventInvokeConfigDestinationConfigOnSuccessArgs
- func (FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ElementType() reflect.Type
- func (i FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessOutput
- func (i FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessOutput
- func (i FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
- func (i FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
- type FunctionEventInvokeConfigDestinationConfigOnSuccessInput
- type FunctionEventInvokeConfigDestinationConfigOnSuccessOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) Destination() pulumi.StringOutput
- func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ElementType() reflect.Type
- func (o FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
- type FunctionEventInvokeConfigDestinationConfigOnSuccessPtrInput
- type FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) Destination() pulumi.StringOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) Elem() FunctionEventInvokeConfigDestinationConfigOnSuccessOutput
- func (FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ElementType() reflect.Type
- func (o FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
- type FunctionEventInvokeConfigDestinationConfigOutput
- func (FunctionEventInvokeConfigDestinationConfigOutput) ElementType() reflect.Type
- func (o FunctionEventInvokeConfigDestinationConfigOutput) OnFailure() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigOutput) OnSuccess() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigOutput() FunctionEventInvokeConfigDestinationConfigOutput
- func (o FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOutput
- func (o FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutput() FunctionEventInvokeConfigDestinationConfigPtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigPtrOutput
- type FunctionEventInvokeConfigDestinationConfigPtrInput
- type FunctionEventInvokeConfigDestinationConfigPtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) Elem() FunctionEventInvokeConfigDestinationConfigOutput
- func (FunctionEventInvokeConfigDestinationConfigPtrOutput) ElementType() reflect.Type
- func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) OnFailure() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) OnSuccess() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutput() FunctionEventInvokeConfigDestinationConfigPtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigPtrOutput
- type FunctionEventInvokeConfigState
- type FunctionState
- type FunctionTracingConfig
- type FunctionTracingConfigArgs
- func (FunctionTracingConfigArgs) ElementType() reflect.Type
- func (i FunctionTracingConfigArgs) ToFunctionTracingConfigOutput() FunctionTracingConfigOutput
- func (i FunctionTracingConfigArgs) ToFunctionTracingConfigOutputWithContext(ctx context.Context) FunctionTracingConfigOutput
- func (i FunctionTracingConfigArgs) ToFunctionTracingConfigPtrOutput() FunctionTracingConfigPtrOutput
- func (i FunctionTracingConfigArgs) ToFunctionTracingConfigPtrOutputWithContext(ctx context.Context) FunctionTracingConfigPtrOutput
- type FunctionTracingConfigInput
- type FunctionTracingConfigOutput
- func (FunctionTracingConfigOutput) ElementType() reflect.Type
- func (o FunctionTracingConfigOutput) Mode() pulumi.StringOutput
- func (o FunctionTracingConfigOutput) ToFunctionTracingConfigOutput() FunctionTracingConfigOutput
- func (o FunctionTracingConfigOutput) ToFunctionTracingConfigOutputWithContext(ctx context.Context) FunctionTracingConfigOutput
- func (o FunctionTracingConfigOutput) ToFunctionTracingConfigPtrOutput() FunctionTracingConfigPtrOutput
- func (o FunctionTracingConfigOutput) ToFunctionTracingConfigPtrOutputWithContext(ctx context.Context) FunctionTracingConfigPtrOutput
- type FunctionTracingConfigPtrInput
- type FunctionTracingConfigPtrOutput
- func (o FunctionTracingConfigPtrOutput) Elem() FunctionTracingConfigOutput
- func (FunctionTracingConfigPtrOutput) ElementType() reflect.Type
- func (o FunctionTracingConfigPtrOutput) Mode() pulumi.StringOutput
- func (o FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutput() FunctionTracingConfigPtrOutput
- func (o FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutputWithContext(ctx context.Context) FunctionTracingConfigPtrOutput
- type FunctionVpcConfig
- type FunctionVpcConfigArgs
- func (FunctionVpcConfigArgs) ElementType() reflect.Type
- func (i FunctionVpcConfigArgs) ToFunctionVpcConfigOutput() FunctionVpcConfigOutput
- func (i FunctionVpcConfigArgs) ToFunctionVpcConfigOutputWithContext(ctx context.Context) FunctionVpcConfigOutput
- func (i FunctionVpcConfigArgs) ToFunctionVpcConfigPtrOutput() FunctionVpcConfigPtrOutput
- func (i FunctionVpcConfigArgs) ToFunctionVpcConfigPtrOutputWithContext(ctx context.Context) FunctionVpcConfigPtrOutput
- type FunctionVpcConfigInput
- type FunctionVpcConfigOutput
- func (FunctionVpcConfigOutput) ElementType() reflect.Type
- func (o FunctionVpcConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o FunctionVpcConfigOutput) SubnetIds() pulumi.StringArrayOutput
- func (o FunctionVpcConfigOutput) ToFunctionVpcConfigOutput() FunctionVpcConfigOutput
- func (o FunctionVpcConfigOutput) ToFunctionVpcConfigOutputWithContext(ctx context.Context) FunctionVpcConfigOutput
- func (o FunctionVpcConfigOutput) ToFunctionVpcConfigPtrOutput() FunctionVpcConfigPtrOutput
- func (o FunctionVpcConfigOutput) ToFunctionVpcConfigPtrOutputWithContext(ctx context.Context) FunctionVpcConfigPtrOutput
- func (o FunctionVpcConfigOutput) VpcId() pulumi.StringPtrOutput
- type FunctionVpcConfigPtrInput
- type FunctionVpcConfigPtrOutput
- func (o FunctionVpcConfigPtrOutput) Elem() FunctionVpcConfigOutput
- func (FunctionVpcConfigPtrOutput) ElementType() reflect.Type
- func (o FunctionVpcConfigPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o FunctionVpcConfigPtrOutput) SubnetIds() pulumi.StringArrayOutput
- func (o FunctionVpcConfigPtrOutput) ToFunctionVpcConfigPtrOutput() FunctionVpcConfigPtrOutput
- func (o FunctionVpcConfigPtrOutput) ToFunctionVpcConfigPtrOutputWithContext(ctx context.Context) FunctionVpcConfigPtrOutput
- func (o FunctionVpcConfigPtrOutput) VpcId() pulumi.StringPtrOutput
- type GetFunctionDeadLetterConfig
- type GetFunctionDeadLetterConfigArgs
- func (GetFunctionDeadLetterConfigArgs) ElementType() reflect.Type
- func (i GetFunctionDeadLetterConfigArgs) ToGetFunctionDeadLetterConfigOutput() GetFunctionDeadLetterConfigOutput
- func (i GetFunctionDeadLetterConfigArgs) ToGetFunctionDeadLetterConfigOutputWithContext(ctx context.Context) GetFunctionDeadLetterConfigOutput
- type GetFunctionDeadLetterConfigInput
- type GetFunctionDeadLetterConfigOutput
- func (GetFunctionDeadLetterConfigOutput) ElementType() reflect.Type
- func (o GetFunctionDeadLetterConfigOutput) TargetArn() pulumi.StringOutput
- func (o GetFunctionDeadLetterConfigOutput) ToGetFunctionDeadLetterConfigOutput() GetFunctionDeadLetterConfigOutput
- func (o GetFunctionDeadLetterConfigOutput) ToGetFunctionDeadLetterConfigOutputWithContext(ctx context.Context) GetFunctionDeadLetterConfigOutput
- type GetFunctionEnvironment
- type GetFunctionEnvironmentArgs
- type GetFunctionEnvironmentInput
- type GetFunctionEnvironmentOutput
- func (GetFunctionEnvironmentOutput) ElementType() reflect.Type
- func (o GetFunctionEnvironmentOutput) ToGetFunctionEnvironmentOutput() GetFunctionEnvironmentOutput
- func (o GetFunctionEnvironmentOutput) ToGetFunctionEnvironmentOutputWithContext(ctx context.Context) GetFunctionEnvironmentOutput
- func (o GetFunctionEnvironmentOutput) Variables() pulumi.StringMapOutput
- type GetFunctionTracingConfig
- type GetFunctionTracingConfigArgs
- func (GetFunctionTracingConfigArgs) ElementType() reflect.Type
- func (i GetFunctionTracingConfigArgs) ToGetFunctionTracingConfigOutput() GetFunctionTracingConfigOutput
- func (i GetFunctionTracingConfigArgs) ToGetFunctionTracingConfigOutputWithContext(ctx context.Context) GetFunctionTracingConfigOutput
- type GetFunctionTracingConfigInput
- type GetFunctionTracingConfigOutput
- func (GetFunctionTracingConfigOutput) ElementType() reflect.Type
- func (o GetFunctionTracingConfigOutput) Mode() pulumi.StringOutput
- func (o GetFunctionTracingConfigOutput) ToGetFunctionTracingConfigOutput() GetFunctionTracingConfigOutput
- func (o GetFunctionTracingConfigOutput) ToGetFunctionTracingConfigOutputWithContext(ctx context.Context) GetFunctionTracingConfigOutput
- type GetFunctionVpcConfig
- type GetFunctionVpcConfigArgs
- type GetFunctionVpcConfigInput
- type GetFunctionVpcConfigOutput
- func (GetFunctionVpcConfigOutput) ElementType() reflect.Type
- func (o GetFunctionVpcConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o GetFunctionVpcConfigOutput) SubnetIds() pulumi.StringArrayOutput
- func (o GetFunctionVpcConfigOutput) ToGetFunctionVpcConfigOutput() GetFunctionVpcConfigOutput
- func (o GetFunctionVpcConfigOutput) ToGetFunctionVpcConfigOutputWithContext(ctx context.Context) GetFunctionVpcConfigOutput
- func (o GetFunctionVpcConfigOutput) VpcId() pulumi.StringOutput
- type GetInvocationArgs
- type GetInvocationResult
- type LayerVersion
- type LayerVersionArgs
- type LayerVersionState
- type LookupFunctionArgs
- type LookupFunctionResult
- type LookupLayerVersionArgs
- type LookupLayerVersionResult
- type Permission
- type PermissionArgs
- type PermissionState
- type ProvisionedConcurrencyConfig
- type ProvisionedConcurrencyConfigArgs
- type ProvisionedConcurrencyConfigState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alias ¶
type Alias struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) identifying your Lambda function alias. Arn pulumi.StringOutput `pulumi:"arn"` // Description of the alias. Description pulumi.StringPtrOutput `pulumi:"description"` // The function ARN of the Lambda function for which you want to create an alias. FunctionName pulumi.StringOutput `pulumi:"functionName"` // Lambda function version for which you are creating the alias. Pattern: `(\$LATEST|[0-9]+)`. FunctionVersion pulumi.StringOutput `pulumi:"functionVersion"` // The ARN to be used for invoking Lambda Function from API Gateway - to be used in [`apigateway.Integration`](https://www.terraform.io/docs/providers/aws/r/api_gateway_integration.html)'s `uri` InvokeArn pulumi.StringOutput `pulumi:"invokeArn"` // Name for the alias you are creating. Pattern: `(?!^[0-9]+$)([a-zA-Z0-9-_]+)` Name pulumi.StringOutput `pulumi:"name"` // The Lambda alias' route configuration settings. Fields documented below RoutingConfig AliasRoutingConfigPtrOutput `pulumi:"routingConfig"` }
Creates a Lambda function alias. Creates an alias that points to the specified Lambda function version.
For information about Lambda and how to use it, see [What is AWS Lambda?][1] For information about function aliases, see [CreateAlias][2] and [AliasRoutingConfiguration][3] in the API docs.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/lambda_alias.html.markdown.
func GetAlias ¶
func GetAlias(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AliasState, opts ...pulumi.ResourceOption) (*Alias, error)
GetAlias gets an existing Alias resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type AliasArgs ¶
type AliasArgs struct { // Description of the alias. Description pulumi.StringPtrInput // The function ARN of the Lambda function for which you want to create an alias. FunctionName pulumi.StringInput // Lambda function version for which you are creating the alias. Pattern: `(\$LATEST|[0-9]+)`. FunctionVersion pulumi.StringInput // Name for the alias you are creating. Pattern: `(?!^[0-9]+$)([a-zA-Z0-9-_]+)` Name pulumi.StringPtrInput // The Lambda alias' route configuration settings. Fields documented below RoutingConfig AliasRoutingConfigPtrInput }
The set of arguments for constructing a Alias resource.
func (AliasArgs) ElementType ¶ added in v1.19.0
type AliasRoutingConfig ¶ added in v1.19.0
type AliasRoutingConfigArgs ¶ added in v1.19.0
type AliasRoutingConfigArgs struct { // A map that defines the proportion of events that should be sent to different versions of a lambda function. AdditionalVersionWeights pulumi.Float64MapInput `pulumi:"additionalVersionWeights"` }
func (AliasRoutingConfigArgs) ElementType ¶ added in v1.19.0
func (AliasRoutingConfigArgs) ElementType() reflect.Type
func (AliasRoutingConfigArgs) ToAliasRoutingConfigOutput ¶ added in v1.19.0
func (i AliasRoutingConfigArgs) ToAliasRoutingConfigOutput() AliasRoutingConfigOutput
func (AliasRoutingConfigArgs) ToAliasRoutingConfigOutputWithContext ¶ added in v1.19.0
func (i AliasRoutingConfigArgs) ToAliasRoutingConfigOutputWithContext(ctx context.Context) AliasRoutingConfigOutput
func (AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutput ¶ added in v1.19.0
func (i AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
func (AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutputWithContext ¶ added in v1.19.0
func (i AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
type AliasRoutingConfigInput ¶ added in v1.19.0
type AliasRoutingConfigInput interface { pulumi.Input ToAliasRoutingConfigOutput() AliasRoutingConfigOutput ToAliasRoutingConfigOutputWithContext(context.Context) AliasRoutingConfigOutput }
type AliasRoutingConfigOutput ¶ added in v1.19.0
type AliasRoutingConfigOutput struct{ *pulumi.OutputState }
func (AliasRoutingConfigOutput) AdditionalVersionWeights ¶ added in v1.19.0
func (o AliasRoutingConfigOutput) AdditionalVersionWeights() pulumi.Float64MapOutput
A map that defines the proportion of events that should be sent to different versions of a lambda function.
func (AliasRoutingConfigOutput) ElementType ¶ added in v1.19.0
func (AliasRoutingConfigOutput) ElementType() reflect.Type
func (AliasRoutingConfigOutput) ToAliasRoutingConfigOutput ¶ added in v1.19.0
func (o AliasRoutingConfigOutput) ToAliasRoutingConfigOutput() AliasRoutingConfigOutput
func (AliasRoutingConfigOutput) ToAliasRoutingConfigOutputWithContext ¶ added in v1.19.0
func (o AliasRoutingConfigOutput) ToAliasRoutingConfigOutputWithContext(ctx context.Context) AliasRoutingConfigOutput
func (AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutput ¶ added in v1.19.0
func (o AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
func (AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutputWithContext ¶ added in v1.19.0
func (o AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
type AliasRoutingConfigPtrInput ¶ added in v1.19.0
type AliasRoutingConfigPtrInput interface { pulumi.Input ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput ToAliasRoutingConfigPtrOutputWithContext(context.Context) AliasRoutingConfigPtrOutput }
func AliasRoutingConfigPtr ¶ added in v1.19.0
func AliasRoutingConfigPtr(v *AliasRoutingConfigArgs) AliasRoutingConfigPtrInput
type AliasRoutingConfigPtrOutput ¶ added in v1.19.0
type AliasRoutingConfigPtrOutput struct{ *pulumi.OutputState }
func (AliasRoutingConfigPtrOutput) AdditionalVersionWeights ¶ added in v1.19.0
func (o AliasRoutingConfigPtrOutput) AdditionalVersionWeights() pulumi.Float64MapOutput
A map that defines the proportion of events that should be sent to different versions of a lambda function.
func (AliasRoutingConfigPtrOutput) Elem ¶ added in v1.19.0
func (o AliasRoutingConfigPtrOutput) Elem() AliasRoutingConfigOutput
func (AliasRoutingConfigPtrOutput) ElementType ¶ added in v1.19.0
func (AliasRoutingConfigPtrOutput) ElementType() reflect.Type
func (AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutput ¶ added in v1.19.0
func (o AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
func (AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutputWithContext ¶ added in v1.19.0
func (o AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
type AliasState ¶
type AliasState struct { // The Amazon Resource Name (ARN) identifying your Lambda function alias. Arn pulumi.StringPtrInput // Description of the alias. Description pulumi.StringPtrInput // The function ARN of the Lambda function for which you want to create an alias. FunctionName pulumi.StringPtrInput // Lambda function version for which you are creating the alias. Pattern: `(\$LATEST|[0-9]+)`. FunctionVersion pulumi.StringPtrInput // The ARN to be used for invoking Lambda Function from API Gateway - to be used in [`apigateway.Integration`](https://www.terraform.io/docs/providers/aws/r/api_gateway_integration.html)'s `uri` InvokeArn pulumi.StringPtrInput // Name for the alias you are creating. Pattern: `(?!^[0-9]+$)([a-zA-Z0-9-_]+)` Name pulumi.StringPtrInput // The Lambda alias' route configuration settings. Fields documented below RoutingConfig AliasRoutingConfigPtrInput }
func (AliasState) ElementType ¶ added in v1.19.0
func (AliasState) ElementType() reflect.Type
type EventSourceMapping ¶
type EventSourceMapping struct { pulumi.CustomResourceState // The largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to `100` for DynamoDB and Kinesis, `10` for SQS. BatchSize pulumi.IntPtrOutput `pulumi:"batchSize"` // Determines if the mapping will be enabled on creation. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The event source ARN - can be a Kinesis stream, DynamoDB stream, or SQS queue. EventSourceArn pulumi.StringOutput `pulumi:"eventSourceArn"` // The the ARN of the Lambda function the event source mapping is sending events to. (Note: this is a computed value that differs from `functionName` above.) FunctionArn pulumi.StringOutput `pulumi:"functionArn"` // The name or the ARN of the Lambda function that will be subscribing to events. FunctionName pulumi.StringOutput `pulumi:"functionName"` // The date this resource was last modified. LastModified pulumi.StringOutput `pulumi:"lastModified"` // The result of the last AWS Lambda invocation of your Lambda function. LastProcessingResult pulumi.StringOutput `pulumi:"lastProcessingResult"` // The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function. MaximumBatchingWindowInSeconds pulumi.IntPtrOutput `pulumi:"maximumBatchingWindowInSeconds"` // The position in the stream where AWS Lambda should start reading. Must be one of `AT_TIMESTAMP` (Kinesis only), `LATEST` or `TRIM_HORIZON` if getting events from Kinesis or DynamoDB. Must not be provided if getting events from SQS. More information about these positions can be found in the [AWS DynamoDB Streams API Reference](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_GetShardIterator.html) and [AWS Kinesis API Reference](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType). StartingPosition pulumi.StringPtrOutput `pulumi:"startingPosition"` // A timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of the data record which to start reading when using `startingPosition` set to `AT_TIMESTAMP`. If a record with this exact timestamp does not exist, the next later record is chosen. If the timestamp is older than the current trim horizon, the oldest available record is chosen. StartingPositionTimestamp pulumi.StringPtrOutput `pulumi:"startingPositionTimestamp"` // The state of the event source mapping. State pulumi.StringOutput `pulumi:"state"` // The reason the event source mapping is in its current state. StateTransitionReason pulumi.StringOutput `pulumi:"stateTransitionReason"` // The UUID of the created event source mapping. Uuid pulumi.StringOutput `pulumi:"uuid"` }
Provides a Lambda event source mapping. This allows Lambda functions to get events from Kinesis, DynamoDB and SQS.
For information about Lambda and how to use it, see [What is AWS Lambda?][1]. For information about event source mappings, see [CreateEventSourceMapping][2] in the API docs.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/lambda_event_source_mapping.html.markdown.
func GetEventSourceMapping ¶
func GetEventSourceMapping(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EventSourceMappingState, opts ...pulumi.ResourceOption) (*EventSourceMapping, error)
GetEventSourceMapping gets an existing EventSourceMapping resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEventSourceMapping ¶
func NewEventSourceMapping(ctx *pulumi.Context, name string, args *EventSourceMappingArgs, opts ...pulumi.ResourceOption) (*EventSourceMapping, error)
NewEventSourceMapping registers a new resource with the given unique name, arguments, and options.
type EventSourceMappingArgs ¶
type EventSourceMappingArgs struct { // The largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to `100` for DynamoDB and Kinesis, `10` for SQS. BatchSize pulumi.IntPtrInput // Determines if the mapping will be enabled on creation. Defaults to `true`. Enabled pulumi.BoolPtrInput // The event source ARN - can be a Kinesis stream, DynamoDB stream, or SQS queue. EventSourceArn pulumi.StringInput // The name or the ARN of the Lambda function that will be subscribing to events. FunctionName pulumi.StringInput // The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function. MaximumBatchingWindowInSeconds pulumi.IntPtrInput // The position in the stream where AWS Lambda should start reading. Must be one of `AT_TIMESTAMP` (Kinesis only), `LATEST` or `TRIM_HORIZON` if getting events from Kinesis or DynamoDB. Must not be provided if getting events from SQS. More information about these positions can be found in the [AWS DynamoDB Streams API Reference](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_GetShardIterator.html) and [AWS Kinesis API Reference](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType). StartingPosition pulumi.StringPtrInput // A timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of the data record which to start reading when using `startingPosition` set to `AT_TIMESTAMP`. If a record with this exact timestamp does not exist, the next later record is chosen. If the timestamp is older than the current trim horizon, the oldest available record is chosen. StartingPositionTimestamp pulumi.StringPtrInput }
The set of arguments for constructing a EventSourceMapping resource.
func (EventSourceMappingArgs) ElementType ¶ added in v1.19.0
func (EventSourceMappingArgs) ElementType() reflect.Type
type EventSourceMappingState ¶
type EventSourceMappingState struct { // The largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to `100` for DynamoDB and Kinesis, `10` for SQS. BatchSize pulumi.IntPtrInput // Determines if the mapping will be enabled on creation. Defaults to `true`. Enabled pulumi.BoolPtrInput // The event source ARN - can be a Kinesis stream, DynamoDB stream, or SQS queue. EventSourceArn pulumi.StringPtrInput // The the ARN of the Lambda function the event source mapping is sending events to. (Note: this is a computed value that differs from `functionName` above.) FunctionArn pulumi.StringPtrInput // The name or the ARN of the Lambda function that will be subscribing to events. FunctionName pulumi.StringPtrInput // The date this resource was last modified. LastModified pulumi.StringPtrInput // The result of the last AWS Lambda invocation of your Lambda function. LastProcessingResult pulumi.StringPtrInput // The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function. MaximumBatchingWindowInSeconds pulumi.IntPtrInput // The position in the stream where AWS Lambda should start reading. Must be one of `AT_TIMESTAMP` (Kinesis only), `LATEST` or `TRIM_HORIZON` if getting events from Kinesis or DynamoDB. Must not be provided if getting events from SQS. More information about these positions can be found in the [AWS DynamoDB Streams API Reference](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_GetShardIterator.html) and [AWS Kinesis API Reference](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType). StartingPosition pulumi.StringPtrInput // A timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of the data record which to start reading when using `startingPosition` set to `AT_TIMESTAMP`. If a record with this exact timestamp does not exist, the next later record is chosen. If the timestamp is older than the current trim horizon, the oldest available record is chosen. StartingPositionTimestamp pulumi.StringPtrInput // The state of the event source mapping. State pulumi.StringPtrInput // The reason the event source mapping is in its current state. StateTransitionReason pulumi.StringPtrInput // The UUID of the created event source mapping. Uuid pulumi.StringPtrInput }
func (EventSourceMappingState) ElementType ¶ added in v1.19.0
func (EventSourceMappingState) ElementType() reflect.Type
type Function ¶
type Function struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) identifying your Lambda Function. Arn pulumi.StringOutput `pulumi:"arn"` // The path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used. Code pulumi.ArchiveOutput `pulumi:"code"` // Nested block to configure the function's *dead letter queue*. See details below. DeadLetterConfig FunctionDeadLetterConfigPtrOutput `pulumi:"deadLetterConfig"` // Description of what your Lambda Function does. Description pulumi.StringPtrOutput `pulumi:"description"` // The Lambda environment's configuration settings. Fields documented below. Environment FunctionEnvironmentPtrOutput `pulumi:"environment"` // The function [entrypoint][3] in your code. Handler pulumi.StringOutput `pulumi:"handler"` // The ARN to be used for invoking Lambda Function from API Gateway - to be used in [`apigateway.Integration`](https://www.terraform.io/docs/providers/aws/r/api_gateway_integration.html)'s `uri` InvokeArn pulumi.StringOutput `pulumi:"invokeArn"` // The ARN for the KMS encryption key. KmsKeyArn pulumi.StringPtrOutput `pulumi:"kmsKeyArn"` // The date this resource was last modified. LastModified pulumi.StringOutput `pulumi:"lastModified"` // List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. See [Lambda Layers][10] Layers pulumi.StringArrayOutput `pulumi:"layers"` // Amount of memory in MB your Lambda Function can use at runtime. Defaults to `128`. See [Limits][5] MemorySize pulumi.IntPtrOutput `pulumi:"memorySize"` // A unique name for your Lambda Function. Name pulumi.StringOutput `pulumi:"name"` // Whether to publish creation/change as new Lambda Function Version. Defaults to `false`. Publish pulumi.BoolPtrOutput `pulumi:"publish"` // The Amazon Resource Name (ARN) identifying your Lambda Function Version // (if versioning is enabled via `publish = true`). QualifiedArn pulumi.StringOutput `pulumi:"qualifiedArn"` // The amount of reserved concurrent executions for this lambda function. A value of `0` disables lambda from being triggered and `-1` removes any concurrency limitations. Defaults to Unreserved Concurrency Limits `-1`. See [Managing Concurrency][9] ReservedConcurrentExecutions pulumi.IntPtrOutput `pulumi:"reservedConcurrentExecutions"` // IAM role attached to the Lambda Function. This governs both who / what can invoke your Lambda Function, as well as what resources our Lambda Function has access to. See [Lambda Permission Model][4] for more details. Role pulumi.StringOutput `pulumi:"role"` // See [Runtimes][6] for valid values. Runtime pulumi.StringOutput `pulumi:"runtime"` // The S3 bucket location containing the function's deployment package. Conflicts with `filename`. This bucket must reside in the same AWS region where you are creating the Lambda function. S3Bucket pulumi.StringPtrOutput `pulumi:"s3Bucket"` // The S3 key of an object containing the function's deployment package. Conflicts with `filename`. S3Key pulumi.StringPtrOutput `pulumi:"s3Key"` // The object version containing the function's deployment package. Conflicts with `filename`. S3ObjectVersion pulumi.StringPtrOutput `pulumi:"s3ObjectVersion"` // Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either `filename` or `s3Key`. The usual way to set this is `filebase64sha256("file.zip")` (this provider 0.11.12 and later) or `base64sha256(file("file.zip"))` (this provider 0.11.11 and earlier), where "file.zip" is the local filename of the lambda function source archive. SourceCodeHash pulumi.StringOutput `pulumi:"sourceCodeHash"` // The size in bytes of the function .zip file. SourceCodeSize pulumi.IntOutput `pulumi:"sourceCodeSize"` // A mapping of tags to assign to the object. Tags pulumi.MapOutput `pulumi:"tags"` // The amount of time your Lambda Function has to run in seconds. Defaults to `3`. See [Limits][5] Timeout pulumi.IntPtrOutput `pulumi:"timeout"` TracingConfig FunctionTracingConfigOutput `pulumi:"tracingConfig"` // Latest published version of your Lambda Function. Version pulumi.StringOutput `pulumi:"version"` // Provide this to allow your function to access your VPC. Fields documented below. See [Lambda in VPC][7] VpcConfig FunctionVpcConfigPtrOutput `pulumi:"vpcConfig"` }
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/lambda_function.html.markdown.
func GetFunction ¶
func GetFunction(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FunctionState, opts ...pulumi.ResourceOption) (*Function, error)
GetFunction gets an existing Function resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFunction ¶
func NewFunction(ctx *pulumi.Context, name string, args *FunctionArgs, opts ...pulumi.ResourceOption) (*Function, error)
NewFunction registers a new resource with the given unique name, arguments, and options.
type FunctionArgs ¶
type FunctionArgs struct { // The path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used. Code pulumi.ArchiveInput // Nested block to configure the function's *dead letter queue*. See details below. DeadLetterConfig FunctionDeadLetterConfigPtrInput // Description of what your Lambda Function does. Description pulumi.StringPtrInput // The Lambda environment's configuration settings. Fields documented below. Environment FunctionEnvironmentPtrInput // The function [entrypoint][3] in your code. Handler pulumi.StringInput // The ARN for the KMS encryption key. KmsKeyArn pulumi.StringPtrInput // List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. See [Lambda Layers][10] Layers pulumi.StringArrayInput // Amount of memory in MB your Lambda Function can use at runtime. Defaults to `128`. See [Limits][5] MemorySize pulumi.IntPtrInput // A unique name for your Lambda Function. Name pulumi.StringPtrInput // Whether to publish creation/change as new Lambda Function Version. Defaults to `false`. Publish pulumi.BoolPtrInput // The amount of reserved concurrent executions for this lambda function. A value of `0` disables lambda from being triggered and `-1` removes any concurrency limitations. Defaults to Unreserved Concurrency Limits `-1`. See [Managing Concurrency][9] ReservedConcurrentExecutions pulumi.IntPtrInput // IAM role attached to the Lambda Function. This governs both who / what can invoke your Lambda Function, as well as what resources our Lambda Function has access to. See [Lambda Permission Model][4] for more details. Role pulumi.StringInput // See [Runtimes][6] for valid values. Runtime pulumi.StringInput // The S3 bucket location containing the function's deployment package. Conflicts with `filename`. This bucket must reside in the same AWS region where you are creating the Lambda function. S3Bucket pulumi.StringPtrInput // The S3 key of an object containing the function's deployment package. Conflicts with `filename`. S3Key pulumi.StringPtrInput // The object version containing the function's deployment package. Conflicts with `filename`. S3ObjectVersion pulumi.StringPtrInput // Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either `filename` or `s3Key`. The usual way to set this is `filebase64sha256("file.zip")` (this provider 0.11.12 and later) or `base64sha256(file("file.zip"))` (this provider 0.11.11 and earlier), where "file.zip" is the local filename of the lambda function source archive. SourceCodeHash pulumi.StringPtrInput // A mapping of tags to assign to the object. Tags pulumi.MapInput // The amount of time your Lambda Function has to run in seconds. Defaults to `3`. See [Limits][5] Timeout pulumi.IntPtrInput TracingConfig FunctionTracingConfigPtrInput // Provide this to allow your function to access your VPC. Fields documented below. See [Lambda in VPC][7] VpcConfig FunctionVpcConfigPtrInput }
The set of arguments for constructing a Function resource.
func (FunctionArgs) ElementType ¶ added in v1.19.0
func (FunctionArgs) ElementType() reflect.Type
type FunctionDeadLetterConfig ¶ added in v1.19.0
type FunctionDeadLetterConfig struct { // The ARN of an SNS topic or SQS queue to notify when an invocation fails. If this // option is used, the function's IAM role must be granted suitable access to write to the target object, // which means allowing either the `sns:Publish` or `sqs:SendMessage` action on this ARN, depending on // which service is targeted. TargetArn string `pulumi:"targetArn"` }
type FunctionDeadLetterConfigArgs ¶ added in v1.19.0
type FunctionDeadLetterConfigArgs struct { // The ARN of an SNS topic or SQS queue to notify when an invocation fails. If this // option is used, the function's IAM role must be granted suitable access to write to the target object, // which means allowing either the `sns:Publish` or `sqs:SendMessage` action on this ARN, depending on // which service is targeted. TargetArn pulumi.StringInput `pulumi:"targetArn"` }
func (FunctionDeadLetterConfigArgs) ElementType ¶ added in v1.19.0
func (FunctionDeadLetterConfigArgs) ElementType() reflect.Type
func (FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigOutput ¶ added in v1.19.0
func (i FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigOutput() FunctionDeadLetterConfigOutput
func (FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigOutputWithContext ¶ added in v1.19.0
func (i FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigOutputWithContext(ctx context.Context) FunctionDeadLetterConfigOutput
func (FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigPtrOutput ¶ added in v1.19.0
func (i FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigPtrOutput() FunctionDeadLetterConfigPtrOutput
func (FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigPtrOutputWithContext ¶ added in v1.19.0
func (i FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigPtrOutputWithContext(ctx context.Context) FunctionDeadLetterConfigPtrOutput
type FunctionDeadLetterConfigInput ¶ added in v1.19.0
type FunctionDeadLetterConfigInput interface { pulumi.Input ToFunctionDeadLetterConfigOutput() FunctionDeadLetterConfigOutput ToFunctionDeadLetterConfigOutputWithContext(context.Context) FunctionDeadLetterConfigOutput }
type FunctionDeadLetterConfigOutput ¶ added in v1.19.0
type FunctionDeadLetterConfigOutput struct{ *pulumi.OutputState }
func (FunctionDeadLetterConfigOutput) ElementType ¶ added in v1.19.0
func (FunctionDeadLetterConfigOutput) ElementType() reflect.Type
func (FunctionDeadLetterConfigOutput) TargetArn ¶ added in v1.19.0
func (o FunctionDeadLetterConfigOutput) TargetArn() pulumi.StringOutput
The ARN of an SNS topic or SQS queue to notify when an invocation fails. If this option is used, the function's IAM role must be granted suitable access to write to the target object, which means allowing either the `sns:Publish` or `sqs:SendMessage` action on this ARN, depending on which service is targeted.
func (FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigOutput ¶ added in v1.19.0
func (o FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigOutput() FunctionDeadLetterConfigOutput
func (FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigOutputWithContext ¶ added in v1.19.0
func (o FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigOutputWithContext(ctx context.Context) FunctionDeadLetterConfigOutput
func (FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigPtrOutput ¶ added in v1.19.0
func (o FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigPtrOutput() FunctionDeadLetterConfigPtrOutput
func (FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigPtrOutputWithContext ¶ added in v1.19.0
func (o FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigPtrOutputWithContext(ctx context.Context) FunctionDeadLetterConfigPtrOutput
type FunctionDeadLetterConfigPtrInput ¶ added in v1.19.0
type FunctionDeadLetterConfigPtrInput interface { pulumi.Input ToFunctionDeadLetterConfigPtrOutput() FunctionDeadLetterConfigPtrOutput ToFunctionDeadLetterConfigPtrOutputWithContext(context.Context) FunctionDeadLetterConfigPtrOutput }
func FunctionDeadLetterConfigPtr ¶ added in v1.19.0
func FunctionDeadLetterConfigPtr(v *FunctionDeadLetterConfigArgs) FunctionDeadLetterConfigPtrInput
type FunctionDeadLetterConfigPtrOutput ¶ added in v1.19.0
type FunctionDeadLetterConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionDeadLetterConfigPtrOutput) Elem ¶ added in v1.19.0
func (o FunctionDeadLetterConfigPtrOutput) Elem() FunctionDeadLetterConfigOutput
func (FunctionDeadLetterConfigPtrOutput) ElementType ¶ added in v1.19.0
func (FunctionDeadLetterConfigPtrOutput) ElementType() reflect.Type
func (FunctionDeadLetterConfigPtrOutput) TargetArn ¶ added in v1.19.0
func (o FunctionDeadLetterConfigPtrOutput) TargetArn() pulumi.StringOutput
The ARN of an SNS topic or SQS queue to notify when an invocation fails. If this option is used, the function's IAM role must be granted suitable access to write to the target object, which means allowing either the `sns:Publish` or `sqs:SendMessage` action on this ARN, depending on which service is targeted.
func (FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutput ¶ added in v1.19.0
func (o FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutput() FunctionDeadLetterConfigPtrOutput
func (FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutputWithContext ¶ added in v1.19.0
func (o FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutputWithContext(ctx context.Context) FunctionDeadLetterConfigPtrOutput
type FunctionEnvironment ¶ added in v1.19.0
type FunctionEnvironmentArgs ¶ added in v1.19.0
type FunctionEnvironmentArgs struct { // A map that defines environment variables for the Lambda function. Variables pulumi.StringMapInput `pulumi:"variables"` }
func (FunctionEnvironmentArgs) ElementType ¶ added in v1.19.0
func (FunctionEnvironmentArgs) ElementType() reflect.Type
func (FunctionEnvironmentArgs) ToFunctionEnvironmentOutput ¶ added in v1.19.0
func (i FunctionEnvironmentArgs) ToFunctionEnvironmentOutput() FunctionEnvironmentOutput
func (FunctionEnvironmentArgs) ToFunctionEnvironmentOutputWithContext ¶ added in v1.19.0
func (i FunctionEnvironmentArgs) ToFunctionEnvironmentOutputWithContext(ctx context.Context) FunctionEnvironmentOutput
func (FunctionEnvironmentArgs) ToFunctionEnvironmentPtrOutput ¶ added in v1.19.0
func (i FunctionEnvironmentArgs) ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput
func (FunctionEnvironmentArgs) ToFunctionEnvironmentPtrOutputWithContext ¶ added in v1.19.0
func (i FunctionEnvironmentArgs) ToFunctionEnvironmentPtrOutputWithContext(ctx context.Context) FunctionEnvironmentPtrOutput
type FunctionEnvironmentInput ¶ added in v1.19.0
type FunctionEnvironmentInput interface { pulumi.Input ToFunctionEnvironmentOutput() FunctionEnvironmentOutput ToFunctionEnvironmentOutputWithContext(context.Context) FunctionEnvironmentOutput }
type FunctionEnvironmentOutput ¶ added in v1.19.0
type FunctionEnvironmentOutput struct{ *pulumi.OutputState }
func (FunctionEnvironmentOutput) ElementType ¶ added in v1.19.0
func (FunctionEnvironmentOutput) ElementType() reflect.Type
func (FunctionEnvironmentOutput) ToFunctionEnvironmentOutput ¶ added in v1.19.0
func (o FunctionEnvironmentOutput) ToFunctionEnvironmentOutput() FunctionEnvironmentOutput
func (FunctionEnvironmentOutput) ToFunctionEnvironmentOutputWithContext ¶ added in v1.19.0
func (o FunctionEnvironmentOutput) ToFunctionEnvironmentOutputWithContext(ctx context.Context) FunctionEnvironmentOutput
func (FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutput ¶ added in v1.19.0
func (o FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput
func (FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutputWithContext ¶ added in v1.19.0
func (o FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutputWithContext(ctx context.Context) FunctionEnvironmentPtrOutput
func (FunctionEnvironmentOutput) Variables ¶ added in v1.19.0
func (o FunctionEnvironmentOutput) Variables() pulumi.StringMapOutput
A map that defines environment variables for the Lambda function.
type FunctionEnvironmentPtrInput ¶ added in v1.19.0
type FunctionEnvironmentPtrInput interface { pulumi.Input ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput ToFunctionEnvironmentPtrOutputWithContext(context.Context) FunctionEnvironmentPtrOutput }
func FunctionEnvironmentPtr ¶ added in v1.19.0
func FunctionEnvironmentPtr(v *FunctionEnvironmentArgs) FunctionEnvironmentPtrInput
type FunctionEnvironmentPtrOutput ¶ added in v1.19.0
type FunctionEnvironmentPtrOutput struct{ *pulumi.OutputState }
func (FunctionEnvironmentPtrOutput) Elem ¶ added in v1.19.0
func (o FunctionEnvironmentPtrOutput) Elem() FunctionEnvironmentOutput
func (FunctionEnvironmentPtrOutput) ElementType ¶ added in v1.19.0
func (FunctionEnvironmentPtrOutput) ElementType() reflect.Type
func (FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutput ¶ added in v1.19.0
func (o FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput
func (FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutputWithContext ¶ added in v1.19.0
func (o FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutputWithContext(ctx context.Context) FunctionEnvironmentPtrOutput
func (FunctionEnvironmentPtrOutput) Variables ¶ added in v1.19.0
func (o FunctionEnvironmentPtrOutput) Variables() pulumi.StringMapOutput
A map that defines environment variables for the Lambda function.
type FunctionEventInvokeConfig ¶ added in v1.17.0
type FunctionEventInvokeConfig struct { pulumi.CustomResourceState // Configuration block with destination configuration. See below for details. DestinationConfig FunctionEventInvokeConfigDestinationConfigPtrOutput `pulumi:"destinationConfig"` // Name or Amazon Resource Name (ARN) of the Lambda Function, omitting any version or alias qualifier. FunctionName pulumi.StringOutput `pulumi:"functionName"` // Maximum age of a request that Lambda sends to a function for processing in seconds. Valid values between 60 and 21600. MaximumEventAgeInSeconds pulumi.IntPtrOutput `pulumi:"maximumEventAgeInSeconds"` // Maximum number of times to retry when the function returns an error. Valid values between 0 and 2. Defaults to 2. MaximumRetryAttempts pulumi.IntPtrOutput `pulumi:"maximumRetryAttempts"` // Lambda Function published version, `$LATEST`, or Lambda Alias name. Qualifier pulumi.StringPtrOutput `pulumi:"qualifier"` }
Manages an asynchronous invocation configuration for a Lambda Function or Alias. More information about asynchronous invocations and the configurable values can be found in the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html).
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/lambda_function_event_invoke_config.html.markdown.
func GetFunctionEventInvokeConfig ¶ added in v1.17.0
func GetFunctionEventInvokeConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FunctionEventInvokeConfigState, opts ...pulumi.ResourceOption) (*FunctionEventInvokeConfig, error)
GetFunctionEventInvokeConfig gets an existing FunctionEventInvokeConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFunctionEventInvokeConfig ¶ added in v1.17.0
func NewFunctionEventInvokeConfig(ctx *pulumi.Context, name string, args *FunctionEventInvokeConfigArgs, opts ...pulumi.ResourceOption) (*FunctionEventInvokeConfig, error)
NewFunctionEventInvokeConfig registers a new resource with the given unique name, arguments, and options.
type FunctionEventInvokeConfigArgs ¶ added in v1.17.0
type FunctionEventInvokeConfigArgs struct { // Configuration block with destination configuration. See below for details. DestinationConfig FunctionEventInvokeConfigDestinationConfigPtrInput // Name or Amazon Resource Name (ARN) of the Lambda Function, omitting any version or alias qualifier. FunctionName pulumi.StringInput // Maximum age of a request that Lambda sends to a function for processing in seconds. Valid values between 60 and 21600. MaximumEventAgeInSeconds pulumi.IntPtrInput // Maximum number of times to retry when the function returns an error. Valid values between 0 and 2. Defaults to 2. MaximumRetryAttempts pulumi.IntPtrInput // Lambda Function published version, `$LATEST`, or Lambda Alias name. Qualifier pulumi.StringPtrInput }
The set of arguments for constructing a FunctionEventInvokeConfig resource.
func (FunctionEventInvokeConfigArgs) ElementType ¶ added in v1.19.0
func (FunctionEventInvokeConfigArgs) ElementType() reflect.Type
type FunctionEventInvokeConfigDestinationConfig ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfig struct { // Configuration block with destination configuration for failed asynchronous invocations. See below for details. OnFailure *FunctionEventInvokeConfigDestinationConfigOnFailure `pulumi:"onFailure"` // Configuration block with destination configuration for successful asynchronous invocations. See below for details. OnSuccess *FunctionEventInvokeConfigDestinationConfigOnSuccess `pulumi:"onSuccess"` }
type FunctionEventInvokeConfigDestinationConfigArgs ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfigArgs struct { // Configuration block with destination configuration for failed asynchronous invocations. See below for details. OnFailure FunctionEventInvokeConfigDestinationConfigOnFailurePtrInput `pulumi:"onFailure"` // Configuration block with destination configuration for successful asynchronous invocations. See below for details. OnSuccess FunctionEventInvokeConfigDestinationConfigOnSuccessPtrInput `pulumi:"onSuccess"` }
func (FunctionEventInvokeConfigDestinationConfigArgs) ElementType ¶ added in v1.19.0
func (FunctionEventInvokeConfigDestinationConfigArgs) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigOutput ¶ added in v1.19.0
func (i FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigOutput() FunctionEventInvokeConfigDestinationConfigOutput
func (FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigOutputWithContext ¶ added in v1.19.0
func (i FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOutput
func (FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigPtrOutput ¶ added in v1.19.0
func (i FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigPtrOutput() FunctionEventInvokeConfigDestinationConfigPtrOutput
func (FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext ¶ added in v1.19.0
func (i FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigPtrOutput
type FunctionEventInvokeConfigDestinationConfigInput ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfigInput interface { pulumi.Input ToFunctionEventInvokeConfigDestinationConfigOutput() FunctionEventInvokeConfigDestinationConfigOutput ToFunctionEventInvokeConfigDestinationConfigOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigOutput }
type FunctionEventInvokeConfigDestinationConfigOnFailure ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfigOnFailure struct { // Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions. Destination string `pulumi:"destination"` }
type FunctionEventInvokeConfigDestinationConfigOnFailureArgs ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfigOnFailureArgs struct { // Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions. Destination pulumi.StringInput `pulumi:"destination"` }
func (FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ElementType ¶ added in v1.19.0
func (FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutput ¶ added in v1.19.0
func (i FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutput() FunctionEventInvokeConfigDestinationConfigOnFailureOutput
func (FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutputWithContext ¶ added in v1.19.0
func (i FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailureOutput
func (FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput ¶ added in v1.19.0
func (i FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
func (FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext ¶ added in v1.19.0
func (i FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
type FunctionEventInvokeConfigDestinationConfigOnFailureInput ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfigOnFailureInput interface { pulumi.Input ToFunctionEventInvokeConfigDestinationConfigOnFailureOutput() FunctionEventInvokeConfigDestinationConfigOnFailureOutput ToFunctionEventInvokeConfigDestinationConfigOnFailureOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigOnFailureOutput }
type FunctionEventInvokeConfigDestinationConfigOnFailureOutput ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfigOnFailureOutput struct{ *pulumi.OutputState }
func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) Destination ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOnFailureOutput) Destination() pulumi.StringOutput
Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.
func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ElementType ¶ added in v1.19.0
func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutput ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutput() FunctionEventInvokeConfigDestinationConfigOnFailureOutput
func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutputWithContext ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailureOutput
func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
type FunctionEventInvokeConfigDestinationConfigOnFailurePtrInput ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfigOnFailurePtrInput interface { pulumi.Input ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput }
func FunctionEventInvokeConfigDestinationConfigOnFailurePtr ¶ added in v1.19.0
func FunctionEventInvokeConfigDestinationConfigOnFailurePtr(v *FunctionEventInvokeConfigDestinationConfigOnFailureArgs) FunctionEventInvokeConfigDestinationConfigOnFailurePtrInput
type FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput struct{ *pulumi.OutputState }
func (FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) Destination ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) Destination() pulumi.StringOutput
Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.
func (FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ElementType ¶ added in v1.19.0
func (FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
func (FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
type FunctionEventInvokeConfigDestinationConfigOnSuccess ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfigOnSuccess struct { // Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions. Destination string `pulumi:"destination"` }
type FunctionEventInvokeConfigDestinationConfigOnSuccessArgs ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfigOnSuccessArgs struct { // Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions. Destination pulumi.StringInput `pulumi:"destination"` }
func (FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ElementType ¶ added in v1.19.0
func (FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutput ¶ added in v1.19.0
func (i FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessOutput
func (FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutputWithContext ¶ added in v1.19.0
func (i FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessOutput
func (FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput ¶ added in v1.19.0
func (i FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
func (FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext ¶ added in v1.19.0
func (i FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
type FunctionEventInvokeConfigDestinationConfigOnSuccessInput ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfigOnSuccessInput interface { pulumi.Input ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessOutput ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessOutput }
type FunctionEventInvokeConfigDestinationConfigOnSuccessOutput ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfigOnSuccessOutput struct{ *pulumi.OutputState }
func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) Destination ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) Destination() pulumi.StringOutput
Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.
func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ElementType ¶ added in v1.19.0
func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutput ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessOutput
func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutputWithContext ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessOutput
func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
type FunctionEventInvokeConfigDestinationConfigOnSuccessPtrInput ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfigOnSuccessPtrInput interface { pulumi.Input ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput }
func FunctionEventInvokeConfigDestinationConfigOnSuccessPtr ¶ added in v1.19.0
func FunctionEventInvokeConfigDestinationConfigOnSuccessPtr(v *FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrInput
type FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput struct{ *pulumi.OutputState }
func (FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) Destination ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) Destination() pulumi.StringOutput
Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.
func (FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ElementType ¶ added in v1.19.0
func (FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
func (FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
type FunctionEventInvokeConfigDestinationConfigOutput ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfigOutput struct{ *pulumi.OutputState }
func (FunctionEventInvokeConfigDestinationConfigOutput) ElementType ¶ added in v1.19.0
func (FunctionEventInvokeConfigDestinationConfigOutput) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigOutput) OnFailure ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOutput) OnFailure() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
Configuration block with destination configuration for failed asynchronous invocations. See below for details.
func (FunctionEventInvokeConfigDestinationConfigOutput) OnSuccess ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOutput) OnSuccess() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
Configuration block with destination configuration for successful asynchronous invocations. See below for details.
func (FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigOutput ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigOutput() FunctionEventInvokeConfigDestinationConfigOutput
func (FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigOutputWithContext ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOutput
func (FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutput ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutput() FunctionEventInvokeConfigDestinationConfigPtrOutput
func (FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigPtrOutput
type FunctionEventInvokeConfigDestinationConfigPtrInput ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfigPtrInput interface { pulumi.Input ToFunctionEventInvokeConfigDestinationConfigPtrOutput() FunctionEventInvokeConfigDestinationConfigPtrOutput ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigPtrOutput }
func FunctionEventInvokeConfigDestinationConfigPtr ¶ added in v1.19.0
func FunctionEventInvokeConfigDestinationConfigPtr(v *FunctionEventInvokeConfigDestinationConfigArgs) FunctionEventInvokeConfigDestinationConfigPtrInput
type FunctionEventInvokeConfigDestinationConfigPtrOutput ¶ added in v1.19.0
type FunctionEventInvokeConfigDestinationConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionEventInvokeConfigDestinationConfigPtrOutput) ElementType ¶ added in v1.19.0
func (FunctionEventInvokeConfigDestinationConfigPtrOutput) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigPtrOutput) OnFailure ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) OnFailure() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
Configuration block with destination configuration for failed asynchronous invocations. See below for details.
func (FunctionEventInvokeConfigDestinationConfigPtrOutput) OnSuccess ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) OnSuccess() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
Configuration block with destination configuration for successful asynchronous invocations. See below for details.
func (FunctionEventInvokeConfigDestinationConfigPtrOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutput ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutput() FunctionEventInvokeConfigDestinationConfigPtrOutput
func (FunctionEventInvokeConfigDestinationConfigPtrOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext ¶ added in v1.19.0
func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigPtrOutput
type FunctionEventInvokeConfigState ¶ added in v1.17.0
type FunctionEventInvokeConfigState struct { // Configuration block with destination configuration. See below for details. DestinationConfig FunctionEventInvokeConfigDestinationConfigPtrInput // Name or Amazon Resource Name (ARN) of the Lambda Function, omitting any version or alias qualifier. FunctionName pulumi.StringPtrInput // Maximum age of a request that Lambda sends to a function for processing in seconds. Valid values between 60 and 21600. MaximumEventAgeInSeconds pulumi.IntPtrInput // Maximum number of times to retry when the function returns an error. Valid values between 0 and 2. Defaults to 2. MaximumRetryAttempts pulumi.IntPtrInput // Lambda Function published version, `$LATEST`, or Lambda Alias name. Qualifier pulumi.StringPtrInput }
func (FunctionEventInvokeConfigState) ElementType ¶ added in v1.19.0
func (FunctionEventInvokeConfigState) ElementType() reflect.Type
type FunctionState ¶
type FunctionState struct { // The Amazon Resource Name (ARN) identifying your Lambda Function. Arn pulumi.StringPtrInput // The path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used. Code pulumi.ArchiveInput // Nested block to configure the function's *dead letter queue*. See details below. DeadLetterConfig FunctionDeadLetterConfigPtrInput // Description of what your Lambda Function does. Description pulumi.StringPtrInput // The Lambda environment's configuration settings. Fields documented below. Environment FunctionEnvironmentPtrInput // The function [entrypoint][3] in your code. Handler pulumi.StringPtrInput // The ARN to be used for invoking Lambda Function from API Gateway - to be used in [`apigateway.Integration`](https://www.terraform.io/docs/providers/aws/r/api_gateway_integration.html)'s `uri` InvokeArn pulumi.StringPtrInput // The ARN for the KMS encryption key. KmsKeyArn pulumi.StringPtrInput // The date this resource was last modified. LastModified pulumi.StringPtrInput // List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. See [Lambda Layers][10] Layers pulumi.StringArrayInput // Amount of memory in MB your Lambda Function can use at runtime. Defaults to `128`. See [Limits][5] MemorySize pulumi.IntPtrInput // A unique name for your Lambda Function. Name pulumi.StringPtrInput // Whether to publish creation/change as new Lambda Function Version. Defaults to `false`. Publish pulumi.BoolPtrInput // The Amazon Resource Name (ARN) identifying your Lambda Function Version // (if versioning is enabled via `publish = true`). QualifiedArn pulumi.StringPtrInput // The amount of reserved concurrent executions for this lambda function. A value of `0` disables lambda from being triggered and `-1` removes any concurrency limitations. Defaults to Unreserved Concurrency Limits `-1`. See [Managing Concurrency][9] ReservedConcurrentExecutions pulumi.IntPtrInput // IAM role attached to the Lambda Function. This governs both who / what can invoke your Lambda Function, as well as what resources our Lambda Function has access to. See [Lambda Permission Model][4] for more details. Role pulumi.StringPtrInput // See [Runtimes][6] for valid values. Runtime pulumi.StringPtrInput // The S3 bucket location containing the function's deployment package. Conflicts with `filename`. This bucket must reside in the same AWS region where you are creating the Lambda function. S3Bucket pulumi.StringPtrInput // The S3 key of an object containing the function's deployment package. Conflicts with `filename`. S3Key pulumi.StringPtrInput // The object version containing the function's deployment package. Conflicts with `filename`. S3ObjectVersion pulumi.StringPtrInput // Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either `filename` or `s3Key`. The usual way to set this is `filebase64sha256("file.zip")` (this provider 0.11.12 and later) or `base64sha256(file("file.zip"))` (this provider 0.11.11 and earlier), where "file.zip" is the local filename of the lambda function source archive. SourceCodeHash pulumi.StringPtrInput // The size in bytes of the function .zip file. SourceCodeSize pulumi.IntPtrInput // A mapping of tags to assign to the object. Tags pulumi.MapInput // The amount of time your Lambda Function has to run in seconds. Defaults to `3`. See [Limits][5] Timeout pulumi.IntPtrInput TracingConfig FunctionTracingConfigPtrInput // Latest published version of your Lambda Function. Version pulumi.StringPtrInput // Provide this to allow your function to access your VPC. Fields documented below. See [Lambda in VPC][7] VpcConfig FunctionVpcConfigPtrInput }
func (FunctionState) ElementType ¶ added in v1.19.0
func (FunctionState) ElementType() reflect.Type
type FunctionTracingConfig ¶ added in v1.19.0
type FunctionTracingConfig struct { // Can be either `PassThrough` or `Active`. If PassThrough, Lambda will only trace // the request from an upstream service if it contains a tracing header with // "sampled=1". If Active, Lambda will respect any tracing header it receives // from an upstream service. If no tracing header is received, Lambda will call // X-Ray for a tracing decision. Mode string `pulumi:"mode"` }
type FunctionTracingConfigArgs ¶ added in v1.19.0
type FunctionTracingConfigArgs struct { // Can be either `PassThrough` or `Active`. If PassThrough, Lambda will only trace // the request from an upstream service if it contains a tracing header with // "sampled=1". If Active, Lambda will respect any tracing header it receives // from an upstream service. If no tracing header is received, Lambda will call // X-Ray for a tracing decision. Mode pulumi.StringInput `pulumi:"mode"` }
func (FunctionTracingConfigArgs) ElementType ¶ added in v1.19.0
func (FunctionTracingConfigArgs) ElementType() reflect.Type
func (FunctionTracingConfigArgs) ToFunctionTracingConfigOutput ¶ added in v1.19.0
func (i FunctionTracingConfigArgs) ToFunctionTracingConfigOutput() FunctionTracingConfigOutput
func (FunctionTracingConfigArgs) ToFunctionTracingConfigOutputWithContext ¶ added in v1.19.0
func (i FunctionTracingConfigArgs) ToFunctionTracingConfigOutputWithContext(ctx context.Context) FunctionTracingConfigOutput
func (FunctionTracingConfigArgs) ToFunctionTracingConfigPtrOutput ¶ added in v1.19.0
func (i FunctionTracingConfigArgs) ToFunctionTracingConfigPtrOutput() FunctionTracingConfigPtrOutput
func (FunctionTracingConfigArgs) ToFunctionTracingConfigPtrOutputWithContext ¶ added in v1.19.0
func (i FunctionTracingConfigArgs) ToFunctionTracingConfigPtrOutputWithContext(ctx context.Context) FunctionTracingConfigPtrOutput
type FunctionTracingConfigInput ¶ added in v1.19.0
type FunctionTracingConfigInput interface { pulumi.Input ToFunctionTracingConfigOutput() FunctionTracingConfigOutput ToFunctionTracingConfigOutputWithContext(context.Context) FunctionTracingConfigOutput }
type FunctionTracingConfigOutput ¶ added in v1.19.0
type FunctionTracingConfigOutput struct{ *pulumi.OutputState }
func (FunctionTracingConfigOutput) ElementType ¶ added in v1.19.0
func (FunctionTracingConfigOutput) ElementType() reflect.Type
func (FunctionTracingConfigOutput) Mode ¶ added in v1.19.0
func (o FunctionTracingConfigOutput) Mode() pulumi.StringOutput
Can be either `PassThrough` or `Active`. If PassThrough, Lambda will only trace the request from an upstream service if it contains a tracing header with "sampled=1". If Active, Lambda will respect any tracing header it receives from an upstream service. If no tracing header is received, Lambda will call X-Ray for a tracing decision.
func (FunctionTracingConfigOutput) ToFunctionTracingConfigOutput ¶ added in v1.19.0
func (o FunctionTracingConfigOutput) ToFunctionTracingConfigOutput() FunctionTracingConfigOutput
func (FunctionTracingConfigOutput) ToFunctionTracingConfigOutputWithContext ¶ added in v1.19.0
func (o FunctionTracingConfigOutput) ToFunctionTracingConfigOutputWithContext(ctx context.Context) FunctionTracingConfigOutput
func (FunctionTracingConfigOutput) ToFunctionTracingConfigPtrOutput ¶ added in v1.19.0
func (o FunctionTracingConfigOutput) ToFunctionTracingConfigPtrOutput() FunctionTracingConfigPtrOutput
func (FunctionTracingConfigOutput) ToFunctionTracingConfigPtrOutputWithContext ¶ added in v1.19.0
func (o FunctionTracingConfigOutput) ToFunctionTracingConfigPtrOutputWithContext(ctx context.Context) FunctionTracingConfigPtrOutput
type FunctionTracingConfigPtrInput ¶ added in v1.19.0
type FunctionTracingConfigPtrInput interface { pulumi.Input ToFunctionTracingConfigPtrOutput() FunctionTracingConfigPtrOutput ToFunctionTracingConfigPtrOutputWithContext(context.Context) FunctionTracingConfigPtrOutput }
func FunctionTracingConfigPtr ¶ added in v1.19.0
func FunctionTracingConfigPtr(v *FunctionTracingConfigArgs) FunctionTracingConfigPtrInput
type FunctionTracingConfigPtrOutput ¶ added in v1.19.0
type FunctionTracingConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionTracingConfigPtrOutput) Elem ¶ added in v1.19.0
func (o FunctionTracingConfigPtrOutput) Elem() FunctionTracingConfigOutput
func (FunctionTracingConfigPtrOutput) ElementType ¶ added in v1.19.0
func (FunctionTracingConfigPtrOutput) ElementType() reflect.Type
func (FunctionTracingConfigPtrOutput) Mode ¶ added in v1.19.0
func (o FunctionTracingConfigPtrOutput) Mode() pulumi.StringOutput
Can be either `PassThrough` or `Active`. If PassThrough, Lambda will only trace the request from an upstream service if it contains a tracing header with "sampled=1". If Active, Lambda will respect any tracing header it receives from an upstream service. If no tracing header is received, Lambda will call X-Ray for a tracing decision.
func (FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutput ¶ added in v1.19.0
func (o FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutput() FunctionTracingConfigPtrOutput
func (FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutputWithContext ¶ added in v1.19.0
func (o FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutputWithContext(ctx context.Context) FunctionTracingConfigPtrOutput
type FunctionVpcConfig ¶ added in v1.19.0
type FunctionVpcConfigArgs ¶ added in v1.19.0
type FunctionVpcConfigArgs struct { // A list of security group IDs associated with the Lambda function. SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` // A list of subnet IDs associated with the Lambda function. SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"` VpcId pulumi.StringPtrInput `pulumi:"vpcId"` }
func (FunctionVpcConfigArgs) ElementType ¶ added in v1.19.0
func (FunctionVpcConfigArgs) ElementType() reflect.Type
func (FunctionVpcConfigArgs) ToFunctionVpcConfigOutput ¶ added in v1.19.0
func (i FunctionVpcConfigArgs) ToFunctionVpcConfigOutput() FunctionVpcConfigOutput
func (FunctionVpcConfigArgs) ToFunctionVpcConfigOutputWithContext ¶ added in v1.19.0
func (i FunctionVpcConfigArgs) ToFunctionVpcConfigOutputWithContext(ctx context.Context) FunctionVpcConfigOutput
func (FunctionVpcConfigArgs) ToFunctionVpcConfigPtrOutput ¶ added in v1.19.0
func (i FunctionVpcConfigArgs) ToFunctionVpcConfigPtrOutput() FunctionVpcConfigPtrOutput
func (FunctionVpcConfigArgs) ToFunctionVpcConfigPtrOutputWithContext ¶ added in v1.19.0
func (i FunctionVpcConfigArgs) ToFunctionVpcConfigPtrOutputWithContext(ctx context.Context) FunctionVpcConfigPtrOutput
type FunctionVpcConfigInput ¶ added in v1.19.0
type FunctionVpcConfigInput interface { pulumi.Input ToFunctionVpcConfigOutput() FunctionVpcConfigOutput ToFunctionVpcConfigOutputWithContext(context.Context) FunctionVpcConfigOutput }
type FunctionVpcConfigOutput ¶ added in v1.19.0
type FunctionVpcConfigOutput struct{ *pulumi.OutputState }
func (FunctionVpcConfigOutput) ElementType ¶ added in v1.19.0
func (FunctionVpcConfigOutput) ElementType() reflect.Type
func (FunctionVpcConfigOutput) SecurityGroupIds ¶ added in v1.19.0
func (o FunctionVpcConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput
A list of security group IDs associated with the Lambda function.
func (FunctionVpcConfigOutput) SubnetIds ¶ added in v1.19.0
func (o FunctionVpcConfigOutput) SubnetIds() pulumi.StringArrayOutput
A list of subnet IDs associated with the Lambda function.
func (FunctionVpcConfigOutput) ToFunctionVpcConfigOutput ¶ added in v1.19.0
func (o FunctionVpcConfigOutput) ToFunctionVpcConfigOutput() FunctionVpcConfigOutput
func (FunctionVpcConfigOutput) ToFunctionVpcConfigOutputWithContext ¶ added in v1.19.0
func (o FunctionVpcConfigOutput) ToFunctionVpcConfigOutputWithContext(ctx context.Context) FunctionVpcConfigOutput
func (FunctionVpcConfigOutput) ToFunctionVpcConfigPtrOutput ¶ added in v1.19.0
func (o FunctionVpcConfigOutput) ToFunctionVpcConfigPtrOutput() FunctionVpcConfigPtrOutput
func (FunctionVpcConfigOutput) ToFunctionVpcConfigPtrOutputWithContext ¶ added in v1.19.0
func (o FunctionVpcConfigOutput) ToFunctionVpcConfigPtrOutputWithContext(ctx context.Context) FunctionVpcConfigPtrOutput
func (FunctionVpcConfigOutput) VpcId ¶ added in v1.19.0
func (o FunctionVpcConfigOutput) VpcId() pulumi.StringPtrOutput
type FunctionVpcConfigPtrInput ¶ added in v1.19.0
type FunctionVpcConfigPtrInput interface { pulumi.Input ToFunctionVpcConfigPtrOutput() FunctionVpcConfigPtrOutput ToFunctionVpcConfigPtrOutputWithContext(context.Context) FunctionVpcConfigPtrOutput }
func FunctionVpcConfigPtr ¶ added in v1.19.0
func FunctionVpcConfigPtr(v *FunctionVpcConfigArgs) FunctionVpcConfigPtrInput
type FunctionVpcConfigPtrOutput ¶ added in v1.19.0
type FunctionVpcConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionVpcConfigPtrOutput) Elem ¶ added in v1.19.0
func (o FunctionVpcConfigPtrOutput) Elem() FunctionVpcConfigOutput
func (FunctionVpcConfigPtrOutput) ElementType ¶ added in v1.19.0
func (FunctionVpcConfigPtrOutput) ElementType() reflect.Type
func (FunctionVpcConfigPtrOutput) SecurityGroupIds ¶ added in v1.19.0
func (o FunctionVpcConfigPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput
A list of security group IDs associated with the Lambda function.
func (FunctionVpcConfigPtrOutput) SubnetIds ¶ added in v1.19.0
func (o FunctionVpcConfigPtrOutput) SubnetIds() pulumi.StringArrayOutput
A list of subnet IDs associated with the Lambda function.
func (FunctionVpcConfigPtrOutput) ToFunctionVpcConfigPtrOutput ¶ added in v1.19.0
func (o FunctionVpcConfigPtrOutput) ToFunctionVpcConfigPtrOutput() FunctionVpcConfigPtrOutput
func (FunctionVpcConfigPtrOutput) ToFunctionVpcConfigPtrOutputWithContext ¶ added in v1.19.0
func (o FunctionVpcConfigPtrOutput) ToFunctionVpcConfigPtrOutputWithContext(ctx context.Context) FunctionVpcConfigPtrOutput
func (FunctionVpcConfigPtrOutput) VpcId ¶ added in v1.19.0
func (o FunctionVpcConfigPtrOutput) VpcId() pulumi.StringPtrOutput
type GetFunctionDeadLetterConfig ¶ added in v1.19.0
type GetFunctionDeadLetterConfig struct {
TargetArn string `pulumi:"targetArn"`
}
type GetFunctionDeadLetterConfigArgs ¶ added in v1.19.0
type GetFunctionDeadLetterConfigArgs struct {
TargetArn pulumi.StringInput `pulumi:"targetArn"`
}
func (GetFunctionDeadLetterConfigArgs) ElementType ¶ added in v1.19.0
func (GetFunctionDeadLetterConfigArgs) ElementType() reflect.Type
func (GetFunctionDeadLetterConfigArgs) ToGetFunctionDeadLetterConfigOutput ¶ added in v1.19.0
func (i GetFunctionDeadLetterConfigArgs) ToGetFunctionDeadLetterConfigOutput() GetFunctionDeadLetterConfigOutput
func (GetFunctionDeadLetterConfigArgs) ToGetFunctionDeadLetterConfigOutputWithContext ¶ added in v1.19.0
func (i GetFunctionDeadLetterConfigArgs) ToGetFunctionDeadLetterConfigOutputWithContext(ctx context.Context) GetFunctionDeadLetterConfigOutput
type GetFunctionDeadLetterConfigInput ¶ added in v1.19.0
type GetFunctionDeadLetterConfigInput interface { pulumi.Input ToGetFunctionDeadLetterConfigOutput() GetFunctionDeadLetterConfigOutput ToGetFunctionDeadLetterConfigOutputWithContext(context.Context) GetFunctionDeadLetterConfigOutput }
type GetFunctionDeadLetterConfigOutput ¶ added in v1.19.0
type GetFunctionDeadLetterConfigOutput struct{ *pulumi.OutputState }
func (GetFunctionDeadLetterConfigOutput) ElementType ¶ added in v1.19.0
func (GetFunctionDeadLetterConfigOutput) ElementType() reflect.Type
func (GetFunctionDeadLetterConfigOutput) TargetArn ¶ added in v1.19.0
func (o GetFunctionDeadLetterConfigOutput) TargetArn() pulumi.StringOutput
func (GetFunctionDeadLetterConfigOutput) ToGetFunctionDeadLetterConfigOutput ¶ added in v1.19.0
func (o GetFunctionDeadLetterConfigOutput) ToGetFunctionDeadLetterConfigOutput() GetFunctionDeadLetterConfigOutput
func (GetFunctionDeadLetterConfigOutput) ToGetFunctionDeadLetterConfigOutputWithContext ¶ added in v1.19.0
func (o GetFunctionDeadLetterConfigOutput) ToGetFunctionDeadLetterConfigOutputWithContext(ctx context.Context) GetFunctionDeadLetterConfigOutput
type GetFunctionEnvironment ¶ added in v1.19.0
type GetFunctionEnvironmentArgs ¶ added in v1.19.0
type GetFunctionEnvironmentArgs struct {
Variables pulumi.StringMapInput `pulumi:"variables"`
}
func (GetFunctionEnvironmentArgs) ElementType ¶ added in v1.19.0
func (GetFunctionEnvironmentArgs) ElementType() reflect.Type
func (GetFunctionEnvironmentArgs) ToGetFunctionEnvironmentOutput ¶ added in v1.19.0
func (i GetFunctionEnvironmentArgs) ToGetFunctionEnvironmentOutput() GetFunctionEnvironmentOutput
func (GetFunctionEnvironmentArgs) ToGetFunctionEnvironmentOutputWithContext ¶ added in v1.19.0
func (i GetFunctionEnvironmentArgs) ToGetFunctionEnvironmentOutputWithContext(ctx context.Context) GetFunctionEnvironmentOutput
type GetFunctionEnvironmentInput ¶ added in v1.19.0
type GetFunctionEnvironmentInput interface { pulumi.Input ToGetFunctionEnvironmentOutput() GetFunctionEnvironmentOutput ToGetFunctionEnvironmentOutputWithContext(context.Context) GetFunctionEnvironmentOutput }
type GetFunctionEnvironmentOutput ¶ added in v1.19.0
type GetFunctionEnvironmentOutput struct{ *pulumi.OutputState }
func (GetFunctionEnvironmentOutput) ElementType ¶ added in v1.19.0
func (GetFunctionEnvironmentOutput) ElementType() reflect.Type
func (GetFunctionEnvironmentOutput) ToGetFunctionEnvironmentOutput ¶ added in v1.19.0
func (o GetFunctionEnvironmentOutput) ToGetFunctionEnvironmentOutput() GetFunctionEnvironmentOutput
func (GetFunctionEnvironmentOutput) ToGetFunctionEnvironmentOutputWithContext ¶ added in v1.19.0
func (o GetFunctionEnvironmentOutput) ToGetFunctionEnvironmentOutputWithContext(ctx context.Context) GetFunctionEnvironmentOutput
func (GetFunctionEnvironmentOutput) Variables ¶ added in v1.19.0
func (o GetFunctionEnvironmentOutput) Variables() pulumi.StringMapOutput
type GetFunctionTracingConfig ¶ added in v1.19.0
type GetFunctionTracingConfig struct {
Mode string `pulumi:"mode"`
}
type GetFunctionTracingConfigArgs ¶ added in v1.19.0
type GetFunctionTracingConfigArgs struct {
Mode pulumi.StringInput `pulumi:"mode"`
}
func (GetFunctionTracingConfigArgs) ElementType ¶ added in v1.19.0
func (GetFunctionTracingConfigArgs) ElementType() reflect.Type
func (GetFunctionTracingConfigArgs) ToGetFunctionTracingConfigOutput ¶ added in v1.19.0
func (i GetFunctionTracingConfigArgs) ToGetFunctionTracingConfigOutput() GetFunctionTracingConfigOutput
func (GetFunctionTracingConfigArgs) ToGetFunctionTracingConfigOutputWithContext ¶ added in v1.19.0
func (i GetFunctionTracingConfigArgs) ToGetFunctionTracingConfigOutputWithContext(ctx context.Context) GetFunctionTracingConfigOutput
type GetFunctionTracingConfigInput ¶ added in v1.19.0
type GetFunctionTracingConfigInput interface { pulumi.Input ToGetFunctionTracingConfigOutput() GetFunctionTracingConfigOutput ToGetFunctionTracingConfigOutputWithContext(context.Context) GetFunctionTracingConfigOutput }
type GetFunctionTracingConfigOutput ¶ added in v1.19.0
type GetFunctionTracingConfigOutput struct{ *pulumi.OutputState }
func (GetFunctionTracingConfigOutput) ElementType ¶ added in v1.19.0
func (GetFunctionTracingConfigOutput) ElementType() reflect.Type
func (GetFunctionTracingConfigOutput) Mode ¶ added in v1.19.0
func (o GetFunctionTracingConfigOutput) Mode() pulumi.StringOutput
func (GetFunctionTracingConfigOutput) ToGetFunctionTracingConfigOutput ¶ added in v1.19.0
func (o GetFunctionTracingConfigOutput) ToGetFunctionTracingConfigOutput() GetFunctionTracingConfigOutput
func (GetFunctionTracingConfigOutput) ToGetFunctionTracingConfigOutputWithContext ¶ added in v1.19.0
func (o GetFunctionTracingConfigOutput) ToGetFunctionTracingConfigOutputWithContext(ctx context.Context) GetFunctionTracingConfigOutput
type GetFunctionVpcConfig ¶ added in v1.19.0
type GetFunctionVpcConfigArgs ¶ added in v1.19.0
type GetFunctionVpcConfigArgs struct { SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"` VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (GetFunctionVpcConfigArgs) ElementType ¶ added in v1.19.0
func (GetFunctionVpcConfigArgs) ElementType() reflect.Type
func (GetFunctionVpcConfigArgs) ToGetFunctionVpcConfigOutput ¶ added in v1.19.0
func (i GetFunctionVpcConfigArgs) ToGetFunctionVpcConfigOutput() GetFunctionVpcConfigOutput
func (GetFunctionVpcConfigArgs) ToGetFunctionVpcConfigOutputWithContext ¶ added in v1.19.0
func (i GetFunctionVpcConfigArgs) ToGetFunctionVpcConfigOutputWithContext(ctx context.Context) GetFunctionVpcConfigOutput
type GetFunctionVpcConfigInput ¶ added in v1.19.0
type GetFunctionVpcConfigInput interface { pulumi.Input ToGetFunctionVpcConfigOutput() GetFunctionVpcConfigOutput ToGetFunctionVpcConfigOutputWithContext(context.Context) GetFunctionVpcConfigOutput }
type GetFunctionVpcConfigOutput ¶ added in v1.19.0
type GetFunctionVpcConfigOutput struct{ *pulumi.OutputState }
func (GetFunctionVpcConfigOutput) ElementType ¶ added in v1.19.0
func (GetFunctionVpcConfigOutput) ElementType() reflect.Type
func (GetFunctionVpcConfigOutput) SecurityGroupIds ¶ added in v1.19.0
func (o GetFunctionVpcConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput
func (GetFunctionVpcConfigOutput) SubnetIds ¶ added in v1.19.0
func (o GetFunctionVpcConfigOutput) SubnetIds() pulumi.StringArrayOutput
func (GetFunctionVpcConfigOutput) ToGetFunctionVpcConfigOutput ¶ added in v1.19.0
func (o GetFunctionVpcConfigOutput) ToGetFunctionVpcConfigOutput() GetFunctionVpcConfigOutput
func (GetFunctionVpcConfigOutput) ToGetFunctionVpcConfigOutputWithContext ¶ added in v1.19.0
func (o GetFunctionVpcConfigOutput) ToGetFunctionVpcConfigOutputWithContext(ctx context.Context) GetFunctionVpcConfigOutput
func (GetFunctionVpcConfigOutput) VpcId ¶ added in v1.19.0
func (o GetFunctionVpcConfigOutput) VpcId() pulumi.StringOutput
type GetInvocationArgs ¶
type GetInvocationArgs struct { // The name of the lambda function. FunctionName string `pulumi:"functionName"` // A string in JSON format that is passed as payload to the lambda function. Input string `pulumi:"input"` // The qualifier (a.k.a version) of the lambda function. Defaults // to `$LATEST`. Qualifier *string `pulumi:"qualifier"` }
A collection of arguments for invoking getInvocation.
type GetInvocationResult ¶
type GetInvocationResult struct { FunctionName string `pulumi:"functionName"` // id is the provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Input string `pulumi:"input"` Qualifier *string `pulumi:"qualifier"` // String result of the lambda function invocation. Result string `pulumi:"result"` // This field is set only if result is a map of primitive types, where the map is string keys and string values. ResultMap map[string]string `pulumi:"resultMap"` }
A collection of values returned by getInvocation.
func GetInvocation ¶ added in v1.19.0
func GetInvocation(ctx *pulumi.Context, args *GetInvocationArgs, opts ...pulumi.InvokeOption) (*GetInvocationResult, error)
Use this data source to invoke custom lambda functions as data source. The lambda function is invoked with [RequestResponse](https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html#API_Invoke_RequestSyntax) invocation type.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/lambda_invocation.html.markdown.
type LayerVersion ¶ added in v0.16.7
type LayerVersion struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) of the Lambda Layer with version. Arn pulumi.StringOutput `pulumi:"arn"` // The path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used. Code pulumi.ArchiveOutput `pulumi:"code"` // A list of [Runtimes][2] this layer is compatible with. Up to 5 runtimes can be specified. CompatibleRuntimes pulumi.StringArrayOutput `pulumi:"compatibleRuntimes"` // The date this resource was created. CreatedDate pulumi.StringOutput `pulumi:"createdDate"` // Description of what your Lambda Layer does. Description pulumi.StringPtrOutput `pulumi:"description"` // The Amazon Resource Name (ARN) of the Lambda Layer without version. LayerArn pulumi.StringOutput `pulumi:"layerArn"` // A unique name for your Lambda Layer LayerName pulumi.StringOutput `pulumi:"layerName"` // License info for your Lambda Layer. See [License Info][3]. LicenseInfo pulumi.StringPtrOutput `pulumi:"licenseInfo"` // The S3 bucket location containing the function's deployment package. Conflicts with `filename`. This bucket must reside in the same AWS region where you are creating the Lambda function. S3Bucket pulumi.StringPtrOutput `pulumi:"s3Bucket"` // The S3 key of an object containing the function's deployment package. Conflicts with `filename`. S3Key pulumi.StringPtrOutput `pulumi:"s3Key"` // The object version containing the function's deployment package. Conflicts with `filename`. S3ObjectVersion pulumi.StringPtrOutput `pulumi:"s3ObjectVersion"` // Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either `filename` or `s3Key`. The usual way to set this is `${filebase64sha256("file.zip")}` (this provider 0.11.12 or later) or `${base64sha256(file("file.zip"))}` (this provider 0.11.11 and earlier), where "file.zip" is the local filename of the lambda layer source archive. SourceCodeHash pulumi.StringOutput `pulumi:"sourceCodeHash"` // The size in bytes of the function .zip file. SourceCodeSize pulumi.IntOutput `pulumi:"sourceCodeSize"` // This Lamba Layer version. Version pulumi.StringOutput `pulumi:"version"` }
Provides a Lambda Layer Version resource. Lambda Layers allow you to reuse shared bits of code across multiple lambda functions.
For information about Lambda Layers and how to use them, see [AWS Lambda Layers][1]
## Specifying the Deployment Package
AWS Lambda Layers expect source code to be provided as a deployment package whose structure varies depending on which `compatibleRuntimes` this layer specifies. See [Runtimes][2] for the valid values of `compatibleRuntimes`.
Once you have created your deployment package you can specify it either directly as a local file (using the `filename` argument) or indirectly via Amazon S3 (using the `s3Bucket`, `s3Key` and `s3ObjectVersion` arguments). When providing the deployment package via S3 it may be useful to use the `s3.BucketObject` resource to upload it.
For larger deployment packages it is recommended by Amazon to upload via S3, since the S3 API has better support for uploading large files efficiently.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/lambda_layer_version.html.markdown.
func GetLayerVersion ¶ added in v0.16.7
func GetLayerVersion(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LayerVersionState, opts ...pulumi.ResourceOption) (*LayerVersion, error)
GetLayerVersion gets an existing LayerVersion resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLayerVersion ¶ added in v0.16.7
func NewLayerVersion(ctx *pulumi.Context, name string, args *LayerVersionArgs, opts ...pulumi.ResourceOption) (*LayerVersion, error)
NewLayerVersion registers a new resource with the given unique name, arguments, and options.
type LayerVersionArgs ¶ added in v0.16.7
type LayerVersionArgs struct { // The path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used. Code pulumi.ArchiveInput // A list of [Runtimes][2] this layer is compatible with. Up to 5 runtimes can be specified. CompatibleRuntimes pulumi.StringArrayInput // Description of what your Lambda Layer does. Description pulumi.StringPtrInput // A unique name for your Lambda Layer LayerName pulumi.StringInput // License info for your Lambda Layer. See [License Info][3]. LicenseInfo pulumi.StringPtrInput // The S3 bucket location containing the function's deployment package. Conflicts with `filename`. This bucket must reside in the same AWS region where you are creating the Lambda function. S3Bucket pulumi.StringPtrInput // The S3 key of an object containing the function's deployment package. Conflicts with `filename`. S3Key pulumi.StringPtrInput // The object version containing the function's deployment package. Conflicts with `filename`. S3ObjectVersion pulumi.StringPtrInput // Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either `filename` or `s3Key`. The usual way to set this is `${filebase64sha256("file.zip")}` (this provider 0.11.12 or later) or `${base64sha256(file("file.zip"))}` (this provider 0.11.11 and earlier), where "file.zip" is the local filename of the lambda layer source archive. SourceCodeHash pulumi.StringPtrInput }
The set of arguments for constructing a LayerVersion resource.
func (LayerVersionArgs) ElementType ¶ added in v1.19.0
func (LayerVersionArgs) ElementType() reflect.Type
type LayerVersionState ¶ added in v0.16.7
type LayerVersionState struct { // The Amazon Resource Name (ARN) of the Lambda Layer with version. Arn pulumi.StringPtrInput // The path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used. Code pulumi.ArchiveInput // A list of [Runtimes][2] this layer is compatible with. Up to 5 runtimes can be specified. CompatibleRuntimes pulumi.StringArrayInput // The date this resource was created. CreatedDate pulumi.StringPtrInput // Description of what your Lambda Layer does. Description pulumi.StringPtrInput // The Amazon Resource Name (ARN) of the Lambda Layer without version. LayerArn pulumi.StringPtrInput // A unique name for your Lambda Layer LayerName pulumi.StringPtrInput // License info for your Lambda Layer. See [License Info][3]. LicenseInfo pulumi.StringPtrInput // The S3 bucket location containing the function's deployment package. Conflicts with `filename`. This bucket must reside in the same AWS region where you are creating the Lambda function. S3Bucket pulumi.StringPtrInput // The S3 key of an object containing the function's deployment package. Conflicts with `filename`. S3Key pulumi.StringPtrInput // The object version containing the function's deployment package. Conflicts with `filename`. S3ObjectVersion pulumi.StringPtrInput // Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either `filename` or `s3Key`. The usual way to set this is `${filebase64sha256("file.zip")}` (this provider 0.11.12 or later) or `${base64sha256(file("file.zip"))}` (this provider 0.11.11 and earlier), where "file.zip" is the local filename of the lambda layer source archive. SourceCodeHash pulumi.StringPtrInput // The size in bytes of the function .zip file. SourceCodeSize pulumi.IntPtrInput // This Lamba Layer version. Version pulumi.StringPtrInput }
func (LayerVersionState) ElementType ¶ added in v1.19.0
func (LayerVersionState) ElementType() reflect.Type
type LookupFunctionArgs ¶ added in v1.19.0
type LookupFunctionArgs struct { // Name of the lambda function. FunctionName string `pulumi:"functionName"` // Alias name or version number of the lambda function. e.g. `$LATEST`, `my-alias`, or `1` Qualifier *string `pulumi:"qualifier"` Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getFunction.
type LookupFunctionResult ¶ added in v1.19.0
type LookupFunctionResult struct { // Unqualified (no `:QUALIFIER` or `:VERSION` suffix) Amazon Resource Name (ARN) identifying your Lambda Function. See also `qualifiedArn`. Arn string `pulumi:"arn"` // Configure the function's *dead letter queue*. DeadLetterConfig GetFunctionDeadLetterConfig `pulumi:"deadLetterConfig"` // Description of what your Lambda Function does. Description string `pulumi:"description"` // The Lambda environment's configuration settings. Environment GetFunctionEnvironment `pulumi:"environment"` FunctionName string `pulumi:"functionName"` // The function entrypoint in your code. Handler string `pulumi:"handler"` // id is the provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The ARN to be used for invoking Lambda Function from API Gateway. InvokeArn string `pulumi:"invokeArn"` // The ARN for the KMS encryption key. KmsKeyArn string `pulumi:"kmsKeyArn"` // The date this resource was last modified. LastModified string `pulumi:"lastModified"` // A list of Lambda Layer ARNs attached to your Lambda Function. Layers []string `pulumi:"layers"` // Amount of memory in MB your Lambda Function can use at runtime. MemorySize int `pulumi:"memorySize"` // Qualified (`:QUALIFIER` or `:VERSION` suffix) Amazon Resource Name (ARN) identifying your Lambda Function. See also `arn`. QualifiedArn string `pulumi:"qualifiedArn"` Qualifier *string `pulumi:"qualifier"` // The amount of reserved concurrent executions for this lambda function or `-1` if unreserved. ReservedConcurrentExecutions int `pulumi:"reservedConcurrentExecutions"` // IAM role attached to the Lambda Function. Role string `pulumi:"role"` // The runtime environment for the Lambda function.. Runtime string `pulumi:"runtime"` // Base64-encoded representation of raw SHA-256 sum of the zip file. SourceCodeHash string `pulumi:"sourceCodeHash"` // The size in bytes of the function .zip file. SourceCodeSize int `pulumi:"sourceCodeSize"` Tags map[string]interface{} `pulumi:"tags"` // The function execution time at which Lambda should terminate the function. Timeout int `pulumi:"timeout"` // Tracing settings of the function. TracingConfig GetFunctionTracingConfig `pulumi:"tracingConfig"` // The version of the Lambda function. Version string `pulumi:"version"` // VPC configuration associated with your Lambda function. VpcConfig GetFunctionVpcConfig `pulumi:"vpcConfig"` }
A collection of values returned by getFunction.
func LookupFunction ¶
func LookupFunction(ctx *pulumi.Context, args *LookupFunctionArgs, opts ...pulumi.InvokeOption) (*LookupFunctionResult, error)
Provides information about a Lambda Function.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/lambda_function.html.markdown.
type LookupLayerVersionArgs ¶ added in v1.19.0
type LookupLayerVersionArgs struct { // Specific runtime the layer version must support. Conflicts with `version`. If specified, the latest available layer version supporting the provided runtime will be used. CompatibleRuntime *string `pulumi:"compatibleRuntime"` // Name of the lambda layer. LayerName string `pulumi:"layerName"` // Specific layer version. Conflicts with `compatibleRuntime`. If omitted, the latest available layer version will be used. Version *int `pulumi:"version"` }
A collection of arguments for invoking getLayerVersion.
type LookupLayerVersionResult ¶ added in v1.19.0
type LookupLayerVersionResult struct { // The Amazon Resource Name (ARN) of the Lambda Layer with version. Arn string `pulumi:"arn"` CompatibleRuntime *string `pulumi:"compatibleRuntime"` // A list of [Runtimes][1] the specific Lambda Layer version is compatible with. CompatibleRuntimes []string `pulumi:"compatibleRuntimes"` // The date this resource was created. CreatedDate string `pulumi:"createdDate"` // Description of the specific Lambda Layer version. Description string `pulumi:"description"` // id is the provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Amazon Resource Name (ARN) of the Lambda Layer without version. LayerArn string `pulumi:"layerArn"` LayerName string `pulumi:"layerName"` // License info associated with the specific Lambda Layer version. LicenseInfo string `pulumi:"licenseInfo"` // Base64-encoded representation of raw SHA-256 sum of the zip file. SourceCodeHash string `pulumi:"sourceCodeHash"` // The size in bytes of the function .zip file. SourceCodeSize int `pulumi:"sourceCodeSize"` // This Lamba Layer version. Version int `pulumi:"version"` }
A collection of values returned by getLayerVersion.
func LookupLayerVersion ¶ added in v0.18.4
func LookupLayerVersion(ctx *pulumi.Context, args *LookupLayerVersionArgs, opts ...pulumi.InvokeOption) (*LookupLayerVersionResult, error)
Provides information about a Lambda Layer Version.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/lambda_layer_version.html.markdown.
type Permission ¶
type Permission struct { pulumi.CustomResourceState // The AWS Lambda action you want to allow in this statement. (e.g. `lambda:InvokeFunction`) Action pulumi.StringOutput `pulumi:"action"` // The Event Source Token to validate. Used with [Alexa Skills][1]. EventSourceToken pulumi.StringPtrOutput `pulumi:"eventSourceToken"` // Name of the Lambda function whose resource policy you are updating Function pulumi.StringOutput `pulumi:"function"` // The principal who is getting this permission. // e.g. `s3.amazonaws.com`, an AWS account ID, or any valid AWS service principal // such as `events.amazonaws.com` or `sns.amazonaws.com`. Principal pulumi.StringOutput `pulumi:"principal"` // Query parameter to specify function version or alias name. // The permission will then apply to the specific qualified ARN. // e.g. `arn:aws:lambda:aws-region:acct-id:function:function-name:2` Qualifier pulumi.StringPtrOutput `pulumi:"qualifier"` // This parameter is used for S3 and SES. The AWS account ID (without a hyphen) of the source owner. SourceAccount pulumi.StringPtrOutput `pulumi:"sourceAccount"` // When granting Amazon S3 or CloudWatch Events permission to // invoke your function, you should specify this field with the Amazon Resource Name (ARN) // for the S3 Bucket or CloudWatch Events Rule as its value. This ensures that only events // generated from the specified bucket or rule can invoke the function. // API Gateway ARNs have a unique structure described // [here](http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-control-access-using-iam-policies-to-invoke-api.html). SourceArn pulumi.StringPtrOutput `pulumi:"sourceArn"` // A unique statement identifier. By default generated by this provider. StatementId pulumi.StringOutput `pulumi:"statementId"` // A statement identifier prefix. This provider will generate a unique suffix. Conflicts with `statementId`. StatementIdPrefix pulumi.StringPtrOutput `pulumi:"statementIdPrefix"` }
Creates a Lambda permission to allow external sources invoking the Lambda function (e.g. CloudWatch Event Rule, SNS or S3).
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/lambda_permission.html.markdown.
func GetPermission ¶
func GetPermission(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PermissionState, opts ...pulumi.ResourceOption) (*Permission, error)
GetPermission gets an existing Permission resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPermission ¶
func NewPermission(ctx *pulumi.Context, name string, args *PermissionArgs, opts ...pulumi.ResourceOption) (*Permission, error)
NewPermission registers a new resource with the given unique name, arguments, and options.
type PermissionArgs ¶
type PermissionArgs struct { // The AWS Lambda action you want to allow in this statement. (e.g. `lambda:InvokeFunction`) Action pulumi.StringInput // The Event Source Token to validate. Used with [Alexa Skills][1]. EventSourceToken pulumi.StringPtrInput // Name of the Lambda function whose resource policy you are updating Function pulumi.Input // The principal who is getting this permission. // e.g. `s3.amazonaws.com`, an AWS account ID, or any valid AWS service principal // such as `events.amazonaws.com` or `sns.amazonaws.com`. Principal pulumi.StringInput // Query parameter to specify function version or alias name. // The permission will then apply to the specific qualified ARN. // e.g. `arn:aws:lambda:aws-region:acct-id:function:function-name:2` Qualifier pulumi.StringPtrInput // This parameter is used for S3 and SES. The AWS account ID (without a hyphen) of the source owner. SourceAccount pulumi.StringPtrInput // When granting Amazon S3 or CloudWatch Events permission to // invoke your function, you should specify this field with the Amazon Resource Name (ARN) // for the S3 Bucket or CloudWatch Events Rule as its value. This ensures that only events // generated from the specified bucket or rule can invoke the function. // API Gateway ARNs have a unique structure described // [here](http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-control-access-using-iam-policies-to-invoke-api.html). SourceArn pulumi.StringPtrInput // A unique statement identifier. By default generated by this provider. StatementId pulumi.StringPtrInput // A statement identifier prefix. This provider will generate a unique suffix. Conflicts with `statementId`. StatementIdPrefix pulumi.StringPtrInput }
The set of arguments for constructing a Permission resource.
func (PermissionArgs) ElementType ¶ added in v1.19.0
func (PermissionArgs) ElementType() reflect.Type
type PermissionState ¶
type PermissionState struct { // The AWS Lambda action you want to allow in this statement. (e.g. `lambda:InvokeFunction`) Action pulumi.StringPtrInput // The Event Source Token to validate. Used with [Alexa Skills][1]. EventSourceToken pulumi.StringPtrInput // Name of the Lambda function whose resource policy you are updating Function pulumi.StringPtrInput // The principal who is getting this permission. // e.g. `s3.amazonaws.com`, an AWS account ID, or any valid AWS service principal // such as `events.amazonaws.com` or `sns.amazonaws.com`. Principal pulumi.StringPtrInput // Query parameter to specify function version or alias name. // The permission will then apply to the specific qualified ARN. // e.g. `arn:aws:lambda:aws-region:acct-id:function:function-name:2` Qualifier pulumi.StringPtrInput // This parameter is used for S3 and SES. The AWS account ID (without a hyphen) of the source owner. SourceAccount pulumi.StringPtrInput // When granting Amazon S3 or CloudWatch Events permission to // invoke your function, you should specify this field with the Amazon Resource Name (ARN) // for the S3 Bucket or CloudWatch Events Rule as its value. This ensures that only events // generated from the specified bucket or rule can invoke the function. // API Gateway ARNs have a unique structure described // [here](http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-control-access-using-iam-policies-to-invoke-api.html). SourceArn pulumi.StringPtrInput // A unique statement identifier. By default generated by this provider. StatementId pulumi.StringPtrInput // A statement identifier prefix. This provider will generate a unique suffix. Conflicts with `statementId`. StatementIdPrefix pulumi.StringPtrInput }
func (PermissionState) ElementType ¶ added in v1.19.0
func (PermissionState) ElementType() reflect.Type
type ProvisionedConcurrencyConfig ¶ added in v1.14.0
type ProvisionedConcurrencyConfig struct { pulumi.CustomResourceState // Name or Amazon Resource Name (ARN) of the Lambda Function. FunctionName pulumi.StringOutput `pulumi:"functionName"` // Amount of capacity to allocate. Must be greater than or equal to `1`. ProvisionedConcurrentExecutions pulumi.IntOutput `pulumi:"provisionedConcurrentExecutions"` // Lambda Function version or Lambda Alias name. Qualifier pulumi.StringOutput `pulumi:"qualifier"` }
Manages a Lambda Provisioned Concurrency Configuration.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/lambda_provisioned_concurrency_config.html.markdown.
func GetProvisionedConcurrencyConfig ¶ added in v1.14.0
func GetProvisionedConcurrencyConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProvisionedConcurrencyConfigState, opts ...pulumi.ResourceOption) (*ProvisionedConcurrencyConfig, error)
GetProvisionedConcurrencyConfig gets an existing ProvisionedConcurrencyConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProvisionedConcurrencyConfig ¶ added in v1.14.0
func NewProvisionedConcurrencyConfig(ctx *pulumi.Context, name string, args *ProvisionedConcurrencyConfigArgs, opts ...pulumi.ResourceOption) (*ProvisionedConcurrencyConfig, error)
NewProvisionedConcurrencyConfig registers a new resource with the given unique name, arguments, and options.
type ProvisionedConcurrencyConfigArgs ¶ added in v1.14.0
type ProvisionedConcurrencyConfigArgs struct { // Name or Amazon Resource Name (ARN) of the Lambda Function. FunctionName pulumi.StringInput // Amount of capacity to allocate. Must be greater than or equal to `1`. ProvisionedConcurrentExecutions pulumi.IntInput // Lambda Function version or Lambda Alias name. Qualifier pulumi.StringInput }
The set of arguments for constructing a ProvisionedConcurrencyConfig resource.
func (ProvisionedConcurrencyConfigArgs) ElementType ¶ added in v1.19.0
func (ProvisionedConcurrencyConfigArgs) ElementType() reflect.Type
type ProvisionedConcurrencyConfigState ¶ added in v1.14.0
type ProvisionedConcurrencyConfigState struct { // Name or Amazon Resource Name (ARN) of the Lambda Function. FunctionName pulumi.StringPtrInput // Amount of capacity to allocate. Must be greater than or equal to `1`. ProvisionedConcurrentExecutions pulumi.IntPtrInput // Lambda Function version or Lambda Alias name. Qualifier pulumi.StringPtrInput }
func (ProvisionedConcurrencyConfigState) ElementType ¶ added in v1.19.0
func (ProvisionedConcurrencyConfigState) ElementType() reflect.Type