Documentation ¶
Index ¶
- Constants
- type Alias
- type AliasArgs
- type AliasArray
- type AliasArrayInput
- type AliasArrayOutput
- func (AliasArrayOutput) ElementType() reflect.Type
- func (o AliasArrayOutput) Index(i pulumi.IntInput) AliasOutput
- func (o AliasArrayOutput) ToAliasArrayOutput() AliasArrayOutput
- func (o AliasArrayOutput) ToAliasArrayOutputWithContext(ctx context.Context) AliasArrayOutput
- func (o AliasArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Alias]
- type AliasInput
- type AliasMap
- type AliasMapInput
- type AliasMapOutput
- func (AliasMapOutput) ElementType() reflect.Type
- func (o AliasMapOutput) MapIndex(k pulumi.StringInput) AliasOutput
- func (o AliasMapOutput) ToAliasMapOutput() AliasMapOutput
- func (o AliasMapOutput) ToAliasMapOutputWithContext(ctx context.Context) AliasMapOutput
- func (o AliasMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Alias]
- type AliasOutput
- func (o AliasOutput) Arn() pulumi.StringOutput
- func (o AliasOutput) Description() pulumi.StringPtrOutput
- func (AliasOutput) ElementType() reflect.Type
- func (o AliasOutput) FunctionName() pulumi.StringOutput
- func (o AliasOutput) FunctionVersion() pulumi.StringOutput
- func (o AliasOutput) InvokeArn() pulumi.StringOutput
- func (o AliasOutput) Name() pulumi.StringOutput
- func (o AliasOutput) RoutingConfig() AliasRoutingConfigPtrOutput
- func (o AliasOutput) ToAliasOutput() AliasOutput
- func (o AliasOutput) ToAliasOutputWithContext(ctx context.Context) AliasOutput
- func (o AliasOutput) ToOutput(ctx context.Context) pulumix.Output[*Alias]
- 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
- func (i AliasRoutingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AliasRoutingConfig]
- 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
- func (o AliasRoutingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AliasRoutingConfig]
- 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
- func (o AliasRoutingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AliasRoutingConfig]
- type AliasState
- type CodeSigningConfig
- func (*CodeSigningConfig) ElementType() reflect.Type
- func (i *CodeSigningConfig) ToCodeSigningConfigOutput() CodeSigningConfigOutput
- func (i *CodeSigningConfig) ToCodeSigningConfigOutputWithContext(ctx context.Context) CodeSigningConfigOutput
- func (i *CodeSigningConfig) ToOutput(ctx context.Context) pulumix.Output[*CodeSigningConfig]
- type CodeSigningConfigAllowedPublishers
- type CodeSigningConfigAllowedPublishersArgs
- func (CodeSigningConfigAllowedPublishersArgs) ElementType() reflect.Type
- func (i CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersOutput() CodeSigningConfigAllowedPublishersOutput
- func (i CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersOutputWithContext(ctx context.Context) CodeSigningConfigAllowedPublishersOutput
- func (i CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersPtrOutput() CodeSigningConfigAllowedPublishersPtrOutput
- func (i CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext(ctx context.Context) CodeSigningConfigAllowedPublishersPtrOutput
- func (i CodeSigningConfigAllowedPublishersArgs) ToOutput(ctx context.Context) pulumix.Output[CodeSigningConfigAllowedPublishers]
- type CodeSigningConfigAllowedPublishersInput
- type CodeSigningConfigAllowedPublishersOutput
- func (CodeSigningConfigAllowedPublishersOutput) ElementType() reflect.Type
- func (o CodeSigningConfigAllowedPublishersOutput) SigningProfileVersionArns() pulumi.StringArrayOutput
- func (o CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersOutput() CodeSigningConfigAllowedPublishersOutput
- func (o CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersOutputWithContext(ctx context.Context) CodeSigningConfigAllowedPublishersOutput
- func (o CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersPtrOutput() CodeSigningConfigAllowedPublishersPtrOutput
- func (o CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext(ctx context.Context) CodeSigningConfigAllowedPublishersPtrOutput
- func (o CodeSigningConfigAllowedPublishersOutput) ToOutput(ctx context.Context) pulumix.Output[CodeSigningConfigAllowedPublishers]
- type CodeSigningConfigAllowedPublishersPtrInput
- type CodeSigningConfigAllowedPublishersPtrOutput
- func (o CodeSigningConfigAllowedPublishersPtrOutput) Elem() CodeSigningConfigAllowedPublishersOutput
- func (CodeSigningConfigAllowedPublishersPtrOutput) ElementType() reflect.Type
- func (o CodeSigningConfigAllowedPublishersPtrOutput) SigningProfileVersionArns() pulumi.StringArrayOutput
- func (o CodeSigningConfigAllowedPublishersPtrOutput) ToCodeSigningConfigAllowedPublishersPtrOutput() CodeSigningConfigAllowedPublishersPtrOutput
- func (o CodeSigningConfigAllowedPublishersPtrOutput) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext(ctx context.Context) CodeSigningConfigAllowedPublishersPtrOutput
- func (o CodeSigningConfigAllowedPublishersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CodeSigningConfigAllowedPublishers]
- type CodeSigningConfigArgs
- type CodeSigningConfigArray
- func (CodeSigningConfigArray) ElementType() reflect.Type
- func (i CodeSigningConfigArray) ToCodeSigningConfigArrayOutput() CodeSigningConfigArrayOutput
- func (i CodeSigningConfigArray) ToCodeSigningConfigArrayOutputWithContext(ctx context.Context) CodeSigningConfigArrayOutput
- func (i CodeSigningConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]*CodeSigningConfig]
- type CodeSigningConfigArrayInput
- type CodeSigningConfigArrayOutput
- func (CodeSigningConfigArrayOutput) ElementType() reflect.Type
- func (o CodeSigningConfigArrayOutput) Index(i pulumi.IntInput) CodeSigningConfigOutput
- func (o CodeSigningConfigArrayOutput) ToCodeSigningConfigArrayOutput() CodeSigningConfigArrayOutput
- func (o CodeSigningConfigArrayOutput) ToCodeSigningConfigArrayOutputWithContext(ctx context.Context) CodeSigningConfigArrayOutput
- func (o CodeSigningConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*CodeSigningConfig]
- type CodeSigningConfigInput
- type CodeSigningConfigMap
- func (CodeSigningConfigMap) ElementType() reflect.Type
- func (i CodeSigningConfigMap) ToCodeSigningConfigMapOutput() CodeSigningConfigMapOutput
- func (i CodeSigningConfigMap) ToCodeSigningConfigMapOutputWithContext(ctx context.Context) CodeSigningConfigMapOutput
- func (i CodeSigningConfigMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*CodeSigningConfig]
- type CodeSigningConfigMapInput
- type CodeSigningConfigMapOutput
- func (CodeSigningConfigMapOutput) ElementType() reflect.Type
- func (o CodeSigningConfigMapOutput) MapIndex(k pulumi.StringInput) CodeSigningConfigOutput
- func (o CodeSigningConfigMapOutput) ToCodeSigningConfigMapOutput() CodeSigningConfigMapOutput
- func (o CodeSigningConfigMapOutput) ToCodeSigningConfigMapOutputWithContext(ctx context.Context) CodeSigningConfigMapOutput
- func (o CodeSigningConfigMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*CodeSigningConfig]
- type CodeSigningConfigOutput
- func (o CodeSigningConfigOutput) AllowedPublishers() CodeSigningConfigAllowedPublishersOutput
- func (o CodeSigningConfigOutput) Arn() pulumi.StringOutput
- func (o CodeSigningConfigOutput) ConfigId() pulumi.StringOutput
- func (o CodeSigningConfigOutput) Description() pulumi.StringPtrOutput
- func (CodeSigningConfigOutput) ElementType() reflect.Type
- func (o CodeSigningConfigOutput) LastModified() pulumi.StringOutput
- func (o CodeSigningConfigOutput) Policies() CodeSigningConfigPoliciesOutput
- func (o CodeSigningConfigOutput) ToCodeSigningConfigOutput() CodeSigningConfigOutput
- func (o CodeSigningConfigOutput) ToCodeSigningConfigOutputWithContext(ctx context.Context) CodeSigningConfigOutput
- func (o CodeSigningConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*CodeSigningConfig]
- type CodeSigningConfigPolicies
- type CodeSigningConfigPoliciesArgs
- func (CodeSigningConfigPoliciesArgs) ElementType() reflect.Type
- func (i CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesOutput() CodeSigningConfigPoliciesOutput
- func (i CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesOutputWithContext(ctx context.Context) CodeSigningConfigPoliciesOutput
- func (i CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesPtrOutput() CodeSigningConfigPoliciesPtrOutput
- func (i CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesPtrOutputWithContext(ctx context.Context) CodeSigningConfigPoliciesPtrOutput
- func (i CodeSigningConfigPoliciesArgs) ToOutput(ctx context.Context) pulumix.Output[CodeSigningConfigPolicies]
- type CodeSigningConfigPoliciesInput
- type CodeSigningConfigPoliciesOutput
- func (CodeSigningConfigPoliciesOutput) ElementType() reflect.Type
- func (o CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesOutput() CodeSigningConfigPoliciesOutput
- func (o CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesOutputWithContext(ctx context.Context) CodeSigningConfigPoliciesOutput
- func (o CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesPtrOutput() CodeSigningConfigPoliciesPtrOutput
- func (o CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesPtrOutputWithContext(ctx context.Context) CodeSigningConfigPoliciesPtrOutput
- func (o CodeSigningConfigPoliciesOutput) ToOutput(ctx context.Context) pulumix.Output[CodeSigningConfigPolicies]
- func (o CodeSigningConfigPoliciesOutput) UntrustedArtifactOnDeployment() pulumi.StringOutput
- type CodeSigningConfigPoliciesPtrInput
- type CodeSigningConfigPoliciesPtrOutput
- func (o CodeSigningConfigPoliciesPtrOutput) Elem() CodeSigningConfigPoliciesOutput
- func (CodeSigningConfigPoliciesPtrOutput) ElementType() reflect.Type
- func (o CodeSigningConfigPoliciesPtrOutput) ToCodeSigningConfigPoliciesPtrOutput() CodeSigningConfigPoliciesPtrOutput
- func (o CodeSigningConfigPoliciesPtrOutput) ToCodeSigningConfigPoliciesPtrOutputWithContext(ctx context.Context) CodeSigningConfigPoliciesPtrOutput
- func (o CodeSigningConfigPoliciesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CodeSigningConfigPolicies]
- func (o CodeSigningConfigPoliciesPtrOutput) UntrustedArtifactOnDeployment() pulumi.StringPtrOutput
- type CodeSigningConfigState
- type EventSourceMapping
- func (*EventSourceMapping) ElementType() reflect.Type
- func (i *EventSourceMapping) ToEventSourceMappingOutput() EventSourceMappingOutput
- func (i *EventSourceMapping) ToEventSourceMappingOutputWithContext(ctx context.Context) EventSourceMappingOutput
- func (i *EventSourceMapping) ToOutput(ctx context.Context) pulumix.Output[*EventSourceMapping]
- type EventSourceMappingAmazonManagedKafkaEventSourceConfig
- type EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs
- func (EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ElementType() reflect.Type
- func (i EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput
- func (i EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput
- func (i EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput
- func (i EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput
- func (i EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingAmazonManagedKafkaEventSourceConfig]
- type EventSourceMappingAmazonManagedKafkaEventSourceConfigInput
- type EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput
- func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ConsumerGroupId() pulumi.StringPtrOutput
- func (EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ElementType() reflect.Type
- func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput
- func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput
- func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput
- func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput
- func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingAmazonManagedKafkaEventSourceConfig]
- type EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrInput
- type EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput
- func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ConsumerGroupId() pulumi.StringPtrOutput
- func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) Elem() EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput
- func (EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ElementType() reflect.Type
- func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput
- func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput
- func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventSourceMappingAmazonManagedKafkaEventSourceConfig]
- type EventSourceMappingArgs
- type EventSourceMappingArray
- func (EventSourceMappingArray) ElementType() reflect.Type
- func (i EventSourceMappingArray) ToEventSourceMappingArrayOutput() EventSourceMappingArrayOutput
- func (i EventSourceMappingArray) ToEventSourceMappingArrayOutputWithContext(ctx context.Context) EventSourceMappingArrayOutput
- func (i EventSourceMappingArray) ToOutput(ctx context.Context) pulumix.Output[[]*EventSourceMapping]
- type EventSourceMappingArrayInput
- type EventSourceMappingArrayOutput
- func (EventSourceMappingArrayOutput) ElementType() reflect.Type
- func (o EventSourceMappingArrayOutput) Index(i pulumi.IntInput) EventSourceMappingOutput
- func (o EventSourceMappingArrayOutput) ToEventSourceMappingArrayOutput() EventSourceMappingArrayOutput
- func (o EventSourceMappingArrayOutput) ToEventSourceMappingArrayOutputWithContext(ctx context.Context) EventSourceMappingArrayOutput
- func (o EventSourceMappingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*EventSourceMapping]
- type EventSourceMappingDestinationConfig
- type EventSourceMappingDestinationConfigArgs
- func (EventSourceMappingDestinationConfigArgs) ElementType() reflect.Type
- func (i EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigOutput() EventSourceMappingDestinationConfigOutput
- func (i EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOutput
- func (i EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigPtrOutput() EventSourceMappingDestinationConfigPtrOutput
- func (i EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigPtrOutput
- func (i EventSourceMappingDestinationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingDestinationConfig]
- type EventSourceMappingDestinationConfigInput
- type EventSourceMappingDestinationConfigOnFailure
- type EventSourceMappingDestinationConfigOnFailureArgs
- func (EventSourceMappingDestinationConfigOnFailureArgs) ElementType() reflect.Type
- func (i EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailureOutput() EventSourceMappingDestinationConfigOnFailureOutput
- func (i EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailureOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOnFailureOutput
- func (i EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailurePtrOutput() EventSourceMappingDestinationConfigOnFailurePtrOutput
- func (i EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOnFailurePtrOutput
- func (i EventSourceMappingDestinationConfigOnFailureArgs) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingDestinationConfigOnFailure]
- type EventSourceMappingDestinationConfigOnFailureInput
- type EventSourceMappingDestinationConfigOnFailureOutput
- func (o EventSourceMappingDestinationConfigOnFailureOutput) DestinationArn() pulumi.StringOutput
- func (EventSourceMappingDestinationConfigOnFailureOutput) ElementType() reflect.Type
- func (o EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailureOutput() EventSourceMappingDestinationConfigOnFailureOutput
- func (o EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailureOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOnFailureOutput
- func (o EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutput() EventSourceMappingDestinationConfigOnFailurePtrOutput
- func (o EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOnFailurePtrOutput
- func (o EventSourceMappingDestinationConfigOnFailureOutput) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingDestinationConfigOnFailure]
- type EventSourceMappingDestinationConfigOnFailurePtrInput
- type EventSourceMappingDestinationConfigOnFailurePtrOutput
- func (o EventSourceMappingDestinationConfigOnFailurePtrOutput) DestinationArn() pulumi.StringPtrOutput
- func (o EventSourceMappingDestinationConfigOnFailurePtrOutput) Elem() EventSourceMappingDestinationConfigOnFailureOutput
- func (EventSourceMappingDestinationConfigOnFailurePtrOutput) ElementType() reflect.Type
- func (o EventSourceMappingDestinationConfigOnFailurePtrOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutput() EventSourceMappingDestinationConfigOnFailurePtrOutput
- func (o EventSourceMappingDestinationConfigOnFailurePtrOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOnFailurePtrOutput
- func (o EventSourceMappingDestinationConfigOnFailurePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventSourceMappingDestinationConfigOnFailure]
- type EventSourceMappingDestinationConfigOutput
- func (EventSourceMappingDestinationConfigOutput) ElementType() reflect.Type
- func (o EventSourceMappingDestinationConfigOutput) OnFailure() EventSourceMappingDestinationConfigOnFailurePtrOutput
- func (o EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigOutput() EventSourceMappingDestinationConfigOutput
- func (o EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOutput
- func (o EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigPtrOutput() EventSourceMappingDestinationConfigPtrOutput
- func (o EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigPtrOutput
- func (o EventSourceMappingDestinationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingDestinationConfig]
- type EventSourceMappingDestinationConfigPtrInput
- type EventSourceMappingDestinationConfigPtrOutput
- func (o EventSourceMappingDestinationConfigPtrOutput) Elem() EventSourceMappingDestinationConfigOutput
- func (EventSourceMappingDestinationConfigPtrOutput) ElementType() reflect.Type
- func (o EventSourceMappingDestinationConfigPtrOutput) OnFailure() EventSourceMappingDestinationConfigOnFailurePtrOutput
- func (o EventSourceMappingDestinationConfigPtrOutput) ToEventSourceMappingDestinationConfigPtrOutput() EventSourceMappingDestinationConfigPtrOutput
- func (o EventSourceMappingDestinationConfigPtrOutput) ToEventSourceMappingDestinationConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigPtrOutput
- func (o EventSourceMappingDestinationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventSourceMappingDestinationConfig]
- type EventSourceMappingDocumentDbEventSourceConfig
- type EventSourceMappingDocumentDbEventSourceConfigArgs
- func (EventSourceMappingDocumentDbEventSourceConfigArgs) ElementType() reflect.Type
- func (i EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigOutput() EventSourceMappingDocumentDbEventSourceConfigOutput
- func (i EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingDocumentDbEventSourceConfigOutput
- func (i EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutput() EventSourceMappingDocumentDbEventSourceConfigPtrOutput
- func (i EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDocumentDbEventSourceConfigPtrOutput
- func (i EventSourceMappingDocumentDbEventSourceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingDocumentDbEventSourceConfig]
- type EventSourceMappingDocumentDbEventSourceConfigInput
- type EventSourceMappingDocumentDbEventSourceConfigOutput
- func (o EventSourceMappingDocumentDbEventSourceConfigOutput) CollectionName() pulumi.StringPtrOutput
- func (o EventSourceMappingDocumentDbEventSourceConfigOutput) DatabaseName() pulumi.StringOutput
- func (EventSourceMappingDocumentDbEventSourceConfigOutput) ElementType() reflect.Type
- func (o EventSourceMappingDocumentDbEventSourceConfigOutput) FullDocument() pulumi.StringPtrOutput
- func (o EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigOutput() EventSourceMappingDocumentDbEventSourceConfigOutput
- func (o EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingDocumentDbEventSourceConfigOutput
- func (o EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutput() EventSourceMappingDocumentDbEventSourceConfigPtrOutput
- func (o EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDocumentDbEventSourceConfigPtrOutput
- func (o EventSourceMappingDocumentDbEventSourceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingDocumentDbEventSourceConfig]
- type EventSourceMappingDocumentDbEventSourceConfigPtrInput
- type EventSourceMappingDocumentDbEventSourceConfigPtrOutput
- func (o EventSourceMappingDocumentDbEventSourceConfigPtrOutput) CollectionName() pulumi.StringPtrOutput
- func (o EventSourceMappingDocumentDbEventSourceConfigPtrOutput) DatabaseName() pulumi.StringPtrOutput
- func (o EventSourceMappingDocumentDbEventSourceConfigPtrOutput) Elem() EventSourceMappingDocumentDbEventSourceConfigOutput
- func (EventSourceMappingDocumentDbEventSourceConfigPtrOutput) ElementType() reflect.Type
- func (o EventSourceMappingDocumentDbEventSourceConfigPtrOutput) FullDocument() pulumi.StringPtrOutput
- func (o EventSourceMappingDocumentDbEventSourceConfigPtrOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutput() EventSourceMappingDocumentDbEventSourceConfigPtrOutput
- func (o EventSourceMappingDocumentDbEventSourceConfigPtrOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDocumentDbEventSourceConfigPtrOutput
- func (o EventSourceMappingDocumentDbEventSourceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventSourceMappingDocumentDbEventSourceConfig]
- type EventSourceMappingFilterCriteria
- type EventSourceMappingFilterCriteriaArgs
- func (EventSourceMappingFilterCriteriaArgs) ElementType() reflect.Type
- func (i EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaOutput() EventSourceMappingFilterCriteriaOutput
- func (i EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaOutput
- func (i EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaPtrOutput() EventSourceMappingFilterCriteriaPtrOutput
- func (i EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaPtrOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaPtrOutput
- func (i EventSourceMappingFilterCriteriaArgs) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingFilterCriteria]
- type EventSourceMappingFilterCriteriaFilter
- type EventSourceMappingFilterCriteriaFilterArgs
- func (EventSourceMappingFilterCriteriaFilterArgs) ElementType() reflect.Type
- func (i EventSourceMappingFilterCriteriaFilterArgs) ToEventSourceMappingFilterCriteriaFilterOutput() EventSourceMappingFilterCriteriaFilterOutput
- func (i EventSourceMappingFilterCriteriaFilterArgs) ToEventSourceMappingFilterCriteriaFilterOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaFilterOutput
- func (i EventSourceMappingFilterCriteriaFilterArgs) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingFilterCriteriaFilter]
- type EventSourceMappingFilterCriteriaFilterArray
- func (EventSourceMappingFilterCriteriaFilterArray) ElementType() reflect.Type
- func (i EventSourceMappingFilterCriteriaFilterArray) ToEventSourceMappingFilterCriteriaFilterArrayOutput() EventSourceMappingFilterCriteriaFilterArrayOutput
- func (i EventSourceMappingFilterCriteriaFilterArray) ToEventSourceMappingFilterCriteriaFilterArrayOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaFilterArrayOutput
- func (i EventSourceMappingFilterCriteriaFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]EventSourceMappingFilterCriteriaFilter]
- type EventSourceMappingFilterCriteriaFilterArrayInput
- type EventSourceMappingFilterCriteriaFilterArrayOutput
- func (EventSourceMappingFilterCriteriaFilterArrayOutput) ElementType() reflect.Type
- func (o EventSourceMappingFilterCriteriaFilterArrayOutput) Index(i pulumi.IntInput) EventSourceMappingFilterCriteriaFilterOutput
- func (o EventSourceMappingFilterCriteriaFilterArrayOutput) ToEventSourceMappingFilterCriteriaFilterArrayOutput() EventSourceMappingFilterCriteriaFilterArrayOutput
- func (o EventSourceMappingFilterCriteriaFilterArrayOutput) ToEventSourceMappingFilterCriteriaFilterArrayOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaFilterArrayOutput
- func (o EventSourceMappingFilterCriteriaFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EventSourceMappingFilterCriteriaFilter]
- type EventSourceMappingFilterCriteriaFilterInput
- type EventSourceMappingFilterCriteriaFilterOutput
- func (EventSourceMappingFilterCriteriaFilterOutput) ElementType() reflect.Type
- func (o EventSourceMappingFilterCriteriaFilterOutput) Pattern() pulumi.StringPtrOutput
- func (o EventSourceMappingFilterCriteriaFilterOutput) ToEventSourceMappingFilterCriteriaFilterOutput() EventSourceMappingFilterCriteriaFilterOutput
- func (o EventSourceMappingFilterCriteriaFilterOutput) ToEventSourceMappingFilterCriteriaFilterOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaFilterOutput
- func (o EventSourceMappingFilterCriteriaFilterOutput) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingFilterCriteriaFilter]
- type EventSourceMappingFilterCriteriaInput
- type EventSourceMappingFilterCriteriaOutput
- func (EventSourceMappingFilterCriteriaOutput) ElementType() reflect.Type
- func (o EventSourceMappingFilterCriteriaOutput) Filters() EventSourceMappingFilterCriteriaFilterArrayOutput
- func (o EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaOutput() EventSourceMappingFilterCriteriaOutput
- func (o EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaOutput
- func (o EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaPtrOutput() EventSourceMappingFilterCriteriaPtrOutput
- func (o EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaPtrOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaPtrOutput
- func (o EventSourceMappingFilterCriteriaOutput) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingFilterCriteria]
- type EventSourceMappingFilterCriteriaPtrInput
- type EventSourceMappingFilterCriteriaPtrOutput
- func (o EventSourceMappingFilterCriteriaPtrOutput) Elem() EventSourceMappingFilterCriteriaOutput
- func (EventSourceMappingFilterCriteriaPtrOutput) ElementType() reflect.Type
- func (o EventSourceMappingFilterCriteriaPtrOutput) Filters() EventSourceMappingFilterCriteriaFilterArrayOutput
- func (o EventSourceMappingFilterCriteriaPtrOutput) ToEventSourceMappingFilterCriteriaPtrOutput() EventSourceMappingFilterCriteriaPtrOutput
- func (o EventSourceMappingFilterCriteriaPtrOutput) ToEventSourceMappingFilterCriteriaPtrOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaPtrOutput
- func (o EventSourceMappingFilterCriteriaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventSourceMappingFilterCriteria]
- type EventSourceMappingInput
- type EventSourceMappingMap
- func (EventSourceMappingMap) ElementType() reflect.Type
- func (i EventSourceMappingMap) ToEventSourceMappingMapOutput() EventSourceMappingMapOutput
- func (i EventSourceMappingMap) ToEventSourceMappingMapOutputWithContext(ctx context.Context) EventSourceMappingMapOutput
- func (i EventSourceMappingMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*EventSourceMapping]
- type EventSourceMappingMapInput
- type EventSourceMappingMapOutput
- func (EventSourceMappingMapOutput) ElementType() reflect.Type
- func (o EventSourceMappingMapOutput) MapIndex(k pulumi.StringInput) EventSourceMappingOutput
- func (o EventSourceMappingMapOutput) ToEventSourceMappingMapOutput() EventSourceMappingMapOutput
- func (o EventSourceMappingMapOutput) ToEventSourceMappingMapOutputWithContext(ctx context.Context) EventSourceMappingMapOutput
- func (o EventSourceMappingMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*EventSourceMapping]
- type EventSourceMappingOutput
- func (o EventSourceMappingOutput) AmazonManagedKafkaEventSourceConfig() EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput
- func (o EventSourceMappingOutput) BatchSize() pulumi.IntPtrOutput
- func (o EventSourceMappingOutput) BisectBatchOnFunctionError() pulumi.BoolPtrOutput
- func (o EventSourceMappingOutput) DestinationConfig() EventSourceMappingDestinationConfigPtrOutput
- func (o EventSourceMappingOutput) DocumentDbEventSourceConfig() EventSourceMappingDocumentDbEventSourceConfigPtrOutput
- func (EventSourceMappingOutput) ElementType() reflect.Type
- func (o EventSourceMappingOutput) Enabled() pulumi.BoolPtrOutput
- func (o EventSourceMappingOutput) EventSourceArn() pulumi.StringPtrOutput
- func (o EventSourceMappingOutput) FilterCriteria() EventSourceMappingFilterCriteriaPtrOutput
- func (o EventSourceMappingOutput) FunctionArn() pulumi.StringOutput
- func (o EventSourceMappingOutput) FunctionName() pulumi.StringOutput
- func (o EventSourceMappingOutput) FunctionResponseTypes() pulumi.StringArrayOutput
- func (o EventSourceMappingOutput) LastModified() pulumi.StringOutput
- func (o EventSourceMappingOutput) LastProcessingResult() pulumi.StringOutput
- func (o EventSourceMappingOutput) MaximumBatchingWindowInSeconds() pulumi.IntPtrOutput
- func (o EventSourceMappingOutput) MaximumRecordAgeInSeconds() pulumi.IntOutput
- func (o EventSourceMappingOutput) MaximumRetryAttempts() pulumi.IntOutput
- func (o EventSourceMappingOutput) ParallelizationFactor() pulumi.IntOutput
- func (o EventSourceMappingOutput) Queues() pulumi.StringPtrOutput
- func (o EventSourceMappingOutput) ScalingConfig() EventSourceMappingScalingConfigPtrOutput
- func (o EventSourceMappingOutput) SelfManagedEventSource() EventSourceMappingSelfManagedEventSourcePtrOutput
- func (o EventSourceMappingOutput) SelfManagedKafkaEventSourceConfig() EventSourceMappingSelfManagedKafkaEventSourceConfigOutput
- func (o EventSourceMappingOutput) SourceAccessConfigurations() EventSourceMappingSourceAccessConfigurationArrayOutput
- func (o EventSourceMappingOutput) StartingPosition() pulumi.StringPtrOutput
- func (o EventSourceMappingOutput) StartingPositionTimestamp() pulumi.StringPtrOutput
- func (o EventSourceMappingOutput) State() pulumi.StringOutput
- func (o EventSourceMappingOutput) StateTransitionReason() pulumi.StringOutput
- func (o EventSourceMappingOutput) ToEventSourceMappingOutput() EventSourceMappingOutput
- func (o EventSourceMappingOutput) ToEventSourceMappingOutputWithContext(ctx context.Context) EventSourceMappingOutput
- func (o EventSourceMappingOutput) ToOutput(ctx context.Context) pulumix.Output[*EventSourceMapping]
- func (o EventSourceMappingOutput) Topics() pulumi.StringArrayOutput
- func (o EventSourceMappingOutput) TumblingWindowInSeconds() pulumi.IntPtrOutput
- func (o EventSourceMappingOutput) Uuid() pulumi.StringOutput
- type EventSourceMappingScalingConfig
- type EventSourceMappingScalingConfigArgs
- func (EventSourceMappingScalingConfigArgs) ElementType() reflect.Type
- func (i EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigOutput() EventSourceMappingScalingConfigOutput
- func (i EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigOutputWithContext(ctx context.Context) EventSourceMappingScalingConfigOutput
- func (i EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigPtrOutput() EventSourceMappingScalingConfigPtrOutput
- func (i EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingScalingConfigPtrOutput
- func (i EventSourceMappingScalingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingScalingConfig]
- type EventSourceMappingScalingConfigInput
- type EventSourceMappingScalingConfigOutput
- func (EventSourceMappingScalingConfigOutput) ElementType() reflect.Type
- func (o EventSourceMappingScalingConfigOutput) MaximumConcurrency() pulumi.IntPtrOutput
- func (o EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigOutput() EventSourceMappingScalingConfigOutput
- func (o EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigOutputWithContext(ctx context.Context) EventSourceMappingScalingConfigOutput
- func (o EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigPtrOutput() EventSourceMappingScalingConfigPtrOutput
- func (o EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingScalingConfigPtrOutput
- func (o EventSourceMappingScalingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingScalingConfig]
- type EventSourceMappingScalingConfigPtrInput
- type EventSourceMappingScalingConfigPtrOutput
- func (o EventSourceMappingScalingConfigPtrOutput) Elem() EventSourceMappingScalingConfigOutput
- func (EventSourceMappingScalingConfigPtrOutput) ElementType() reflect.Type
- func (o EventSourceMappingScalingConfigPtrOutput) MaximumConcurrency() pulumi.IntPtrOutput
- func (o EventSourceMappingScalingConfigPtrOutput) ToEventSourceMappingScalingConfigPtrOutput() EventSourceMappingScalingConfigPtrOutput
- func (o EventSourceMappingScalingConfigPtrOutput) ToEventSourceMappingScalingConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingScalingConfigPtrOutput
- func (o EventSourceMappingScalingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventSourceMappingScalingConfig]
- type EventSourceMappingSelfManagedEventSource
- type EventSourceMappingSelfManagedEventSourceArgs
- func (EventSourceMappingSelfManagedEventSourceArgs) ElementType() reflect.Type
- func (i EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourceOutput() EventSourceMappingSelfManagedEventSourceOutput
- func (i EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourceOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedEventSourceOutput
- func (i EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourcePtrOutput() EventSourceMappingSelfManagedEventSourcePtrOutput
- func (i EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourcePtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedEventSourcePtrOutput
- func (i EventSourceMappingSelfManagedEventSourceArgs) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingSelfManagedEventSource]
- type EventSourceMappingSelfManagedEventSourceInput
- type EventSourceMappingSelfManagedEventSourceOutput
- func (EventSourceMappingSelfManagedEventSourceOutput) ElementType() reflect.Type
- func (o EventSourceMappingSelfManagedEventSourceOutput) Endpoints() pulumi.StringMapOutput
- func (o EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourceOutput() EventSourceMappingSelfManagedEventSourceOutput
- func (o EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourceOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedEventSourceOutput
- func (o EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutput() EventSourceMappingSelfManagedEventSourcePtrOutput
- func (o EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedEventSourcePtrOutput
- func (o EventSourceMappingSelfManagedEventSourceOutput) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingSelfManagedEventSource]
- type EventSourceMappingSelfManagedEventSourcePtrInput
- type EventSourceMappingSelfManagedEventSourcePtrOutput
- func (o EventSourceMappingSelfManagedEventSourcePtrOutput) Elem() EventSourceMappingSelfManagedEventSourceOutput
- func (EventSourceMappingSelfManagedEventSourcePtrOutput) ElementType() reflect.Type
- func (o EventSourceMappingSelfManagedEventSourcePtrOutput) Endpoints() pulumi.StringMapOutput
- func (o EventSourceMappingSelfManagedEventSourcePtrOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutput() EventSourceMappingSelfManagedEventSourcePtrOutput
- func (o EventSourceMappingSelfManagedEventSourcePtrOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedEventSourcePtrOutput
- func (o EventSourceMappingSelfManagedEventSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventSourceMappingSelfManagedEventSource]
- type EventSourceMappingSelfManagedKafkaEventSourceConfig
- type EventSourceMappingSelfManagedKafkaEventSourceConfigArgs
- func (EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ElementType() reflect.Type
- func (i EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigOutput
- func (i EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigOutput
- func (i EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput
- func (i EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput
- func (i EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingSelfManagedKafkaEventSourceConfig]
- type EventSourceMappingSelfManagedKafkaEventSourceConfigInput
- type EventSourceMappingSelfManagedKafkaEventSourceConfigOutput
- func (o EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ConsumerGroupId() pulumi.StringPtrOutput
- func (EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ElementType() reflect.Type
- func (o EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigOutput
- func (o EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigOutput
- func (o EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput
- func (o EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput
- func (o EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingSelfManagedKafkaEventSourceConfig]
- type EventSourceMappingSelfManagedKafkaEventSourceConfigPtrInput
- type EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput
- func (o EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ConsumerGroupId() pulumi.StringPtrOutput
- func (o EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) Elem() EventSourceMappingSelfManagedKafkaEventSourceConfigOutput
- func (EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ElementType() reflect.Type
- func (o EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput
- func (o EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput
- func (o EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventSourceMappingSelfManagedKafkaEventSourceConfig]
- type EventSourceMappingSourceAccessConfiguration
- type EventSourceMappingSourceAccessConfigurationArgs
- func (EventSourceMappingSourceAccessConfigurationArgs) ElementType() reflect.Type
- func (i EventSourceMappingSourceAccessConfigurationArgs) ToEventSourceMappingSourceAccessConfigurationOutput() EventSourceMappingSourceAccessConfigurationOutput
- func (i EventSourceMappingSourceAccessConfigurationArgs) ToEventSourceMappingSourceAccessConfigurationOutputWithContext(ctx context.Context) EventSourceMappingSourceAccessConfigurationOutput
- func (i EventSourceMappingSourceAccessConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingSourceAccessConfiguration]
- type EventSourceMappingSourceAccessConfigurationArray
- func (EventSourceMappingSourceAccessConfigurationArray) ElementType() reflect.Type
- func (i EventSourceMappingSourceAccessConfigurationArray) ToEventSourceMappingSourceAccessConfigurationArrayOutput() EventSourceMappingSourceAccessConfigurationArrayOutput
- func (i EventSourceMappingSourceAccessConfigurationArray) ToEventSourceMappingSourceAccessConfigurationArrayOutputWithContext(ctx context.Context) EventSourceMappingSourceAccessConfigurationArrayOutput
- func (i EventSourceMappingSourceAccessConfigurationArray) ToOutput(ctx context.Context) pulumix.Output[[]EventSourceMappingSourceAccessConfiguration]
- type EventSourceMappingSourceAccessConfigurationArrayInput
- type EventSourceMappingSourceAccessConfigurationArrayOutput
- func (EventSourceMappingSourceAccessConfigurationArrayOutput) ElementType() reflect.Type
- func (o EventSourceMappingSourceAccessConfigurationArrayOutput) Index(i pulumi.IntInput) EventSourceMappingSourceAccessConfigurationOutput
- func (o EventSourceMappingSourceAccessConfigurationArrayOutput) ToEventSourceMappingSourceAccessConfigurationArrayOutput() EventSourceMappingSourceAccessConfigurationArrayOutput
- func (o EventSourceMappingSourceAccessConfigurationArrayOutput) ToEventSourceMappingSourceAccessConfigurationArrayOutputWithContext(ctx context.Context) EventSourceMappingSourceAccessConfigurationArrayOutput
- func (o EventSourceMappingSourceAccessConfigurationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EventSourceMappingSourceAccessConfiguration]
- type EventSourceMappingSourceAccessConfigurationInput
- type EventSourceMappingSourceAccessConfigurationOutput
- func (EventSourceMappingSourceAccessConfigurationOutput) ElementType() reflect.Type
- func (o EventSourceMappingSourceAccessConfigurationOutput) ToEventSourceMappingSourceAccessConfigurationOutput() EventSourceMappingSourceAccessConfigurationOutput
- func (o EventSourceMappingSourceAccessConfigurationOutput) ToEventSourceMappingSourceAccessConfigurationOutputWithContext(ctx context.Context) EventSourceMappingSourceAccessConfigurationOutput
- func (o EventSourceMappingSourceAccessConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingSourceAccessConfiguration]
- func (o EventSourceMappingSourceAccessConfigurationOutput) Type() pulumi.StringOutput
- func (o EventSourceMappingSourceAccessConfigurationOutput) Uri() pulumi.StringOutput
- type EventSourceMappingState
- type Function
- type FunctionArgs
- type FunctionArray
- type FunctionArrayInput
- type FunctionArrayOutput
- func (FunctionArrayOutput) ElementType() reflect.Type
- func (o FunctionArrayOutput) Index(i pulumi.IntInput) FunctionOutput
- func (o FunctionArrayOutput) ToFunctionArrayOutput() FunctionArrayOutput
- func (o FunctionArrayOutput) ToFunctionArrayOutputWithContext(ctx context.Context) FunctionArrayOutput
- func (o FunctionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Function]
- 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
- func (i FunctionDeadLetterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionDeadLetterConfig]
- 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
- func (o FunctionDeadLetterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionDeadLetterConfig]
- type FunctionDeadLetterConfigPtrInput
- type FunctionDeadLetterConfigPtrOutput
- func (o FunctionDeadLetterConfigPtrOutput) Elem() FunctionDeadLetterConfigOutput
- func (FunctionDeadLetterConfigPtrOutput) ElementType() reflect.Type
- func (o FunctionDeadLetterConfigPtrOutput) TargetArn() pulumi.StringPtrOutput
- func (o FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutput() FunctionDeadLetterConfigPtrOutput
- func (o FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutputWithContext(ctx context.Context) FunctionDeadLetterConfigPtrOutput
- func (o FunctionDeadLetterConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionDeadLetterConfig]
- 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
- func (i FunctionEnvironmentArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionEnvironment]
- 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) ToOutput(ctx context.Context) pulumix.Output[FunctionEnvironment]
- 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) ToOutput(ctx context.Context) pulumix.Output[*FunctionEnvironment]
- func (o FunctionEnvironmentPtrOutput) Variables() pulumi.StringMapOutput
- type FunctionEphemeralStorage
- type FunctionEphemeralStorageArgs
- func (FunctionEphemeralStorageArgs) ElementType() reflect.Type
- func (i FunctionEphemeralStorageArgs) ToFunctionEphemeralStorageOutput() FunctionEphemeralStorageOutput
- func (i FunctionEphemeralStorageArgs) ToFunctionEphemeralStorageOutputWithContext(ctx context.Context) FunctionEphemeralStorageOutput
- func (i FunctionEphemeralStorageArgs) ToFunctionEphemeralStoragePtrOutput() FunctionEphemeralStoragePtrOutput
- func (i FunctionEphemeralStorageArgs) ToFunctionEphemeralStoragePtrOutputWithContext(ctx context.Context) FunctionEphemeralStoragePtrOutput
- func (i FunctionEphemeralStorageArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionEphemeralStorage]
- type FunctionEphemeralStorageInput
- type FunctionEphemeralStorageOutput
- func (FunctionEphemeralStorageOutput) ElementType() reflect.Type
- func (o FunctionEphemeralStorageOutput) Size() pulumi.IntPtrOutput
- func (o FunctionEphemeralStorageOutput) ToFunctionEphemeralStorageOutput() FunctionEphemeralStorageOutput
- func (o FunctionEphemeralStorageOutput) ToFunctionEphemeralStorageOutputWithContext(ctx context.Context) FunctionEphemeralStorageOutput
- func (o FunctionEphemeralStorageOutput) ToFunctionEphemeralStoragePtrOutput() FunctionEphemeralStoragePtrOutput
- func (o FunctionEphemeralStorageOutput) ToFunctionEphemeralStoragePtrOutputWithContext(ctx context.Context) FunctionEphemeralStoragePtrOutput
- func (o FunctionEphemeralStorageOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionEphemeralStorage]
- type FunctionEphemeralStoragePtrInput
- type FunctionEphemeralStoragePtrOutput
- func (o FunctionEphemeralStoragePtrOutput) Elem() FunctionEphemeralStorageOutput
- func (FunctionEphemeralStoragePtrOutput) ElementType() reflect.Type
- func (o FunctionEphemeralStoragePtrOutput) Size() pulumi.IntPtrOutput
- func (o FunctionEphemeralStoragePtrOutput) ToFunctionEphemeralStoragePtrOutput() FunctionEphemeralStoragePtrOutput
- func (o FunctionEphemeralStoragePtrOutput) ToFunctionEphemeralStoragePtrOutputWithContext(ctx context.Context) FunctionEphemeralStoragePtrOutput
- func (o FunctionEphemeralStoragePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionEphemeralStorage]
- type FunctionEventInvokeConfig
- func (*FunctionEventInvokeConfig) ElementType() reflect.Type
- func (i *FunctionEventInvokeConfig) ToFunctionEventInvokeConfigOutput() FunctionEventInvokeConfigOutput
- func (i *FunctionEventInvokeConfig) ToFunctionEventInvokeConfigOutputWithContext(ctx context.Context) FunctionEventInvokeConfigOutput
- func (i *FunctionEventInvokeConfig) ToOutput(ctx context.Context) pulumix.Output[*FunctionEventInvokeConfig]
- type FunctionEventInvokeConfigArgs
- type FunctionEventInvokeConfigArray
- func (FunctionEventInvokeConfigArray) ElementType() reflect.Type
- func (i FunctionEventInvokeConfigArray) ToFunctionEventInvokeConfigArrayOutput() FunctionEventInvokeConfigArrayOutput
- func (i FunctionEventInvokeConfigArray) ToFunctionEventInvokeConfigArrayOutputWithContext(ctx context.Context) FunctionEventInvokeConfigArrayOutput
- func (i FunctionEventInvokeConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]*FunctionEventInvokeConfig]
- type FunctionEventInvokeConfigArrayInput
- type FunctionEventInvokeConfigArrayOutput
- func (FunctionEventInvokeConfigArrayOutput) ElementType() reflect.Type
- func (o FunctionEventInvokeConfigArrayOutput) Index(i pulumi.IntInput) FunctionEventInvokeConfigOutput
- func (o FunctionEventInvokeConfigArrayOutput) ToFunctionEventInvokeConfigArrayOutput() FunctionEventInvokeConfigArrayOutput
- func (o FunctionEventInvokeConfigArrayOutput) ToFunctionEventInvokeConfigArrayOutputWithContext(ctx context.Context) FunctionEventInvokeConfigArrayOutput
- func (o FunctionEventInvokeConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*FunctionEventInvokeConfig]
- 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
- func (i FunctionEventInvokeConfigDestinationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionEventInvokeConfigDestinationConfig]
- 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
- func (i FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionEventInvokeConfigDestinationConfigOnFailure]
- 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
- func (o FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionEventInvokeConfigDestinationConfigOnFailure]
- type FunctionEventInvokeConfigDestinationConfigOnFailurePtrInput
- type FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) Destination() pulumi.StringPtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) Elem() FunctionEventInvokeConfigDestinationConfigOnFailureOutput
- func (FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ElementType() reflect.Type
- func (o FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionEventInvokeConfigDestinationConfigOnFailure]
- 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
- func (i FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionEventInvokeConfigDestinationConfigOnSuccess]
- 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
- func (o FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionEventInvokeConfigDestinationConfigOnSuccess]
- type FunctionEventInvokeConfigDestinationConfigOnSuccessPtrInput
- type FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) Destination() pulumi.StringPtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) Elem() FunctionEventInvokeConfigDestinationConfigOnSuccessOutput
- func (FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ElementType() reflect.Type
- func (o FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
- func (o FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionEventInvokeConfigDestinationConfigOnSuccess]
- 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
- func (o FunctionEventInvokeConfigDestinationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionEventInvokeConfigDestinationConfig]
- 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
- func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionEventInvokeConfigDestinationConfig]
- type FunctionEventInvokeConfigInput
- type FunctionEventInvokeConfigMap
- func (FunctionEventInvokeConfigMap) ElementType() reflect.Type
- func (i FunctionEventInvokeConfigMap) ToFunctionEventInvokeConfigMapOutput() FunctionEventInvokeConfigMapOutput
- func (i FunctionEventInvokeConfigMap) ToFunctionEventInvokeConfigMapOutputWithContext(ctx context.Context) FunctionEventInvokeConfigMapOutput
- func (i FunctionEventInvokeConfigMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*FunctionEventInvokeConfig]
- type FunctionEventInvokeConfigMapInput
- type FunctionEventInvokeConfigMapOutput
- func (FunctionEventInvokeConfigMapOutput) ElementType() reflect.Type
- func (o FunctionEventInvokeConfigMapOutput) MapIndex(k pulumi.StringInput) FunctionEventInvokeConfigOutput
- func (o FunctionEventInvokeConfigMapOutput) ToFunctionEventInvokeConfigMapOutput() FunctionEventInvokeConfigMapOutput
- func (o FunctionEventInvokeConfigMapOutput) ToFunctionEventInvokeConfigMapOutputWithContext(ctx context.Context) FunctionEventInvokeConfigMapOutput
- func (o FunctionEventInvokeConfigMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*FunctionEventInvokeConfig]
- type FunctionEventInvokeConfigOutput
- func (o FunctionEventInvokeConfigOutput) DestinationConfig() FunctionEventInvokeConfigDestinationConfigPtrOutput
- func (FunctionEventInvokeConfigOutput) ElementType() reflect.Type
- func (o FunctionEventInvokeConfigOutput) FunctionName() pulumi.StringOutput
- func (o FunctionEventInvokeConfigOutput) MaximumEventAgeInSeconds() pulumi.IntPtrOutput
- func (o FunctionEventInvokeConfigOutput) MaximumRetryAttempts() pulumi.IntPtrOutput
- func (o FunctionEventInvokeConfigOutput) Qualifier() pulumi.StringPtrOutput
- func (o FunctionEventInvokeConfigOutput) ToFunctionEventInvokeConfigOutput() FunctionEventInvokeConfigOutput
- func (o FunctionEventInvokeConfigOutput) ToFunctionEventInvokeConfigOutputWithContext(ctx context.Context) FunctionEventInvokeConfigOutput
- func (o FunctionEventInvokeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionEventInvokeConfig]
- type FunctionEventInvokeConfigState
- type FunctionFileSystemConfig
- type FunctionFileSystemConfigArgs
- func (FunctionFileSystemConfigArgs) ElementType() reflect.Type
- func (i FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigOutput() FunctionFileSystemConfigOutput
- func (i FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigOutputWithContext(ctx context.Context) FunctionFileSystemConfigOutput
- func (i FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigPtrOutput() FunctionFileSystemConfigPtrOutput
- func (i FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigPtrOutputWithContext(ctx context.Context) FunctionFileSystemConfigPtrOutput
- func (i FunctionFileSystemConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionFileSystemConfig]
- type FunctionFileSystemConfigInput
- type FunctionFileSystemConfigOutput
- func (o FunctionFileSystemConfigOutput) Arn() pulumi.StringOutput
- func (FunctionFileSystemConfigOutput) ElementType() reflect.Type
- func (o FunctionFileSystemConfigOutput) LocalMountPath() pulumi.StringOutput
- func (o FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigOutput() FunctionFileSystemConfigOutput
- func (o FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigOutputWithContext(ctx context.Context) FunctionFileSystemConfigOutput
- func (o FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigPtrOutput() FunctionFileSystemConfigPtrOutput
- func (o FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigPtrOutputWithContext(ctx context.Context) FunctionFileSystemConfigPtrOutput
- func (o FunctionFileSystemConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionFileSystemConfig]
- type FunctionFileSystemConfigPtrInput
- type FunctionFileSystemConfigPtrOutput
- func (o FunctionFileSystemConfigPtrOutput) Arn() pulumi.StringPtrOutput
- func (o FunctionFileSystemConfigPtrOutput) Elem() FunctionFileSystemConfigOutput
- func (FunctionFileSystemConfigPtrOutput) ElementType() reflect.Type
- func (o FunctionFileSystemConfigPtrOutput) LocalMountPath() pulumi.StringPtrOutput
- func (o FunctionFileSystemConfigPtrOutput) ToFunctionFileSystemConfigPtrOutput() FunctionFileSystemConfigPtrOutput
- func (o FunctionFileSystemConfigPtrOutput) ToFunctionFileSystemConfigPtrOutputWithContext(ctx context.Context) FunctionFileSystemConfigPtrOutput
- func (o FunctionFileSystemConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionFileSystemConfig]
- type FunctionImageConfig
- type FunctionImageConfigArgs
- func (FunctionImageConfigArgs) ElementType() reflect.Type
- func (i FunctionImageConfigArgs) ToFunctionImageConfigOutput() FunctionImageConfigOutput
- func (i FunctionImageConfigArgs) ToFunctionImageConfigOutputWithContext(ctx context.Context) FunctionImageConfigOutput
- func (i FunctionImageConfigArgs) ToFunctionImageConfigPtrOutput() FunctionImageConfigPtrOutput
- func (i FunctionImageConfigArgs) ToFunctionImageConfigPtrOutputWithContext(ctx context.Context) FunctionImageConfigPtrOutput
- func (i FunctionImageConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionImageConfig]
- type FunctionImageConfigInput
- type FunctionImageConfigOutput
- func (o FunctionImageConfigOutput) Commands() pulumi.StringArrayOutput
- func (FunctionImageConfigOutput) ElementType() reflect.Type
- func (o FunctionImageConfigOutput) EntryPoints() pulumi.StringArrayOutput
- func (o FunctionImageConfigOutput) ToFunctionImageConfigOutput() FunctionImageConfigOutput
- func (o FunctionImageConfigOutput) ToFunctionImageConfigOutputWithContext(ctx context.Context) FunctionImageConfigOutput
- func (o FunctionImageConfigOutput) ToFunctionImageConfigPtrOutput() FunctionImageConfigPtrOutput
- func (o FunctionImageConfigOutput) ToFunctionImageConfigPtrOutputWithContext(ctx context.Context) FunctionImageConfigPtrOutput
- func (o FunctionImageConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionImageConfig]
- func (o FunctionImageConfigOutput) WorkingDirectory() pulumi.StringPtrOutput
- type FunctionImageConfigPtrInput
- type FunctionImageConfigPtrOutput
- func (o FunctionImageConfigPtrOutput) Commands() pulumi.StringArrayOutput
- func (o FunctionImageConfigPtrOutput) Elem() FunctionImageConfigOutput
- func (FunctionImageConfigPtrOutput) ElementType() reflect.Type
- func (o FunctionImageConfigPtrOutput) EntryPoints() pulumi.StringArrayOutput
- func (o FunctionImageConfigPtrOutput) ToFunctionImageConfigPtrOutput() FunctionImageConfigPtrOutput
- func (o FunctionImageConfigPtrOutput) ToFunctionImageConfigPtrOutputWithContext(ctx context.Context) FunctionImageConfigPtrOutput
- func (o FunctionImageConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionImageConfig]
- func (o FunctionImageConfigPtrOutput) WorkingDirectory() pulumi.StringPtrOutput
- type FunctionInput
- type FunctionMap
- type FunctionMapInput
- type FunctionMapOutput
- func (FunctionMapOutput) ElementType() reflect.Type
- func (o FunctionMapOutput) MapIndex(k pulumi.StringInput) FunctionOutput
- func (o FunctionMapOutput) ToFunctionMapOutput() FunctionMapOutput
- func (o FunctionMapOutput) ToFunctionMapOutputWithContext(ctx context.Context) FunctionMapOutput
- func (o FunctionMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Function]
- type FunctionOutput
- func (o FunctionOutput) Architectures() pulumi.StringArrayOutput
- func (o FunctionOutput) Arn() pulumi.StringOutput
- func (o FunctionOutput) Code() pulumi.ArchiveOutput
- func (o FunctionOutput) CodeSigningConfigArn() pulumi.StringPtrOutput
- func (o FunctionOutput) DeadLetterConfig() FunctionDeadLetterConfigPtrOutput
- func (o FunctionOutput) Description() pulumi.StringPtrOutput
- func (FunctionOutput) ElementType() reflect.Type
- func (o FunctionOutput) Environment() FunctionEnvironmentPtrOutput
- func (o FunctionOutput) EphemeralStorage() FunctionEphemeralStorageOutput
- func (o FunctionOutput) FileSystemConfig() FunctionFileSystemConfigPtrOutput
- func (o FunctionOutput) Handler() pulumi.StringPtrOutput
- func (o FunctionOutput) ImageConfig() FunctionImageConfigPtrOutput
- func (o FunctionOutput) ImageUri() pulumi.StringPtrOutput
- func (o FunctionOutput) InvokeArn() pulumi.StringOutput
- func (o FunctionOutput) KmsKeyArn() pulumi.StringPtrOutput
- func (o FunctionOutput) LastModified() pulumi.StringOutput
- func (o FunctionOutput) Layers() pulumi.StringArrayOutput
- func (o FunctionOutput) MemorySize() pulumi.IntPtrOutput
- func (o FunctionOutput) Name() pulumi.StringOutput
- func (o FunctionOutput) PackageType() pulumi.StringPtrOutput
- func (o FunctionOutput) Publish() pulumi.BoolPtrOutput
- func (o FunctionOutput) QualifiedArn() pulumi.StringOutput
- func (o FunctionOutput) QualifiedInvokeArn() pulumi.StringOutput
- func (o FunctionOutput) ReplaceSecurityGroupsOnDestroy() pulumi.BoolPtrOutputdeprecated
- func (o FunctionOutput) ReplacementSecurityGroupIds() pulumi.StringArrayOutputdeprecated
- func (o FunctionOutput) ReservedConcurrentExecutions() pulumi.IntPtrOutput
- func (o FunctionOutput) Role() pulumi.StringOutput
- func (o FunctionOutput) Runtime() pulumi.StringPtrOutput
- func (o FunctionOutput) S3Bucket() pulumi.StringPtrOutput
- func (o FunctionOutput) S3Key() pulumi.StringPtrOutput
- func (o FunctionOutput) S3ObjectVersion() pulumi.StringPtrOutput
- func (o FunctionOutput) SigningJobArn() pulumi.StringOutput
- func (o FunctionOutput) SigningProfileVersionArn() pulumi.StringOutput
- func (o FunctionOutput) SkipDestroy() pulumi.BoolPtrOutput
- func (o FunctionOutput) SnapStart() FunctionSnapStartPtrOutput
- func (o FunctionOutput) SourceCodeHash() pulumi.StringOutput
- func (o FunctionOutput) SourceCodeSize() pulumi.IntOutput
- func (o FunctionOutput) Tags() pulumi.StringMapOutput
- func (o FunctionOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o FunctionOutput) Timeout() pulumi.IntPtrOutput
- func (o FunctionOutput) ToFunctionOutput() FunctionOutput
- func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
- func (o FunctionOutput) ToOutput(ctx context.Context) pulumix.Output[*Function]
- func (o FunctionOutput) TracingConfig() FunctionTracingConfigOutput
- func (o FunctionOutput) Version() pulumi.StringOutput
- func (o FunctionOutput) VpcConfig() FunctionVpcConfigPtrOutput
- type FunctionSnapStart
- type FunctionSnapStartArgs
- func (FunctionSnapStartArgs) ElementType() reflect.Type
- func (i FunctionSnapStartArgs) ToFunctionSnapStartOutput() FunctionSnapStartOutput
- func (i FunctionSnapStartArgs) ToFunctionSnapStartOutputWithContext(ctx context.Context) FunctionSnapStartOutput
- func (i FunctionSnapStartArgs) ToFunctionSnapStartPtrOutput() FunctionSnapStartPtrOutput
- func (i FunctionSnapStartArgs) ToFunctionSnapStartPtrOutputWithContext(ctx context.Context) FunctionSnapStartPtrOutput
- func (i FunctionSnapStartArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionSnapStart]
- type FunctionSnapStartInput
- type FunctionSnapStartOutput
- func (o FunctionSnapStartOutput) ApplyOn() pulumi.StringOutput
- func (FunctionSnapStartOutput) ElementType() reflect.Type
- func (o FunctionSnapStartOutput) OptimizationStatus() pulumi.StringPtrOutput
- func (o FunctionSnapStartOutput) ToFunctionSnapStartOutput() FunctionSnapStartOutput
- func (o FunctionSnapStartOutput) ToFunctionSnapStartOutputWithContext(ctx context.Context) FunctionSnapStartOutput
- func (o FunctionSnapStartOutput) ToFunctionSnapStartPtrOutput() FunctionSnapStartPtrOutput
- func (o FunctionSnapStartOutput) ToFunctionSnapStartPtrOutputWithContext(ctx context.Context) FunctionSnapStartPtrOutput
- func (o FunctionSnapStartOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionSnapStart]
- type FunctionSnapStartPtrInput
- type FunctionSnapStartPtrOutput
- func (o FunctionSnapStartPtrOutput) ApplyOn() pulumi.StringPtrOutput
- func (o FunctionSnapStartPtrOutput) Elem() FunctionSnapStartOutput
- func (FunctionSnapStartPtrOutput) ElementType() reflect.Type
- func (o FunctionSnapStartPtrOutput) OptimizationStatus() pulumi.StringPtrOutput
- func (o FunctionSnapStartPtrOutput) ToFunctionSnapStartPtrOutput() FunctionSnapStartPtrOutput
- func (o FunctionSnapStartPtrOutput) ToFunctionSnapStartPtrOutputWithContext(ctx context.Context) FunctionSnapStartPtrOutput
- func (o FunctionSnapStartPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionSnapStart]
- 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
- func (i FunctionTracingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionTracingConfig]
- 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
- func (o FunctionTracingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionTracingConfig]
- type FunctionTracingConfigPtrInput
- type FunctionTracingConfigPtrOutput
- func (o FunctionTracingConfigPtrOutput) Elem() FunctionTracingConfigOutput
- func (FunctionTracingConfigPtrOutput) ElementType() reflect.Type
- func (o FunctionTracingConfigPtrOutput) Mode() pulumi.StringPtrOutput
- func (o FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutput() FunctionTracingConfigPtrOutput
- func (o FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutputWithContext(ctx context.Context) FunctionTracingConfigPtrOutput
- func (o FunctionTracingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionTracingConfig]
- type FunctionUrl
- type FunctionUrlArgs
- type FunctionUrlArray
- func (FunctionUrlArray) ElementType() reflect.Type
- func (i FunctionUrlArray) ToFunctionUrlArrayOutput() FunctionUrlArrayOutput
- func (i FunctionUrlArray) ToFunctionUrlArrayOutputWithContext(ctx context.Context) FunctionUrlArrayOutput
- func (i FunctionUrlArray) ToOutput(ctx context.Context) pulumix.Output[[]*FunctionUrl]
- type FunctionUrlArrayInput
- type FunctionUrlArrayOutput
- func (FunctionUrlArrayOutput) ElementType() reflect.Type
- func (o FunctionUrlArrayOutput) Index(i pulumi.IntInput) FunctionUrlOutput
- func (o FunctionUrlArrayOutput) ToFunctionUrlArrayOutput() FunctionUrlArrayOutput
- func (o FunctionUrlArrayOutput) ToFunctionUrlArrayOutputWithContext(ctx context.Context) FunctionUrlArrayOutput
- func (o FunctionUrlArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*FunctionUrl]
- type FunctionUrlCors
- type FunctionUrlCorsArgs
- func (FunctionUrlCorsArgs) ElementType() reflect.Type
- func (i FunctionUrlCorsArgs) ToFunctionUrlCorsOutput() FunctionUrlCorsOutput
- func (i FunctionUrlCorsArgs) ToFunctionUrlCorsOutputWithContext(ctx context.Context) FunctionUrlCorsOutput
- func (i FunctionUrlCorsArgs) ToFunctionUrlCorsPtrOutput() FunctionUrlCorsPtrOutput
- func (i FunctionUrlCorsArgs) ToFunctionUrlCorsPtrOutputWithContext(ctx context.Context) FunctionUrlCorsPtrOutput
- func (i FunctionUrlCorsArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionUrlCors]
- type FunctionUrlCorsInput
- type FunctionUrlCorsOutput
- func (o FunctionUrlCorsOutput) AllowCredentials() pulumi.BoolPtrOutput
- func (o FunctionUrlCorsOutput) AllowHeaders() pulumi.StringArrayOutput
- func (o FunctionUrlCorsOutput) AllowMethods() pulumi.StringArrayOutput
- func (o FunctionUrlCorsOutput) AllowOrigins() pulumi.StringArrayOutput
- func (FunctionUrlCorsOutput) ElementType() reflect.Type
- func (o FunctionUrlCorsOutput) ExposeHeaders() pulumi.StringArrayOutput
- func (o FunctionUrlCorsOutput) MaxAge() pulumi.IntPtrOutput
- func (o FunctionUrlCorsOutput) ToFunctionUrlCorsOutput() FunctionUrlCorsOutput
- func (o FunctionUrlCorsOutput) ToFunctionUrlCorsOutputWithContext(ctx context.Context) FunctionUrlCorsOutput
- func (o FunctionUrlCorsOutput) ToFunctionUrlCorsPtrOutput() FunctionUrlCorsPtrOutput
- func (o FunctionUrlCorsOutput) ToFunctionUrlCorsPtrOutputWithContext(ctx context.Context) FunctionUrlCorsPtrOutput
- func (o FunctionUrlCorsOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionUrlCors]
- type FunctionUrlCorsPtrInput
- type FunctionUrlCorsPtrOutput
- func (o FunctionUrlCorsPtrOutput) AllowCredentials() pulumi.BoolPtrOutput
- func (o FunctionUrlCorsPtrOutput) AllowHeaders() pulumi.StringArrayOutput
- func (o FunctionUrlCorsPtrOutput) AllowMethods() pulumi.StringArrayOutput
- func (o FunctionUrlCorsPtrOutput) AllowOrigins() pulumi.StringArrayOutput
- func (o FunctionUrlCorsPtrOutput) Elem() FunctionUrlCorsOutput
- func (FunctionUrlCorsPtrOutput) ElementType() reflect.Type
- func (o FunctionUrlCorsPtrOutput) ExposeHeaders() pulumi.StringArrayOutput
- func (o FunctionUrlCorsPtrOutput) MaxAge() pulumi.IntPtrOutput
- func (o FunctionUrlCorsPtrOutput) ToFunctionUrlCorsPtrOutput() FunctionUrlCorsPtrOutput
- func (o FunctionUrlCorsPtrOutput) ToFunctionUrlCorsPtrOutputWithContext(ctx context.Context) FunctionUrlCorsPtrOutput
- func (o FunctionUrlCorsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionUrlCors]
- type FunctionUrlInput
- type FunctionUrlMap
- func (FunctionUrlMap) ElementType() reflect.Type
- func (i FunctionUrlMap) ToFunctionUrlMapOutput() FunctionUrlMapOutput
- func (i FunctionUrlMap) ToFunctionUrlMapOutputWithContext(ctx context.Context) FunctionUrlMapOutput
- func (i FunctionUrlMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*FunctionUrl]
- type FunctionUrlMapInput
- type FunctionUrlMapOutput
- func (FunctionUrlMapOutput) ElementType() reflect.Type
- func (o FunctionUrlMapOutput) MapIndex(k pulumi.StringInput) FunctionUrlOutput
- func (o FunctionUrlMapOutput) ToFunctionUrlMapOutput() FunctionUrlMapOutput
- func (o FunctionUrlMapOutput) ToFunctionUrlMapOutputWithContext(ctx context.Context) FunctionUrlMapOutput
- func (o FunctionUrlMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*FunctionUrl]
- type FunctionUrlOutput
- func (o FunctionUrlOutput) AuthorizationType() pulumi.StringOutput
- func (o FunctionUrlOutput) Cors() FunctionUrlCorsPtrOutput
- func (FunctionUrlOutput) ElementType() reflect.Type
- func (o FunctionUrlOutput) FunctionArn() pulumi.StringOutput
- func (o FunctionUrlOutput) FunctionName() pulumi.StringOutput
- func (o FunctionUrlOutput) FunctionUrl() pulumi.StringOutput
- func (o FunctionUrlOutput) InvokeMode() pulumi.StringPtrOutput
- func (o FunctionUrlOutput) Qualifier() pulumi.StringPtrOutput
- func (o FunctionUrlOutput) ToFunctionUrlOutput() FunctionUrlOutput
- func (o FunctionUrlOutput) ToFunctionUrlOutputWithContext(ctx context.Context) FunctionUrlOutput
- func (o FunctionUrlOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionUrl]
- func (o FunctionUrlOutput) UrlId() pulumi.StringOutput
- type FunctionUrlState
- 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
- func (i FunctionVpcConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionVpcConfig]
- 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) ToOutput(ctx context.Context) pulumix.Output[FunctionVpcConfig]
- 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) ToOutput(ctx context.Context) pulumix.Output[*FunctionVpcConfig]
- func (o FunctionVpcConfigPtrOutput) VpcId() pulumi.StringPtrOutput
- type GetCodeSigningConfigAllowedPublisher
- type GetCodeSigningConfigAllowedPublisherArgs
- func (GetCodeSigningConfigAllowedPublisherArgs) ElementType() reflect.Type
- func (i GetCodeSigningConfigAllowedPublisherArgs) ToGetCodeSigningConfigAllowedPublisherOutput() GetCodeSigningConfigAllowedPublisherOutput
- func (i GetCodeSigningConfigAllowedPublisherArgs) ToGetCodeSigningConfigAllowedPublisherOutputWithContext(ctx context.Context) GetCodeSigningConfigAllowedPublisherOutput
- func (i GetCodeSigningConfigAllowedPublisherArgs) ToOutput(ctx context.Context) pulumix.Output[GetCodeSigningConfigAllowedPublisher]
- type GetCodeSigningConfigAllowedPublisherArray
- func (GetCodeSigningConfigAllowedPublisherArray) ElementType() reflect.Type
- func (i GetCodeSigningConfigAllowedPublisherArray) ToGetCodeSigningConfigAllowedPublisherArrayOutput() GetCodeSigningConfigAllowedPublisherArrayOutput
- func (i GetCodeSigningConfigAllowedPublisherArray) ToGetCodeSigningConfigAllowedPublisherArrayOutputWithContext(ctx context.Context) GetCodeSigningConfigAllowedPublisherArrayOutput
- func (i GetCodeSigningConfigAllowedPublisherArray) ToOutput(ctx context.Context) pulumix.Output[[]GetCodeSigningConfigAllowedPublisher]
- type GetCodeSigningConfigAllowedPublisherArrayInput
- type GetCodeSigningConfigAllowedPublisherArrayOutput
- func (GetCodeSigningConfigAllowedPublisherArrayOutput) ElementType() reflect.Type
- func (o GetCodeSigningConfigAllowedPublisherArrayOutput) Index(i pulumi.IntInput) GetCodeSigningConfigAllowedPublisherOutput
- func (o GetCodeSigningConfigAllowedPublisherArrayOutput) ToGetCodeSigningConfigAllowedPublisherArrayOutput() GetCodeSigningConfigAllowedPublisherArrayOutput
- func (o GetCodeSigningConfigAllowedPublisherArrayOutput) ToGetCodeSigningConfigAllowedPublisherArrayOutputWithContext(ctx context.Context) GetCodeSigningConfigAllowedPublisherArrayOutput
- func (o GetCodeSigningConfigAllowedPublisherArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetCodeSigningConfigAllowedPublisher]
- type GetCodeSigningConfigAllowedPublisherInput
- type GetCodeSigningConfigAllowedPublisherOutput
- func (GetCodeSigningConfigAllowedPublisherOutput) ElementType() reflect.Type
- func (o GetCodeSigningConfigAllowedPublisherOutput) SigningProfileVersionArns() pulumi.StringArrayOutput
- func (o GetCodeSigningConfigAllowedPublisherOutput) ToGetCodeSigningConfigAllowedPublisherOutput() GetCodeSigningConfigAllowedPublisherOutput
- func (o GetCodeSigningConfigAllowedPublisherOutput) ToGetCodeSigningConfigAllowedPublisherOutputWithContext(ctx context.Context) GetCodeSigningConfigAllowedPublisherOutput
- func (o GetCodeSigningConfigAllowedPublisherOutput) ToOutput(ctx context.Context) pulumix.Output[GetCodeSigningConfigAllowedPublisher]
- type GetCodeSigningConfigPolicy
- type GetCodeSigningConfigPolicyArgs
- func (GetCodeSigningConfigPolicyArgs) ElementType() reflect.Type
- func (i GetCodeSigningConfigPolicyArgs) ToGetCodeSigningConfigPolicyOutput() GetCodeSigningConfigPolicyOutput
- func (i GetCodeSigningConfigPolicyArgs) ToGetCodeSigningConfigPolicyOutputWithContext(ctx context.Context) GetCodeSigningConfigPolicyOutput
- func (i GetCodeSigningConfigPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[GetCodeSigningConfigPolicy]
- type GetCodeSigningConfigPolicyArray
- func (GetCodeSigningConfigPolicyArray) ElementType() reflect.Type
- func (i GetCodeSigningConfigPolicyArray) ToGetCodeSigningConfigPolicyArrayOutput() GetCodeSigningConfigPolicyArrayOutput
- func (i GetCodeSigningConfigPolicyArray) ToGetCodeSigningConfigPolicyArrayOutputWithContext(ctx context.Context) GetCodeSigningConfigPolicyArrayOutput
- func (i GetCodeSigningConfigPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]GetCodeSigningConfigPolicy]
- type GetCodeSigningConfigPolicyArrayInput
- type GetCodeSigningConfigPolicyArrayOutput
- func (GetCodeSigningConfigPolicyArrayOutput) ElementType() reflect.Type
- func (o GetCodeSigningConfigPolicyArrayOutput) Index(i pulumi.IntInput) GetCodeSigningConfigPolicyOutput
- func (o GetCodeSigningConfigPolicyArrayOutput) ToGetCodeSigningConfigPolicyArrayOutput() GetCodeSigningConfigPolicyArrayOutput
- func (o GetCodeSigningConfigPolicyArrayOutput) ToGetCodeSigningConfigPolicyArrayOutputWithContext(ctx context.Context) GetCodeSigningConfigPolicyArrayOutput
- func (o GetCodeSigningConfigPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetCodeSigningConfigPolicy]
- type GetCodeSigningConfigPolicyInput
- type GetCodeSigningConfigPolicyOutput
- func (GetCodeSigningConfigPolicyOutput) ElementType() reflect.Type
- func (o GetCodeSigningConfigPolicyOutput) ToGetCodeSigningConfigPolicyOutput() GetCodeSigningConfigPolicyOutput
- func (o GetCodeSigningConfigPolicyOutput) ToGetCodeSigningConfigPolicyOutputWithContext(ctx context.Context) GetCodeSigningConfigPolicyOutput
- func (o GetCodeSigningConfigPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GetCodeSigningConfigPolicy]
- func (o GetCodeSigningConfigPolicyOutput) UntrustedArtifactOnDeployment() pulumi.StringOutput
- type GetFunctionDeadLetterConfig
- type GetFunctionDeadLetterConfigArgs
- func (GetFunctionDeadLetterConfigArgs) ElementType() reflect.Type
- func (i GetFunctionDeadLetterConfigArgs) ToGetFunctionDeadLetterConfigOutput() GetFunctionDeadLetterConfigOutput
- func (i GetFunctionDeadLetterConfigArgs) ToGetFunctionDeadLetterConfigOutputWithContext(ctx context.Context) GetFunctionDeadLetterConfigOutput
- func (i GetFunctionDeadLetterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetFunctionDeadLetterConfig]
- 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
- func (o GetFunctionDeadLetterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetFunctionDeadLetterConfig]
- type GetFunctionEnvironment
- type GetFunctionEnvironmentArgs
- func (GetFunctionEnvironmentArgs) ElementType() reflect.Type
- func (i GetFunctionEnvironmentArgs) ToGetFunctionEnvironmentOutput() GetFunctionEnvironmentOutput
- func (i GetFunctionEnvironmentArgs) ToGetFunctionEnvironmentOutputWithContext(ctx context.Context) GetFunctionEnvironmentOutput
- func (i GetFunctionEnvironmentArgs) ToOutput(ctx context.Context) pulumix.Output[GetFunctionEnvironment]
- 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) ToOutput(ctx context.Context) pulumix.Output[GetFunctionEnvironment]
- func (o GetFunctionEnvironmentOutput) Variables() pulumi.StringMapOutput
- type GetFunctionEphemeralStorage
- type GetFunctionEphemeralStorageArgs
- func (GetFunctionEphemeralStorageArgs) ElementType() reflect.Type
- func (i GetFunctionEphemeralStorageArgs) ToGetFunctionEphemeralStorageOutput() GetFunctionEphemeralStorageOutput
- func (i GetFunctionEphemeralStorageArgs) ToGetFunctionEphemeralStorageOutputWithContext(ctx context.Context) GetFunctionEphemeralStorageOutput
- func (i GetFunctionEphemeralStorageArgs) ToOutput(ctx context.Context) pulumix.Output[GetFunctionEphemeralStorage]
- type GetFunctionEphemeralStorageArray
- func (GetFunctionEphemeralStorageArray) ElementType() reflect.Type
- func (i GetFunctionEphemeralStorageArray) ToGetFunctionEphemeralStorageArrayOutput() GetFunctionEphemeralStorageArrayOutput
- func (i GetFunctionEphemeralStorageArray) ToGetFunctionEphemeralStorageArrayOutputWithContext(ctx context.Context) GetFunctionEphemeralStorageArrayOutput
- func (i GetFunctionEphemeralStorageArray) ToOutput(ctx context.Context) pulumix.Output[[]GetFunctionEphemeralStorage]
- type GetFunctionEphemeralStorageArrayInput
- type GetFunctionEphemeralStorageArrayOutput
- func (GetFunctionEphemeralStorageArrayOutput) ElementType() reflect.Type
- func (o GetFunctionEphemeralStorageArrayOutput) Index(i pulumi.IntInput) GetFunctionEphemeralStorageOutput
- func (o GetFunctionEphemeralStorageArrayOutput) ToGetFunctionEphemeralStorageArrayOutput() GetFunctionEphemeralStorageArrayOutput
- func (o GetFunctionEphemeralStorageArrayOutput) ToGetFunctionEphemeralStorageArrayOutputWithContext(ctx context.Context) GetFunctionEphemeralStorageArrayOutput
- func (o GetFunctionEphemeralStorageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetFunctionEphemeralStorage]
- type GetFunctionEphemeralStorageInput
- type GetFunctionEphemeralStorageOutput
- func (GetFunctionEphemeralStorageOutput) ElementType() reflect.Type
- func (o GetFunctionEphemeralStorageOutput) Size() pulumi.IntOutput
- func (o GetFunctionEphemeralStorageOutput) ToGetFunctionEphemeralStorageOutput() GetFunctionEphemeralStorageOutput
- func (o GetFunctionEphemeralStorageOutput) ToGetFunctionEphemeralStorageOutputWithContext(ctx context.Context) GetFunctionEphemeralStorageOutput
- func (o GetFunctionEphemeralStorageOutput) ToOutput(ctx context.Context) pulumix.Output[GetFunctionEphemeralStorage]
- type GetFunctionFileSystemConfig
- type GetFunctionFileSystemConfigArgs
- func (GetFunctionFileSystemConfigArgs) ElementType() reflect.Type
- func (i GetFunctionFileSystemConfigArgs) ToGetFunctionFileSystemConfigOutput() GetFunctionFileSystemConfigOutput
- func (i GetFunctionFileSystemConfigArgs) ToGetFunctionFileSystemConfigOutputWithContext(ctx context.Context) GetFunctionFileSystemConfigOutput
- func (i GetFunctionFileSystemConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetFunctionFileSystemConfig]
- type GetFunctionFileSystemConfigArray
- func (GetFunctionFileSystemConfigArray) ElementType() reflect.Type
- func (i GetFunctionFileSystemConfigArray) ToGetFunctionFileSystemConfigArrayOutput() GetFunctionFileSystemConfigArrayOutput
- func (i GetFunctionFileSystemConfigArray) ToGetFunctionFileSystemConfigArrayOutputWithContext(ctx context.Context) GetFunctionFileSystemConfigArrayOutput
- func (i GetFunctionFileSystemConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GetFunctionFileSystemConfig]
- type GetFunctionFileSystemConfigArrayInput
- type GetFunctionFileSystemConfigArrayOutput
- func (GetFunctionFileSystemConfigArrayOutput) ElementType() reflect.Type
- func (o GetFunctionFileSystemConfigArrayOutput) Index(i pulumi.IntInput) GetFunctionFileSystemConfigOutput
- func (o GetFunctionFileSystemConfigArrayOutput) ToGetFunctionFileSystemConfigArrayOutput() GetFunctionFileSystemConfigArrayOutput
- func (o GetFunctionFileSystemConfigArrayOutput) ToGetFunctionFileSystemConfigArrayOutputWithContext(ctx context.Context) GetFunctionFileSystemConfigArrayOutput
- func (o GetFunctionFileSystemConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetFunctionFileSystemConfig]
- type GetFunctionFileSystemConfigInput
- type GetFunctionFileSystemConfigOutput
- func (o GetFunctionFileSystemConfigOutput) Arn() pulumi.StringOutput
- func (GetFunctionFileSystemConfigOutput) ElementType() reflect.Type
- func (o GetFunctionFileSystemConfigOutput) LocalMountPath() pulumi.StringOutput
- func (o GetFunctionFileSystemConfigOutput) ToGetFunctionFileSystemConfigOutput() GetFunctionFileSystemConfigOutput
- func (o GetFunctionFileSystemConfigOutput) ToGetFunctionFileSystemConfigOutputWithContext(ctx context.Context) GetFunctionFileSystemConfigOutput
- func (o GetFunctionFileSystemConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetFunctionFileSystemConfig]
- type GetFunctionTracingConfig
- type GetFunctionTracingConfigArgs
- func (GetFunctionTracingConfigArgs) ElementType() reflect.Type
- func (i GetFunctionTracingConfigArgs) ToGetFunctionTracingConfigOutput() GetFunctionTracingConfigOutput
- func (i GetFunctionTracingConfigArgs) ToGetFunctionTracingConfigOutputWithContext(ctx context.Context) GetFunctionTracingConfigOutput
- func (i GetFunctionTracingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetFunctionTracingConfig]
- 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
- func (o GetFunctionTracingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetFunctionTracingConfig]
- type GetFunctionUrlCor
- type GetFunctionUrlCorArgs
- func (GetFunctionUrlCorArgs) ElementType() reflect.Type
- func (i GetFunctionUrlCorArgs) ToGetFunctionUrlCorOutput() GetFunctionUrlCorOutput
- func (i GetFunctionUrlCorArgs) ToGetFunctionUrlCorOutputWithContext(ctx context.Context) GetFunctionUrlCorOutput
- func (i GetFunctionUrlCorArgs) ToOutput(ctx context.Context) pulumix.Output[GetFunctionUrlCor]
- type GetFunctionUrlCorArray
- func (GetFunctionUrlCorArray) ElementType() reflect.Type
- func (i GetFunctionUrlCorArray) ToGetFunctionUrlCorArrayOutput() GetFunctionUrlCorArrayOutput
- func (i GetFunctionUrlCorArray) ToGetFunctionUrlCorArrayOutputWithContext(ctx context.Context) GetFunctionUrlCorArrayOutput
- func (i GetFunctionUrlCorArray) ToOutput(ctx context.Context) pulumix.Output[[]GetFunctionUrlCor]
- type GetFunctionUrlCorArrayInput
- type GetFunctionUrlCorArrayOutput
- func (GetFunctionUrlCorArrayOutput) ElementType() reflect.Type
- func (o GetFunctionUrlCorArrayOutput) Index(i pulumi.IntInput) GetFunctionUrlCorOutput
- func (o GetFunctionUrlCorArrayOutput) ToGetFunctionUrlCorArrayOutput() GetFunctionUrlCorArrayOutput
- func (o GetFunctionUrlCorArrayOutput) ToGetFunctionUrlCorArrayOutputWithContext(ctx context.Context) GetFunctionUrlCorArrayOutput
- func (o GetFunctionUrlCorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetFunctionUrlCor]
- type GetFunctionUrlCorInput
- type GetFunctionUrlCorOutput
- func (o GetFunctionUrlCorOutput) AllowCredentials() pulumi.BoolOutput
- func (o GetFunctionUrlCorOutput) AllowHeaders() pulumi.StringArrayOutput
- func (o GetFunctionUrlCorOutput) AllowMethods() pulumi.StringArrayOutput
- func (o GetFunctionUrlCorOutput) AllowOrigins() pulumi.StringArrayOutput
- func (GetFunctionUrlCorOutput) ElementType() reflect.Type
- func (o GetFunctionUrlCorOutput) ExposeHeaders() pulumi.StringArrayOutput
- func (o GetFunctionUrlCorOutput) MaxAge() pulumi.IntOutput
- func (o GetFunctionUrlCorOutput) ToGetFunctionUrlCorOutput() GetFunctionUrlCorOutput
- func (o GetFunctionUrlCorOutput) ToGetFunctionUrlCorOutputWithContext(ctx context.Context) GetFunctionUrlCorOutput
- func (o GetFunctionUrlCorOutput) ToOutput(ctx context.Context) pulumix.Output[GetFunctionUrlCor]
- type GetFunctionVpcConfig
- type GetFunctionVpcConfigArgs
- func (GetFunctionVpcConfigArgs) ElementType() reflect.Type
- func (i GetFunctionVpcConfigArgs) ToGetFunctionVpcConfigOutput() GetFunctionVpcConfigOutput
- func (i GetFunctionVpcConfigArgs) ToGetFunctionVpcConfigOutputWithContext(ctx context.Context) GetFunctionVpcConfigOutput
- func (i GetFunctionVpcConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetFunctionVpcConfig]
- 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) ToOutput(ctx context.Context) pulumix.Output[GetFunctionVpcConfig]
- func (o GetFunctionVpcConfigOutput) VpcId() pulumi.StringOutput
- type GetFunctionsResult
- type GetFunctionsResultOutput
- func (GetFunctionsResultOutput) ElementType() reflect.Type
- func (o GetFunctionsResultOutput) FunctionArns() pulumi.StringArrayOutput
- func (o GetFunctionsResultOutput) FunctionNames() pulumi.StringArrayOutput
- func (o GetFunctionsResultOutput) Id() pulumi.StringOutput
- func (o GetFunctionsResultOutput) ToGetFunctionsResultOutput() GetFunctionsResultOutput
- func (o GetFunctionsResultOutput) ToGetFunctionsResultOutputWithContext(ctx context.Context) GetFunctionsResultOutput
- func (o GetFunctionsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetFunctionsResult]
- type Invocation
- type InvocationArgs
- type InvocationArray
- func (InvocationArray) ElementType() reflect.Type
- func (i InvocationArray) ToInvocationArrayOutput() InvocationArrayOutput
- func (i InvocationArray) ToInvocationArrayOutputWithContext(ctx context.Context) InvocationArrayOutput
- func (i InvocationArray) ToOutput(ctx context.Context) pulumix.Output[[]*Invocation]
- type InvocationArrayInput
- type InvocationArrayOutput
- func (InvocationArrayOutput) ElementType() reflect.Type
- func (o InvocationArrayOutput) Index(i pulumi.IntInput) InvocationOutput
- func (o InvocationArrayOutput) ToInvocationArrayOutput() InvocationArrayOutput
- func (o InvocationArrayOutput) ToInvocationArrayOutputWithContext(ctx context.Context) InvocationArrayOutput
- func (o InvocationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Invocation]
- type InvocationInput
- type InvocationMap
- func (InvocationMap) ElementType() reflect.Type
- func (i InvocationMap) ToInvocationMapOutput() InvocationMapOutput
- func (i InvocationMap) ToInvocationMapOutputWithContext(ctx context.Context) InvocationMapOutput
- func (i InvocationMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Invocation]
- type InvocationMapInput
- type InvocationMapOutput
- func (InvocationMapOutput) ElementType() reflect.Type
- func (o InvocationMapOutput) MapIndex(k pulumi.StringInput) InvocationOutput
- func (o InvocationMapOutput) ToInvocationMapOutput() InvocationMapOutput
- func (o InvocationMapOutput) ToInvocationMapOutputWithContext(ctx context.Context) InvocationMapOutput
- func (o InvocationMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Invocation]
- type InvocationOutput
- func (InvocationOutput) ElementType() reflect.Type
- func (o InvocationOutput) FunctionName() pulumi.StringOutput
- func (o InvocationOutput) Input() pulumi.StringOutput
- func (o InvocationOutput) LifecycleScope() pulumi.StringPtrOutput
- func (o InvocationOutput) Qualifier() pulumi.StringPtrOutput
- func (o InvocationOutput) Result() pulumi.StringOutput
- func (o InvocationOutput) TerraformKey() pulumi.StringPtrOutput
- func (o InvocationOutput) ToInvocationOutput() InvocationOutput
- func (o InvocationOutput) ToInvocationOutputWithContext(ctx context.Context) InvocationOutput
- func (o InvocationOutput) ToOutput(ctx context.Context) pulumix.Output[*Invocation]
- func (o InvocationOutput) Triggers() pulumi.StringMapOutput
- type InvocationState
- type LayerVersion
- type LayerVersionArgs
- type LayerVersionArray
- func (LayerVersionArray) ElementType() reflect.Type
- func (i LayerVersionArray) ToLayerVersionArrayOutput() LayerVersionArrayOutput
- func (i LayerVersionArray) ToLayerVersionArrayOutputWithContext(ctx context.Context) LayerVersionArrayOutput
- func (i LayerVersionArray) ToOutput(ctx context.Context) pulumix.Output[[]*LayerVersion]
- type LayerVersionArrayInput
- type LayerVersionArrayOutput
- func (LayerVersionArrayOutput) ElementType() reflect.Type
- func (o LayerVersionArrayOutput) Index(i pulumi.IntInput) LayerVersionOutput
- func (o LayerVersionArrayOutput) ToLayerVersionArrayOutput() LayerVersionArrayOutput
- func (o LayerVersionArrayOutput) ToLayerVersionArrayOutputWithContext(ctx context.Context) LayerVersionArrayOutput
- func (o LayerVersionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*LayerVersion]
- type LayerVersionInput
- type LayerVersionMap
- func (LayerVersionMap) ElementType() reflect.Type
- func (i LayerVersionMap) ToLayerVersionMapOutput() LayerVersionMapOutput
- func (i LayerVersionMap) ToLayerVersionMapOutputWithContext(ctx context.Context) LayerVersionMapOutput
- func (i LayerVersionMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*LayerVersion]
- type LayerVersionMapInput
- type LayerVersionMapOutput
- func (LayerVersionMapOutput) ElementType() reflect.Type
- func (o LayerVersionMapOutput) MapIndex(k pulumi.StringInput) LayerVersionOutput
- func (o LayerVersionMapOutput) ToLayerVersionMapOutput() LayerVersionMapOutput
- func (o LayerVersionMapOutput) ToLayerVersionMapOutputWithContext(ctx context.Context) LayerVersionMapOutput
- func (o LayerVersionMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*LayerVersion]
- type LayerVersionOutput
- func (o LayerVersionOutput) Arn() pulumi.StringOutput
- func (o LayerVersionOutput) Code() pulumi.ArchiveOutput
- func (o LayerVersionOutput) CompatibleArchitectures() pulumi.StringArrayOutput
- func (o LayerVersionOutput) CompatibleRuntimes() pulumi.StringArrayOutput
- func (o LayerVersionOutput) CreatedDate() pulumi.StringOutput
- func (o LayerVersionOutput) Description() pulumi.StringPtrOutput
- func (LayerVersionOutput) ElementType() reflect.Type
- func (o LayerVersionOutput) LayerArn() pulumi.StringOutput
- func (o LayerVersionOutput) LayerName() pulumi.StringOutput
- func (o LayerVersionOutput) LicenseInfo() pulumi.StringPtrOutput
- func (o LayerVersionOutput) S3Bucket() pulumi.StringPtrOutput
- func (o LayerVersionOutput) S3Key() pulumi.StringPtrOutput
- func (o LayerVersionOutput) S3ObjectVersion() pulumi.StringPtrOutput
- func (o LayerVersionOutput) SigningJobArn() pulumi.StringOutput
- func (o LayerVersionOutput) SigningProfileVersionArn() pulumi.StringOutput
- func (o LayerVersionOutput) SkipDestroy() pulumi.BoolPtrOutput
- func (o LayerVersionOutput) SourceCodeHash() pulumi.StringOutput
- func (o LayerVersionOutput) SourceCodeSize() pulumi.IntOutput
- func (o LayerVersionOutput) ToLayerVersionOutput() LayerVersionOutput
- func (o LayerVersionOutput) ToLayerVersionOutputWithContext(ctx context.Context) LayerVersionOutput
- func (o LayerVersionOutput) ToOutput(ctx context.Context) pulumix.Output[*LayerVersion]
- func (o LayerVersionOutput) Version() pulumi.StringOutput
- type LayerVersionPermission
- func (*LayerVersionPermission) ElementType() reflect.Type
- func (i *LayerVersionPermission) ToLayerVersionPermissionOutput() LayerVersionPermissionOutput
- func (i *LayerVersionPermission) ToLayerVersionPermissionOutputWithContext(ctx context.Context) LayerVersionPermissionOutput
- func (i *LayerVersionPermission) ToOutput(ctx context.Context) pulumix.Output[*LayerVersionPermission]
- type LayerVersionPermissionArgs
- type LayerVersionPermissionArray
- func (LayerVersionPermissionArray) ElementType() reflect.Type
- func (i LayerVersionPermissionArray) ToLayerVersionPermissionArrayOutput() LayerVersionPermissionArrayOutput
- func (i LayerVersionPermissionArray) ToLayerVersionPermissionArrayOutputWithContext(ctx context.Context) LayerVersionPermissionArrayOutput
- func (i LayerVersionPermissionArray) ToOutput(ctx context.Context) pulumix.Output[[]*LayerVersionPermission]
- type LayerVersionPermissionArrayInput
- type LayerVersionPermissionArrayOutput
- func (LayerVersionPermissionArrayOutput) ElementType() reflect.Type
- func (o LayerVersionPermissionArrayOutput) Index(i pulumi.IntInput) LayerVersionPermissionOutput
- func (o LayerVersionPermissionArrayOutput) ToLayerVersionPermissionArrayOutput() LayerVersionPermissionArrayOutput
- func (o LayerVersionPermissionArrayOutput) ToLayerVersionPermissionArrayOutputWithContext(ctx context.Context) LayerVersionPermissionArrayOutput
- func (o LayerVersionPermissionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*LayerVersionPermission]
- type LayerVersionPermissionInput
- type LayerVersionPermissionMap
- func (LayerVersionPermissionMap) ElementType() reflect.Type
- func (i LayerVersionPermissionMap) ToLayerVersionPermissionMapOutput() LayerVersionPermissionMapOutput
- func (i LayerVersionPermissionMap) ToLayerVersionPermissionMapOutputWithContext(ctx context.Context) LayerVersionPermissionMapOutput
- func (i LayerVersionPermissionMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*LayerVersionPermission]
- type LayerVersionPermissionMapInput
- type LayerVersionPermissionMapOutput
- func (LayerVersionPermissionMapOutput) ElementType() reflect.Type
- func (o LayerVersionPermissionMapOutput) MapIndex(k pulumi.StringInput) LayerVersionPermissionOutput
- func (o LayerVersionPermissionMapOutput) ToLayerVersionPermissionMapOutput() LayerVersionPermissionMapOutput
- func (o LayerVersionPermissionMapOutput) ToLayerVersionPermissionMapOutputWithContext(ctx context.Context) LayerVersionPermissionMapOutput
- func (o LayerVersionPermissionMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*LayerVersionPermission]
- type LayerVersionPermissionOutput
- func (o LayerVersionPermissionOutput) Action() pulumi.StringOutput
- func (LayerVersionPermissionOutput) ElementType() reflect.Type
- func (o LayerVersionPermissionOutput) LayerName() pulumi.StringOutput
- func (o LayerVersionPermissionOutput) OrganizationId() pulumi.StringPtrOutput
- func (o LayerVersionPermissionOutput) Policy() pulumi.StringOutput
- func (o LayerVersionPermissionOutput) Principal() pulumi.StringOutput
- func (o LayerVersionPermissionOutput) RevisionId() pulumi.StringOutput
- func (o LayerVersionPermissionOutput) SkipDestroy() pulumi.BoolPtrOutput
- func (o LayerVersionPermissionOutput) StatementId() pulumi.StringOutput
- func (o LayerVersionPermissionOutput) ToLayerVersionPermissionOutput() LayerVersionPermissionOutput
- func (o LayerVersionPermissionOutput) ToLayerVersionPermissionOutputWithContext(ctx context.Context) LayerVersionPermissionOutput
- func (o LayerVersionPermissionOutput) ToOutput(ctx context.Context) pulumix.Output[*LayerVersionPermission]
- func (o LayerVersionPermissionOutput) VersionNumber() pulumi.IntOutput
- type LayerVersionPermissionState
- type LayerVersionState
- type LookupAliasArgs
- type LookupAliasOutputArgs
- type LookupAliasResult
- type LookupAliasResultOutput
- func (o LookupAliasResultOutput) Arn() pulumi.StringOutput
- func (o LookupAliasResultOutput) Description() pulumi.StringOutput
- func (LookupAliasResultOutput) ElementType() reflect.Type
- func (o LookupAliasResultOutput) FunctionName() pulumi.StringOutput
- func (o LookupAliasResultOutput) FunctionVersion() pulumi.StringOutput
- func (o LookupAliasResultOutput) Id() pulumi.StringOutput
- func (o LookupAliasResultOutput) InvokeArn() pulumi.StringOutput
- func (o LookupAliasResultOutput) Name() pulumi.StringOutput
- func (o LookupAliasResultOutput) ToLookupAliasResultOutput() LookupAliasResultOutput
- func (o LookupAliasResultOutput) ToLookupAliasResultOutputWithContext(ctx context.Context) LookupAliasResultOutput
- func (o LookupAliasResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAliasResult]
- type LookupCodeSigningConfigArgs
- type LookupCodeSigningConfigOutputArgs
- type LookupCodeSigningConfigResult
- type LookupCodeSigningConfigResultOutput
- func (o LookupCodeSigningConfigResultOutput) AllowedPublishers() GetCodeSigningConfigAllowedPublisherArrayOutput
- func (o LookupCodeSigningConfigResultOutput) Arn() pulumi.StringOutput
- func (o LookupCodeSigningConfigResultOutput) ConfigId() pulumi.StringOutput
- func (o LookupCodeSigningConfigResultOutput) Description() pulumi.StringOutput
- func (LookupCodeSigningConfigResultOutput) ElementType() reflect.Type
- func (o LookupCodeSigningConfigResultOutput) Id() pulumi.StringOutput
- func (o LookupCodeSigningConfigResultOutput) LastModified() pulumi.StringOutput
- func (o LookupCodeSigningConfigResultOutput) Policies() GetCodeSigningConfigPolicyArrayOutput
- func (o LookupCodeSigningConfigResultOutput) ToLookupCodeSigningConfigResultOutput() LookupCodeSigningConfigResultOutput
- func (o LookupCodeSigningConfigResultOutput) ToLookupCodeSigningConfigResultOutputWithContext(ctx context.Context) LookupCodeSigningConfigResultOutput
- func (o LookupCodeSigningConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCodeSigningConfigResult]
- type LookupFunctionArgs
- type LookupFunctionOutputArgs
- type LookupFunctionResult
- type LookupFunctionResultOutput
- func (o LookupFunctionResultOutput) Architectures() pulumi.StringArrayOutput
- func (o LookupFunctionResultOutput) Arn() pulumi.StringOutput
- func (o LookupFunctionResultOutput) CodeSigningConfigArn() pulumi.StringOutput
- func (o LookupFunctionResultOutput) DeadLetterConfig() GetFunctionDeadLetterConfigOutput
- func (o LookupFunctionResultOutput) Description() pulumi.StringOutput
- func (LookupFunctionResultOutput) ElementType() reflect.Type
- func (o LookupFunctionResultOutput) Environment() GetFunctionEnvironmentOutput
- func (o LookupFunctionResultOutput) EphemeralStorages() GetFunctionEphemeralStorageArrayOutput
- func (o LookupFunctionResultOutput) FileSystemConfigs() GetFunctionFileSystemConfigArrayOutput
- func (o LookupFunctionResultOutput) FunctionName() pulumi.StringOutput
- func (o LookupFunctionResultOutput) Handler() pulumi.StringOutput
- func (o LookupFunctionResultOutput) Id() pulumi.StringOutput
- func (o LookupFunctionResultOutput) ImageUri() pulumi.StringOutput
- func (o LookupFunctionResultOutput) InvokeArn() pulumi.StringOutput
- func (o LookupFunctionResultOutput) KmsKeyArn() pulumi.StringOutput
- func (o LookupFunctionResultOutput) LastModified() pulumi.StringOutput
- func (o LookupFunctionResultOutput) Layers() pulumi.StringArrayOutput
- func (o LookupFunctionResultOutput) MemorySize() pulumi.IntOutput
- func (o LookupFunctionResultOutput) QualifiedArn() pulumi.StringOutput
- func (o LookupFunctionResultOutput) QualifiedInvokeArn() pulumi.StringOutput
- func (o LookupFunctionResultOutput) Qualifier() pulumi.StringPtrOutput
- func (o LookupFunctionResultOutput) ReservedConcurrentExecutions() pulumi.IntOutput
- func (o LookupFunctionResultOutput) Role() pulumi.StringOutput
- func (o LookupFunctionResultOutput) Runtime() pulumi.StringOutput
- func (o LookupFunctionResultOutput) SigningJobArn() pulumi.StringOutput
- func (o LookupFunctionResultOutput) SigningProfileVersionArn() pulumi.StringOutput
- func (o LookupFunctionResultOutput) SourceCodeHash() pulumi.StringOutput
- func (o LookupFunctionResultOutput) SourceCodeSize() pulumi.IntOutput
- func (o LookupFunctionResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupFunctionResultOutput) Timeout() pulumi.IntOutput
- func (o LookupFunctionResultOutput) ToLookupFunctionResultOutput() LookupFunctionResultOutput
- func (o LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext(ctx context.Context) LookupFunctionResultOutput
- func (o LookupFunctionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFunctionResult]
- func (o LookupFunctionResultOutput) TracingConfig() GetFunctionTracingConfigOutput
- func (o LookupFunctionResultOutput) Version() pulumi.StringOutput
- func (o LookupFunctionResultOutput) VpcConfig() GetFunctionVpcConfigOutput
- type LookupFunctionUrlArgs
- type LookupFunctionUrlOutputArgs
- type LookupFunctionUrlResult
- type LookupFunctionUrlResultOutput
- func (o LookupFunctionUrlResultOutput) AuthorizationType() pulumi.StringOutput
- func (o LookupFunctionUrlResultOutput) Cors() GetFunctionUrlCorArrayOutput
- func (o LookupFunctionUrlResultOutput) CreationTime() pulumi.StringOutput
- func (LookupFunctionUrlResultOutput) ElementType() reflect.Type
- func (o LookupFunctionUrlResultOutput) FunctionArn() pulumi.StringOutput
- func (o LookupFunctionUrlResultOutput) FunctionName() pulumi.StringOutput
- func (o LookupFunctionUrlResultOutput) FunctionUrl() pulumi.StringOutput
- func (o LookupFunctionUrlResultOutput) Id() pulumi.StringOutput
- func (o LookupFunctionUrlResultOutput) InvokeMode() pulumi.StringOutput
- func (o LookupFunctionUrlResultOutput) LastModifiedTime() pulumi.StringOutput
- func (o LookupFunctionUrlResultOutput) Qualifier() pulumi.StringPtrOutput
- func (o LookupFunctionUrlResultOutput) ToLookupFunctionUrlResultOutput() LookupFunctionUrlResultOutput
- func (o LookupFunctionUrlResultOutput) ToLookupFunctionUrlResultOutputWithContext(ctx context.Context) LookupFunctionUrlResultOutput
- func (o LookupFunctionUrlResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFunctionUrlResult]
- func (o LookupFunctionUrlResultOutput) UrlId() pulumi.StringOutput
- type LookupInvocationArgs
- type LookupInvocationOutputArgs
- type LookupInvocationResult
- type LookupInvocationResultOutput
- func (LookupInvocationResultOutput) ElementType() reflect.Type
- func (o LookupInvocationResultOutput) FunctionName() pulumi.StringOutput
- func (o LookupInvocationResultOutput) Id() pulumi.StringOutput
- func (o LookupInvocationResultOutput) Input() pulumi.StringOutput
- func (o LookupInvocationResultOutput) Qualifier() pulumi.StringPtrOutput
- func (o LookupInvocationResultOutput) Result() pulumi.StringOutput
- func (o LookupInvocationResultOutput) ToLookupInvocationResultOutput() LookupInvocationResultOutput
- func (o LookupInvocationResultOutput) ToLookupInvocationResultOutputWithContext(ctx context.Context) LookupInvocationResultOutput
- func (o LookupInvocationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInvocationResult]
- type LookupLayerVersionArgs
- type LookupLayerVersionOutputArgs
- type LookupLayerVersionResult
- type LookupLayerVersionResultOutput
- func (o LookupLayerVersionResultOutput) Arn() pulumi.StringOutput
- func (o LookupLayerVersionResultOutput) CompatibleArchitecture() pulumi.StringPtrOutput
- func (o LookupLayerVersionResultOutput) CompatibleArchitectures() pulumi.StringArrayOutput
- func (o LookupLayerVersionResultOutput) CompatibleRuntime() pulumi.StringPtrOutput
- func (o LookupLayerVersionResultOutput) CompatibleRuntimes() pulumi.StringArrayOutput
- func (o LookupLayerVersionResultOutput) CreatedDate() pulumi.StringOutput
- func (o LookupLayerVersionResultOutput) Description() pulumi.StringOutput
- func (LookupLayerVersionResultOutput) ElementType() reflect.Type
- func (o LookupLayerVersionResultOutput) Id() pulumi.StringOutput
- func (o LookupLayerVersionResultOutput) LayerArn() pulumi.StringOutput
- func (o LookupLayerVersionResultOutput) LayerName() pulumi.StringOutput
- func (o LookupLayerVersionResultOutput) LicenseInfo() pulumi.StringOutput
- func (o LookupLayerVersionResultOutput) SigningJobArn() pulumi.StringOutput
- func (o LookupLayerVersionResultOutput) SigningProfileVersionArn() pulumi.StringOutput
- func (o LookupLayerVersionResultOutput) SourceCodeHash() pulumi.StringOutput
- func (o LookupLayerVersionResultOutput) SourceCodeSize() pulumi.IntOutput
- func (o LookupLayerVersionResultOutput) ToLookupLayerVersionResultOutput() LookupLayerVersionResultOutput
- func (o LookupLayerVersionResultOutput) ToLookupLayerVersionResultOutputWithContext(ctx context.Context) LookupLayerVersionResultOutput
- func (o LookupLayerVersionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLayerVersionResult]
- func (o LookupLayerVersionResultOutput) Version() pulumi.IntOutput
- type Permission
- type PermissionArgs
- type PermissionArray
- func (PermissionArray) ElementType() reflect.Type
- func (i PermissionArray) ToOutput(ctx context.Context) pulumix.Output[[]*Permission]
- func (i PermissionArray) ToPermissionArrayOutput() PermissionArrayOutput
- func (i PermissionArray) ToPermissionArrayOutputWithContext(ctx context.Context) PermissionArrayOutput
- type PermissionArrayInput
- type PermissionArrayOutput
- func (PermissionArrayOutput) ElementType() reflect.Type
- func (o PermissionArrayOutput) Index(i pulumi.IntInput) PermissionOutput
- func (o PermissionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Permission]
- func (o PermissionArrayOutput) ToPermissionArrayOutput() PermissionArrayOutput
- func (o PermissionArrayOutput) ToPermissionArrayOutputWithContext(ctx context.Context) PermissionArrayOutput
- type PermissionInput
- type PermissionMap
- func (PermissionMap) ElementType() reflect.Type
- func (i PermissionMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Permission]
- func (i PermissionMap) ToPermissionMapOutput() PermissionMapOutput
- func (i PermissionMap) ToPermissionMapOutputWithContext(ctx context.Context) PermissionMapOutput
- type PermissionMapInput
- type PermissionMapOutput
- func (PermissionMapOutput) ElementType() reflect.Type
- func (o PermissionMapOutput) MapIndex(k pulumi.StringInput) PermissionOutput
- func (o PermissionMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Permission]
- func (o PermissionMapOutput) ToPermissionMapOutput() PermissionMapOutput
- func (o PermissionMapOutput) ToPermissionMapOutputWithContext(ctx context.Context) PermissionMapOutput
- type PermissionOutput
- func (o PermissionOutput) Action() pulumi.StringOutput
- func (PermissionOutput) ElementType() reflect.Type
- func (o PermissionOutput) EventSourceToken() pulumi.StringPtrOutput
- func (o PermissionOutput) Function() pulumi.StringOutput
- func (o PermissionOutput) FunctionUrlAuthType() pulumi.StringPtrOutput
- func (o PermissionOutput) Principal() pulumi.StringOutput
- func (o PermissionOutput) PrincipalOrgId() pulumi.StringPtrOutput
- func (o PermissionOutput) Qualifier() pulumi.StringPtrOutput
- func (o PermissionOutput) SourceAccount() pulumi.StringPtrOutput
- func (o PermissionOutput) SourceArn() pulumi.StringPtrOutput
- func (o PermissionOutput) StatementId() pulumi.StringOutput
- func (o PermissionOutput) StatementIdPrefix() pulumi.StringOutput
- func (o PermissionOutput) ToOutput(ctx context.Context) pulumix.Output[*Permission]
- func (o PermissionOutput) ToPermissionOutput() PermissionOutput
- func (o PermissionOutput) ToPermissionOutputWithContext(ctx context.Context) PermissionOutput
- type PermissionState
- type ProvisionedConcurrencyConfig
- func (*ProvisionedConcurrencyConfig) ElementType() reflect.Type
- func (i *ProvisionedConcurrencyConfig) ToOutput(ctx context.Context) pulumix.Output[*ProvisionedConcurrencyConfig]
- func (i *ProvisionedConcurrencyConfig) ToProvisionedConcurrencyConfigOutput() ProvisionedConcurrencyConfigOutput
- func (i *ProvisionedConcurrencyConfig) ToProvisionedConcurrencyConfigOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigOutput
- type ProvisionedConcurrencyConfigArgs
- type ProvisionedConcurrencyConfigArray
- func (ProvisionedConcurrencyConfigArray) ElementType() reflect.Type
- func (i ProvisionedConcurrencyConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]*ProvisionedConcurrencyConfig]
- func (i ProvisionedConcurrencyConfigArray) ToProvisionedConcurrencyConfigArrayOutput() ProvisionedConcurrencyConfigArrayOutput
- func (i ProvisionedConcurrencyConfigArray) ToProvisionedConcurrencyConfigArrayOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigArrayOutput
- type ProvisionedConcurrencyConfigArrayInput
- type ProvisionedConcurrencyConfigArrayOutput
- func (ProvisionedConcurrencyConfigArrayOutput) ElementType() reflect.Type
- func (o ProvisionedConcurrencyConfigArrayOutput) Index(i pulumi.IntInput) ProvisionedConcurrencyConfigOutput
- func (o ProvisionedConcurrencyConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ProvisionedConcurrencyConfig]
- func (o ProvisionedConcurrencyConfigArrayOutput) ToProvisionedConcurrencyConfigArrayOutput() ProvisionedConcurrencyConfigArrayOutput
- func (o ProvisionedConcurrencyConfigArrayOutput) ToProvisionedConcurrencyConfigArrayOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigArrayOutput
- type ProvisionedConcurrencyConfigInput
- type ProvisionedConcurrencyConfigMap
- func (ProvisionedConcurrencyConfigMap) ElementType() reflect.Type
- func (i ProvisionedConcurrencyConfigMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ProvisionedConcurrencyConfig]
- func (i ProvisionedConcurrencyConfigMap) ToProvisionedConcurrencyConfigMapOutput() ProvisionedConcurrencyConfigMapOutput
- func (i ProvisionedConcurrencyConfigMap) ToProvisionedConcurrencyConfigMapOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigMapOutput
- type ProvisionedConcurrencyConfigMapInput
- type ProvisionedConcurrencyConfigMapOutput
- func (ProvisionedConcurrencyConfigMapOutput) ElementType() reflect.Type
- func (o ProvisionedConcurrencyConfigMapOutput) MapIndex(k pulumi.StringInput) ProvisionedConcurrencyConfigOutput
- func (o ProvisionedConcurrencyConfigMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ProvisionedConcurrencyConfig]
- func (o ProvisionedConcurrencyConfigMapOutput) ToProvisionedConcurrencyConfigMapOutput() ProvisionedConcurrencyConfigMapOutput
- func (o ProvisionedConcurrencyConfigMapOutput) ToProvisionedConcurrencyConfigMapOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigMapOutput
- type ProvisionedConcurrencyConfigOutput
- func (ProvisionedConcurrencyConfigOutput) ElementType() reflect.Type
- func (o ProvisionedConcurrencyConfigOutput) FunctionName() pulumi.StringOutput
- func (o ProvisionedConcurrencyConfigOutput) ProvisionedConcurrentExecutions() pulumi.IntOutput
- func (o ProvisionedConcurrencyConfigOutput) Qualifier() pulumi.StringOutput
- func (o ProvisionedConcurrencyConfigOutput) SkipDestroy() pulumi.BoolPtrOutput
- func (o ProvisionedConcurrencyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*ProvisionedConcurrencyConfig]
- func (o ProvisionedConcurrencyConfigOutput) ToProvisionedConcurrencyConfigOutput() ProvisionedConcurrencyConfigOutput
- func (o ProvisionedConcurrencyConfigOutput) ToProvisionedConcurrencyConfigOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigOutput
- type ProvisionedConcurrencyConfigState
- type Runtime
- func (Runtime) ElementType() reflect.Type
- func (e Runtime) ToRuntimeOutput() RuntimeOutput
- func (e Runtime) ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput
- func (e Runtime) ToRuntimePtrOutput() RuntimePtrOutput
- func (e Runtime) ToRuntimePtrOutputWithContext(ctx context.Context) RuntimePtrOutput
- func (e Runtime) ToStringOutput() pulumi.StringOutput
- func (e Runtime) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e Runtime) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e Runtime) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type RuntimeInput
- type RuntimeOutput
- func (RuntimeOutput) ElementType() reflect.Type
- func (o RuntimeOutput) ToOutput(ctx context.Context) pulumix.Output[Runtime]
- func (o RuntimeOutput) ToRuntimeOutput() RuntimeOutput
- func (o RuntimeOutput) ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput
- func (o RuntimeOutput) ToRuntimePtrOutput() RuntimePtrOutput
- func (o RuntimeOutput) ToRuntimePtrOutputWithContext(ctx context.Context) RuntimePtrOutput
- func (o RuntimeOutput) ToStringOutput() pulumi.StringOutput
- func (o RuntimeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o RuntimeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o RuntimeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type RuntimePtrInput
- type RuntimePtrOutput
- func (o RuntimePtrOutput) Elem() RuntimeOutput
- func (RuntimePtrOutput) ElementType() reflect.Type
- func (o RuntimePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Runtime]
- func (o RuntimePtrOutput) ToRuntimePtrOutput() RuntimePtrOutput
- func (o RuntimePtrOutput) ToRuntimePtrOutputWithContext(ctx context.Context) RuntimePtrOutput
- func (o RuntimePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o RuntimePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
Constants ¶
const ( // Deprecated: This runtime is now deprecated RuntimeDotnetCore2d1 = Runtime("dotnetcore2.1") RuntimeDotnetCore3d1 = Runtime("dotnetcore3.1") RuntimeDotnet5d0 = Runtime("dotnet5.0") RuntimeDotnet6 = Runtime("dotnet6") RuntimeGo1dx = Runtime("go1.x") RuntimeJava8 = Runtime("java8") RuntimeJava8AL2 = Runtime("java8.al2") RuntimeJava11 = Runtime("java11") RuntimeJava17 = Runtime("java17") // Deprecated: This runtime is now deprecated RuntimeRuby2d5 = Runtime("ruby2.5") RuntimeRuby2d7 = Runtime("ruby2.7") RuntimeRuby3d2 = Runtime("ruby3.2") // Deprecated: This runtime is now deprecated RuntimeNodeJS10dX = Runtime("nodejs10.x") RuntimeNodeJS12dX = Runtime("nodejs12.x") RuntimeNodeJS14dX = Runtime("nodejs14.x") RuntimeNodeJS16dX = Runtime("nodejs16.x") RuntimeNodeJS18dX = Runtime("nodejs18.x") // Deprecated: This runtime is now deprecated RuntimePython2d7 = Runtime("python2.7") // Deprecated: This runtime is now deprecated RuntimePython3d6 = Runtime("python3.6") RuntimePython3d7 = Runtime("python3.7") RuntimePython3d8 = Runtime("python3.8") RuntimePython3d9 = Runtime("python3.9") RuntimePython3d10 = Runtime("python3.10") RuntimePython3d11 = Runtime("python3.11") RuntimeCustom = Runtime("provided") RuntimeCustomAL2 = Runtime("provided.al2") )
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"` // Lambda Function name or ARN. 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`'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?](http://docs.aws.amazon.com/lambda/latest/dg/welcome.html) For information about function aliases, see [CreateAlias](http://docs.aws.amazon.com/lambda/latest/dg/API_CreateAlias.html) and [AliasRoutingConfiguration](https://docs.aws.amazon.com/lambda/latest/dg/API_AliasRoutingConfiguration.html) in the API docs.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewAlias(ctx, "testLambdaAlias", &lambda.AliasArgs{ Description: pulumi.String("a sample description"), FunctionName: pulumi.Any(aws_lambda_function.Lambda_function_test.Arn), FunctionVersion: pulumi.String("1"), RoutingConfig: &lambda.AliasRoutingConfigArgs{ AdditionalVersionWeights: pulumi.Float64Map{ "2": pulumi.Float64(0.5), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Lambda Function Aliases using the `function_name/alias`. For example:
```sh
$ pulumi import aws:lambda/alias:Alias test_lambda_alias my_test_lambda_function/my_alias
```
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).
func NewAlias ¶
func NewAlias(ctx *pulumi.Context, name string, args *AliasArgs, opts ...pulumi.ResourceOption) (*Alias, error)
NewAlias registers a new resource with the given unique name, arguments, and options.
func (*Alias) ElementType ¶
func (*Alias) ToAliasOutput ¶
func (i *Alias) ToAliasOutput() AliasOutput
func (*Alias) ToAliasOutputWithContext ¶
func (i *Alias) ToAliasOutputWithContext(ctx context.Context) AliasOutput
type AliasArgs ¶
type AliasArgs struct { // Description of the alias. Description pulumi.StringPtrInput // Lambda Function name or ARN. 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 ¶
type AliasArray ¶
type AliasArray []AliasInput
func (AliasArray) ElementType ¶
func (AliasArray) ElementType() reflect.Type
func (AliasArray) ToAliasArrayOutput ¶
func (i AliasArray) ToAliasArrayOutput() AliasArrayOutput
func (AliasArray) ToAliasArrayOutputWithContext ¶
func (i AliasArray) ToAliasArrayOutputWithContext(ctx context.Context) AliasArrayOutput
type AliasArrayInput ¶
type AliasArrayInput interface { pulumi.Input ToAliasArrayOutput() AliasArrayOutput ToAliasArrayOutputWithContext(context.Context) AliasArrayOutput }
AliasArrayInput is an input type that accepts AliasArray and AliasArrayOutput values. You can construct a concrete instance of `AliasArrayInput` via:
AliasArray{ AliasArgs{...} }
type AliasArrayOutput ¶
type AliasArrayOutput struct{ *pulumi.OutputState }
func (AliasArrayOutput) ElementType ¶
func (AliasArrayOutput) ElementType() reflect.Type
func (AliasArrayOutput) Index ¶
func (o AliasArrayOutput) Index(i pulumi.IntInput) AliasOutput
func (AliasArrayOutput) ToAliasArrayOutput ¶
func (o AliasArrayOutput) ToAliasArrayOutput() AliasArrayOutput
func (AliasArrayOutput) ToAliasArrayOutputWithContext ¶
func (o AliasArrayOutput) ToAliasArrayOutputWithContext(ctx context.Context) AliasArrayOutput
type AliasInput ¶
type AliasInput interface { pulumi.Input ToAliasOutput() AliasOutput ToAliasOutputWithContext(ctx context.Context) AliasOutput }
type AliasMap ¶
type AliasMap map[string]AliasInput
func (AliasMap) ElementType ¶
func (AliasMap) ToAliasMapOutput ¶
func (i AliasMap) ToAliasMapOutput() AliasMapOutput
func (AliasMap) ToAliasMapOutputWithContext ¶
func (i AliasMap) ToAliasMapOutputWithContext(ctx context.Context) AliasMapOutput
type AliasMapInput ¶
type AliasMapInput interface { pulumi.Input ToAliasMapOutput() AliasMapOutput ToAliasMapOutputWithContext(context.Context) AliasMapOutput }
AliasMapInput is an input type that accepts AliasMap and AliasMapOutput values. You can construct a concrete instance of `AliasMapInput` via:
AliasMap{ "key": AliasArgs{...} }
type AliasMapOutput ¶
type AliasMapOutput struct{ *pulumi.OutputState }
func (AliasMapOutput) ElementType ¶
func (AliasMapOutput) ElementType() reflect.Type
func (AliasMapOutput) MapIndex ¶
func (o AliasMapOutput) MapIndex(k pulumi.StringInput) AliasOutput
func (AliasMapOutput) ToAliasMapOutput ¶
func (o AliasMapOutput) ToAliasMapOutput() AliasMapOutput
func (AliasMapOutput) ToAliasMapOutputWithContext ¶
func (o AliasMapOutput) ToAliasMapOutputWithContext(ctx context.Context) AliasMapOutput
type AliasOutput ¶
type AliasOutput struct{ *pulumi.OutputState }
func (AliasOutput) Arn ¶
func (o AliasOutput) Arn() pulumi.StringOutput
The Amazon Resource Name (ARN) identifying your Lambda function alias.
func (AliasOutput) Description ¶
func (o AliasOutput) Description() pulumi.StringPtrOutput
Description of the alias.
func (AliasOutput) ElementType ¶
func (AliasOutput) ElementType() reflect.Type
func (AliasOutput) FunctionName ¶
func (o AliasOutput) FunctionName() pulumi.StringOutput
Lambda Function name or ARN.
func (AliasOutput) FunctionVersion ¶
func (o AliasOutput) FunctionVersion() pulumi.StringOutput
Lambda function version for which you are creating the alias. Pattern: `(\$LATEST|[0-9]+)`.
func (AliasOutput) InvokeArn ¶
func (o AliasOutput) InvokeArn() pulumi.StringOutput
The ARN to be used for invoking Lambda Function from API Gateway - to be used in `apigateway.Integration`'s `uri`
func (AliasOutput) Name ¶
func (o AliasOutput) Name() pulumi.StringOutput
Name for the alias you are creating. Pattern: `(?!^[0-9]+$)([a-zA-Z0-9-_]+)`
func (AliasOutput) RoutingConfig ¶
func (o AliasOutput) RoutingConfig() AliasRoutingConfigPtrOutput
The Lambda alias' route configuration settings. Fields documented below
func (AliasOutput) ToAliasOutput ¶
func (o AliasOutput) ToAliasOutput() AliasOutput
func (AliasOutput) ToAliasOutputWithContext ¶
func (o AliasOutput) ToAliasOutputWithContext(ctx context.Context) AliasOutput
type AliasRoutingConfig ¶
type AliasRoutingConfigArgs ¶
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 ¶
func (AliasRoutingConfigArgs) ElementType() reflect.Type
func (AliasRoutingConfigArgs) ToAliasRoutingConfigOutput ¶
func (i AliasRoutingConfigArgs) ToAliasRoutingConfigOutput() AliasRoutingConfigOutput
func (AliasRoutingConfigArgs) ToAliasRoutingConfigOutputWithContext ¶
func (i AliasRoutingConfigArgs) ToAliasRoutingConfigOutputWithContext(ctx context.Context) AliasRoutingConfigOutput
func (AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutput ¶
func (i AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
func (AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutputWithContext ¶
func (i AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
func (AliasRoutingConfigArgs) ToOutput ¶ added in v6.1.0
func (i AliasRoutingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AliasRoutingConfig]
type AliasRoutingConfigInput ¶
type AliasRoutingConfigInput interface { pulumi.Input ToAliasRoutingConfigOutput() AliasRoutingConfigOutput ToAliasRoutingConfigOutputWithContext(context.Context) AliasRoutingConfigOutput }
AliasRoutingConfigInput is an input type that accepts AliasRoutingConfigArgs and AliasRoutingConfigOutput values. You can construct a concrete instance of `AliasRoutingConfigInput` via:
AliasRoutingConfigArgs{...}
type AliasRoutingConfigOutput ¶
type AliasRoutingConfigOutput struct{ *pulumi.OutputState }
func (AliasRoutingConfigOutput) AdditionalVersionWeights ¶
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 ¶
func (AliasRoutingConfigOutput) ElementType() reflect.Type
func (AliasRoutingConfigOutput) ToAliasRoutingConfigOutput ¶
func (o AliasRoutingConfigOutput) ToAliasRoutingConfigOutput() AliasRoutingConfigOutput
func (AliasRoutingConfigOutput) ToAliasRoutingConfigOutputWithContext ¶
func (o AliasRoutingConfigOutput) ToAliasRoutingConfigOutputWithContext(ctx context.Context) AliasRoutingConfigOutput
func (AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutput ¶
func (o AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
func (AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutputWithContext ¶
func (o AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
func (AliasRoutingConfigOutput) ToOutput ¶ added in v6.1.0
func (o AliasRoutingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AliasRoutingConfig]
type AliasRoutingConfigPtrInput ¶
type AliasRoutingConfigPtrInput interface { pulumi.Input ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput ToAliasRoutingConfigPtrOutputWithContext(context.Context) AliasRoutingConfigPtrOutput }
AliasRoutingConfigPtrInput is an input type that accepts AliasRoutingConfigArgs, AliasRoutingConfigPtr and AliasRoutingConfigPtrOutput values. You can construct a concrete instance of `AliasRoutingConfigPtrInput` via:
AliasRoutingConfigArgs{...} or: nil
func AliasRoutingConfigPtr ¶
func AliasRoutingConfigPtr(v *AliasRoutingConfigArgs) AliasRoutingConfigPtrInput
type AliasRoutingConfigPtrOutput ¶
type AliasRoutingConfigPtrOutput struct{ *pulumi.OutputState }
func (AliasRoutingConfigPtrOutput) AdditionalVersionWeights ¶
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 ¶
func (o AliasRoutingConfigPtrOutput) Elem() AliasRoutingConfigOutput
func (AliasRoutingConfigPtrOutput) ElementType ¶
func (AliasRoutingConfigPtrOutput) ElementType() reflect.Type
func (AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutput ¶
func (o AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
func (AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutputWithContext ¶
func (o AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
func (AliasRoutingConfigPtrOutput) ToOutput ¶ added in v6.1.0
func (o AliasRoutingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AliasRoutingConfig]
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 // Lambda Function name or ARN. 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`'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 ¶
func (AliasState) ElementType() reflect.Type
type CodeSigningConfig ¶
type CodeSigningConfig struct { pulumi.CustomResourceState // A configuration block of allowed publishers as signing profiles for this code signing configuration. Detailed below. AllowedPublishers CodeSigningConfigAllowedPublishersOutput `pulumi:"allowedPublishers"` // The Amazon Resource Name (ARN) of the code signing configuration. Arn pulumi.StringOutput `pulumi:"arn"` // Unique identifier for the code signing configuration. ConfigId pulumi.StringOutput `pulumi:"configId"` // Descriptive name for this code signing configuration. Description pulumi.StringPtrOutput `pulumi:"description"` // The date and time that the code signing configuration was last modified. LastModified pulumi.StringOutput `pulumi:"lastModified"` // A configuration block of code signing policies that define the actions to take if the validation checks fail. Detailed below. Policies CodeSigningConfigPoliciesOutput `pulumi:"policies"` }
Provides a Lambda Code Signing Config resource. A code signing configuration defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail).
For information about Lambda code signing configurations and how to use them, see [configuring code signing for Lambda functions](https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewCodeSigningConfig(ctx, "newCsc", &lambda.CodeSigningConfigArgs{ AllowedPublishers: &lambda.CodeSigningConfigAllowedPublishersArgs{ SigningProfileVersionArns: pulumi.StringArray{ aws_signer_signing_profile.Example1.Arn, aws_signer_signing_profile.Example2.Arn, }, }, Policies: &lambda.CodeSigningConfigPoliciesArgs{ UntrustedArtifactOnDeployment: pulumi.String("Warn"), }, Description: pulumi.String("My awesome code signing config."), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Code Signing Configs using their ARN. For example:
```sh
$ pulumi import aws:lambda/codeSigningConfig:CodeSigningConfig imported_csc arn:aws:lambda:us-west-2:123456789012:code-signing-config:csc-0f6c334abcdea4d8b
```
func GetCodeSigningConfig ¶
func GetCodeSigningConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CodeSigningConfigState, opts ...pulumi.ResourceOption) (*CodeSigningConfig, error)
GetCodeSigningConfig gets an existing CodeSigningConfig 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 NewCodeSigningConfig ¶
func NewCodeSigningConfig(ctx *pulumi.Context, name string, args *CodeSigningConfigArgs, opts ...pulumi.ResourceOption) (*CodeSigningConfig, error)
NewCodeSigningConfig registers a new resource with the given unique name, arguments, and options.
func (*CodeSigningConfig) ElementType ¶
func (*CodeSigningConfig) ElementType() reflect.Type
func (*CodeSigningConfig) ToCodeSigningConfigOutput ¶
func (i *CodeSigningConfig) ToCodeSigningConfigOutput() CodeSigningConfigOutput
func (*CodeSigningConfig) ToCodeSigningConfigOutputWithContext ¶
func (i *CodeSigningConfig) ToCodeSigningConfigOutputWithContext(ctx context.Context) CodeSigningConfigOutput
func (*CodeSigningConfig) ToOutput ¶ added in v6.1.0
func (i *CodeSigningConfig) ToOutput(ctx context.Context) pulumix.Output[*CodeSigningConfig]
type CodeSigningConfigAllowedPublishers ¶
type CodeSigningConfigAllowedPublishers struct { // The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package. SigningProfileVersionArns []string `pulumi:"signingProfileVersionArns"` }
type CodeSigningConfigAllowedPublishersArgs ¶
type CodeSigningConfigAllowedPublishersArgs struct { // The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package. SigningProfileVersionArns pulumi.StringArrayInput `pulumi:"signingProfileVersionArns"` }
func (CodeSigningConfigAllowedPublishersArgs) ElementType ¶
func (CodeSigningConfigAllowedPublishersArgs) ElementType() reflect.Type
func (CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersOutput ¶
func (i CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersOutput() CodeSigningConfigAllowedPublishersOutput
func (CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersOutputWithContext ¶
func (i CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersOutputWithContext(ctx context.Context) CodeSigningConfigAllowedPublishersOutput
func (CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersPtrOutput ¶
func (i CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersPtrOutput() CodeSigningConfigAllowedPublishersPtrOutput
func (CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext ¶
func (i CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext(ctx context.Context) CodeSigningConfigAllowedPublishersPtrOutput
func (CodeSigningConfigAllowedPublishersArgs) ToOutput ¶ added in v6.1.0
func (i CodeSigningConfigAllowedPublishersArgs) ToOutput(ctx context.Context) pulumix.Output[CodeSigningConfigAllowedPublishers]
type CodeSigningConfigAllowedPublishersInput ¶
type CodeSigningConfigAllowedPublishersInput interface { pulumi.Input ToCodeSigningConfigAllowedPublishersOutput() CodeSigningConfigAllowedPublishersOutput ToCodeSigningConfigAllowedPublishersOutputWithContext(context.Context) CodeSigningConfigAllowedPublishersOutput }
CodeSigningConfigAllowedPublishersInput is an input type that accepts CodeSigningConfigAllowedPublishersArgs and CodeSigningConfigAllowedPublishersOutput values. You can construct a concrete instance of `CodeSigningConfigAllowedPublishersInput` via:
CodeSigningConfigAllowedPublishersArgs{...}
type CodeSigningConfigAllowedPublishersOutput ¶
type CodeSigningConfigAllowedPublishersOutput struct{ *pulumi.OutputState }
func (CodeSigningConfigAllowedPublishersOutput) ElementType ¶
func (CodeSigningConfigAllowedPublishersOutput) ElementType() reflect.Type
func (CodeSigningConfigAllowedPublishersOutput) SigningProfileVersionArns ¶
func (o CodeSigningConfigAllowedPublishersOutput) SigningProfileVersionArns() pulumi.StringArrayOutput
The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.
func (CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersOutput ¶
func (o CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersOutput() CodeSigningConfigAllowedPublishersOutput
func (CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersOutputWithContext ¶
func (o CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersOutputWithContext(ctx context.Context) CodeSigningConfigAllowedPublishersOutput
func (CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersPtrOutput ¶
func (o CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersPtrOutput() CodeSigningConfigAllowedPublishersPtrOutput
func (CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext ¶
func (o CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext(ctx context.Context) CodeSigningConfigAllowedPublishersPtrOutput
func (CodeSigningConfigAllowedPublishersOutput) ToOutput ¶ added in v6.1.0
func (o CodeSigningConfigAllowedPublishersOutput) ToOutput(ctx context.Context) pulumix.Output[CodeSigningConfigAllowedPublishers]
type CodeSigningConfigAllowedPublishersPtrInput ¶
type CodeSigningConfigAllowedPublishersPtrInput interface { pulumi.Input ToCodeSigningConfigAllowedPublishersPtrOutput() CodeSigningConfigAllowedPublishersPtrOutput ToCodeSigningConfigAllowedPublishersPtrOutputWithContext(context.Context) CodeSigningConfigAllowedPublishersPtrOutput }
CodeSigningConfigAllowedPublishersPtrInput is an input type that accepts CodeSigningConfigAllowedPublishersArgs, CodeSigningConfigAllowedPublishersPtr and CodeSigningConfigAllowedPublishersPtrOutput values. You can construct a concrete instance of `CodeSigningConfigAllowedPublishersPtrInput` via:
CodeSigningConfigAllowedPublishersArgs{...} or: nil
func CodeSigningConfigAllowedPublishersPtr ¶
func CodeSigningConfigAllowedPublishersPtr(v *CodeSigningConfigAllowedPublishersArgs) CodeSigningConfigAllowedPublishersPtrInput
type CodeSigningConfigAllowedPublishersPtrOutput ¶
type CodeSigningConfigAllowedPublishersPtrOutput struct{ *pulumi.OutputState }
func (CodeSigningConfigAllowedPublishersPtrOutput) ElementType ¶
func (CodeSigningConfigAllowedPublishersPtrOutput) ElementType() reflect.Type
func (CodeSigningConfigAllowedPublishersPtrOutput) SigningProfileVersionArns ¶
func (o CodeSigningConfigAllowedPublishersPtrOutput) SigningProfileVersionArns() pulumi.StringArrayOutput
The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.
func (CodeSigningConfigAllowedPublishersPtrOutput) ToCodeSigningConfigAllowedPublishersPtrOutput ¶
func (o CodeSigningConfigAllowedPublishersPtrOutput) ToCodeSigningConfigAllowedPublishersPtrOutput() CodeSigningConfigAllowedPublishersPtrOutput
func (CodeSigningConfigAllowedPublishersPtrOutput) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext ¶
func (o CodeSigningConfigAllowedPublishersPtrOutput) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext(ctx context.Context) CodeSigningConfigAllowedPublishersPtrOutput
func (CodeSigningConfigAllowedPublishersPtrOutput) ToOutput ¶ added in v6.1.0
func (o CodeSigningConfigAllowedPublishersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CodeSigningConfigAllowedPublishers]
type CodeSigningConfigArgs ¶
type CodeSigningConfigArgs struct { // A configuration block of allowed publishers as signing profiles for this code signing configuration. Detailed below. AllowedPublishers CodeSigningConfigAllowedPublishersInput // Descriptive name for this code signing configuration. Description pulumi.StringPtrInput // A configuration block of code signing policies that define the actions to take if the validation checks fail. Detailed below. Policies CodeSigningConfigPoliciesPtrInput }
The set of arguments for constructing a CodeSigningConfig resource.
func (CodeSigningConfigArgs) ElementType ¶
func (CodeSigningConfigArgs) ElementType() reflect.Type
type CodeSigningConfigArray ¶
type CodeSigningConfigArray []CodeSigningConfigInput
func (CodeSigningConfigArray) ElementType ¶
func (CodeSigningConfigArray) ElementType() reflect.Type
func (CodeSigningConfigArray) ToCodeSigningConfigArrayOutput ¶
func (i CodeSigningConfigArray) ToCodeSigningConfigArrayOutput() CodeSigningConfigArrayOutput
func (CodeSigningConfigArray) ToCodeSigningConfigArrayOutputWithContext ¶
func (i CodeSigningConfigArray) ToCodeSigningConfigArrayOutputWithContext(ctx context.Context) CodeSigningConfigArrayOutput
func (CodeSigningConfigArray) ToOutput ¶ added in v6.1.0
func (i CodeSigningConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]*CodeSigningConfig]
type CodeSigningConfigArrayInput ¶
type CodeSigningConfigArrayInput interface { pulumi.Input ToCodeSigningConfigArrayOutput() CodeSigningConfigArrayOutput ToCodeSigningConfigArrayOutputWithContext(context.Context) CodeSigningConfigArrayOutput }
CodeSigningConfigArrayInput is an input type that accepts CodeSigningConfigArray and CodeSigningConfigArrayOutput values. You can construct a concrete instance of `CodeSigningConfigArrayInput` via:
CodeSigningConfigArray{ CodeSigningConfigArgs{...} }
type CodeSigningConfigArrayOutput ¶
type CodeSigningConfigArrayOutput struct{ *pulumi.OutputState }
func (CodeSigningConfigArrayOutput) ElementType ¶
func (CodeSigningConfigArrayOutput) ElementType() reflect.Type
func (CodeSigningConfigArrayOutput) Index ¶
func (o CodeSigningConfigArrayOutput) Index(i pulumi.IntInput) CodeSigningConfigOutput
func (CodeSigningConfigArrayOutput) ToCodeSigningConfigArrayOutput ¶
func (o CodeSigningConfigArrayOutput) ToCodeSigningConfigArrayOutput() CodeSigningConfigArrayOutput
func (CodeSigningConfigArrayOutput) ToCodeSigningConfigArrayOutputWithContext ¶
func (o CodeSigningConfigArrayOutput) ToCodeSigningConfigArrayOutputWithContext(ctx context.Context) CodeSigningConfigArrayOutput
func (CodeSigningConfigArrayOutput) ToOutput ¶ added in v6.1.0
func (o CodeSigningConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*CodeSigningConfig]
type CodeSigningConfigInput ¶
type CodeSigningConfigInput interface { pulumi.Input ToCodeSigningConfigOutput() CodeSigningConfigOutput ToCodeSigningConfigOutputWithContext(ctx context.Context) CodeSigningConfigOutput }
type CodeSigningConfigMap ¶
type CodeSigningConfigMap map[string]CodeSigningConfigInput
func (CodeSigningConfigMap) ElementType ¶
func (CodeSigningConfigMap) ElementType() reflect.Type
func (CodeSigningConfigMap) ToCodeSigningConfigMapOutput ¶
func (i CodeSigningConfigMap) ToCodeSigningConfigMapOutput() CodeSigningConfigMapOutput
func (CodeSigningConfigMap) ToCodeSigningConfigMapOutputWithContext ¶
func (i CodeSigningConfigMap) ToCodeSigningConfigMapOutputWithContext(ctx context.Context) CodeSigningConfigMapOutput
func (CodeSigningConfigMap) ToOutput ¶ added in v6.1.0
func (i CodeSigningConfigMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*CodeSigningConfig]
type CodeSigningConfigMapInput ¶
type CodeSigningConfigMapInput interface { pulumi.Input ToCodeSigningConfigMapOutput() CodeSigningConfigMapOutput ToCodeSigningConfigMapOutputWithContext(context.Context) CodeSigningConfigMapOutput }
CodeSigningConfigMapInput is an input type that accepts CodeSigningConfigMap and CodeSigningConfigMapOutput values. You can construct a concrete instance of `CodeSigningConfigMapInput` via:
CodeSigningConfigMap{ "key": CodeSigningConfigArgs{...} }
type CodeSigningConfigMapOutput ¶
type CodeSigningConfigMapOutput struct{ *pulumi.OutputState }
func (CodeSigningConfigMapOutput) ElementType ¶
func (CodeSigningConfigMapOutput) ElementType() reflect.Type
func (CodeSigningConfigMapOutput) MapIndex ¶
func (o CodeSigningConfigMapOutput) MapIndex(k pulumi.StringInput) CodeSigningConfigOutput
func (CodeSigningConfigMapOutput) ToCodeSigningConfigMapOutput ¶
func (o CodeSigningConfigMapOutput) ToCodeSigningConfigMapOutput() CodeSigningConfigMapOutput
func (CodeSigningConfigMapOutput) ToCodeSigningConfigMapOutputWithContext ¶
func (o CodeSigningConfigMapOutput) ToCodeSigningConfigMapOutputWithContext(ctx context.Context) CodeSigningConfigMapOutput
func (CodeSigningConfigMapOutput) ToOutput ¶ added in v6.1.0
func (o CodeSigningConfigMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*CodeSigningConfig]
type CodeSigningConfigOutput ¶
type CodeSigningConfigOutput struct{ *pulumi.OutputState }
func (CodeSigningConfigOutput) AllowedPublishers ¶
func (o CodeSigningConfigOutput) AllowedPublishers() CodeSigningConfigAllowedPublishersOutput
A configuration block of allowed publishers as signing profiles for this code signing configuration. Detailed below.
func (CodeSigningConfigOutput) Arn ¶
func (o CodeSigningConfigOutput) Arn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the code signing configuration.
func (CodeSigningConfigOutput) ConfigId ¶
func (o CodeSigningConfigOutput) ConfigId() pulumi.StringOutput
Unique identifier for the code signing configuration.
func (CodeSigningConfigOutput) Description ¶
func (o CodeSigningConfigOutput) Description() pulumi.StringPtrOutput
Descriptive name for this code signing configuration.
func (CodeSigningConfigOutput) ElementType ¶
func (CodeSigningConfigOutput) ElementType() reflect.Type
func (CodeSigningConfigOutput) LastModified ¶
func (o CodeSigningConfigOutput) LastModified() pulumi.StringOutput
The date and time that the code signing configuration was last modified.
func (CodeSigningConfigOutput) Policies ¶
func (o CodeSigningConfigOutput) Policies() CodeSigningConfigPoliciesOutput
A configuration block of code signing policies that define the actions to take if the validation checks fail. Detailed below.
func (CodeSigningConfigOutput) ToCodeSigningConfigOutput ¶
func (o CodeSigningConfigOutput) ToCodeSigningConfigOutput() CodeSigningConfigOutput
func (CodeSigningConfigOutput) ToCodeSigningConfigOutputWithContext ¶
func (o CodeSigningConfigOutput) ToCodeSigningConfigOutputWithContext(ctx context.Context) CodeSigningConfigOutput
func (CodeSigningConfigOutput) ToOutput ¶ added in v6.1.0
func (o CodeSigningConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*CodeSigningConfig]
type CodeSigningConfigPolicies ¶
type CodeSigningConfigPolicies struct { // Code signing configuration policy for deployment validation failure. If you set the policy to Enforce, Lambda blocks the deployment request if code-signing validation checks fail. If you set the policy to Warn, Lambda allows the deployment and creates a CloudWatch log. Valid values: `Warn`, `Enforce`. Default value: `Warn`. UntrustedArtifactOnDeployment string `pulumi:"untrustedArtifactOnDeployment"` }
type CodeSigningConfigPoliciesArgs ¶
type CodeSigningConfigPoliciesArgs struct { // Code signing configuration policy for deployment validation failure. If you set the policy to Enforce, Lambda blocks the deployment request if code-signing validation checks fail. If you set the policy to Warn, Lambda allows the deployment and creates a CloudWatch log. Valid values: `Warn`, `Enforce`. Default value: `Warn`. UntrustedArtifactOnDeployment pulumi.StringInput `pulumi:"untrustedArtifactOnDeployment"` }
func (CodeSigningConfigPoliciesArgs) ElementType ¶
func (CodeSigningConfigPoliciesArgs) ElementType() reflect.Type
func (CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesOutput ¶
func (i CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesOutput() CodeSigningConfigPoliciesOutput
func (CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesOutputWithContext ¶
func (i CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesOutputWithContext(ctx context.Context) CodeSigningConfigPoliciesOutput
func (CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesPtrOutput ¶
func (i CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesPtrOutput() CodeSigningConfigPoliciesPtrOutput
func (CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesPtrOutputWithContext ¶
func (i CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesPtrOutputWithContext(ctx context.Context) CodeSigningConfigPoliciesPtrOutput
func (CodeSigningConfigPoliciesArgs) ToOutput ¶ added in v6.1.0
func (i CodeSigningConfigPoliciesArgs) ToOutput(ctx context.Context) pulumix.Output[CodeSigningConfigPolicies]
type CodeSigningConfigPoliciesInput ¶
type CodeSigningConfigPoliciesInput interface { pulumi.Input ToCodeSigningConfigPoliciesOutput() CodeSigningConfigPoliciesOutput ToCodeSigningConfigPoliciesOutputWithContext(context.Context) CodeSigningConfigPoliciesOutput }
CodeSigningConfigPoliciesInput is an input type that accepts CodeSigningConfigPoliciesArgs and CodeSigningConfigPoliciesOutput values. You can construct a concrete instance of `CodeSigningConfigPoliciesInput` via:
CodeSigningConfigPoliciesArgs{...}
type CodeSigningConfigPoliciesOutput ¶
type CodeSigningConfigPoliciesOutput struct{ *pulumi.OutputState }
func (CodeSigningConfigPoliciesOutput) ElementType ¶
func (CodeSigningConfigPoliciesOutput) ElementType() reflect.Type
func (CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesOutput ¶
func (o CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesOutput() CodeSigningConfigPoliciesOutput
func (CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesOutputWithContext ¶
func (o CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesOutputWithContext(ctx context.Context) CodeSigningConfigPoliciesOutput
func (CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesPtrOutput ¶
func (o CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesPtrOutput() CodeSigningConfigPoliciesPtrOutput
func (CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesPtrOutputWithContext ¶
func (o CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesPtrOutputWithContext(ctx context.Context) CodeSigningConfigPoliciesPtrOutput
func (CodeSigningConfigPoliciesOutput) ToOutput ¶ added in v6.1.0
func (o CodeSigningConfigPoliciesOutput) ToOutput(ctx context.Context) pulumix.Output[CodeSigningConfigPolicies]
func (CodeSigningConfigPoliciesOutput) UntrustedArtifactOnDeployment ¶
func (o CodeSigningConfigPoliciesOutput) UntrustedArtifactOnDeployment() pulumi.StringOutput
Code signing configuration policy for deployment validation failure. If you set the policy to Enforce, Lambda blocks the deployment request if code-signing validation checks fail. If you set the policy to Warn, Lambda allows the deployment and creates a CloudWatch log. Valid values: `Warn`, `Enforce`. Default value: `Warn`.
type CodeSigningConfigPoliciesPtrInput ¶
type CodeSigningConfigPoliciesPtrInput interface { pulumi.Input ToCodeSigningConfigPoliciesPtrOutput() CodeSigningConfigPoliciesPtrOutput ToCodeSigningConfigPoliciesPtrOutputWithContext(context.Context) CodeSigningConfigPoliciesPtrOutput }
CodeSigningConfigPoliciesPtrInput is an input type that accepts CodeSigningConfigPoliciesArgs, CodeSigningConfigPoliciesPtr and CodeSigningConfigPoliciesPtrOutput values. You can construct a concrete instance of `CodeSigningConfigPoliciesPtrInput` via:
CodeSigningConfigPoliciesArgs{...} or: nil
func CodeSigningConfigPoliciesPtr ¶
func CodeSigningConfigPoliciesPtr(v *CodeSigningConfigPoliciesArgs) CodeSigningConfigPoliciesPtrInput
type CodeSigningConfigPoliciesPtrOutput ¶
type CodeSigningConfigPoliciesPtrOutput struct{ *pulumi.OutputState }
func (CodeSigningConfigPoliciesPtrOutput) Elem ¶
func (o CodeSigningConfigPoliciesPtrOutput) Elem() CodeSigningConfigPoliciesOutput
func (CodeSigningConfigPoliciesPtrOutput) ElementType ¶
func (CodeSigningConfigPoliciesPtrOutput) ElementType() reflect.Type
func (CodeSigningConfigPoliciesPtrOutput) ToCodeSigningConfigPoliciesPtrOutput ¶
func (o CodeSigningConfigPoliciesPtrOutput) ToCodeSigningConfigPoliciesPtrOutput() CodeSigningConfigPoliciesPtrOutput
func (CodeSigningConfigPoliciesPtrOutput) ToCodeSigningConfigPoliciesPtrOutputWithContext ¶
func (o CodeSigningConfigPoliciesPtrOutput) ToCodeSigningConfigPoliciesPtrOutputWithContext(ctx context.Context) CodeSigningConfigPoliciesPtrOutput
func (CodeSigningConfigPoliciesPtrOutput) ToOutput ¶ added in v6.1.0
func (o CodeSigningConfigPoliciesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CodeSigningConfigPolicies]
func (CodeSigningConfigPoliciesPtrOutput) UntrustedArtifactOnDeployment ¶
func (o CodeSigningConfigPoliciesPtrOutput) UntrustedArtifactOnDeployment() pulumi.StringPtrOutput
Code signing configuration policy for deployment validation failure. If you set the policy to Enforce, Lambda blocks the deployment request if code-signing validation checks fail. If you set the policy to Warn, Lambda allows the deployment and creates a CloudWatch log. Valid values: `Warn`, `Enforce`. Default value: `Warn`.
type CodeSigningConfigState ¶
type CodeSigningConfigState struct { // A configuration block of allowed publishers as signing profiles for this code signing configuration. Detailed below. AllowedPublishers CodeSigningConfigAllowedPublishersPtrInput // The Amazon Resource Name (ARN) of the code signing configuration. Arn pulumi.StringPtrInput // Unique identifier for the code signing configuration. ConfigId pulumi.StringPtrInput // Descriptive name for this code signing configuration. Description pulumi.StringPtrInput // The date and time that the code signing configuration was last modified. LastModified pulumi.StringPtrInput // A configuration block of code signing policies that define the actions to take if the validation checks fail. Detailed below. Policies CodeSigningConfigPoliciesPtrInput }
func (CodeSigningConfigState) ElementType ¶
func (CodeSigningConfigState) ElementType() reflect.Type
type EventSourceMapping ¶
type EventSourceMapping struct { pulumi.CustomResourceState // Additional configuration block for Amazon Managed Kafka sources. Incompatible with "selfManagedEventSource" and "selfManagedKafkaEventSourceConfig". Detailed below. AmazonManagedKafkaEventSourceConfig EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput `pulumi:"amazonManagedKafkaEventSourceConfig"` // The largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to `100` for DynamoDB, Kinesis, MQ and MSK, `10` for SQS. BatchSize pulumi.IntPtrOutput `pulumi:"batchSize"` // - (Optional) If the function returns an error, split the batch in two and retry. Only available for stream sources (DynamoDB and Kinesis). Defaults to `false`. BisectBatchOnFunctionError pulumi.BoolPtrOutput `pulumi:"bisectBatchOnFunctionError"` // - (Optional) An Amazon SQS queue or Amazon SNS topic destination for failed records. Only available for stream sources (DynamoDB and Kinesis). Detailed below. DestinationConfig EventSourceMappingDestinationConfigPtrOutput `pulumi:"destinationConfig"` // - (Optional) Configuration settings for a DocumentDB event source. Detailed below. DocumentDbEventSourceConfig EventSourceMappingDocumentDbEventSourceConfigPtrOutput `pulumi:"documentDbEventSourceConfig"` // Determines if the mapping will be enabled on creation. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The event source ARN - this is required for Kinesis stream, DynamoDB stream, SQS queue, MQ broker, MSK cluster or DocumentDB change stream. It is incompatible with a Self Managed Kafka source. EventSourceArn pulumi.StringPtrOutput `pulumi:"eventSourceArn"` // The criteria to use for [event filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html) Kinesis stream, DynamoDB stream, SQS queue event sources. Detailed below. FilterCriteria EventSourceMappingFilterCriteriaPtrOutput `pulumi:"filterCriteria"` // 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"` // A list of current response type enums applied to the event source mapping for [AWS Lambda checkpointing](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-batchfailurereporting). Only available for SQS and stream sources (DynamoDB and Kinesis). Valid values: `ReportBatchItemFailures`. FunctionResponseTypes pulumi.StringArrayOutput `pulumi:"functionResponseTypes"` // 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 (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. Only available for stream sources (DynamoDB and Kinesis) and SQS standard queues. MaximumBatchingWindowInSeconds pulumi.IntPtrOutput `pulumi:"maximumBatchingWindowInSeconds"` // - (Optional) The maximum age of a record that Lambda sends to a function for processing. Only available for stream sources (DynamoDB and Kinesis). Must be either -1 (forever, and the default value) or between 60 and 604800 (inclusive). MaximumRecordAgeInSeconds pulumi.IntOutput `pulumi:"maximumRecordAgeInSeconds"` // - (Optional) The maximum number of times to retry when the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of -1 (forever), maximum of 10000. MaximumRetryAttempts pulumi.IntOutput `pulumi:"maximumRetryAttempts"` // - (Optional) The number of batches to process from each shard concurrently. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of 1, maximum of 10. ParallelizationFactor pulumi.IntOutput `pulumi:"parallelizationFactor"` // The name of the Amazon MQ broker destination queue to consume. Only available for MQ sources. The list must contain exactly one queue name. Queues pulumi.StringPtrOutput `pulumi:"queues"` // Scaling configuration of the event source. Only available for SQS queues. Detailed below. ScalingConfig EventSourceMappingScalingConfigPtrOutput `pulumi:"scalingConfig"` // - (Optional) For Self Managed Kafka sources, the location of the self managed cluster. If set, configuration must also include `sourceAccessConfiguration`. Detailed below. SelfManagedEventSource EventSourceMappingSelfManagedEventSourcePtrOutput `pulumi:"selfManagedEventSource"` // Additional configuration block for Self Managed Kafka sources. Incompatible with "eventSourceArn" and "amazonManagedKafkaEventSourceConfig". Detailed below. SelfManagedKafkaEventSourceConfig EventSourceMappingSelfManagedKafkaEventSourceConfigOutput `pulumi:"selfManagedKafkaEventSourceConfig"` // For Self Managed Kafka sources, the access configuration for the source. If set, configuration must also include `selfManagedEventSource`. Detailed below. SourceAccessConfigurations EventSourceMappingSourceAccessConfigurationArrayOutput `pulumi:"sourceAccessConfigurations"` // 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, DynamoDB, MSK or Self Managed Apache Kafka. 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 name of the Kafka topics. Only available for MSK sources. A single topic name must be specified. Topics pulumi.StringArrayOutput `pulumi:"topics"` // The duration in seconds of a processing window for [AWS Lambda streaming analytics](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-windows). The range is between 1 second up to 900 seconds. Only available for stream sources (DynamoDB and Kinesis). TumblingWindowInSeconds pulumi.IntPtrOutput `pulumi:"tumblingWindowInSeconds"` // 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, SQS, Amazon MQ and Managed Streaming for Apache Kafka (MSK).
For information about Lambda and how to use it, see [What is AWS Lambda?](http://docs.aws.amazon.com/lambda/latest/dg/welcome.html). For information about event source mappings, see [CreateEventSourceMapping](http://docs.aws.amazon.com/lambda/latest/dg/API_CreateEventSourceMapping.html) in the API docs.
## Example Usage ### DynamoDB
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{ EventSourceArn: pulumi.Any(aws_dynamodb_table.Example.Stream_arn), FunctionName: pulumi.Any(aws_lambda_function.Example.Arn), StartingPosition: pulumi.String("LATEST"), }) if err != nil { return err } return nil }) }
``` ### Kinesis
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{ EventSourceArn: pulumi.Any(aws_kinesis_stream.Example.Arn), FunctionName: pulumi.Any(aws_lambda_function.Example.Arn), StartingPosition: pulumi.String("LATEST"), }) if err != nil { return err } return nil }) }
``` ### Managed Streaming for Apache Kafka (MSK)
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{ EventSourceArn: pulumi.Any(aws_msk_cluster.Example.Arn), FunctionName: pulumi.Any(aws_lambda_function.Example.Arn), Topics: pulumi.StringArray{ pulumi.String("Example"), }, StartingPosition: pulumi.String("TRIM_HORIZON"), }) if err != nil { return err } return nil }) }
``` ### Self Managed Apache Kafka
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{ FunctionName: pulumi.Any(aws_lambda_function.Example.Arn), Topics: pulumi.StringArray{ pulumi.String("Example"), }, StartingPosition: pulumi.String("TRIM_HORIZON"), SelfManagedEventSource: &lambda.EventSourceMappingSelfManagedEventSourceArgs{ Endpoints: pulumi.StringMap{ "KAFKA_BOOTSTRAP_SERVERS": pulumi.String("kafka1.example.com:9092,kafka2.example.com:9092"), }, }, SourceAccessConfigurations: lambda.EventSourceMappingSourceAccessConfigurationArray{ &lambda.EventSourceMappingSourceAccessConfigurationArgs{ Type: pulumi.String("VPC_SUBNET"), Uri: pulumi.String("subnet:subnet-example1"), }, &lambda.EventSourceMappingSourceAccessConfigurationArgs{ Type: pulumi.String("VPC_SUBNET"), Uri: pulumi.String("subnet:subnet-example2"), }, &lambda.EventSourceMappingSourceAccessConfigurationArgs{ Type: pulumi.String("VPC_SECURITY_GROUP"), Uri: pulumi.String("security_group:sg-example"), }, }, }) if err != nil { return err } return nil }) }
``` ### SQS
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{ EventSourceArn: pulumi.Any(aws_sqs_queue.Sqs_queue_test.Arn), FunctionName: pulumi.Any(aws_lambda_function.Example.Arn), }) if err != nil { return err } return nil }) }
``` ### SQS with event filter
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { tmpJSON0, err := json.Marshal(map[string]interface{}{ "body": map[string]interface{}{ "Temperature": []map[string]interface{}{ map[string]interface{}{ "numeric": []interface{}{ ">", 0, "<=", 100, }, }, }, "Location": []string{ "New York", }, }, }) if err != nil { return err } json0 := string(tmpJSON0) _, err = lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{ EventSourceArn: pulumi.Any(aws_sqs_queue.Sqs_queue_test.Arn), FunctionName: pulumi.Any(aws_lambda_function.Example.Arn), FilterCriteria: &lambda.EventSourceMappingFilterCriteriaArgs{ Filters: lambda.EventSourceMappingFilterCriteriaFilterArray{ &lambda.EventSourceMappingFilterCriteriaFilterArgs{ Pattern: pulumi.String(json0), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Lambda event source mappings using the `UUID` (event source mapping identifier). For example:
```sh
$ pulumi import aws:lambda/eventSourceMapping:EventSourceMapping event_source_mapping 12345kxodurf3443
```
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.
func (*EventSourceMapping) ElementType ¶
func (*EventSourceMapping) ElementType() reflect.Type
func (*EventSourceMapping) ToEventSourceMappingOutput ¶
func (i *EventSourceMapping) ToEventSourceMappingOutput() EventSourceMappingOutput
func (*EventSourceMapping) ToEventSourceMappingOutputWithContext ¶
func (i *EventSourceMapping) ToEventSourceMappingOutputWithContext(ctx context.Context) EventSourceMappingOutput
func (*EventSourceMapping) ToOutput ¶ added in v6.1.0
func (i *EventSourceMapping) ToOutput(ctx context.Context) pulumix.Output[*EventSourceMapping]
type EventSourceMappingAmazonManagedKafkaEventSourceConfig ¶
type EventSourceMappingAmazonManagedKafkaEventSourceConfig struct { // A Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [AmazonManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_AmazonManagedKafkaEventSourceConfig.html). ConsumerGroupId *string `pulumi:"consumerGroupId"` }
type EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs ¶
type EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs struct { // A Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [AmazonManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_AmazonManagedKafkaEventSourceConfig.html). ConsumerGroupId pulumi.StringPtrInput `pulumi:"consumerGroupId"` }
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ElementType ¶
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ElementType() reflect.Type
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutput ¶
func (i EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutputWithContext ¶
func (i EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput ¶
func (i EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutputWithContext ¶
func (i EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput
type EventSourceMappingAmazonManagedKafkaEventSourceConfigInput ¶
type EventSourceMappingAmazonManagedKafkaEventSourceConfigInput interface { pulumi.Input ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutputWithContext(context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput }
EventSourceMappingAmazonManagedKafkaEventSourceConfigInput is an input type that accepts EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs and EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput values. You can construct a concrete instance of `EventSourceMappingAmazonManagedKafkaEventSourceConfigInput` via:
EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs{...}
type EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput ¶
type EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput struct{ *pulumi.OutputState }
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ConsumerGroupId ¶
func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ConsumerGroupId() pulumi.StringPtrOutput
A Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [AmazonManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_AmazonManagedKafkaEventSourceConfig.html).
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ElementType ¶
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ElementType() reflect.Type
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutput ¶
func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutputWithContext ¶
func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput ¶
func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutputWithContext ¶
func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput
type EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrInput ¶
type EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrInput interface { pulumi.Input ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutputWithContext(context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput }
EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrInput is an input type that accepts EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs, EventSourceMappingAmazonManagedKafkaEventSourceConfigPtr and EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput values. You can construct a concrete instance of `EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrInput` via:
EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs{...} or: nil
func EventSourceMappingAmazonManagedKafkaEventSourceConfigPtr ¶
func EventSourceMappingAmazonManagedKafkaEventSourceConfigPtr(v *EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrInput
type EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput ¶
type EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput struct{ *pulumi.OutputState }
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ConsumerGroupId ¶
func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ConsumerGroupId() pulumi.StringPtrOutput
A Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [AmazonManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_AmazonManagedKafkaEventSourceConfig.html).
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ElementType ¶
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ElementType() reflect.Type
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput ¶
func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput
func (EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutputWithContext ¶
func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput
type EventSourceMappingArgs ¶
type EventSourceMappingArgs struct { // Additional configuration block for Amazon Managed Kafka sources. Incompatible with "selfManagedEventSource" and "selfManagedKafkaEventSourceConfig". Detailed below. AmazonManagedKafkaEventSourceConfig EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrInput // The largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to `100` for DynamoDB, Kinesis, MQ and MSK, `10` for SQS. BatchSize pulumi.IntPtrInput // - (Optional) If the function returns an error, split the batch in two and retry. Only available for stream sources (DynamoDB and Kinesis). Defaults to `false`. BisectBatchOnFunctionError pulumi.BoolPtrInput // - (Optional) An Amazon SQS queue or Amazon SNS topic destination for failed records. Only available for stream sources (DynamoDB and Kinesis). Detailed below. DestinationConfig EventSourceMappingDestinationConfigPtrInput // - (Optional) Configuration settings for a DocumentDB event source. Detailed below. DocumentDbEventSourceConfig EventSourceMappingDocumentDbEventSourceConfigPtrInput // Determines if the mapping will be enabled on creation. Defaults to `true`. Enabled pulumi.BoolPtrInput // The event source ARN - this is required for Kinesis stream, DynamoDB stream, SQS queue, MQ broker, MSK cluster or DocumentDB change stream. It is incompatible with a Self Managed Kafka source. EventSourceArn pulumi.StringPtrInput // The criteria to use for [event filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html) Kinesis stream, DynamoDB stream, SQS queue event sources. Detailed below. FilterCriteria EventSourceMappingFilterCriteriaPtrInput // The name or the ARN of the Lambda function that will be subscribing to events. FunctionName pulumi.StringInput // A list of current response type enums applied to the event source mapping for [AWS Lambda checkpointing](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-batchfailurereporting). Only available for SQS and stream sources (DynamoDB and Kinesis). Valid values: `ReportBatchItemFailures`. FunctionResponseTypes pulumi.StringArrayInput // The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. Only available for stream sources (DynamoDB and Kinesis) and SQS standard queues. MaximumBatchingWindowInSeconds pulumi.IntPtrInput // - (Optional) The maximum age of a record that Lambda sends to a function for processing. Only available for stream sources (DynamoDB and Kinesis). Must be either -1 (forever, and the default value) or between 60 and 604800 (inclusive). MaximumRecordAgeInSeconds pulumi.IntPtrInput // - (Optional) The maximum number of times to retry when the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of -1 (forever), maximum of 10000. MaximumRetryAttempts pulumi.IntPtrInput // - (Optional) The number of batches to process from each shard concurrently. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of 1, maximum of 10. ParallelizationFactor pulumi.IntPtrInput // The name of the Amazon MQ broker destination queue to consume. Only available for MQ sources. The list must contain exactly one queue name. Queues pulumi.StringPtrInput // Scaling configuration of the event source. Only available for SQS queues. Detailed below. ScalingConfig EventSourceMappingScalingConfigPtrInput // - (Optional) For Self Managed Kafka sources, the location of the self managed cluster. If set, configuration must also include `sourceAccessConfiguration`. Detailed below. SelfManagedEventSource EventSourceMappingSelfManagedEventSourcePtrInput // Additional configuration block for Self Managed Kafka sources. Incompatible with "eventSourceArn" and "amazonManagedKafkaEventSourceConfig". Detailed below. SelfManagedKafkaEventSourceConfig EventSourceMappingSelfManagedKafkaEventSourceConfigPtrInput // For Self Managed Kafka sources, the access configuration for the source. If set, configuration must also include `selfManagedEventSource`. Detailed below. SourceAccessConfigurations EventSourceMappingSourceAccessConfigurationArrayInput // 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, DynamoDB, MSK or Self Managed Apache Kafka. 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 name of the Kafka topics. Only available for MSK sources. A single topic name must be specified. Topics pulumi.StringArrayInput // The duration in seconds of a processing window for [AWS Lambda streaming analytics](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-windows). The range is between 1 second up to 900 seconds. Only available for stream sources (DynamoDB and Kinesis). TumblingWindowInSeconds pulumi.IntPtrInput }
The set of arguments for constructing a EventSourceMapping resource.
func (EventSourceMappingArgs) ElementType ¶
func (EventSourceMappingArgs) ElementType() reflect.Type
type EventSourceMappingArray ¶
type EventSourceMappingArray []EventSourceMappingInput
func (EventSourceMappingArray) ElementType ¶
func (EventSourceMappingArray) ElementType() reflect.Type
func (EventSourceMappingArray) ToEventSourceMappingArrayOutput ¶
func (i EventSourceMappingArray) ToEventSourceMappingArrayOutput() EventSourceMappingArrayOutput
func (EventSourceMappingArray) ToEventSourceMappingArrayOutputWithContext ¶
func (i EventSourceMappingArray) ToEventSourceMappingArrayOutputWithContext(ctx context.Context) EventSourceMappingArrayOutput
func (EventSourceMappingArray) ToOutput ¶ added in v6.1.0
func (i EventSourceMappingArray) ToOutput(ctx context.Context) pulumix.Output[[]*EventSourceMapping]
type EventSourceMappingArrayInput ¶
type EventSourceMappingArrayInput interface { pulumi.Input ToEventSourceMappingArrayOutput() EventSourceMappingArrayOutput ToEventSourceMappingArrayOutputWithContext(context.Context) EventSourceMappingArrayOutput }
EventSourceMappingArrayInput is an input type that accepts EventSourceMappingArray and EventSourceMappingArrayOutput values. You can construct a concrete instance of `EventSourceMappingArrayInput` via:
EventSourceMappingArray{ EventSourceMappingArgs{...} }
type EventSourceMappingArrayOutput ¶
type EventSourceMappingArrayOutput struct{ *pulumi.OutputState }
func (EventSourceMappingArrayOutput) ElementType ¶
func (EventSourceMappingArrayOutput) ElementType() reflect.Type
func (EventSourceMappingArrayOutput) Index ¶
func (o EventSourceMappingArrayOutput) Index(i pulumi.IntInput) EventSourceMappingOutput
func (EventSourceMappingArrayOutput) ToEventSourceMappingArrayOutput ¶
func (o EventSourceMappingArrayOutput) ToEventSourceMappingArrayOutput() EventSourceMappingArrayOutput
func (EventSourceMappingArrayOutput) ToEventSourceMappingArrayOutputWithContext ¶
func (o EventSourceMappingArrayOutput) ToEventSourceMappingArrayOutputWithContext(ctx context.Context) EventSourceMappingArrayOutput
func (EventSourceMappingArrayOutput) ToOutput ¶ added in v6.1.0
func (o EventSourceMappingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*EventSourceMapping]
type EventSourceMappingDestinationConfig ¶
type EventSourceMappingDestinationConfig struct { // The destination configuration for failed invocations. Detailed below. OnFailure *EventSourceMappingDestinationConfigOnFailure `pulumi:"onFailure"` }
type EventSourceMappingDestinationConfigArgs ¶
type EventSourceMappingDestinationConfigArgs struct { // The destination configuration for failed invocations. Detailed below. OnFailure EventSourceMappingDestinationConfigOnFailurePtrInput `pulumi:"onFailure"` }
func (EventSourceMappingDestinationConfigArgs) ElementType ¶
func (EventSourceMappingDestinationConfigArgs) ElementType() reflect.Type
func (EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigOutput ¶
func (i EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigOutput() EventSourceMappingDestinationConfigOutput
func (EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigOutputWithContext ¶
func (i EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOutput
func (EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigPtrOutput ¶
func (i EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigPtrOutput() EventSourceMappingDestinationConfigPtrOutput
func (EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigPtrOutputWithContext ¶
func (i EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigPtrOutput
func (EventSourceMappingDestinationConfigArgs) ToOutput ¶ added in v6.1.0
func (i EventSourceMappingDestinationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingDestinationConfig]
type EventSourceMappingDestinationConfigInput ¶
type EventSourceMappingDestinationConfigInput interface { pulumi.Input ToEventSourceMappingDestinationConfigOutput() EventSourceMappingDestinationConfigOutput ToEventSourceMappingDestinationConfigOutputWithContext(context.Context) EventSourceMappingDestinationConfigOutput }
EventSourceMappingDestinationConfigInput is an input type that accepts EventSourceMappingDestinationConfigArgs and EventSourceMappingDestinationConfigOutput values. You can construct a concrete instance of `EventSourceMappingDestinationConfigInput` via:
EventSourceMappingDestinationConfigArgs{...}
type EventSourceMappingDestinationConfigOnFailure ¶
type EventSourceMappingDestinationConfigOnFailure struct { // The Amazon Resource Name (ARN) of the destination resource. DestinationArn string `pulumi:"destinationArn"` }
type EventSourceMappingDestinationConfigOnFailureArgs ¶
type EventSourceMappingDestinationConfigOnFailureArgs struct { // The Amazon Resource Name (ARN) of the destination resource. DestinationArn pulumi.StringInput `pulumi:"destinationArn"` }
func (EventSourceMappingDestinationConfigOnFailureArgs) ElementType ¶
func (EventSourceMappingDestinationConfigOnFailureArgs) ElementType() reflect.Type
func (EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailureOutput ¶
func (i EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailureOutput() EventSourceMappingDestinationConfigOnFailureOutput
func (EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailureOutputWithContext ¶
func (i EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailureOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOnFailureOutput
func (EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailurePtrOutput ¶
func (i EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailurePtrOutput() EventSourceMappingDestinationConfigOnFailurePtrOutput
func (EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailurePtrOutputWithContext ¶
func (i EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOnFailurePtrOutput
type EventSourceMappingDestinationConfigOnFailureInput ¶
type EventSourceMappingDestinationConfigOnFailureInput interface { pulumi.Input ToEventSourceMappingDestinationConfigOnFailureOutput() EventSourceMappingDestinationConfigOnFailureOutput ToEventSourceMappingDestinationConfigOnFailureOutputWithContext(context.Context) EventSourceMappingDestinationConfigOnFailureOutput }
EventSourceMappingDestinationConfigOnFailureInput is an input type that accepts EventSourceMappingDestinationConfigOnFailureArgs and EventSourceMappingDestinationConfigOnFailureOutput values. You can construct a concrete instance of `EventSourceMappingDestinationConfigOnFailureInput` via:
EventSourceMappingDestinationConfigOnFailureArgs{...}
type EventSourceMappingDestinationConfigOnFailureOutput ¶
type EventSourceMappingDestinationConfigOnFailureOutput struct{ *pulumi.OutputState }
func (EventSourceMappingDestinationConfigOnFailureOutput) DestinationArn ¶
func (o EventSourceMappingDestinationConfigOnFailureOutput) DestinationArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the destination resource.
func (EventSourceMappingDestinationConfigOnFailureOutput) ElementType ¶
func (EventSourceMappingDestinationConfigOnFailureOutput) ElementType() reflect.Type
func (EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailureOutput ¶
func (o EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailureOutput() EventSourceMappingDestinationConfigOnFailureOutput
func (EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailureOutputWithContext ¶
func (o EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailureOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOnFailureOutput
func (EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutput ¶
func (o EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutput() EventSourceMappingDestinationConfigOnFailurePtrOutput
func (EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutputWithContext ¶
func (o EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOnFailurePtrOutput
type EventSourceMappingDestinationConfigOnFailurePtrInput ¶
type EventSourceMappingDestinationConfigOnFailurePtrInput interface { pulumi.Input ToEventSourceMappingDestinationConfigOnFailurePtrOutput() EventSourceMappingDestinationConfigOnFailurePtrOutput ToEventSourceMappingDestinationConfigOnFailurePtrOutputWithContext(context.Context) EventSourceMappingDestinationConfigOnFailurePtrOutput }
EventSourceMappingDestinationConfigOnFailurePtrInput is an input type that accepts EventSourceMappingDestinationConfigOnFailureArgs, EventSourceMappingDestinationConfigOnFailurePtr and EventSourceMappingDestinationConfigOnFailurePtrOutput values. You can construct a concrete instance of `EventSourceMappingDestinationConfigOnFailurePtrInput` via:
EventSourceMappingDestinationConfigOnFailureArgs{...} or: nil
func EventSourceMappingDestinationConfigOnFailurePtr ¶
func EventSourceMappingDestinationConfigOnFailurePtr(v *EventSourceMappingDestinationConfigOnFailureArgs) EventSourceMappingDestinationConfigOnFailurePtrInput
type EventSourceMappingDestinationConfigOnFailurePtrOutput ¶
type EventSourceMappingDestinationConfigOnFailurePtrOutput struct{ *pulumi.OutputState }
func (EventSourceMappingDestinationConfigOnFailurePtrOutput) DestinationArn ¶
func (o EventSourceMappingDestinationConfigOnFailurePtrOutput) DestinationArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the destination resource.
func (EventSourceMappingDestinationConfigOnFailurePtrOutput) ElementType ¶
func (EventSourceMappingDestinationConfigOnFailurePtrOutput) ElementType() reflect.Type
func (EventSourceMappingDestinationConfigOnFailurePtrOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutput ¶
func (o EventSourceMappingDestinationConfigOnFailurePtrOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutput() EventSourceMappingDestinationConfigOnFailurePtrOutput
func (EventSourceMappingDestinationConfigOnFailurePtrOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutputWithContext ¶
func (o EventSourceMappingDestinationConfigOnFailurePtrOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOnFailurePtrOutput
type EventSourceMappingDestinationConfigOutput ¶
type EventSourceMappingDestinationConfigOutput struct{ *pulumi.OutputState }
func (EventSourceMappingDestinationConfigOutput) ElementType ¶
func (EventSourceMappingDestinationConfigOutput) ElementType() reflect.Type
func (EventSourceMappingDestinationConfigOutput) OnFailure ¶
func (o EventSourceMappingDestinationConfigOutput) OnFailure() EventSourceMappingDestinationConfigOnFailurePtrOutput
The destination configuration for failed invocations. Detailed below.
func (EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigOutput ¶
func (o EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigOutput() EventSourceMappingDestinationConfigOutput
func (EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigOutputWithContext ¶
func (o EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOutput
func (EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigPtrOutput ¶
func (o EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigPtrOutput() EventSourceMappingDestinationConfigPtrOutput
func (EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigPtrOutputWithContext ¶
func (o EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigPtrOutput
func (EventSourceMappingDestinationConfigOutput) ToOutput ¶ added in v6.1.0
func (o EventSourceMappingDestinationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingDestinationConfig]
type EventSourceMappingDestinationConfigPtrInput ¶
type EventSourceMappingDestinationConfigPtrInput interface { pulumi.Input ToEventSourceMappingDestinationConfigPtrOutput() EventSourceMappingDestinationConfigPtrOutput ToEventSourceMappingDestinationConfigPtrOutputWithContext(context.Context) EventSourceMappingDestinationConfigPtrOutput }
EventSourceMappingDestinationConfigPtrInput is an input type that accepts EventSourceMappingDestinationConfigArgs, EventSourceMappingDestinationConfigPtr and EventSourceMappingDestinationConfigPtrOutput values. You can construct a concrete instance of `EventSourceMappingDestinationConfigPtrInput` via:
EventSourceMappingDestinationConfigArgs{...} or: nil
func EventSourceMappingDestinationConfigPtr ¶
func EventSourceMappingDestinationConfigPtr(v *EventSourceMappingDestinationConfigArgs) EventSourceMappingDestinationConfigPtrInput
type EventSourceMappingDestinationConfigPtrOutput ¶
type EventSourceMappingDestinationConfigPtrOutput struct{ *pulumi.OutputState }
func (EventSourceMappingDestinationConfigPtrOutput) ElementType ¶
func (EventSourceMappingDestinationConfigPtrOutput) ElementType() reflect.Type
func (EventSourceMappingDestinationConfigPtrOutput) OnFailure ¶
func (o EventSourceMappingDestinationConfigPtrOutput) OnFailure() EventSourceMappingDestinationConfigOnFailurePtrOutput
The destination configuration for failed invocations. Detailed below.
func (EventSourceMappingDestinationConfigPtrOutput) ToEventSourceMappingDestinationConfigPtrOutput ¶
func (o EventSourceMappingDestinationConfigPtrOutput) ToEventSourceMappingDestinationConfigPtrOutput() EventSourceMappingDestinationConfigPtrOutput
func (EventSourceMappingDestinationConfigPtrOutput) ToEventSourceMappingDestinationConfigPtrOutputWithContext ¶
func (o EventSourceMappingDestinationConfigPtrOutput) ToEventSourceMappingDestinationConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigPtrOutput
func (EventSourceMappingDestinationConfigPtrOutput) ToOutput ¶ added in v6.1.0
func (o EventSourceMappingDestinationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventSourceMappingDestinationConfig]
type EventSourceMappingDocumentDbEventSourceConfig ¶
type EventSourceMappingDocumentDbEventSourceConfig struct { // The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections. CollectionName *string `pulumi:"collectionName"` // The name of the database to consume within the DocumentDB cluster. DatabaseName string `pulumi:"databaseName"` // Determines what DocumentDB sends to your event stream during document update operations. If set to `UpdateLookup`, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes. Valid values: `UpdateLookup`, `Default`. FullDocument *string `pulumi:"fullDocument"` }
type EventSourceMappingDocumentDbEventSourceConfigArgs ¶
type EventSourceMappingDocumentDbEventSourceConfigArgs struct { // The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections. CollectionName pulumi.StringPtrInput `pulumi:"collectionName"` // The name of the database to consume within the DocumentDB cluster. DatabaseName pulumi.StringInput `pulumi:"databaseName"` // Determines what DocumentDB sends to your event stream during document update operations. If set to `UpdateLookup`, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes. Valid values: `UpdateLookup`, `Default`. FullDocument pulumi.StringPtrInput `pulumi:"fullDocument"` }
func (EventSourceMappingDocumentDbEventSourceConfigArgs) ElementType ¶
func (EventSourceMappingDocumentDbEventSourceConfigArgs) ElementType() reflect.Type
func (EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigOutput ¶
func (i EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigOutput() EventSourceMappingDocumentDbEventSourceConfigOutput
func (EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigOutputWithContext ¶
func (i EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingDocumentDbEventSourceConfigOutput
func (EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutput ¶
func (i EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutput() EventSourceMappingDocumentDbEventSourceConfigPtrOutput
func (EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutputWithContext ¶
func (i EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDocumentDbEventSourceConfigPtrOutput
type EventSourceMappingDocumentDbEventSourceConfigInput ¶
type EventSourceMappingDocumentDbEventSourceConfigInput interface { pulumi.Input ToEventSourceMappingDocumentDbEventSourceConfigOutput() EventSourceMappingDocumentDbEventSourceConfigOutput ToEventSourceMappingDocumentDbEventSourceConfigOutputWithContext(context.Context) EventSourceMappingDocumentDbEventSourceConfigOutput }
EventSourceMappingDocumentDbEventSourceConfigInput is an input type that accepts EventSourceMappingDocumentDbEventSourceConfigArgs and EventSourceMappingDocumentDbEventSourceConfigOutput values. You can construct a concrete instance of `EventSourceMappingDocumentDbEventSourceConfigInput` via:
EventSourceMappingDocumentDbEventSourceConfigArgs{...}
type EventSourceMappingDocumentDbEventSourceConfigOutput ¶
type EventSourceMappingDocumentDbEventSourceConfigOutput struct{ *pulumi.OutputState }
func (EventSourceMappingDocumentDbEventSourceConfigOutput) CollectionName ¶
func (o EventSourceMappingDocumentDbEventSourceConfigOutput) CollectionName() pulumi.StringPtrOutput
The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
func (EventSourceMappingDocumentDbEventSourceConfigOutput) DatabaseName ¶
func (o EventSourceMappingDocumentDbEventSourceConfigOutput) DatabaseName() pulumi.StringOutput
The name of the database to consume within the DocumentDB cluster.
func (EventSourceMappingDocumentDbEventSourceConfigOutput) ElementType ¶
func (EventSourceMappingDocumentDbEventSourceConfigOutput) ElementType() reflect.Type
func (EventSourceMappingDocumentDbEventSourceConfigOutput) FullDocument ¶
func (o EventSourceMappingDocumentDbEventSourceConfigOutput) FullDocument() pulumi.StringPtrOutput
Determines what DocumentDB sends to your event stream during document update operations. If set to `UpdateLookup`, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes. Valid values: `UpdateLookup`, `Default`.
func (EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigOutput ¶
func (o EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigOutput() EventSourceMappingDocumentDbEventSourceConfigOutput
func (EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigOutputWithContext ¶
func (o EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingDocumentDbEventSourceConfigOutput
func (EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutput ¶
func (o EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutput() EventSourceMappingDocumentDbEventSourceConfigPtrOutput
func (EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutputWithContext ¶
func (o EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDocumentDbEventSourceConfigPtrOutput
type EventSourceMappingDocumentDbEventSourceConfigPtrInput ¶
type EventSourceMappingDocumentDbEventSourceConfigPtrInput interface { pulumi.Input ToEventSourceMappingDocumentDbEventSourceConfigPtrOutput() EventSourceMappingDocumentDbEventSourceConfigPtrOutput ToEventSourceMappingDocumentDbEventSourceConfigPtrOutputWithContext(context.Context) EventSourceMappingDocumentDbEventSourceConfigPtrOutput }
EventSourceMappingDocumentDbEventSourceConfigPtrInput is an input type that accepts EventSourceMappingDocumentDbEventSourceConfigArgs, EventSourceMappingDocumentDbEventSourceConfigPtr and EventSourceMappingDocumentDbEventSourceConfigPtrOutput values. You can construct a concrete instance of `EventSourceMappingDocumentDbEventSourceConfigPtrInput` via:
EventSourceMappingDocumentDbEventSourceConfigArgs{...} or: nil
func EventSourceMappingDocumentDbEventSourceConfigPtr ¶
func EventSourceMappingDocumentDbEventSourceConfigPtr(v *EventSourceMappingDocumentDbEventSourceConfigArgs) EventSourceMappingDocumentDbEventSourceConfigPtrInput
type EventSourceMappingDocumentDbEventSourceConfigPtrOutput ¶
type EventSourceMappingDocumentDbEventSourceConfigPtrOutput struct{ *pulumi.OutputState }
func (EventSourceMappingDocumentDbEventSourceConfigPtrOutput) CollectionName ¶
func (o EventSourceMappingDocumentDbEventSourceConfigPtrOutput) CollectionName() pulumi.StringPtrOutput
The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
func (EventSourceMappingDocumentDbEventSourceConfigPtrOutput) DatabaseName ¶
func (o EventSourceMappingDocumentDbEventSourceConfigPtrOutput) DatabaseName() pulumi.StringPtrOutput
The name of the database to consume within the DocumentDB cluster.
func (EventSourceMappingDocumentDbEventSourceConfigPtrOutput) ElementType ¶
func (EventSourceMappingDocumentDbEventSourceConfigPtrOutput) ElementType() reflect.Type
func (EventSourceMappingDocumentDbEventSourceConfigPtrOutput) FullDocument ¶
func (o EventSourceMappingDocumentDbEventSourceConfigPtrOutput) FullDocument() pulumi.StringPtrOutput
Determines what DocumentDB sends to your event stream during document update operations. If set to `UpdateLookup`, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes. Valid values: `UpdateLookup`, `Default`.
func (EventSourceMappingDocumentDbEventSourceConfigPtrOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutput ¶
func (o EventSourceMappingDocumentDbEventSourceConfigPtrOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutput() EventSourceMappingDocumentDbEventSourceConfigPtrOutput
func (EventSourceMappingDocumentDbEventSourceConfigPtrOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutputWithContext ¶
func (o EventSourceMappingDocumentDbEventSourceConfigPtrOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDocumentDbEventSourceConfigPtrOutput
type EventSourceMappingFilterCriteria ¶
type EventSourceMappingFilterCriteria struct { // A set of up to 5 filter. If an event satisfies at least one, Lambda sends the event to the function or adds it to the next batch. Detailed below. Filters []EventSourceMappingFilterCriteriaFilter `pulumi:"filters"` }
type EventSourceMappingFilterCriteriaArgs ¶
type EventSourceMappingFilterCriteriaArgs struct { // A set of up to 5 filter. If an event satisfies at least one, Lambda sends the event to the function or adds it to the next batch. Detailed below. Filters EventSourceMappingFilterCriteriaFilterArrayInput `pulumi:"filters"` }
func (EventSourceMappingFilterCriteriaArgs) ElementType ¶
func (EventSourceMappingFilterCriteriaArgs) ElementType() reflect.Type
func (EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaOutput ¶
func (i EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaOutput() EventSourceMappingFilterCriteriaOutput
func (EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaOutputWithContext ¶
func (i EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaOutput
func (EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaPtrOutput ¶
func (i EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaPtrOutput() EventSourceMappingFilterCriteriaPtrOutput
func (EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaPtrOutputWithContext ¶
func (i EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaPtrOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaPtrOutput
func (EventSourceMappingFilterCriteriaArgs) ToOutput ¶ added in v6.1.0
func (i EventSourceMappingFilterCriteriaArgs) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingFilterCriteria]
type EventSourceMappingFilterCriteriaFilter ¶
type EventSourceMappingFilterCriteriaFilter struct { // A filter pattern up to 4096 characters. See [Filter Rule Syntax](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax). Pattern *string `pulumi:"pattern"` }
type EventSourceMappingFilterCriteriaFilterArgs ¶
type EventSourceMappingFilterCriteriaFilterArgs struct { // A filter pattern up to 4096 characters. See [Filter Rule Syntax](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax). Pattern pulumi.StringPtrInput `pulumi:"pattern"` }
func (EventSourceMappingFilterCriteriaFilterArgs) ElementType ¶
func (EventSourceMappingFilterCriteriaFilterArgs) ElementType() reflect.Type
func (EventSourceMappingFilterCriteriaFilterArgs) ToEventSourceMappingFilterCriteriaFilterOutput ¶
func (i EventSourceMappingFilterCriteriaFilterArgs) ToEventSourceMappingFilterCriteriaFilterOutput() EventSourceMappingFilterCriteriaFilterOutput
func (EventSourceMappingFilterCriteriaFilterArgs) ToEventSourceMappingFilterCriteriaFilterOutputWithContext ¶
func (i EventSourceMappingFilterCriteriaFilterArgs) ToEventSourceMappingFilterCriteriaFilterOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaFilterOutput
func (EventSourceMappingFilterCriteriaFilterArgs) ToOutput ¶ added in v6.1.0
func (i EventSourceMappingFilterCriteriaFilterArgs) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingFilterCriteriaFilter]
type EventSourceMappingFilterCriteriaFilterArray ¶
type EventSourceMappingFilterCriteriaFilterArray []EventSourceMappingFilterCriteriaFilterInput
func (EventSourceMappingFilterCriteriaFilterArray) ElementType ¶
func (EventSourceMappingFilterCriteriaFilterArray) ElementType() reflect.Type
func (EventSourceMappingFilterCriteriaFilterArray) ToEventSourceMappingFilterCriteriaFilterArrayOutput ¶
func (i EventSourceMappingFilterCriteriaFilterArray) ToEventSourceMappingFilterCriteriaFilterArrayOutput() EventSourceMappingFilterCriteriaFilterArrayOutput
func (EventSourceMappingFilterCriteriaFilterArray) ToEventSourceMappingFilterCriteriaFilterArrayOutputWithContext ¶
func (i EventSourceMappingFilterCriteriaFilterArray) ToEventSourceMappingFilterCriteriaFilterArrayOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaFilterArrayOutput
func (EventSourceMappingFilterCriteriaFilterArray) ToOutput ¶ added in v6.1.0
func (i EventSourceMappingFilterCriteriaFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]EventSourceMappingFilterCriteriaFilter]
type EventSourceMappingFilterCriteriaFilterArrayInput ¶
type EventSourceMappingFilterCriteriaFilterArrayInput interface { pulumi.Input ToEventSourceMappingFilterCriteriaFilterArrayOutput() EventSourceMappingFilterCriteriaFilterArrayOutput ToEventSourceMappingFilterCriteriaFilterArrayOutputWithContext(context.Context) EventSourceMappingFilterCriteriaFilterArrayOutput }
EventSourceMappingFilterCriteriaFilterArrayInput is an input type that accepts EventSourceMappingFilterCriteriaFilterArray and EventSourceMappingFilterCriteriaFilterArrayOutput values. You can construct a concrete instance of `EventSourceMappingFilterCriteriaFilterArrayInput` via:
EventSourceMappingFilterCriteriaFilterArray{ EventSourceMappingFilterCriteriaFilterArgs{...} }
type EventSourceMappingFilterCriteriaFilterArrayOutput ¶
type EventSourceMappingFilterCriteriaFilterArrayOutput struct{ *pulumi.OutputState }
func (EventSourceMappingFilterCriteriaFilterArrayOutput) ElementType ¶
func (EventSourceMappingFilterCriteriaFilterArrayOutput) ElementType() reflect.Type
func (EventSourceMappingFilterCriteriaFilterArrayOutput) ToEventSourceMappingFilterCriteriaFilterArrayOutput ¶
func (o EventSourceMappingFilterCriteriaFilterArrayOutput) ToEventSourceMappingFilterCriteriaFilterArrayOutput() EventSourceMappingFilterCriteriaFilterArrayOutput
func (EventSourceMappingFilterCriteriaFilterArrayOutput) ToEventSourceMappingFilterCriteriaFilterArrayOutputWithContext ¶
func (o EventSourceMappingFilterCriteriaFilterArrayOutput) ToEventSourceMappingFilterCriteriaFilterArrayOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaFilterArrayOutput
func (EventSourceMappingFilterCriteriaFilterArrayOutput) ToOutput ¶ added in v6.1.0
func (o EventSourceMappingFilterCriteriaFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EventSourceMappingFilterCriteriaFilter]
type EventSourceMappingFilterCriteriaFilterInput ¶
type EventSourceMappingFilterCriteriaFilterInput interface { pulumi.Input ToEventSourceMappingFilterCriteriaFilterOutput() EventSourceMappingFilterCriteriaFilterOutput ToEventSourceMappingFilterCriteriaFilterOutputWithContext(context.Context) EventSourceMappingFilterCriteriaFilterOutput }
EventSourceMappingFilterCriteriaFilterInput is an input type that accepts EventSourceMappingFilterCriteriaFilterArgs and EventSourceMappingFilterCriteriaFilterOutput values. You can construct a concrete instance of `EventSourceMappingFilterCriteriaFilterInput` via:
EventSourceMappingFilterCriteriaFilterArgs{...}
type EventSourceMappingFilterCriteriaFilterOutput ¶
type EventSourceMappingFilterCriteriaFilterOutput struct{ *pulumi.OutputState }
func (EventSourceMappingFilterCriteriaFilterOutput) ElementType ¶
func (EventSourceMappingFilterCriteriaFilterOutput) ElementType() reflect.Type
func (EventSourceMappingFilterCriteriaFilterOutput) Pattern ¶
func (o EventSourceMappingFilterCriteriaFilterOutput) Pattern() pulumi.StringPtrOutput
A filter pattern up to 4096 characters. See [Filter Rule Syntax](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax).
func (EventSourceMappingFilterCriteriaFilterOutput) ToEventSourceMappingFilterCriteriaFilterOutput ¶
func (o EventSourceMappingFilterCriteriaFilterOutput) ToEventSourceMappingFilterCriteriaFilterOutput() EventSourceMappingFilterCriteriaFilterOutput
func (EventSourceMappingFilterCriteriaFilterOutput) ToEventSourceMappingFilterCriteriaFilterOutputWithContext ¶
func (o EventSourceMappingFilterCriteriaFilterOutput) ToEventSourceMappingFilterCriteriaFilterOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaFilterOutput
func (EventSourceMappingFilterCriteriaFilterOutput) ToOutput ¶ added in v6.1.0
func (o EventSourceMappingFilterCriteriaFilterOutput) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingFilterCriteriaFilter]
type EventSourceMappingFilterCriteriaInput ¶
type EventSourceMappingFilterCriteriaInput interface { pulumi.Input ToEventSourceMappingFilterCriteriaOutput() EventSourceMappingFilterCriteriaOutput ToEventSourceMappingFilterCriteriaOutputWithContext(context.Context) EventSourceMappingFilterCriteriaOutput }
EventSourceMappingFilterCriteriaInput is an input type that accepts EventSourceMappingFilterCriteriaArgs and EventSourceMappingFilterCriteriaOutput values. You can construct a concrete instance of `EventSourceMappingFilterCriteriaInput` via:
EventSourceMappingFilterCriteriaArgs{...}
type EventSourceMappingFilterCriteriaOutput ¶
type EventSourceMappingFilterCriteriaOutput struct{ *pulumi.OutputState }
func (EventSourceMappingFilterCriteriaOutput) ElementType ¶
func (EventSourceMappingFilterCriteriaOutput) ElementType() reflect.Type
func (EventSourceMappingFilterCriteriaOutput) Filters ¶
func (o EventSourceMappingFilterCriteriaOutput) Filters() EventSourceMappingFilterCriteriaFilterArrayOutput
A set of up to 5 filter. If an event satisfies at least one, Lambda sends the event to the function or adds it to the next batch. Detailed below.
func (EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaOutput ¶
func (o EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaOutput() EventSourceMappingFilterCriteriaOutput
func (EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaOutputWithContext ¶
func (o EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaOutput
func (EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaPtrOutput ¶
func (o EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaPtrOutput() EventSourceMappingFilterCriteriaPtrOutput
func (EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaPtrOutputWithContext ¶
func (o EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaPtrOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaPtrOutput
func (EventSourceMappingFilterCriteriaOutput) ToOutput ¶ added in v6.1.0
func (o EventSourceMappingFilterCriteriaOutput) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingFilterCriteria]
type EventSourceMappingFilterCriteriaPtrInput ¶
type EventSourceMappingFilterCriteriaPtrInput interface { pulumi.Input ToEventSourceMappingFilterCriteriaPtrOutput() EventSourceMappingFilterCriteriaPtrOutput ToEventSourceMappingFilterCriteriaPtrOutputWithContext(context.Context) EventSourceMappingFilterCriteriaPtrOutput }
EventSourceMappingFilterCriteriaPtrInput is an input type that accepts EventSourceMappingFilterCriteriaArgs, EventSourceMappingFilterCriteriaPtr and EventSourceMappingFilterCriteriaPtrOutput values. You can construct a concrete instance of `EventSourceMappingFilterCriteriaPtrInput` via:
EventSourceMappingFilterCriteriaArgs{...} or: nil
func EventSourceMappingFilterCriteriaPtr ¶
func EventSourceMappingFilterCriteriaPtr(v *EventSourceMappingFilterCriteriaArgs) EventSourceMappingFilterCriteriaPtrInput
type EventSourceMappingFilterCriteriaPtrOutput ¶
type EventSourceMappingFilterCriteriaPtrOutput struct{ *pulumi.OutputState }
func (EventSourceMappingFilterCriteriaPtrOutput) ElementType ¶
func (EventSourceMappingFilterCriteriaPtrOutput) ElementType() reflect.Type
func (EventSourceMappingFilterCriteriaPtrOutput) Filters ¶
func (o EventSourceMappingFilterCriteriaPtrOutput) Filters() EventSourceMappingFilterCriteriaFilterArrayOutput
A set of up to 5 filter. If an event satisfies at least one, Lambda sends the event to the function or adds it to the next batch. Detailed below.
func (EventSourceMappingFilterCriteriaPtrOutput) ToEventSourceMappingFilterCriteriaPtrOutput ¶
func (o EventSourceMappingFilterCriteriaPtrOutput) ToEventSourceMappingFilterCriteriaPtrOutput() EventSourceMappingFilterCriteriaPtrOutput
func (EventSourceMappingFilterCriteriaPtrOutput) ToEventSourceMappingFilterCriteriaPtrOutputWithContext ¶
func (o EventSourceMappingFilterCriteriaPtrOutput) ToEventSourceMappingFilterCriteriaPtrOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaPtrOutput
func (EventSourceMappingFilterCriteriaPtrOutput) ToOutput ¶ added in v6.1.0
func (o EventSourceMappingFilterCriteriaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventSourceMappingFilterCriteria]
type EventSourceMappingInput ¶
type EventSourceMappingInput interface { pulumi.Input ToEventSourceMappingOutput() EventSourceMappingOutput ToEventSourceMappingOutputWithContext(ctx context.Context) EventSourceMappingOutput }
type EventSourceMappingMap ¶
type EventSourceMappingMap map[string]EventSourceMappingInput
func (EventSourceMappingMap) ElementType ¶
func (EventSourceMappingMap) ElementType() reflect.Type
func (EventSourceMappingMap) ToEventSourceMappingMapOutput ¶
func (i EventSourceMappingMap) ToEventSourceMappingMapOutput() EventSourceMappingMapOutput
func (EventSourceMappingMap) ToEventSourceMappingMapOutputWithContext ¶
func (i EventSourceMappingMap) ToEventSourceMappingMapOutputWithContext(ctx context.Context) EventSourceMappingMapOutput
func (EventSourceMappingMap) ToOutput ¶ added in v6.1.0
func (i EventSourceMappingMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*EventSourceMapping]
type EventSourceMappingMapInput ¶
type EventSourceMappingMapInput interface { pulumi.Input ToEventSourceMappingMapOutput() EventSourceMappingMapOutput ToEventSourceMappingMapOutputWithContext(context.Context) EventSourceMappingMapOutput }
EventSourceMappingMapInput is an input type that accepts EventSourceMappingMap and EventSourceMappingMapOutput values. You can construct a concrete instance of `EventSourceMappingMapInput` via:
EventSourceMappingMap{ "key": EventSourceMappingArgs{...} }
type EventSourceMappingMapOutput ¶
type EventSourceMappingMapOutput struct{ *pulumi.OutputState }
func (EventSourceMappingMapOutput) ElementType ¶
func (EventSourceMappingMapOutput) ElementType() reflect.Type
func (EventSourceMappingMapOutput) MapIndex ¶
func (o EventSourceMappingMapOutput) MapIndex(k pulumi.StringInput) EventSourceMappingOutput
func (EventSourceMappingMapOutput) ToEventSourceMappingMapOutput ¶
func (o EventSourceMappingMapOutput) ToEventSourceMappingMapOutput() EventSourceMappingMapOutput
func (EventSourceMappingMapOutput) ToEventSourceMappingMapOutputWithContext ¶
func (o EventSourceMappingMapOutput) ToEventSourceMappingMapOutputWithContext(ctx context.Context) EventSourceMappingMapOutput
func (EventSourceMappingMapOutput) ToOutput ¶ added in v6.1.0
func (o EventSourceMappingMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*EventSourceMapping]
type EventSourceMappingOutput ¶
type EventSourceMappingOutput struct{ *pulumi.OutputState }
func (EventSourceMappingOutput) AmazonManagedKafkaEventSourceConfig ¶
func (o EventSourceMappingOutput) AmazonManagedKafkaEventSourceConfig() EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput
Additional configuration block for Amazon Managed Kafka sources. Incompatible with "selfManagedEventSource" and "selfManagedKafkaEventSourceConfig". Detailed below.
func (EventSourceMappingOutput) BatchSize ¶
func (o EventSourceMappingOutput) BatchSize() pulumi.IntPtrOutput
The largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to `100` for DynamoDB, Kinesis, MQ and MSK, `10` for SQS.
func (EventSourceMappingOutput) BisectBatchOnFunctionError ¶
func (o EventSourceMappingOutput) BisectBatchOnFunctionError() pulumi.BoolPtrOutput
- (Optional) If the function returns an error, split the batch in two and retry. Only available for stream sources (DynamoDB and Kinesis). Defaults to `false`.
func (EventSourceMappingOutput) DestinationConfig ¶
func (o EventSourceMappingOutput) DestinationConfig() EventSourceMappingDestinationConfigPtrOutput
- (Optional) An Amazon SQS queue or Amazon SNS topic destination for failed records. Only available for stream sources (DynamoDB and Kinesis). Detailed below.
func (EventSourceMappingOutput) DocumentDbEventSourceConfig ¶
func (o EventSourceMappingOutput) DocumentDbEventSourceConfig() EventSourceMappingDocumentDbEventSourceConfigPtrOutput
- (Optional) Configuration settings for a DocumentDB event source. Detailed below.
func (EventSourceMappingOutput) ElementType ¶
func (EventSourceMappingOutput) ElementType() reflect.Type
func (EventSourceMappingOutput) Enabled ¶
func (o EventSourceMappingOutput) Enabled() pulumi.BoolPtrOutput
Determines if the mapping will be enabled on creation. Defaults to `true`.
func (EventSourceMappingOutput) EventSourceArn ¶
func (o EventSourceMappingOutput) EventSourceArn() pulumi.StringPtrOutput
The event source ARN - this is required for Kinesis stream, DynamoDB stream, SQS queue, MQ broker, MSK cluster or DocumentDB change stream. It is incompatible with a Self Managed Kafka source.
func (EventSourceMappingOutput) FilterCriteria ¶
func (o EventSourceMappingOutput) FilterCriteria() EventSourceMappingFilterCriteriaPtrOutput
The criteria to use for [event filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html) Kinesis stream, DynamoDB stream, SQS queue event sources. Detailed below.
func (EventSourceMappingOutput) FunctionArn ¶
func (o EventSourceMappingOutput) FunctionArn() pulumi.StringOutput
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.)
func (EventSourceMappingOutput) FunctionName ¶
func (o EventSourceMappingOutput) FunctionName() pulumi.StringOutput
The name or the ARN of the Lambda function that will be subscribing to events.
func (EventSourceMappingOutput) FunctionResponseTypes ¶
func (o EventSourceMappingOutput) FunctionResponseTypes() pulumi.StringArrayOutput
A list of current response type enums applied to the event source mapping for [AWS Lambda checkpointing](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-batchfailurereporting). Only available for SQS and stream sources (DynamoDB and Kinesis). Valid values: `ReportBatchItemFailures`.
func (EventSourceMappingOutput) LastModified ¶
func (o EventSourceMappingOutput) LastModified() pulumi.StringOutput
The date this resource was last modified.
func (EventSourceMappingOutput) LastProcessingResult ¶
func (o EventSourceMappingOutput) LastProcessingResult() pulumi.StringOutput
The result of the last AWS Lambda invocation of your Lambda function.
func (EventSourceMappingOutput) MaximumBatchingWindowInSeconds ¶
func (o EventSourceMappingOutput) MaximumBatchingWindowInSeconds() pulumi.IntPtrOutput
The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. Only available for stream sources (DynamoDB and Kinesis) and SQS standard queues.
func (EventSourceMappingOutput) MaximumRecordAgeInSeconds ¶
func (o EventSourceMappingOutput) MaximumRecordAgeInSeconds() pulumi.IntOutput
- (Optional) The maximum age of a record that Lambda sends to a function for processing. Only available for stream sources (DynamoDB and Kinesis). Must be either -1 (forever, and the default value) or between 60 and 604800 (inclusive).
func (EventSourceMappingOutput) MaximumRetryAttempts ¶
func (o EventSourceMappingOutput) MaximumRetryAttempts() pulumi.IntOutput
- (Optional) The maximum number of times to retry when the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of -1 (forever), maximum of 10000.
func (EventSourceMappingOutput) ParallelizationFactor ¶
func (o EventSourceMappingOutput) ParallelizationFactor() pulumi.IntOutput
- (Optional) The number of batches to process from each shard concurrently. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of 1, maximum of 10.
func (EventSourceMappingOutput) Queues ¶
func (o EventSourceMappingOutput) Queues() pulumi.StringPtrOutput
The name of the Amazon MQ broker destination queue to consume. Only available for MQ sources. The list must contain exactly one queue name.
func (EventSourceMappingOutput) ScalingConfig ¶
func (o EventSourceMappingOutput) ScalingConfig() EventSourceMappingScalingConfigPtrOutput
Scaling configuration of the event source. Only available for SQS queues. Detailed below.
func (EventSourceMappingOutput) SelfManagedEventSource ¶
func (o EventSourceMappingOutput) SelfManagedEventSource() EventSourceMappingSelfManagedEventSourcePtrOutput
- (Optional) For Self Managed Kafka sources, the location of the self managed cluster. If set, configuration must also include `sourceAccessConfiguration`. Detailed below.
func (EventSourceMappingOutput) SelfManagedKafkaEventSourceConfig ¶
func (o EventSourceMappingOutput) SelfManagedKafkaEventSourceConfig() EventSourceMappingSelfManagedKafkaEventSourceConfigOutput
Additional configuration block for Self Managed Kafka sources. Incompatible with "eventSourceArn" and "amazonManagedKafkaEventSourceConfig". Detailed below.
func (EventSourceMappingOutput) SourceAccessConfigurations ¶
func (o EventSourceMappingOutput) SourceAccessConfigurations() EventSourceMappingSourceAccessConfigurationArrayOutput
For Self Managed Kafka sources, the access configuration for the source. If set, configuration must also include `selfManagedEventSource`. Detailed below.
func (EventSourceMappingOutput) StartingPosition ¶
func (o EventSourceMappingOutput) StartingPosition() pulumi.StringPtrOutput
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, DynamoDB, MSK or Self Managed Apache Kafka. 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).
func (EventSourceMappingOutput) StartingPositionTimestamp ¶
func (o EventSourceMappingOutput) StartingPositionTimestamp() pulumi.StringPtrOutput
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.
func (EventSourceMappingOutput) State ¶
func (o EventSourceMappingOutput) State() pulumi.StringOutput
The state of the event source mapping.
func (EventSourceMappingOutput) StateTransitionReason ¶
func (o EventSourceMappingOutput) StateTransitionReason() pulumi.StringOutput
The reason the event source mapping is in its current state.
func (EventSourceMappingOutput) ToEventSourceMappingOutput ¶
func (o EventSourceMappingOutput) ToEventSourceMappingOutput() EventSourceMappingOutput
func (EventSourceMappingOutput) ToEventSourceMappingOutputWithContext ¶
func (o EventSourceMappingOutput) ToEventSourceMappingOutputWithContext(ctx context.Context) EventSourceMappingOutput
func (EventSourceMappingOutput) ToOutput ¶ added in v6.1.0
func (o EventSourceMappingOutput) ToOutput(ctx context.Context) pulumix.Output[*EventSourceMapping]
func (EventSourceMappingOutput) Topics ¶
func (o EventSourceMappingOutput) Topics() pulumi.StringArrayOutput
The name of the Kafka topics. Only available for MSK sources. A single topic name must be specified.
func (EventSourceMappingOutput) TumblingWindowInSeconds ¶
func (o EventSourceMappingOutput) TumblingWindowInSeconds() pulumi.IntPtrOutput
The duration in seconds of a processing window for [AWS Lambda streaming analytics](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-windows). The range is between 1 second up to 900 seconds. Only available for stream sources (DynamoDB and Kinesis).
func (EventSourceMappingOutput) Uuid ¶
func (o EventSourceMappingOutput) Uuid() pulumi.StringOutput
The UUID of the created event source mapping.
type EventSourceMappingScalingConfig ¶
type EventSourceMappingScalingConfig struct { // Limits the number of concurrent instances that the Amazon SQS event source can invoke. Must be between `2` and `1000`. See [Configuring maximum concurrency for Amazon SQS event sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). MaximumConcurrency *int `pulumi:"maximumConcurrency"` }
type EventSourceMappingScalingConfigArgs ¶
type EventSourceMappingScalingConfigArgs struct { // Limits the number of concurrent instances that the Amazon SQS event source can invoke. Must be between `2` and `1000`. See [Configuring maximum concurrency for Amazon SQS event sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). MaximumConcurrency pulumi.IntPtrInput `pulumi:"maximumConcurrency"` }
func (EventSourceMappingScalingConfigArgs) ElementType ¶
func (EventSourceMappingScalingConfigArgs) ElementType() reflect.Type
func (EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigOutput ¶
func (i EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigOutput() EventSourceMappingScalingConfigOutput
func (EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigOutputWithContext ¶
func (i EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigOutputWithContext(ctx context.Context) EventSourceMappingScalingConfigOutput
func (EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigPtrOutput ¶
func (i EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigPtrOutput() EventSourceMappingScalingConfigPtrOutput
func (EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigPtrOutputWithContext ¶
func (i EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingScalingConfigPtrOutput
func (EventSourceMappingScalingConfigArgs) ToOutput ¶ added in v6.1.0
func (i EventSourceMappingScalingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingScalingConfig]
type EventSourceMappingScalingConfigInput ¶
type EventSourceMappingScalingConfigInput interface { pulumi.Input ToEventSourceMappingScalingConfigOutput() EventSourceMappingScalingConfigOutput ToEventSourceMappingScalingConfigOutputWithContext(context.Context) EventSourceMappingScalingConfigOutput }
EventSourceMappingScalingConfigInput is an input type that accepts EventSourceMappingScalingConfigArgs and EventSourceMappingScalingConfigOutput values. You can construct a concrete instance of `EventSourceMappingScalingConfigInput` via:
EventSourceMappingScalingConfigArgs{...}
type EventSourceMappingScalingConfigOutput ¶
type EventSourceMappingScalingConfigOutput struct{ *pulumi.OutputState }
func (EventSourceMappingScalingConfigOutput) ElementType ¶
func (EventSourceMappingScalingConfigOutput) ElementType() reflect.Type
func (EventSourceMappingScalingConfigOutput) MaximumConcurrency ¶
func (o EventSourceMappingScalingConfigOutput) MaximumConcurrency() pulumi.IntPtrOutput
Limits the number of concurrent instances that the Amazon SQS event source can invoke. Must be between `2` and `1000`. See [Configuring maximum concurrency for Amazon SQS event sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency).
func (EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigOutput ¶
func (o EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigOutput() EventSourceMappingScalingConfigOutput
func (EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigOutputWithContext ¶
func (o EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigOutputWithContext(ctx context.Context) EventSourceMappingScalingConfigOutput
func (EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigPtrOutput ¶
func (o EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigPtrOutput() EventSourceMappingScalingConfigPtrOutput
func (EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigPtrOutputWithContext ¶
func (o EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingScalingConfigPtrOutput
func (EventSourceMappingScalingConfigOutput) ToOutput ¶ added in v6.1.0
func (o EventSourceMappingScalingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingScalingConfig]
type EventSourceMappingScalingConfigPtrInput ¶
type EventSourceMappingScalingConfigPtrInput interface { pulumi.Input ToEventSourceMappingScalingConfigPtrOutput() EventSourceMappingScalingConfigPtrOutput ToEventSourceMappingScalingConfigPtrOutputWithContext(context.Context) EventSourceMappingScalingConfigPtrOutput }
EventSourceMappingScalingConfigPtrInput is an input type that accepts EventSourceMappingScalingConfigArgs, EventSourceMappingScalingConfigPtr and EventSourceMappingScalingConfigPtrOutput values. You can construct a concrete instance of `EventSourceMappingScalingConfigPtrInput` via:
EventSourceMappingScalingConfigArgs{...} or: nil
func EventSourceMappingScalingConfigPtr ¶
func EventSourceMappingScalingConfigPtr(v *EventSourceMappingScalingConfigArgs) EventSourceMappingScalingConfigPtrInput
type EventSourceMappingScalingConfigPtrOutput ¶
type EventSourceMappingScalingConfigPtrOutput struct{ *pulumi.OutputState }
func (EventSourceMappingScalingConfigPtrOutput) ElementType ¶
func (EventSourceMappingScalingConfigPtrOutput) ElementType() reflect.Type
func (EventSourceMappingScalingConfigPtrOutput) MaximumConcurrency ¶
func (o EventSourceMappingScalingConfigPtrOutput) MaximumConcurrency() pulumi.IntPtrOutput
Limits the number of concurrent instances that the Amazon SQS event source can invoke. Must be between `2` and `1000`. See [Configuring maximum concurrency for Amazon SQS event sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency).
func (EventSourceMappingScalingConfigPtrOutput) ToEventSourceMappingScalingConfigPtrOutput ¶
func (o EventSourceMappingScalingConfigPtrOutput) ToEventSourceMappingScalingConfigPtrOutput() EventSourceMappingScalingConfigPtrOutput
func (EventSourceMappingScalingConfigPtrOutput) ToEventSourceMappingScalingConfigPtrOutputWithContext ¶
func (o EventSourceMappingScalingConfigPtrOutput) ToEventSourceMappingScalingConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingScalingConfigPtrOutput
func (EventSourceMappingScalingConfigPtrOutput) ToOutput ¶ added in v6.1.0
func (o EventSourceMappingScalingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventSourceMappingScalingConfig]
type EventSourceMappingSelfManagedEventSource ¶
type EventSourceMappingSelfManagedEventSource struct { // A map of endpoints for the self managed source. For Kafka self-managed sources, the key should be `KAFKA_BOOTSTRAP_SERVERS` and the value should be a string with a comma separated list of broker endpoints. Endpoints map[string]string `pulumi:"endpoints"` }
type EventSourceMappingSelfManagedEventSourceArgs ¶
type EventSourceMappingSelfManagedEventSourceArgs struct { // A map of endpoints for the self managed source. For Kafka self-managed sources, the key should be `KAFKA_BOOTSTRAP_SERVERS` and the value should be a string with a comma separated list of broker endpoints. Endpoints pulumi.StringMapInput `pulumi:"endpoints"` }
func (EventSourceMappingSelfManagedEventSourceArgs) ElementType ¶
func (EventSourceMappingSelfManagedEventSourceArgs) ElementType() reflect.Type
func (EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourceOutput ¶
func (i EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourceOutput() EventSourceMappingSelfManagedEventSourceOutput
func (EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourceOutputWithContext ¶
func (i EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourceOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedEventSourceOutput
func (EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourcePtrOutput ¶
func (i EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourcePtrOutput() EventSourceMappingSelfManagedEventSourcePtrOutput
func (EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourcePtrOutputWithContext ¶
func (i EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourcePtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedEventSourcePtrOutput
func (EventSourceMappingSelfManagedEventSourceArgs) ToOutput ¶ added in v6.1.0
func (i EventSourceMappingSelfManagedEventSourceArgs) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingSelfManagedEventSource]
type EventSourceMappingSelfManagedEventSourceInput ¶
type EventSourceMappingSelfManagedEventSourceInput interface { pulumi.Input ToEventSourceMappingSelfManagedEventSourceOutput() EventSourceMappingSelfManagedEventSourceOutput ToEventSourceMappingSelfManagedEventSourceOutputWithContext(context.Context) EventSourceMappingSelfManagedEventSourceOutput }
EventSourceMappingSelfManagedEventSourceInput is an input type that accepts EventSourceMappingSelfManagedEventSourceArgs and EventSourceMappingSelfManagedEventSourceOutput values. You can construct a concrete instance of `EventSourceMappingSelfManagedEventSourceInput` via:
EventSourceMappingSelfManagedEventSourceArgs{...}
type EventSourceMappingSelfManagedEventSourceOutput ¶
type EventSourceMappingSelfManagedEventSourceOutput struct{ *pulumi.OutputState }
func (EventSourceMappingSelfManagedEventSourceOutput) ElementType ¶
func (EventSourceMappingSelfManagedEventSourceOutput) ElementType() reflect.Type
func (EventSourceMappingSelfManagedEventSourceOutput) Endpoints ¶
func (o EventSourceMappingSelfManagedEventSourceOutput) Endpoints() pulumi.StringMapOutput
A map of endpoints for the self managed source. For Kafka self-managed sources, the key should be `KAFKA_BOOTSTRAP_SERVERS` and the value should be a string with a comma separated list of broker endpoints.
func (EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourceOutput ¶
func (o EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourceOutput() EventSourceMappingSelfManagedEventSourceOutput
func (EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourceOutputWithContext ¶
func (o EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourceOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedEventSourceOutput
func (EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutput ¶
func (o EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutput() EventSourceMappingSelfManagedEventSourcePtrOutput
func (EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutputWithContext ¶
func (o EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedEventSourcePtrOutput
func (EventSourceMappingSelfManagedEventSourceOutput) ToOutput ¶ added in v6.1.0
func (o EventSourceMappingSelfManagedEventSourceOutput) ToOutput(ctx context.Context) pulumix.Output[EventSourceMappingSelfManagedEventSource]
type EventSourceMappingSelfManagedEventSourcePtrInput ¶
type EventSourceMappingSelfManagedEventSourcePtrInput interface { pulumi.Input ToEventSourceMappingSelfManagedEventSourcePtrOutput() EventSourceMappingSelfManagedEventSourcePtrOutput ToEventSourceMappingSelfManagedEventSourcePtrOutputWithContext(context.Context) EventSourceMappingSelfManagedEventSourcePtrOutput }
EventSourceMappingSelfManagedEventSourcePtrInput is an input type that accepts EventSourceMappingSelfManagedEventSourceArgs, EventSourceMappingSelfManagedEventSourcePtr and EventSourceMappingSelfManagedEventSourcePtrOutput values. You can construct a concrete instance of `EventSourceMappingSelfManagedEventSourcePtrInput` via:
EventSourceMappingSelfManagedEventSourceArgs{...} or: nil
func EventSourceMappingSelfManagedEventSourcePtr ¶
func EventSourceMappingSelfManagedEventSourcePtr(v *EventSourceMappingSelfManagedEventSourceArgs) EventSourceMappingSelfManagedEventSourcePtrInput
type EventSourceMappingSelfManagedEventSourcePtrOutput ¶
type EventSourceMappingSelfManagedEventSourcePtrOutput struct{ *pulumi.OutputState }
func (EventSourceMappingSelfManagedEventSourcePtrOutput) ElementType ¶
func (EventSourceMappingSelfManagedEventSourcePtrOutput) ElementType() reflect.Type
func (EventSourceMappingSelfManagedEventSourcePtrOutput) Endpoints ¶
func (o EventSourceMappingSelfManagedEventSourcePtrOutput) Endpoints() pulumi.StringMapOutput
A map of endpoints for the self managed source. For Kafka self-managed sources, the key should be `KAFKA_BOOTSTRAP_SERVERS` and the value should be a string with a comma separated list of broker endpoints.
func (EventSourceMappingSelfManagedEventSourcePtrOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutput ¶
func (o EventSourceMappingSelfManagedEventSourcePtrOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutput() EventSourceMappingSelfManagedEventSourcePtrOutput
func (EventSourceMappingSelfManagedEventSourcePtrOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutputWithContext ¶
func (o EventSourceMappingSelfManagedEventSourcePtrOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedEventSourcePtrOutput
func (EventSourceMappingSelfManagedEventSourcePtrOutput) ToOutput ¶ added in v6.1.0
func (o EventSourceMappingSelfManagedEventSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventSourceMappingSelfManagedEventSource]
type EventSourceMappingSelfManagedKafkaEventSourceConfig ¶
type EventSourceMappingSelfManagedKafkaEventSourceConfig struct { // A Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [SelfManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_SelfManagedKafkaEventSourceConfig.html). ConsumerGroupId *string `pulumi:"consumerGroupId"` }
type EventSourceMappingSelfManagedKafkaEventSourceConfigArgs ¶
type EventSourceMappingSelfManagedKafkaEventSourceConfigArgs struct { // A Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [SelfManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_SelfManagedKafkaEventSourceConfig.html). ConsumerGroupId pulumi.StringPtrInput `pulumi:"consumerGroupId"` }
func (EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ElementType ¶
func (EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ElementType() reflect.Type
func (EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutput ¶
func (i EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigOutput
func (EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutputWithContext ¶
func (i EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigOutput
func (EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput ¶
func (i EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput
func (EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutputWithContext ¶
func (i EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput
type EventSourceMappingSelfManagedKafkaEventSourceConfigInput ¶
type EventSourceMappingSelfManagedKafkaEventSourceConfigInput interface { pulumi.Input ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigOutput ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutputWithContext(context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigOutput }
EventSourceMappingSelfManagedKafkaEventSourceConfigInput is an input type that accepts EventSourceMappingSelfManagedKafkaEventSourceConfigArgs and EventSourceMappingSelfManagedKafkaEventSourceConfigOutput values. You can construct a concrete instance of `EventSourceMappingSelfManagedKafkaEventSourceConfigInput` via:
EventSourceMappingSelfManagedKafkaEventSourceConfigArgs{...}
type EventSourceMappingSelfManagedKafkaEventSourceConfigOutput ¶
type EventSourceMappingSelfManagedKafkaEventSourceConfigOutput struct{ *pulumi.OutputState }
func (EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ConsumerGroupId ¶
func (o EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ConsumerGroupId() pulumi.StringPtrOutput
A Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [SelfManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_SelfManagedKafkaEventSourceConfig.html).
func (EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ElementType ¶
func (EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ElementType() reflect.Type
func (EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutput ¶
func (o EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigOutput
func (EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutputWithContext ¶
func (o EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigOutput
func (EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput ¶
func (o EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput
func (EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutputWithContext ¶
func (o EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput
type EventSourceMappingSelfManagedKafkaEventSourceConfigPtrInput ¶
type EventSourceMappingSelfManagedKafkaEventSourceConfigPtrInput interface { pulumi.Input ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutputWithContext(context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput }
EventSourceMappingSelfManagedKafkaEventSourceConfigPtrInput is an input type that accepts EventSourceMappingSelfManagedKafkaEventSourceConfigArgs, EventSourceMappingSelfManagedKafkaEventSourceConfigPtr and EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput values. You can construct a concrete instance of `EventSourceMappingSelfManagedKafkaEventSourceConfigPtrInput` via:
EventSourceMappingSelfManagedKafkaEventSourceConfigArgs{...} or: nil
func EventSourceMappingSelfManagedKafkaEventSourceConfigPtr ¶
func EventSourceMappingSelfManagedKafkaEventSourceConfigPtr(v *EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) EventSourceMappingSelfManagedKafkaEventSourceConfigPtrInput
type EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput ¶
type EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput struct{ *pulumi.OutputState }
func (EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ConsumerGroupId ¶
func (o EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ConsumerGroupId() pulumi.StringPtrOutput
A Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [SelfManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_SelfManagedKafkaEventSourceConfig.html).
func (EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ElementType ¶
func (EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ElementType() reflect.Type
func (EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput ¶
func (o EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput
func (EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutputWithContext ¶
func (o EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput
type EventSourceMappingSourceAccessConfiguration ¶
type EventSourceMappingSourceAccessConfiguration struct { // The type of this configuration. For Self Managed Kafka you will need to supply blocks for type `VPC_SUBNET` and `VPC_SECURITY_GROUP`. Type string `pulumi:"type"` // The URI for this configuration. For type `VPC_SUBNET` the value should be `subnet:subnet_id` where `subnetId` is the value you would find in an ec2.Subnet resource's id attribute. For type `VPC_SECURITY_GROUP` the value should be `security_group:security_group_id` where `securityGroupId` is the value you would find in an ec2.SecurityGroup resource's id attribute. Uri string `pulumi:"uri"` }
type EventSourceMappingSourceAccessConfigurationArgs ¶
type EventSourceMappingSourceAccessConfigurationArgs struct { // The type of this configuration. For Self Managed Kafka you will need to supply blocks for type `VPC_SUBNET` and `VPC_SECURITY_GROUP`. Type pulumi.StringInput `pulumi:"type"` // The URI for this configuration. For type `VPC_SUBNET` the value should be `subnet:subnet_id` where `subnetId` is the value you would find in an ec2.Subnet resource's id attribute. For type `VPC_SECURITY_GROUP` the value should be `security_group:security_group_id` where `securityGroupId` is the value you would find in an ec2.SecurityGroup resource's id attribute. Uri pulumi.StringInput `pulumi:"uri"` }
func (EventSourceMappingSourceAccessConfigurationArgs) ElementType ¶
func (EventSourceMappingSourceAccessConfigurationArgs) ElementType() reflect.Type
func (EventSourceMappingSourceAccessConfigurationArgs) ToEventSourceMappingSourceAccessConfigurationOutput ¶
func (i EventSourceMappingSourceAccessConfigurationArgs) ToEventSourceMappingSourceAccessConfigurationOutput() EventSourceMappingSourceAccessConfigurationOutput
func (EventSourceMappingSourceAccessConfigurationArgs) ToEventSourceMappingSourceAccessConfigurationOutputWithContext ¶
func (i EventSourceMappingSourceAccessConfigurationArgs) ToEventSourceMappingSourceAccessConfigurationOutputWithContext(ctx context.Context) EventSourceMappingSourceAccessConfigurationOutput
type EventSourceMappingSourceAccessConfigurationArray ¶
type EventSourceMappingSourceAccessConfigurationArray []EventSourceMappingSourceAccessConfigurationInput
func (EventSourceMappingSourceAccessConfigurationArray) ElementType ¶
func (EventSourceMappingSourceAccessConfigurationArray) ElementType() reflect.Type
func (EventSourceMappingSourceAccessConfigurationArray) ToEventSourceMappingSourceAccessConfigurationArrayOutput ¶
func (i EventSourceMappingSourceAccessConfigurationArray) ToEventSourceMappingSourceAccessConfigurationArrayOutput() EventSourceMappingSourceAccessConfigurationArrayOutput
func (EventSourceMappingSourceAccessConfigurationArray) ToEventSourceMappingSourceAccessConfigurationArrayOutputWithContext ¶
func (i EventSourceMappingSourceAccessConfigurationArray) ToEventSourceMappingSourceAccessConfigurationArrayOutputWithContext(ctx context.Context) EventSourceMappingSourceAccessConfigurationArrayOutput
func (EventSourceMappingSourceAccessConfigurationArray) ToOutput ¶ added in v6.1.0
func (i EventSourceMappingSourceAccessConfigurationArray) ToOutput(ctx context.Context) pulumix.Output[[]EventSourceMappingSourceAccessConfiguration]
type EventSourceMappingSourceAccessConfigurationArrayInput ¶
type EventSourceMappingSourceAccessConfigurationArrayInput interface { pulumi.Input ToEventSourceMappingSourceAccessConfigurationArrayOutput() EventSourceMappingSourceAccessConfigurationArrayOutput ToEventSourceMappingSourceAccessConfigurationArrayOutputWithContext(context.Context) EventSourceMappingSourceAccessConfigurationArrayOutput }
EventSourceMappingSourceAccessConfigurationArrayInput is an input type that accepts EventSourceMappingSourceAccessConfigurationArray and EventSourceMappingSourceAccessConfigurationArrayOutput values. You can construct a concrete instance of `EventSourceMappingSourceAccessConfigurationArrayInput` via:
EventSourceMappingSourceAccessConfigurationArray{ EventSourceMappingSourceAccessConfigurationArgs{...} }
type EventSourceMappingSourceAccessConfigurationArrayOutput ¶
type EventSourceMappingSourceAccessConfigurationArrayOutput struct{ *pulumi.OutputState }
func (EventSourceMappingSourceAccessConfigurationArrayOutput) ElementType ¶
func (EventSourceMappingSourceAccessConfigurationArrayOutput) ElementType() reflect.Type
func (EventSourceMappingSourceAccessConfigurationArrayOutput) ToEventSourceMappingSourceAccessConfigurationArrayOutput ¶
func (o EventSourceMappingSourceAccessConfigurationArrayOutput) ToEventSourceMappingSourceAccessConfigurationArrayOutput() EventSourceMappingSourceAccessConfigurationArrayOutput
func (EventSourceMappingSourceAccessConfigurationArrayOutput) ToEventSourceMappingSourceAccessConfigurationArrayOutputWithContext ¶
func (o EventSourceMappingSourceAccessConfigurationArrayOutput) ToEventSourceMappingSourceAccessConfigurationArrayOutputWithContext(ctx context.Context) EventSourceMappingSourceAccessConfigurationArrayOutput
func (EventSourceMappingSourceAccessConfigurationArrayOutput) ToOutput ¶ added in v6.1.0
func (o EventSourceMappingSourceAccessConfigurationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EventSourceMappingSourceAccessConfiguration]
type EventSourceMappingSourceAccessConfigurationInput ¶
type EventSourceMappingSourceAccessConfigurationInput interface { pulumi.Input ToEventSourceMappingSourceAccessConfigurationOutput() EventSourceMappingSourceAccessConfigurationOutput ToEventSourceMappingSourceAccessConfigurationOutputWithContext(context.Context) EventSourceMappingSourceAccessConfigurationOutput }
EventSourceMappingSourceAccessConfigurationInput is an input type that accepts EventSourceMappingSourceAccessConfigurationArgs and EventSourceMappingSourceAccessConfigurationOutput values. You can construct a concrete instance of `EventSourceMappingSourceAccessConfigurationInput` via:
EventSourceMappingSourceAccessConfigurationArgs{...}
type EventSourceMappingSourceAccessConfigurationOutput ¶
type EventSourceMappingSourceAccessConfigurationOutput struct{ *pulumi.OutputState }
func (EventSourceMappingSourceAccessConfigurationOutput) ElementType ¶
func (EventSourceMappingSourceAccessConfigurationOutput) ElementType() reflect.Type
func (EventSourceMappingSourceAccessConfigurationOutput) ToEventSourceMappingSourceAccessConfigurationOutput ¶
func (o EventSourceMappingSourceAccessConfigurationOutput) ToEventSourceMappingSourceAccessConfigurationOutput() EventSourceMappingSourceAccessConfigurationOutput
func (EventSourceMappingSourceAccessConfigurationOutput) ToEventSourceMappingSourceAccessConfigurationOutputWithContext ¶
func (o EventSourceMappingSourceAccessConfigurationOutput) ToEventSourceMappingSourceAccessConfigurationOutputWithContext(ctx context.Context) EventSourceMappingSourceAccessConfigurationOutput
func (EventSourceMappingSourceAccessConfigurationOutput) Type ¶
func (o EventSourceMappingSourceAccessConfigurationOutput) Type() pulumi.StringOutput
The type of this configuration. For Self Managed Kafka you will need to supply blocks for type `VPC_SUBNET` and `VPC_SECURITY_GROUP`.
func (EventSourceMappingSourceAccessConfigurationOutput) Uri ¶
func (o EventSourceMappingSourceAccessConfigurationOutput) Uri() pulumi.StringOutput
The URI for this configuration. For type `VPC_SUBNET` the value should be `subnet:subnet_id` where `subnetId` is the value you would find in an ec2.Subnet resource's id attribute. For type `VPC_SECURITY_GROUP` the value should be `security_group:security_group_id` where `securityGroupId` is the value you would find in an ec2.SecurityGroup resource's id attribute.
type EventSourceMappingState ¶
type EventSourceMappingState struct { // Additional configuration block for Amazon Managed Kafka sources. Incompatible with "selfManagedEventSource" and "selfManagedKafkaEventSourceConfig". Detailed below. AmazonManagedKafkaEventSourceConfig EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrInput // The largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to `100` for DynamoDB, Kinesis, MQ and MSK, `10` for SQS. BatchSize pulumi.IntPtrInput // - (Optional) If the function returns an error, split the batch in two and retry. Only available for stream sources (DynamoDB and Kinesis). Defaults to `false`. BisectBatchOnFunctionError pulumi.BoolPtrInput // - (Optional) An Amazon SQS queue or Amazon SNS topic destination for failed records. Only available for stream sources (DynamoDB and Kinesis). Detailed below. DestinationConfig EventSourceMappingDestinationConfigPtrInput // - (Optional) Configuration settings for a DocumentDB event source. Detailed below. DocumentDbEventSourceConfig EventSourceMappingDocumentDbEventSourceConfigPtrInput // Determines if the mapping will be enabled on creation. Defaults to `true`. Enabled pulumi.BoolPtrInput // The event source ARN - this is required for Kinesis stream, DynamoDB stream, SQS queue, MQ broker, MSK cluster or DocumentDB change stream. It is incompatible with a Self Managed Kafka source. EventSourceArn pulumi.StringPtrInput // The criteria to use for [event filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html) Kinesis stream, DynamoDB stream, SQS queue event sources. Detailed below. FilterCriteria EventSourceMappingFilterCriteriaPtrInput // 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 // A list of current response type enums applied to the event source mapping for [AWS Lambda checkpointing](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-batchfailurereporting). Only available for SQS and stream sources (DynamoDB and Kinesis). Valid values: `ReportBatchItemFailures`. FunctionResponseTypes pulumi.StringArrayInput // 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 (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. Only available for stream sources (DynamoDB and Kinesis) and SQS standard queues. MaximumBatchingWindowInSeconds pulumi.IntPtrInput // - (Optional) The maximum age of a record that Lambda sends to a function for processing. Only available for stream sources (DynamoDB and Kinesis). Must be either -1 (forever, and the default value) or between 60 and 604800 (inclusive). MaximumRecordAgeInSeconds pulumi.IntPtrInput // - (Optional) The maximum number of times to retry when the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of -1 (forever), maximum of 10000. MaximumRetryAttempts pulumi.IntPtrInput // - (Optional) The number of batches to process from each shard concurrently. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of 1, maximum of 10. ParallelizationFactor pulumi.IntPtrInput // The name of the Amazon MQ broker destination queue to consume. Only available for MQ sources. The list must contain exactly one queue name. Queues pulumi.StringPtrInput // Scaling configuration of the event source. Only available for SQS queues. Detailed below. ScalingConfig EventSourceMappingScalingConfigPtrInput // - (Optional) For Self Managed Kafka sources, the location of the self managed cluster. If set, configuration must also include `sourceAccessConfiguration`. Detailed below. SelfManagedEventSource EventSourceMappingSelfManagedEventSourcePtrInput // Additional configuration block for Self Managed Kafka sources. Incompatible with "eventSourceArn" and "amazonManagedKafkaEventSourceConfig". Detailed below. SelfManagedKafkaEventSourceConfig EventSourceMappingSelfManagedKafkaEventSourceConfigPtrInput // For Self Managed Kafka sources, the access configuration for the source. If set, configuration must also include `selfManagedEventSource`. Detailed below. SourceAccessConfigurations EventSourceMappingSourceAccessConfigurationArrayInput // 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, DynamoDB, MSK or Self Managed Apache Kafka. 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 name of the Kafka topics. Only available for MSK sources. A single topic name must be specified. Topics pulumi.StringArrayInput // The duration in seconds of a processing window for [AWS Lambda streaming analytics](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-windows). The range is between 1 second up to 900 seconds. Only available for stream sources (DynamoDB and Kinesis). TumblingWindowInSeconds pulumi.IntPtrInput // The UUID of the created event source mapping. Uuid pulumi.StringPtrInput }
func (EventSourceMappingState) ElementType ¶
func (EventSourceMappingState) ElementType() reflect.Type
type Function ¶
type Function struct { pulumi.CustomResourceState // Instruction set architecture for your Lambda function. Valid values are `["x8664"]` and `["arm64"]`. Default is `["x8664"]`. Removing this attribute, function's architecture stay the same. Architectures pulumi.StringArrayOutput `pulumi:"architectures"` // Amazon Resource Name (ARN) of the Amazon EFS Access Point that provides access to the file system. Arn pulumi.StringOutput `pulumi:"arn"` // Path to the function's deployment package within the local filesystem. Exactly one of `filename`, `imageUri`, or `s3Bucket` must be specified. Code pulumi.ArchiveOutput `pulumi:"code"` // To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function. CodeSigningConfigArn pulumi.StringPtrOutput `pulumi:"codeSigningConfigArn"` // Configuration block. Detailed below. DeadLetterConfig FunctionDeadLetterConfigPtrOutput `pulumi:"deadLetterConfig"` // Description of what your Lambda Function does. Description pulumi.StringPtrOutput `pulumi:"description"` // Configuration block. Detailed below. Environment FunctionEnvironmentPtrOutput `pulumi:"environment"` // The amount of Ephemeral storage(`/tmp`) to allocate for the Lambda Function in MB. This parameter is used to expand the total amount of Ephemeral storage available, beyond the default amount of `512`MB. Detailed below. EphemeralStorage FunctionEphemeralStorageOutput `pulumi:"ephemeralStorage"` // Configuration block. Detailed below. FileSystemConfig FunctionFileSystemConfigPtrOutput `pulumi:"fileSystemConfig"` // Function [entrypoint](https://docs.aws.amazon.com/lambda/latest/dg/walkthrough-custom-events-create-test-function.html) in your code. Handler pulumi.StringPtrOutput `pulumi:"handler"` // Configuration block. Detailed below. ImageConfig FunctionImageConfigPtrOutput `pulumi:"imageConfig"` // ECR image URI containing the function's deployment package. Exactly one of `filename`, `imageUri`, or `s3Bucket` must be specified. ImageUri pulumi.StringPtrOutput `pulumi:"imageUri"` // ARN to be used for invoking Lambda Function from API Gateway - to be used in `apigateway.Integration`'s `uri`. InvokeArn pulumi.StringOutput `pulumi:"invokeArn"` // Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key that is used to encrypt environment variables. If this configuration is not provided when environment variables are in use, AWS Lambda uses a default service key. If this configuration is provided when environment variables are not in use, the AWS Lambda API does not save this configuration and the provider will show a perpetual difference of adding the key. To fix the perpetual difference, remove this configuration. KmsKeyArn pulumi.StringPtrOutput `pulumi:"kmsKeyArn"` // 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](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) Layers pulumi.StringArrayOutput `pulumi:"layers"` // Amount of memory in MB your Lambda Function can use at runtime. Defaults to `128`. See [Limits](https://docs.aws.amazon.com/lambda/latest/dg/limits.html) MemorySize pulumi.IntPtrOutput `pulumi:"memorySize"` // Unique name for your Lambda Function. Name pulumi.StringOutput `pulumi:"name"` // Lambda deployment package type. Valid values are `Zip` and `Image`. Defaults to `Zip`. PackageType pulumi.StringPtrOutput `pulumi:"packageType"` // Whether to publish creation/change as new Lambda Function Version. Defaults to `false`. Publish pulumi.BoolPtrOutput `pulumi:"publish"` // ARN identifying your Lambda Function Version (if versioning is enabled via `publish = true`). QualifiedArn pulumi.StringOutput `pulumi:"qualifiedArn"` // Qualified ARN (ARN with lambda version number) to be used for invoking Lambda Function from API Gateway - to be used in `apigateway.Integration`'s `uri`. QualifiedInvokeArn pulumi.StringOutput `pulumi:"qualifiedInvokeArn"` // **AWS no longer supports this operation. This attribute now has no effect and will be removed in a future major version.** Whether to replace the security groups on associated lambda network interfaces upon destruction. Removing these security groups from orphaned network interfaces can speed up security group deletion times by avoiding a dependency on AWS's internal cleanup operations. By default, the ENI security groups will be replaced with the `default` security group in the function's VPC. Set the `replacementSecurityGroupIds` attribute to use a custom list of security groups for replacement. // // Deprecated: AWS no longer supports this operation. This attribute now has no effect and will be removed in a future major version. ReplaceSecurityGroupsOnDestroy pulumi.BoolPtrOutput `pulumi:"replaceSecurityGroupsOnDestroy"` // List of security group IDs to assign to orphaned Lambda function network interfaces upon destruction. `replaceSecurityGroupsOnDestroy` must be set to `true` to use this attribute. // // Deprecated: AWS no longer supports this operation. This attribute now has no effect and will be removed in a future major version. ReplacementSecurityGroupIds pulumi.StringArrayOutput `pulumi:"replacementSecurityGroupIds"` // 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](https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html) ReservedConcurrentExecutions pulumi.IntPtrOutput `pulumi:"reservedConcurrentExecutions"` // Amazon Resource Name (ARN) of the function's execution role. The role provides the function's identity and access to AWS services and resources. // // The following arguments are optional: Role pulumi.StringOutput `pulumi:"role"` // Identifier of the function's runtime. See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime) for valid values. Runtime pulumi.StringPtrOutput `pulumi:"runtime"` // S3 bucket location containing the function's deployment package. This bucket must reside in the same AWS region where you are creating the Lambda function. Exactly one of `filename`, `imageUri`, or `s3Bucket` must be specified. When `s3Bucket` is set, `s3Key` is required. S3Bucket pulumi.StringPtrOutput `pulumi:"s3Bucket"` // S3 key of an object containing the function's deployment package. When `s3Bucket` is set, `s3Key` is required. S3Key pulumi.StringPtrOutput `pulumi:"s3Key"` // Object version containing the function's deployment package. Conflicts with `filename` and `imageUri`. S3ObjectVersion pulumi.StringPtrOutput `pulumi:"s3ObjectVersion"` // ARN of the signing job. SigningJobArn pulumi.StringOutput `pulumi:"signingJobArn"` // ARN of the signing profile version. // * `snap_start.optimization_status` - Optimization status of the snap start configuration. Valid values are `On` and `Off`. SigningProfileVersionArn pulumi.StringOutput `pulumi:"signingProfileVersionArn"` // Set to true if you do not wish the function to be deleted at destroy time, and instead just remove the function from the Pulumi state. SkipDestroy pulumi.BoolPtrOutput `pulumi:"skipDestroy"` // Snap start settings block. Detailed below. SnapStart FunctionSnapStartPtrOutput `pulumi:"snapStart"` // Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either `filename` or `s3Key`. SourceCodeHash pulumi.StringOutput `pulumi:"sourceCodeHash"` // Size in bytes of the function .zip file. SourceCodeSize pulumi.IntOutput `pulumi:"sourceCodeSize"` // Map of tags to assign to the object. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Amount of time your Lambda Function has to run in seconds. Defaults to `3`. See [Limits](https://docs.aws.amazon.com/lambda/latest/dg/limits.html). Timeout pulumi.IntPtrOutput `pulumi:"timeout"` // Configuration block. Detailed below. TracingConfig FunctionTracingConfigOutput `pulumi:"tracingConfig"` // Latest published version of your Lambda Function. // * `vpc_config.vpc_id` - ID of the VPC. Version pulumi.StringOutput `pulumi:"version"` // Configuration block. Detailed below. VpcConfig FunctionVpcConfigPtrOutput `pulumi:"vpcConfig"` }
Provides a Lambda Function resource. Lambda allows you to trigger execution of code in response to events in AWS, enabling serverless backend solutions. The Lambda Function itself includes source code and runtime configuration.
For information about Lambda and how to use it, see [What is AWS Lambda?](https://docs.aws.amazon.com/lambda/latest/dg/welcome.html)
> **NOTE:** Due to [AWS Lambda improved VPC networking changes that began deploying in September 2019](https://aws.amazon.com/blogs/compute/announcing-improved-vpc-networking-for-aws-lambda-functions/), EC2 subnets and security groups associated with Lambda Functions can take up to 45 minutes to successfully delete.
> **NOTE:** If you get a `KMSAccessDeniedException: Lambda was unable to decrypt the environment variables because KMS access was denied` error when invoking an `lambda.Function` with environment variables, the IAM role associated with the function may have been deleted and recreated _after_ the function was created. You can fix the problem two ways: 1) updating the function's role to another role and then updating it back again to the recreated role, or 2) by using Pulumi to `taint` the function and `apply` your configuration again to recreate the function. (When you create a function, Lambda grants permissions on the KMS key to the function's IAM role. If the IAM role is recreated, the grant is no longer valid. Changing the function's role or recreating the function causes Lambda to update the grant.)
> To give an external source (like an EventBridge Rule, SNS, or S3) permission to access the Lambda function, use the `lambda.Permission` resource. See [Lambda Permission Model](https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html) for more details. On the other hand, the `role` argument of this resource is the function's execution role for identity and access to AWS services and resources.
## Example Usage ### Basic Example
```go package main
import (
"github.com/pulumi/pulumi-archive/sdk/go/archive" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: pulumi.StringRef("Allow"), Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Type: "Service", Identifiers: []string{ "lambda.amazonaws.com", }, }, }, Actions: []string{ "sts:AssumeRole", }, }, }, }, nil) if err != nil { return err } iamForLambda, err := iam.NewRole(ctx, "iamForLambda", &iam.RoleArgs{ AssumeRolePolicy: *pulumi.String(assumeRole.Json), }) if err != nil { return err } _, err = archive.LookupFile(ctx, &archive.LookupFileArgs{ Type: "zip", SourceFile: pulumi.StringRef("lambda.js"), OutputPath: "lambda_function_payload.zip", }, nil) if err != nil { return err } _, err = lambda.NewFunction(ctx, "testLambda", &lambda.FunctionArgs{ Code: pulumi.NewFileArchive("lambda_function_payload.zip"), Role: iamForLambda.Arn, Handler: pulumi.String("index.test"), Runtime: pulumi.String("nodejs18.x"), Environment: &lambda.FunctionEnvironmentArgs{ Variables: pulumi.StringMap{ "foo": pulumi.String("bar"), }, }, }) if err != nil { return err } return nil }) }
``` ### Lambda Layers
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleLayerVersion, err := lambda.NewLayerVersion(ctx, "exampleLayerVersion", nil) if err != nil { return err } _, err = lambda.NewFunction(ctx, "exampleFunction", &lambda.FunctionArgs{ Layers: pulumi.StringArray{ exampleLayerVersion.Arn, }, }) if err != nil { return err } return nil }) }
``` ### Lambda Ephemeral Storage
Lambda Function Ephemeral Storage(`/tmp`) allows you to configure the storage upto `10` GB. The default value set to `512` MB.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: pulumi.StringRef("Allow"), Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Type: "Service", Identifiers: []string{ "lambda.amazonaws.com", }, }, }, Actions: []string{ "sts:AssumeRole", }, }, }, }, nil) if err != nil { return err } iamForLambda, err := iam.NewRole(ctx, "iamForLambda", &iam.RoleArgs{ AssumeRolePolicy: *pulumi.String(assumeRole.Json), }) if err != nil { return err } _, err = lambda.NewFunction(ctx, "testLambda", &lambda.FunctionArgs{ Code: pulumi.NewFileArchive("lambda_function_payload.zip"), Role: iamForLambda.Arn, Handler: pulumi.String("index.test"), Runtime: pulumi.String("nodejs18.x"), EphemeralStorage: &lambda.FunctionEphemeralStorageArgs{ Size: pulumi.Int(10240), }, }) if err != nil { return err } return nil }) }
``` ### Lambda File Systems
Lambda File Systems allow you to connect an Amazon Elastic File System (EFS) file system to a Lambda function to share data across function invocations, access existing data including large files, and save function state.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { efsForLambda, err := efs.NewFileSystem(ctx, "efsForLambda", &efs.FileSystemArgs{ Tags: pulumi.StringMap{ "Name": pulumi.String("efs_for_lambda"), }, }) if err != nil { return err } alpha, err := efs.NewMountTarget(ctx, "alpha", &efs.MountTargetArgs{ FileSystemId: efsForLambda.ID(), SubnetId: pulumi.Any(aws_subnet.Subnet_for_lambda.Id), SecurityGroups: pulumi.StringArray{ aws_security_group.Sg_for_lambda.Id, }, }) if err != nil { return err } accessPointForLambda, err := efs.NewAccessPoint(ctx, "accessPointForLambda", &efs.AccessPointArgs{ FileSystemId: efsForLambda.ID(), RootDirectory: &efs.AccessPointRootDirectoryArgs{ Path: pulumi.String("/lambda"), CreationInfo: &efs.AccessPointRootDirectoryCreationInfoArgs{ OwnerGid: pulumi.Int(1000), OwnerUid: pulumi.Int(1000), Permissions: pulumi.String("777"), }, }, PosixUser: &efs.AccessPointPosixUserArgs{ Gid: pulumi.Int(1000), Uid: pulumi.Int(1000), }, }) if err != nil { return err } _, err = lambda.NewFunction(ctx, "example", &lambda.FunctionArgs{ FileSystemConfig: &lambda.FunctionFileSystemConfigArgs{ Arn: accessPointForLambda.Arn, LocalMountPath: pulumi.String("/mnt/efs"), }, VpcConfig: &lambda.FunctionVpcConfigArgs{ SubnetIds: pulumi.StringArray{ aws_subnet.Subnet_for_lambda.Id, }, SecurityGroupIds: pulumi.StringArray{ aws_security_group.Sg_for_lambda.Id, }, }, }, pulumi.DependsOn([]pulumi.Resource{ alpha, })) if err != nil { return err } return nil }) }
``` ### Lambda retries
Lambda Functions allow you to configure error handling for asynchronous invocation. The settings that it supports are `Maximum age of event` and `Retry attempts` as stated in [Lambda documentation for Configuring error handling for asynchronous invocation](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-errors). To configure these settings, refer to the lambda.FunctionEventInvokeConfig resource. ## CloudWatch Logging and Permissions
For more information about CloudWatch Logs for Lambda, see the [Lambda User Guide](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions-logs.html).
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") lambdaFunctionName := "lambda_function_name" if param := cfg.Get("lambdaFunctionName"); param != "" { lambdaFunctionName = param } example, err := cloudwatch.NewLogGroup(ctx, "example", &cloudwatch.LogGroupArgs{ RetentionInDays: pulumi.Int(14), }) if err != nil { return err } lambdaLoggingPolicyDocument, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: pulumi.StringRef("Allow"), Actions: []string{ "logs:CreateLogGroup", "logs:CreateLogStream", "logs:PutLogEvents", }, Resources: []string{ "arn:aws:logs:*:*:*", }, }, }, }, nil) if err != nil { return err } lambdaLoggingPolicy, err := iam.NewPolicy(ctx, "lambdaLoggingPolicy", &iam.PolicyArgs{ Path: pulumi.String("/"), Description: pulumi.String("IAM policy for logging from a lambda"), Policy: *pulumi.String(lambdaLoggingPolicyDocument.Json), }) if err != nil { return err } lambdaLogs, err := iam.NewRolePolicyAttachment(ctx, "lambdaLogs", &iam.RolePolicyAttachmentArgs{ Role: pulumi.Any(aws_iam_role.Iam_for_lambda.Name), PolicyArn: lambdaLoggingPolicy.Arn, }) if err != nil { return err } _, err = lambda.NewFunction(ctx, "testLambda", nil, pulumi.DependsOn([]pulumi.Resource{ lambdaLogs, example, })) if err != nil { return err } return nil }) }
```
## Specifying the Deployment Package
AWS Lambda expects source code to be provided as a deployment package whose structure varies depending on which `runtime` is in use. See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime) for the valid values of `runtime`. The expected structure of the deployment package can be found in [the AWS Lambda documentation for each runtime](https://docs.aws.amazon.com/lambda/latest/dg/deployment-package-v2.html).
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.BucketObjectv2` 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.
## Import
Using `pulumi import`, import Lambda Functions using the `function_name`. For example:
```sh
$ pulumi import aws:lambda/function:Function test_lambda my_test_lambda_function
```
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.
func (*Function) ElementType ¶
func (*Function) ToFunctionOutput ¶
func (i *Function) ToFunctionOutput() FunctionOutput
func (*Function) ToFunctionOutputWithContext ¶
func (i *Function) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
type FunctionArgs ¶
type FunctionArgs struct { // Instruction set architecture for your Lambda function. Valid values are `["x8664"]` and `["arm64"]`. Default is `["x8664"]`. Removing this attribute, function's architecture stay the same. Architectures pulumi.StringArrayInput // Path to the function's deployment package within the local filesystem. Exactly one of `filename`, `imageUri`, or `s3Bucket` must be specified. Code pulumi.ArchiveInput // To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function. CodeSigningConfigArn pulumi.StringPtrInput // Configuration block. Detailed below. DeadLetterConfig FunctionDeadLetterConfigPtrInput // Description of what your Lambda Function does. Description pulumi.StringPtrInput // Configuration block. Detailed below. Environment FunctionEnvironmentPtrInput // The amount of Ephemeral storage(`/tmp`) to allocate for the Lambda Function in MB. This parameter is used to expand the total amount of Ephemeral storage available, beyond the default amount of `512`MB. Detailed below. EphemeralStorage FunctionEphemeralStoragePtrInput // Configuration block. Detailed below. FileSystemConfig FunctionFileSystemConfigPtrInput // Function [entrypoint](https://docs.aws.amazon.com/lambda/latest/dg/walkthrough-custom-events-create-test-function.html) in your code. Handler pulumi.StringPtrInput // Configuration block. Detailed below. ImageConfig FunctionImageConfigPtrInput // ECR image URI containing the function's deployment package. Exactly one of `filename`, `imageUri`, or `s3Bucket` must be specified. ImageUri pulumi.StringPtrInput // Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key that is used to encrypt environment variables. If this configuration is not provided when environment variables are in use, AWS Lambda uses a default service key. If this configuration is provided when environment variables are not in use, the AWS Lambda API does not save this configuration and the provider will show a perpetual difference of adding the key. To fix the perpetual difference, remove this configuration. KmsKeyArn pulumi.StringPtrInput // List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. See [Lambda Layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) Layers pulumi.StringArrayInput // Amount of memory in MB your Lambda Function can use at runtime. Defaults to `128`. See [Limits](https://docs.aws.amazon.com/lambda/latest/dg/limits.html) MemorySize pulumi.IntPtrInput // Unique name for your Lambda Function. Name pulumi.StringPtrInput // Lambda deployment package type. Valid values are `Zip` and `Image`. Defaults to `Zip`. PackageType pulumi.StringPtrInput // Whether to publish creation/change as new Lambda Function Version. Defaults to `false`. Publish pulumi.BoolPtrInput // **AWS no longer supports this operation. This attribute now has no effect and will be removed in a future major version.** Whether to replace the security groups on associated lambda network interfaces upon destruction. Removing these security groups from orphaned network interfaces can speed up security group deletion times by avoiding a dependency on AWS's internal cleanup operations. By default, the ENI security groups will be replaced with the `default` security group in the function's VPC. Set the `replacementSecurityGroupIds` attribute to use a custom list of security groups for replacement. // // Deprecated: AWS no longer supports this operation. This attribute now has no effect and will be removed in a future major version. ReplaceSecurityGroupsOnDestroy pulumi.BoolPtrInput // List of security group IDs to assign to orphaned Lambda function network interfaces upon destruction. `replaceSecurityGroupsOnDestroy` must be set to `true` to use this attribute. // // Deprecated: AWS no longer supports this operation. This attribute now has no effect and will be removed in a future major version. ReplacementSecurityGroupIds pulumi.StringArrayInput // 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](https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html) ReservedConcurrentExecutions pulumi.IntPtrInput // Amazon Resource Name (ARN) of the function's execution role. The role provides the function's identity and access to AWS services and resources. // // The following arguments are optional: Role pulumi.StringInput // Identifier of the function's runtime. See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime) for valid values. Runtime pulumi.StringPtrInput // S3 bucket location containing the function's deployment package. This bucket must reside in the same AWS region where you are creating the Lambda function. Exactly one of `filename`, `imageUri`, or `s3Bucket` must be specified. When `s3Bucket` is set, `s3Key` is required. S3Bucket pulumi.StringPtrInput // S3 key of an object containing the function's deployment package. When `s3Bucket` is set, `s3Key` is required. S3Key pulumi.StringPtrInput // Object version containing the function's deployment package. Conflicts with `filename` and `imageUri`. S3ObjectVersion pulumi.StringPtrInput // Set to true if you do not wish the function to be deleted at destroy time, and instead just remove the function from the Pulumi state. SkipDestroy pulumi.BoolPtrInput // Snap start settings block. Detailed below. SnapStart FunctionSnapStartPtrInput // Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either `filename` or `s3Key`. SourceCodeHash pulumi.StringPtrInput // Map of tags to assign to the object. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // Amount of time your Lambda Function has to run in seconds. Defaults to `3`. See [Limits](https://docs.aws.amazon.com/lambda/latest/dg/limits.html). Timeout pulumi.IntPtrInput // Configuration block. Detailed below. TracingConfig FunctionTracingConfigPtrInput // Configuration block. Detailed below. VpcConfig FunctionVpcConfigPtrInput }
The set of arguments for constructing a Function resource.
func (FunctionArgs) ElementType ¶
func (FunctionArgs) ElementType() reflect.Type
type FunctionArray ¶
type FunctionArray []FunctionInput
func (FunctionArray) ElementType ¶
func (FunctionArray) ElementType() reflect.Type
func (FunctionArray) ToFunctionArrayOutput ¶
func (i FunctionArray) ToFunctionArrayOutput() FunctionArrayOutput
func (FunctionArray) ToFunctionArrayOutputWithContext ¶
func (i FunctionArray) ToFunctionArrayOutputWithContext(ctx context.Context) FunctionArrayOutput
type FunctionArrayInput ¶
type FunctionArrayInput interface { pulumi.Input ToFunctionArrayOutput() FunctionArrayOutput ToFunctionArrayOutputWithContext(context.Context) FunctionArrayOutput }
FunctionArrayInput is an input type that accepts FunctionArray and FunctionArrayOutput values. You can construct a concrete instance of `FunctionArrayInput` via:
FunctionArray{ FunctionArgs{...} }
type FunctionArrayOutput ¶
type FunctionArrayOutput struct{ *pulumi.OutputState }
func (FunctionArrayOutput) ElementType ¶
func (FunctionArrayOutput) ElementType() reflect.Type
func (FunctionArrayOutput) Index ¶
func (o FunctionArrayOutput) Index(i pulumi.IntInput) FunctionOutput
func (FunctionArrayOutput) ToFunctionArrayOutput ¶
func (o FunctionArrayOutput) ToFunctionArrayOutput() FunctionArrayOutput
func (FunctionArrayOutput) ToFunctionArrayOutputWithContext ¶
func (o FunctionArrayOutput) ToFunctionArrayOutputWithContext(ctx context.Context) FunctionArrayOutput
type FunctionDeadLetterConfig ¶
type FunctionDeadLetterConfig struct { // 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 ¶
type FunctionDeadLetterConfigArgs struct { // 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 ¶
func (FunctionDeadLetterConfigArgs) ElementType() reflect.Type
func (FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigOutput ¶
func (i FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigOutput() FunctionDeadLetterConfigOutput
func (FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigOutputWithContext ¶
func (i FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigOutputWithContext(ctx context.Context) FunctionDeadLetterConfigOutput
func (FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigPtrOutput ¶
func (i FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigPtrOutput() FunctionDeadLetterConfigPtrOutput
func (FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigPtrOutputWithContext ¶
func (i FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigPtrOutputWithContext(ctx context.Context) FunctionDeadLetterConfigPtrOutput
func (FunctionDeadLetterConfigArgs) ToOutput ¶ added in v6.1.0
func (i FunctionDeadLetterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionDeadLetterConfig]
type FunctionDeadLetterConfigInput ¶
type FunctionDeadLetterConfigInput interface { pulumi.Input ToFunctionDeadLetterConfigOutput() FunctionDeadLetterConfigOutput ToFunctionDeadLetterConfigOutputWithContext(context.Context) FunctionDeadLetterConfigOutput }
FunctionDeadLetterConfigInput is an input type that accepts FunctionDeadLetterConfigArgs and FunctionDeadLetterConfigOutput values. You can construct a concrete instance of `FunctionDeadLetterConfigInput` via:
FunctionDeadLetterConfigArgs{...}
type FunctionDeadLetterConfigOutput ¶
type FunctionDeadLetterConfigOutput struct{ *pulumi.OutputState }
func (FunctionDeadLetterConfigOutput) ElementType ¶
func (FunctionDeadLetterConfigOutput) ElementType() reflect.Type
func (FunctionDeadLetterConfigOutput) TargetArn ¶
func (o FunctionDeadLetterConfigOutput) TargetArn() pulumi.StringOutput
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 ¶
func (o FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigOutput() FunctionDeadLetterConfigOutput
func (FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigOutputWithContext ¶
func (o FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigOutputWithContext(ctx context.Context) FunctionDeadLetterConfigOutput
func (FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigPtrOutput ¶
func (o FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigPtrOutput() FunctionDeadLetterConfigPtrOutput
func (FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigPtrOutputWithContext ¶
func (o FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigPtrOutputWithContext(ctx context.Context) FunctionDeadLetterConfigPtrOutput
func (FunctionDeadLetterConfigOutput) ToOutput ¶ added in v6.1.0
func (o FunctionDeadLetterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionDeadLetterConfig]
type FunctionDeadLetterConfigPtrInput ¶
type FunctionDeadLetterConfigPtrInput interface { pulumi.Input ToFunctionDeadLetterConfigPtrOutput() FunctionDeadLetterConfigPtrOutput ToFunctionDeadLetterConfigPtrOutputWithContext(context.Context) FunctionDeadLetterConfigPtrOutput }
FunctionDeadLetterConfigPtrInput is an input type that accepts FunctionDeadLetterConfigArgs, FunctionDeadLetterConfigPtr and FunctionDeadLetterConfigPtrOutput values. You can construct a concrete instance of `FunctionDeadLetterConfigPtrInput` via:
FunctionDeadLetterConfigArgs{...} or: nil
func FunctionDeadLetterConfigPtr ¶
func FunctionDeadLetterConfigPtr(v *FunctionDeadLetterConfigArgs) FunctionDeadLetterConfigPtrInput
type FunctionDeadLetterConfigPtrOutput ¶
type FunctionDeadLetterConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionDeadLetterConfigPtrOutput) Elem ¶
func (o FunctionDeadLetterConfigPtrOutput) Elem() FunctionDeadLetterConfigOutput
func (FunctionDeadLetterConfigPtrOutput) ElementType ¶
func (FunctionDeadLetterConfigPtrOutput) ElementType() reflect.Type
func (FunctionDeadLetterConfigPtrOutput) TargetArn ¶
func (o FunctionDeadLetterConfigPtrOutput) TargetArn() pulumi.StringPtrOutput
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 ¶
func (o FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutput() FunctionDeadLetterConfigPtrOutput
func (FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutputWithContext ¶
func (o FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutputWithContext(ctx context.Context) FunctionDeadLetterConfigPtrOutput
func (FunctionDeadLetterConfigPtrOutput) ToOutput ¶ added in v6.1.0
func (o FunctionDeadLetterConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionDeadLetterConfig]
type FunctionEnvironment ¶
type FunctionEnvironmentArgs ¶
type FunctionEnvironmentArgs struct { // Map of environment variables that are accessible from the function code during execution. If provided at least one key must be present. Variables pulumi.StringMapInput `pulumi:"variables"` }
func (FunctionEnvironmentArgs) ElementType ¶
func (FunctionEnvironmentArgs) ElementType() reflect.Type
func (FunctionEnvironmentArgs) ToFunctionEnvironmentOutput ¶
func (i FunctionEnvironmentArgs) ToFunctionEnvironmentOutput() FunctionEnvironmentOutput
func (FunctionEnvironmentArgs) ToFunctionEnvironmentOutputWithContext ¶
func (i FunctionEnvironmentArgs) ToFunctionEnvironmentOutputWithContext(ctx context.Context) FunctionEnvironmentOutput
func (FunctionEnvironmentArgs) ToFunctionEnvironmentPtrOutput ¶
func (i FunctionEnvironmentArgs) ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput
func (FunctionEnvironmentArgs) ToFunctionEnvironmentPtrOutputWithContext ¶
func (i FunctionEnvironmentArgs) ToFunctionEnvironmentPtrOutputWithContext(ctx context.Context) FunctionEnvironmentPtrOutput
func (FunctionEnvironmentArgs) ToOutput ¶ added in v6.1.0
func (i FunctionEnvironmentArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionEnvironment]
type FunctionEnvironmentInput ¶
type FunctionEnvironmentInput interface { pulumi.Input ToFunctionEnvironmentOutput() FunctionEnvironmentOutput ToFunctionEnvironmentOutputWithContext(context.Context) FunctionEnvironmentOutput }
FunctionEnvironmentInput is an input type that accepts FunctionEnvironmentArgs and FunctionEnvironmentOutput values. You can construct a concrete instance of `FunctionEnvironmentInput` via:
FunctionEnvironmentArgs{...}
type FunctionEnvironmentOutput ¶
type FunctionEnvironmentOutput struct{ *pulumi.OutputState }
func (FunctionEnvironmentOutput) ElementType ¶
func (FunctionEnvironmentOutput) ElementType() reflect.Type
func (FunctionEnvironmentOutput) ToFunctionEnvironmentOutput ¶
func (o FunctionEnvironmentOutput) ToFunctionEnvironmentOutput() FunctionEnvironmentOutput
func (FunctionEnvironmentOutput) ToFunctionEnvironmentOutputWithContext ¶
func (o FunctionEnvironmentOutput) ToFunctionEnvironmentOutputWithContext(ctx context.Context) FunctionEnvironmentOutput
func (FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutput ¶
func (o FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput
func (FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutputWithContext ¶
func (o FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutputWithContext(ctx context.Context) FunctionEnvironmentPtrOutput
func (FunctionEnvironmentOutput) ToOutput ¶ added in v6.1.0
func (o FunctionEnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionEnvironment]
func (FunctionEnvironmentOutput) Variables ¶
func (o FunctionEnvironmentOutput) Variables() pulumi.StringMapOutput
Map of environment variables that are accessible from the function code during execution. If provided at least one key must be present.
type FunctionEnvironmentPtrInput ¶
type FunctionEnvironmentPtrInput interface { pulumi.Input ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput ToFunctionEnvironmentPtrOutputWithContext(context.Context) FunctionEnvironmentPtrOutput }
FunctionEnvironmentPtrInput is an input type that accepts FunctionEnvironmentArgs, FunctionEnvironmentPtr and FunctionEnvironmentPtrOutput values. You can construct a concrete instance of `FunctionEnvironmentPtrInput` via:
FunctionEnvironmentArgs{...} or: nil
func FunctionEnvironmentPtr ¶
func FunctionEnvironmentPtr(v *FunctionEnvironmentArgs) FunctionEnvironmentPtrInput
type FunctionEnvironmentPtrOutput ¶
type FunctionEnvironmentPtrOutput struct{ *pulumi.OutputState }
func (FunctionEnvironmentPtrOutput) Elem ¶
func (o FunctionEnvironmentPtrOutput) Elem() FunctionEnvironmentOutput
func (FunctionEnvironmentPtrOutput) ElementType ¶
func (FunctionEnvironmentPtrOutput) ElementType() reflect.Type
func (FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutput ¶
func (o FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput
func (FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutputWithContext ¶
func (o FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutputWithContext(ctx context.Context) FunctionEnvironmentPtrOutput
func (FunctionEnvironmentPtrOutput) ToOutput ¶ added in v6.1.0
func (o FunctionEnvironmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionEnvironment]
func (FunctionEnvironmentPtrOutput) Variables ¶
func (o FunctionEnvironmentPtrOutput) Variables() pulumi.StringMapOutput
Map of environment variables that are accessible from the function code during execution. If provided at least one key must be present.
type FunctionEphemeralStorage ¶
type FunctionEphemeralStorage struct { // The size of the Lambda function Ephemeral storage(`/tmp`) represented in MB. The minimum supported `ephemeralStorage` value defaults to `512`MB and the maximum supported value is `10240`MB. Size *int `pulumi:"size"` }
type FunctionEphemeralStorageArgs ¶
type FunctionEphemeralStorageArgs struct { // The size of the Lambda function Ephemeral storage(`/tmp`) represented in MB. The minimum supported `ephemeralStorage` value defaults to `512`MB and the maximum supported value is `10240`MB. Size pulumi.IntPtrInput `pulumi:"size"` }
func (FunctionEphemeralStorageArgs) ElementType ¶
func (FunctionEphemeralStorageArgs) ElementType() reflect.Type
func (FunctionEphemeralStorageArgs) ToFunctionEphemeralStorageOutput ¶
func (i FunctionEphemeralStorageArgs) ToFunctionEphemeralStorageOutput() FunctionEphemeralStorageOutput
func (FunctionEphemeralStorageArgs) ToFunctionEphemeralStorageOutputWithContext ¶
func (i FunctionEphemeralStorageArgs) ToFunctionEphemeralStorageOutputWithContext(ctx context.Context) FunctionEphemeralStorageOutput
func (FunctionEphemeralStorageArgs) ToFunctionEphemeralStoragePtrOutput ¶
func (i FunctionEphemeralStorageArgs) ToFunctionEphemeralStoragePtrOutput() FunctionEphemeralStoragePtrOutput
func (FunctionEphemeralStorageArgs) ToFunctionEphemeralStoragePtrOutputWithContext ¶
func (i FunctionEphemeralStorageArgs) ToFunctionEphemeralStoragePtrOutputWithContext(ctx context.Context) FunctionEphemeralStoragePtrOutput
func (FunctionEphemeralStorageArgs) ToOutput ¶ added in v6.1.0
func (i FunctionEphemeralStorageArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionEphemeralStorage]
type FunctionEphemeralStorageInput ¶
type FunctionEphemeralStorageInput interface { pulumi.Input ToFunctionEphemeralStorageOutput() FunctionEphemeralStorageOutput ToFunctionEphemeralStorageOutputWithContext(context.Context) FunctionEphemeralStorageOutput }
FunctionEphemeralStorageInput is an input type that accepts FunctionEphemeralStorageArgs and FunctionEphemeralStorageOutput values. You can construct a concrete instance of `FunctionEphemeralStorageInput` via:
FunctionEphemeralStorageArgs{...}
type FunctionEphemeralStorageOutput ¶
type FunctionEphemeralStorageOutput struct{ *pulumi.OutputState }
func (FunctionEphemeralStorageOutput) ElementType ¶
func (FunctionEphemeralStorageOutput) ElementType() reflect.Type
func (FunctionEphemeralStorageOutput) Size ¶
func (o FunctionEphemeralStorageOutput) Size() pulumi.IntPtrOutput
The size of the Lambda function Ephemeral storage(`/tmp`) represented in MB. The minimum supported `ephemeralStorage` value defaults to `512`MB and the maximum supported value is `10240`MB.
func (FunctionEphemeralStorageOutput) ToFunctionEphemeralStorageOutput ¶
func (o FunctionEphemeralStorageOutput) ToFunctionEphemeralStorageOutput() FunctionEphemeralStorageOutput
func (FunctionEphemeralStorageOutput) ToFunctionEphemeralStorageOutputWithContext ¶
func (o FunctionEphemeralStorageOutput) ToFunctionEphemeralStorageOutputWithContext(ctx context.Context) FunctionEphemeralStorageOutput
func (FunctionEphemeralStorageOutput) ToFunctionEphemeralStoragePtrOutput ¶
func (o FunctionEphemeralStorageOutput) ToFunctionEphemeralStoragePtrOutput() FunctionEphemeralStoragePtrOutput
func (FunctionEphemeralStorageOutput) ToFunctionEphemeralStoragePtrOutputWithContext ¶
func (o FunctionEphemeralStorageOutput) ToFunctionEphemeralStoragePtrOutputWithContext(ctx context.Context) FunctionEphemeralStoragePtrOutput
func (FunctionEphemeralStorageOutput) ToOutput ¶ added in v6.1.0
func (o FunctionEphemeralStorageOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionEphemeralStorage]
type FunctionEphemeralStoragePtrInput ¶
type FunctionEphemeralStoragePtrInput interface { pulumi.Input ToFunctionEphemeralStoragePtrOutput() FunctionEphemeralStoragePtrOutput ToFunctionEphemeralStoragePtrOutputWithContext(context.Context) FunctionEphemeralStoragePtrOutput }
FunctionEphemeralStoragePtrInput is an input type that accepts FunctionEphemeralStorageArgs, FunctionEphemeralStoragePtr and FunctionEphemeralStoragePtrOutput values. You can construct a concrete instance of `FunctionEphemeralStoragePtrInput` via:
FunctionEphemeralStorageArgs{...} or: nil
func FunctionEphemeralStoragePtr ¶
func FunctionEphemeralStoragePtr(v *FunctionEphemeralStorageArgs) FunctionEphemeralStoragePtrInput
type FunctionEphemeralStoragePtrOutput ¶
type FunctionEphemeralStoragePtrOutput struct{ *pulumi.OutputState }
func (FunctionEphemeralStoragePtrOutput) Elem ¶
func (o FunctionEphemeralStoragePtrOutput) Elem() FunctionEphemeralStorageOutput
func (FunctionEphemeralStoragePtrOutput) ElementType ¶
func (FunctionEphemeralStoragePtrOutput) ElementType() reflect.Type
func (FunctionEphemeralStoragePtrOutput) Size ¶
func (o FunctionEphemeralStoragePtrOutput) Size() pulumi.IntPtrOutput
The size of the Lambda function Ephemeral storage(`/tmp`) represented in MB. The minimum supported `ephemeralStorage` value defaults to `512`MB and the maximum supported value is `10240`MB.
func (FunctionEphemeralStoragePtrOutput) ToFunctionEphemeralStoragePtrOutput ¶
func (o FunctionEphemeralStoragePtrOutput) ToFunctionEphemeralStoragePtrOutput() FunctionEphemeralStoragePtrOutput
func (FunctionEphemeralStoragePtrOutput) ToFunctionEphemeralStoragePtrOutputWithContext ¶
func (o FunctionEphemeralStoragePtrOutput) ToFunctionEphemeralStoragePtrOutputWithContext(ctx context.Context) FunctionEphemeralStoragePtrOutput
func (FunctionEphemeralStoragePtrOutput) ToOutput ¶ added in v6.1.0
func (o FunctionEphemeralStoragePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionEphemeralStorage]
type FunctionEventInvokeConfig ¶
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. // // The following arguments are optional: 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).
## Example Usage ### Destination Configuration
> **NOTE:** Ensure the Lambda Function IAM Role has necessary permissions for the destination, such as `sqs:SendMessage` or `sns:Publish`, otherwise the API will return a generic `InvalidParameterValueException: The destination ARN arn:PARTITION:SERVICE:REGION:ACCOUNT:RESOURCE is invalid.` error.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewFunctionEventInvokeConfig(ctx, "example", &lambda.FunctionEventInvokeConfigArgs{ FunctionName: pulumi.Any(aws_lambda_alias.Example.Function_name), DestinationConfig: &lambda.FunctionEventInvokeConfigDestinationConfigArgs{ OnFailure: &lambda.FunctionEventInvokeConfigDestinationConfigOnFailureArgs{ Destination: pulumi.Any(aws_sqs_queue.Example.Arn), }, OnSuccess: &lambda.FunctionEventInvokeConfigDestinationConfigOnSuccessArgs{ Destination: pulumi.Any(aws_sns_topic.Example.Arn), }, }, }) if err != nil { return err } return nil }) }
``` ### Error Handling Configuration
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewFunctionEventInvokeConfig(ctx, "example", &lambda.FunctionEventInvokeConfigArgs{ FunctionName: pulumi.Any(aws_lambda_alias.Example.Function_name), MaximumEventAgeInSeconds: pulumi.Int(60), MaximumRetryAttempts: pulumi.Int(0), }) if err != nil { return err } return nil }) }
``` ### Configuration for Alias Name
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewFunctionEventInvokeConfig(ctx, "example", &lambda.FunctionEventInvokeConfigArgs{ FunctionName: pulumi.Any(aws_lambda_alias.Example.Function_name), Qualifier: pulumi.Any(aws_lambda_alias.Example.Name), }) if err != nil { return err } return nil }) }
``` ### Configuration for Function Latest Unpublished Version
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewFunctionEventInvokeConfig(ctx, "example", &lambda.FunctionEventInvokeConfigArgs{ FunctionName: pulumi.Any(aws_lambda_function.Example.Function_name), Qualifier: pulumi.String("$LATEST"), }) if err != nil { return err } return nil }) }
``` ### Configuration for Function Published Version
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewFunctionEventInvokeConfig(ctx, "example", &lambda.FunctionEventInvokeConfigArgs{ FunctionName: pulumi.Any(aws_lambda_function.Example.Function_name), Qualifier: pulumi.Any(aws_lambda_function.Example.Version), }) if err != nil { return err } return nil }) }
```
## Import
ARN with qualifier:
Name without qualifier (all versions and aliases):
Name with qualifier:
__Using `pulumi import` to import__ Lambda Function Event Invoke Configs using the fully qualified Function name or Amazon Resource Name (ARN). For example:
ARN without qualifier (all versions and aliases):
```sh
$ pulumi import aws:lambda/functionEventInvokeConfig:FunctionEventInvokeConfig example arn:aws:us-east-1:123456789012:function:my_function
```
ARN with qualifier:
```sh
$ pulumi import aws:lambda/functionEventInvokeConfig:FunctionEventInvokeConfig example arn:aws:us-east-1:123456789012:function:my_function:production
```
Name without qualifier (all versions and aliases):
```sh
$ pulumi import aws:lambda/functionEventInvokeConfig:FunctionEventInvokeConfig example my_function
```
Name with qualifier:
```sh
$ pulumi import aws:lambda/functionEventInvokeConfig:FunctionEventInvokeConfig example my_function:production
```
func GetFunctionEventInvokeConfig ¶
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 ¶
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.
func (*FunctionEventInvokeConfig) ElementType ¶
func (*FunctionEventInvokeConfig) ElementType() reflect.Type
func (*FunctionEventInvokeConfig) ToFunctionEventInvokeConfigOutput ¶
func (i *FunctionEventInvokeConfig) ToFunctionEventInvokeConfigOutput() FunctionEventInvokeConfigOutput
func (*FunctionEventInvokeConfig) ToFunctionEventInvokeConfigOutputWithContext ¶
func (i *FunctionEventInvokeConfig) ToFunctionEventInvokeConfigOutputWithContext(ctx context.Context) FunctionEventInvokeConfigOutput
func (*FunctionEventInvokeConfig) ToOutput ¶ added in v6.1.0
func (i *FunctionEventInvokeConfig) ToOutput(ctx context.Context) pulumix.Output[*FunctionEventInvokeConfig]
type FunctionEventInvokeConfigArgs ¶
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. // // The following arguments are optional: 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 ¶
func (FunctionEventInvokeConfigArgs) ElementType() reflect.Type
type FunctionEventInvokeConfigArray ¶
type FunctionEventInvokeConfigArray []FunctionEventInvokeConfigInput
func (FunctionEventInvokeConfigArray) ElementType ¶
func (FunctionEventInvokeConfigArray) ElementType() reflect.Type
func (FunctionEventInvokeConfigArray) ToFunctionEventInvokeConfigArrayOutput ¶
func (i FunctionEventInvokeConfigArray) ToFunctionEventInvokeConfigArrayOutput() FunctionEventInvokeConfigArrayOutput
func (FunctionEventInvokeConfigArray) ToFunctionEventInvokeConfigArrayOutputWithContext ¶
func (i FunctionEventInvokeConfigArray) ToFunctionEventInvokeConfigArrayOutputWithContext(ctx context.Context) FunctionEventInvokeConfigArrayOutput
func (FunctionEventInvokeConfigArray) ToOutput ¶ added in v6.1.0
func (i FunctionEventInvokeConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]*FunctionEventInvokeConfig]
type FunctionEventInvokeConfigArrayInput ¶
type FunctionEventInvokeConfigArrayInput interface { pulumi.Input ToFunctionEventInvokeConfigArrayOutput() FunctionEventInvokeConfigArrayOutput ToFunctionEventInvokeConfigArrayOutputWithContext(context.Context) FunctionEventInvokeConfigArrayOutput }
FunctionEventInvokeConfigArrayInput is an input type that accepts FunctionEventInvokeConfigArray and FunctionEventInvokeConfigArrayOutput values. You can construct a concrete instance of `FunctionEventInvokeConfigArrayInput` via:
FunctionEventInvokeConfigArray{ FunctionEventInvokeConfigArgs{...} }
type FunctionEventInvokeConfigArrayOutput ¶
type FunctionEventInvokeConfigArrayOutput struct{ *pulumi.OutputState }
func (FunctionEventInvokeConfigArrayOutput) ElementType ¶
func (FunctionEventInvokeConfigArrayOutput) ElementType() reflect.Type
func (FunctionEventInvokeConfigArrayOutput) Index ¶
func (o FunctionEventInvokeConfigArrayOutput) Index(i pulumi.IntInput) FunctionEventInvokeConfigOutput
func (FunctionEventInvokeConfigArrayOutput) ToFunctionEventInvokeConfigArrayOutput ¶
func (o FunctionEventInvokeConfigArrayOutput) ToFunctionEventInvokeConfigArrayOutput() FunctionEventInvokeConfigArrayOutput
func (FunctionEventInvokeConfigArrayOutput) ToFunctionEventInvokeConfigArrayOutputWithContext ¶
func (o FunctionEventInvokeConfigArrayOutput) ToFunctionEventInvokeConfigArrayOutputWithContext(ctx context.Context) FunctionEventInvokeConfigArrayOutput
func (FunctionEventInvokeConfigArrayOutput) ToOutput ¶ added in v6.1.0
func (o FunctionEventInvokeConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*FunctionEventInvokeConfig]
type FunctionEventInvokeConfigDestinationConfig ¶
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 ¶
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 ¶
func (FunctionEventInvokeConfigDestinationConfigArgs) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigOutput ¶
func (i FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigOutput() FunctionEventInvokeConfigDestinationConfigOutput
func (FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigOutputWithContext ¶
func (i FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOutput
func (FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigPtrOutput ¶
func (i FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigPtrOutput() FunctionEventInvokeConfigDestinationConfigPtrOutput
func (FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext ¶
func (i FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigPtrOutput
func (FunctionEventInvokeConfigDestinationConfigArgs) ToOutput ¶ added in v6.1.0
func (i FunctionEventInvokeConfigDestinationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionEventInvokeConfigDestinationConfig]
type FunctionEventInvokeConfigDestinationConfigInput ¶
type FunctionEventInvokeConfigDestinationConfigInput interface { pulumi.Input ToFunctionEventInvokeConfigDestinationConfigOutput() FunctionEventInvokeConfigDestinationConfigOutput ToFunctionEventInvokeConfigDestinationConfigOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigOutput }
FunctionEventInvokeConfigDestinationConfigInput is an input type that accepts FunctionEventInvokeConfigDestinationConfigArgs and FunctionEventInvokeConfigDestinationConfigOutput values. You can construct a concrete instance of `FunctionEventInvokeConfigDestinationConfigInput` via:
FunctionEventInvokeConfigDestinationConfigArgs{...}
type FunctionEventInvokeConfigDestinationConfigOnFailure ¶
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 ¶
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 ¶
func (FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutput ¶
func (i FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutput() FunctionEventInvokeConfigDestinationConfigOnFailureOutput
func (FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutputWithContext ¶
func (i FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailureOutput
func (FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput ¶
func (i FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
func (FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext ¶
func (i FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
type FunctionEventInvokeConfigDestinationConfigOnFailureInput ¶
type FunctionEventInvokeConfigDestinationConfigOnFailureInput interface { pulumi.Input ToFunctionEventInvokeConfigDestinationConfigOnFailureOutput() FunctionEventInvokeConfigDestinationConfigOnFailureOutput ToFunctionEventInvokeConfigDestinationConfigOnFailureOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigOnFailureOutput }
FunctionEventInvokeConfigDestinationConfigOnFailureInput is an input type that accepts FunctionEventInvokeConfigDestinationConfigOnFailureArgs and FunctionEventInvokeConfigDestinationConfigOnFailureOutput values. You can construct a concrete instance of `FunctionEventInvokeConfigDestinationConfigOnFailureInput` via:
FunctionEventInvokeConfigDestinationConfigOnFailureArgs{...}
type FunctionEventInvokeConfigDestinationConfigOnFailureOutput ¶
type FunctionEventInvokeConfigDestinationConfigOnFailureOutput struct{ *pulumi.OutputState }
func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) Destination ¶
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 ¶
func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutput ¶
func (o FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutput() FunctionEventInvokeConfigDestinationConfigOnFailureOutput
func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutputWithContext ¶
func (o FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailureOutput
func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput ¶
func (o FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext ¶
func (o FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
type FunctionEventInvokeConfigDestinationConfigOnFailurePtrInput ¶
type FunctionEventInvokeConfigDestinationConfigOnFailurePtrInput interface { pulumi.Input ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput }
FunctionEventInvokeConfigDestinationConfigOnFailurePtrInput is an input type that accepts FunctionEventInvokeConfigDestinationConfigOnFailureArgs, FunctionEventInvokeConfigDestinationConfigOnFailurePtr and FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput values. You can construct a concrete instance of `FunctionEventInvokeConfigDestinationConfigOnFailurePtrInput` via:
FunctionEventInvokeConfigDestinationConfigOnFailureArgs{...} or: nil
func FunctionEventInvokeConfigDestinationConfigOnFailurePtr ¶
func FunctionEventInvokeConfigDestinationConfigOnFailurePtr(v *FunctionEventInvokeConfigDestinationConfigOnFailureArgs) FunctionEventInvokeConfigDestinationConfigOnFailurePtrInput
type FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput ¶
type FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput struct{ *pulumi.OutputState }
func (FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) Destination ¶
func (o FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) Destination() pulumi.StringPtrOutput
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 ¶
func (FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput ¶
func (o FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
func (FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext ¶
func (o FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
type FunctionEventInvokeConfigDestinationConfigOnSuccess ¶
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 ¶
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 ¶
func (FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutput ¶
func (i FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessOutput
func (FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutputWithContext ¶
func (i FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessOutput
func (FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput ¶
func (i FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
func (FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext ¶
func (i FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
type FunctionEventInvokeConfigDestinationConfigOnSuccessInput ¶
type FunctionEventInvokeConfigDestinationConfigOnSuccessInput interface { pulumi.Input ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessOutput ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessOutput }
FunctionEventInvokeConfigDestinationConfigOnSuccessInput is an input type that accepts FunctionEventInvokeConfigDestinationConfigOnSuccessArgs and FunctionEventInvokeConfigDestinationConfigOnSuccessOutput values. You can construct a concrete instance of `FunctionEventInvokeConfigDestinationConfigOnSuccessInput` via:
FunctionEventInvokeConfigDestinationConfigOnSuccessArgs{...}
type FunctionEventInvokeConfigDestinationConfigOnSuccessOutput ¶
type FunctionEventInvokeConfigDestinationConfigOnSuccessOutput struct{ *pulumi.OutputState }
func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) Destination ¶
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 ¶
func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutput ¶
func (o FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessOutput
func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutputWithContext ¶
func (o FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessOutput
func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput ¶
func (o FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext ¶
func (o FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
type FunctionEventInvokeConfigDestinationConfigOnSuccessPtrInput ¶
type FunctionEventInvokeConfigDestinationConfigOnSuccessPtrInput interface { pulumi.Input ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput }
FunctionEventInvokeConfigDestinationConfigOnSuccessPtrInput is an input type that accepts FunctionEventInvokeConfigDestinationConfigOnSuccessArgs, FunctionEventInvokeConfigDestinationConfigOnSuccessPtr and FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput values. You can construct a concrete instance of `FunctionEventInvokeConfigDestinationConfigOnSuccessPtrInput` via:
FunctionEventInvokeConfigDestinationConfigOnSuccessArgs{...} or: nil
func FunctionEventInvokeConfigDestinationConfigOnSuccessPtr ¶
func FunctionEventInvokeConfigDestinationConfigOnSuccessPtr(v *FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrInput
type FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput ¶
type FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput struct{ *pulumi.OutputState }
func (FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) Destination ¶
func (o FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) Destination() pulumi.StringPtrOutput
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 ¶
func (FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput ¶
func (o FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
func (FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext ¶
func (o FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
type FunctionEventInvokeConfigDestinationConfigOutput ¶
type FunctionEventInvokeConfigDestinationConfigOutput struct{ *pulumi.OutputState }
func (FunctionEventInvokeConfigDestinationConfigOutput) ElementType ¶
func (FunctionEventInvokeConfigDestinationConfigOutput) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigOutput) OnFailure ¶
func (o FunctionEventInvokeConfigDestinationConfigOutput) OnFailure() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
Configuration block with destination configuration for failed asynchronous invocations. See below for details.
func (FunctionEventInvokeConfigDestinationConfigOutput) OnSuccess ¶
func (o FunctionEventInvokeConfigDestinationConfigOutput) OnSuccess() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
Configuration block with destination configuration for successful asynchronous invocations. See below for details.
func (FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigOutput ¶
func (o FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigOutput() FunctionEventInvokeConfigDestinationConfigOutput
func (FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigOutputWithContext ¶
func (o FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOutput
func (FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutput ¶
func (o FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutput() FunctionEventInvokeConfigDestinationConfigPtrOutput
func (FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext ¶
func (o FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigPtrOutput
type FunctionEventInvokeConfigDestinationConfigPtrInput ¶
type FunctionEventInvokeConfigDestinationConfigPtrInput interface { pulumi.Input ToFunctionEventInvokeConfigDestinationConfigPtrOutput() FunctionEventInvokeConfigDestinationConfigPtrOutput ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigPtrOutput }
FunctionEventInvokeConfigDestinationConfigPtrInput is an input type that accepts FunctionEventInvokeConfigDestinationConfigArgs, FunctionEventInvokeConfigDestinationConfigPtr and FunctionEventInvokeConfigDestinationConfigPtrOutput values. You can construct a concrete instance of `FunctionEventInvokeConfigDestinationConfigPtrInput` via:
FunctionEventInvokeConfigDestinationConfigArgs{...} or: nil
func FunctionEventInvokeConfigDestinationConfigPtr ¶
func FunctionEventInvokeConfigDestinationConfigPtr(v *FunctionEventInvokeConfigDestinationConfigArgs) FunctionEventInvokeConfigDestinationConfigPtrInput
type FunctionEventInvokeConfigDestinationConfigPtrOutput ¶
type FunctionEventInvokeConfigDestinationConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionEventInvokeConfigDestinationConfigPtrOutput) ElementType ¶
func (FunctionEventInvokeConfigDestinationConfigPtrOutput) ElementType() reflect.Type
func (FunctionEventInvokeConfigDestinationConfigPtrOutput) OnFailure ¶
func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) OnFailure() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
Configuration block with destination configuration for failed asynchronous invocations. See below for details.
func (FunctionEventInvokeConfigDestinationConfigPtrOutput) OnSuccess ¶
func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) OnSuccess() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
Configuration block with destination configuration for successful asynchronous invocations. See below for details.
func (FunctionEventInvokeConfigDestinationConfigPtrOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutput ¶
func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutput() FunctionEventInvokeConfigDestinationConfigPtrOutput
func (FunctionEventInvokeConfigDestinationConfigPtrOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext ¶
func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigPtrOutput
func (FunctionEventInvokeConfigDestinationConfigPtrOutput) ToOutput ¶ added in v6.1.0
func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionEventInvokeConfigDestinationConfig]
type FunctionEventInvokeConfigInput ¶
type FunctionEventInvokeConfigInput interface { pulumi.Input ToFunctionEventInvokeConfigOutput() FunctionEventInvokeConfigOutput ToFunctionEventInvokeConfigOutputWithContext(ctx context.Context) FunctionEventInvokeConfigOutput }
type FunctionEventInvokeConfigMap ¶
type FunctionEventInvokeConfigMap map[string]FunctionEventInvokeConfigInput
func (FunctionEventInvokeConfigMap) ElementType ¶
func (FunctionEventInvokeConfigMap) ElementType() reflect.Type
func (FunctionEventInvokeConfigMap) ToFunctionEventInvokeConfigMapOutput ¶
func (i FunctionEventInvokeConfigMap) ToFunctionEventInvokeConfigMapOutput() FunctionEventInvokeConfigMapOutput
func (FunctionEventInvokeConfigMap) ToFunctionEventInvokeConfigMapOutputWithContext ¶
func (i FunctionEventInvokeConfigMap) ToFunctionEventInvokeConfigMapOutputWithContext(ctx context.Context) FunctionEventInvokeConfigMapOutput
func (FunctionEventInvokeConfigMap) ToOutput ¶ added in v6.1.0
func (i FunctionEventInvokeConfigMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*FunctionEventInvokeConfig]
type FunctionEventInvokeConfigMapInput ¶
type FunctionEventInvokeConfigMapInput interface { pulumi.Input ToFunctionEventInvokeConfigMapOutput() FunctionEventInvokeConfigMapOutput ToFunctionEventInvokeConfigMapOutputWithContext(context.Context) FunctionEventInvokeConfigMapOutput }
FunctionEventInvokeConfigMapInput is an input type that accepts FunctionEventInvokeConfigMap and FunctionEventInvokeConfigMapOutput values. You can construct a concrete instance of `FunctionEventInvokeConfigMapInput` via:
FunctionEventInvokeConfigMap{ "key": FunctionEventInvokeConfigArgs{...} }
type FunctionEventInvokeConfigMapOutput ¶
type FunctionEventInvokeConfigMapOutput struct{ *pulumi.OutputState }
func (FunctionEventInvokeConfigMapOutput) ElementType ¶
func (FunctionEventInvokeConfigMapOutput) ElementType() reflect.Type
func (FunctionEventInvokeConfigMapOutput) MapIndex ¶
func (o FunctionEventInvokeConfigMapOutput) MapIndex(k pulumi.StringInput) FunctionEventInvokeConfigOutput
func (FunctionEventInvokeConfigMapOutput) ToFunctionEventInvokeConfigMapOutput ¶
func (o FunctionEventInvokeConfigMapOutput) ToFunctionEventInvokeConfigMapOutput() FunctionEventInvokeConfigMapOutput
func (FunctionEventInvokeConfigMapOutput) ToFunctionEventInvokeConfigMapOutputWithContext ¶
func (o FunctionEventInvokeConfigMapOutput) ToFunctionEventInvokeConfigMapOutputWithContext(ctx context.Context) FunctionEventInvokeConfigMapOutput
func (FunctionEventInvokeConfigMapOutput) ToOutput ¶ added in v6.1.0
func (o FunctionEventInvokeConfigMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*FunctionEventInvokeConfig]
type FunctionEventInvokeConfigOutput ¶
type FunctionEventInvokeConfigOutput struct{ *pulumi.OutputState }
func (FunctionEventInvokeConfigOutput) DestinationConfig ¶
func (o FunctionEventInvokeConfigOutput) DestinationConfig() FunctionEventInvokeConfigDestinationConfigPtrOutput
Configuration block with destination configuration. See below for details.
func (FunctionEventInvokeConfigOutput) ElementType ¶
func (FunctionEventInvokeConfigOutput) ElementType() reflect.Type
func (FunctionEventInvokeConfigOutput) FunctionName ¶
func (o FunctionEventInvokeConfigOutput) FunctionName() pulumi.StringOutput
Name or Amazon Resource Name (ARN) of the Lambda Function, omitting any version or alias qualifier.
The following arguments are optional:
func (FunctionEventInvokeConfigOutput) MaximumEventAgeInSeconds ¶
func (o FunctionEventInvokeConfigOutput) MaximumEventAgeInSeconds() pulumi.IntPtrOutput
Maximum age of a request that Lambda sends to a function for processing in seconds. Valid values between 60 and 21600.
func (FunctionEventInvokeConfigOutput) MaximumRetryAttempts ¶
func (o FunctionEventInvokeConfigOutput) MaximumRetryAttempts() pulumi.IntPtrOutput
Maximum number of times to retry when the function returns an error. Valid values between 0 and 2. Defaults to 2.
func (FunctionEventInvokeConfigOutput) Qualifier ¶
func (o FunctionEventInvokeConfigOutput) Qualifier() pulumi.StringPtrOutput
Lambda Function published version, `$LATEST`, or Lambda Alias name.
func (FunctionEventInvokeConfigOutput) ToFunctionEventInvokeConfigOutput ¶
func (o FunctionEventInvokeConfigOutput) ToFunctionEventInvokeConfigOutput() FunctionEventInvokeConfigOutput
func (FunctionEventInvokeConfigOutput) ToFunctionEventInvokeConfigOutputWithContext ¶
func (o FunctionEventInvokeConfigOutput) ToFunctionEventInvokeConfigOutputWithContext(ctx context.Context) FunctionEventInvokeConfigOutput
func (FunctionEventInvokeConfigOutput) ToOutput ¶ added in v6.1.0
func (o FunctionEventInvokeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionEventInvokeConfig]
type FunctionEventInvokeConfigState ¶
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. // // The following arguments are optional: 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 ¶
func (FunctionEventInvokeConfigState) ElementType() reflect.Type
type FunctionFileSystemConfigArgs ¶
type FunctionFileSystemConfigArgs struct { // Amazon Resource Name (ARN) of the Amazon EFS Access Point that provides access to the file system. Arn pulumi.StringInput `pulumi:"arn"` // Path where the function can access the file system, starting with /mnt/. LocalMountPath pulumi.StringInput `pulumi:"localMountPath"` }
func (FunctionFileSystemConfigArgs) ElementType ¶
func (FunctionFileSystemConfigArgs) ElementType() reflect.Type
func (FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigOutput ¶
func (i FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigOutput() FunctionFileSystemConfigOutput
func (FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigOutputWithContext ¶
func (i FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigOutputWithContext(ctx context.Context) FunctionFileSystemConfigOutput
func (FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigPtrOutput ¶
func (i FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigPtrOutput() FunctionFileSystemConfigPtrOutput
func (FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigPtrOutputWithContext ¶
func (i FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigPtrOutputWithContext(ctx context.Context) FunctionFileSystemConfigPtrOutput
func (FunctionFileSystemConfigArgs) ToOutput ¶ added in v6.1.0
func (i FunctionFileSystemConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionFileSystemConfig]
type FunctionFileSystemConfigInput ¶
type FunctionFileSystemConfigInput interface { pulumi.Input ToFunctionFileSystemConfigOutput() FunctionFileSystemConfigOutput ToFunctionFileSystemConfigOutputWithContext(context.Context) FunctionFileSystemConfigOutput }
FunctionFileSystemConfigInput is an input type that accepts FunctionFileSystemConfigArgs and FunctionFileSystemConfigOutput values. You can construct a concrete instance of `FunctionFileSystemConfigInput` via:
FunctionFileSystemConfigArgs{...}
type FunctionFileSystemConfigOutput ¶
type FunctionFileSystemConfigOutput struct{ *pulumi.OutputState }
func (FunctionFileSystemConfigOutput) Arn ¶
func (o FunctionFileSystemConfigOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) of the Amazon EFS Access Point that provides access to the file system.
func (FunctionFileSystemConfigOutput) ElementType ¶
func (FunctionFileSystemConfigOutput) ElementType() reflect.Type
func (FunctionFileSystemConfigOutput) LocalMountPath ¶
func (o FunctionFileSystemConfigOutput) LocalMountPath() pulumi.StringOutput
Path where the function can access the file system, starting with /mnt/.
func (FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigOutput ¶
func (o FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigOutput() FunctionFileSystemConfigOutput
func (FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigOutputWithContext ¶
func (o FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigOutputWithContext(ctx context.Context) FunctionFileSystemConfigOutput
func (FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigPtrOutput ¶
func (o FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigPtrOutput() FunctionFileSystemConfigPtrOutput
func (FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigPtrOutputWithContext ¶
func (o FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigPtrOutputWithContext(ctx context.Context) FunctionFileSystemConfigPtrOutput
func (FunctionFileSystemConfigOutput) ToOutput ¶ added in v6.1.0
func (o FunctionFileSystemConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionFileSystemConfig]
type FunctionFileSystemConfigPtrInput ¶
type FunctionFileSystemConfigPtrInput interface { pulumi.Input ToFunctionFileSystemConfigPtrOutput() FunctionFileSystemConfigPtrOutput ToFunctionFileSystemConfigPtrOutputWithContext(context.Context) FunctionFileSystemConfigPtrOutput }
FunctionFileSystemConfigPtrInput is an input type that accepts FunctionFileSystemConfigArgs, FunctionFileSystemConfigPtr and FunctionFileSystemConfigPtrOutput values. You can construct a concrete instance of `FunctionFileSystemConfigPtrInput` via:
FunctionFileSystemConfigArgs{...} or: nil
func FunctionFileSystemConfigPtr ¶
func FunctionFileSystemConfigPtr(v *FunctionFileSystemConfigArgs) FunctionFileSystemConfigPtrInput
type FunctionFileSystemConfigPtrOutput ¶
type FunctionFileSystemConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionFileSystemConfigPtrOutput) Arn ¶
func (o FunctionFileSystemConfigPtrOutput) Arn() pulumi.StringPtrOutput
Amazon Resource Name (ARN) of the Amazon EFS Access Point that provides access to the file system.
func (FunctionFileSystemConfigPtrOutput) Elem ¶
func (o FunctionFileSystemConfigPtrOutput) Elem() FunctionFileSystemConfigOutput
func (FunctionFileSystemConfigPtrOutput) ElementType ¶
func (FunctionFileSystemConfigPtrOutput) ElementType() reflect.Type
func (FunctionFileSystemConfigPtrOutput) LocalMountPath ¶
func (o FunctionFileSystemConfigPtrOutput) LocalMountPath() pulumi.StringPtrOutput
Path where the function can access the file system, starting with /mnt/.
func (FunctionFileSystemConfigPtrOutput) ToFunctionFileSystemConfigPtrOutput ¶
func (o FunctionFileSystemConfigPtrOutput) ToFunctionFileSystemConfigPtrOutput() FunctionFileSystemConfigPtrOutput
func (FunctionFileSystemConfigPtrOutput) ToFunctionFileSystemConfigPtrOutputWithContext ¶
func (o FunctionFileSystemConfigPtrOutput) ToFunctionFileSystemConfigPtrOutputWithContext(ctx context.Context) FunctionFileSystemConfigPtrOutput
func (FunctionFileSystemConfigPtrOutput) ToOutput ¶ added in v6.1.0
func (o FunctionFileSystemConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionFileSystemConfig]
type FunctionImageConfig ¶
type FunctionImageConfig struct { // Parameters that you want to pass in with `entryPoint`. Commands []string `pulumi:"commands"` // Entry point to your application, which is typically the location of the runtime executable. EntryPoints []string `pulumi:"entryPoints"` // Working directory. WorkingDirectory *string `pulumi:"workingDirectory"` }
type FunctionImageConfigArgs ¶
type FunctionImageConfigArgs struct { // Parameters that you want to pass in with `entryPoint`. Commands pulumi.StringArrayInput `pulumi:"commands"` // Entry point to your application, which is typically the location of the runtime executable. EntryPoints pulumi.StringArrayInput `pulumi:"entryPoints"` // Working directory. WorkingDirectory pulumi.StringPtrInput `pulumi:"workingDirectory"` }
func (FunctionImageConfigArgs) ElementType ¶
func (FunctionImageConfigArgs) ElementType() reflect.Type
func (FunctionImageConfigArgs) ToFunctionImageConfigOutput ¶
func (i FunctionImageConfigArgs) ToFunctionImageConfigOutput() FunctionImageConfigOutput
func (FunctionImageConfigArgs) ToFunctionImageConfigOutputWithContext ¶
func (i FunctionImageConfigArgs) ToFunctionImageConfigOutputWithContext(ctx context.Context) FunctionImageConfigOutput
func (FunctionImageConfigArgs) ToFunctionImageConfigPtrOutput ¶
func (i FunctionImageConfigArgs) ToFunctionImageConfigPtrOutput() FunctionImageConfigPtrOutput
func (FunctionImageConfigArgs) ToFunctionImageConfigPtrOutputWithContext ¶
func (i FunctionImageConfigArgs) ToFunctionImageConfigPtrOutputWithContext(ctx context.Context) FunctionImageConfigPtrOutput
func (FunctionImageConfigArgs) ToOutput ¶ added in v6.1.0
func (i FunctionImageConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionImageConfig]
type FunctionImageConfigInput ¶
type FunctionImageConfigInput interface { pulumi.Input ToFunctionImageConfigOutput() FunctionImageConfigOutput ToFunctionImageConfigOutputWithContext(context.Context) FunctionImageConfigOutput }
FunctionImageConfigInput is an input type that accepts FunctionImageConfigArgs and FunctionImageConfigOutput values. You can construct a concrete instance of `FunctionImageConfigInput` via:
FunctionImageConfigArgs{...}
type FunctionImageConfigOutput ¶
type FunctionImageConfigOutput struct{ *pulumi.OutputState }
func (FunctionImageConfigOutput) Commands ¶
func (o FunctionImageConfigOutput) Commands() pulumi.StringArrayOutput
Parameters that you want to pass in with `entryPoint`.
func (FunctionImageConfigOutput) ElementType ¶
func (FunctionImageConfigOutput) ElementType() reflect.Type
func (FunctionImageConfigOutput) EntryPoints ¶
func (o FunctionImageConfigOutput) EntryPoints() pulumi.StringArrayOutput
Entry point to your application, which is typically the location of the runtime executable.
func (FunctionImageConfigOutput) ToFunctionImageConfigOutput ¶
func (o FunctionImageConfigOutput) ToFunctionImageConfigOutput() FunctionImageConfigOutput
func (FunctionImageConfigOutput) ToFunctionImageConfigOutputWithContext ¶
func (o FunctionImageConfigOutput) ToFunctionImageConfigOutputWithContext(ctx context.Context) FunctionImageConfigOutput
func (FunctionImageConfigOutput) ToFunctionImageConfigPtrOutput ¶
func (o FunctionImageConfigOutput) ToFunctionImageConfigPtrOutput() FunctionImageConfigPtrOutput
func (FunctionImageConfigOutput) ToFunctionImageConfigPtrOutputWithContext ¶
func (o FunctionImageConfigOutput) ToFunctionImageConfigPtrOutputWithContext(ctx context.Context) FunctionImageConfigPtrOutput
func (FunctionImageConfigOutput) ToOutput ¶ added in v6.1.0
func (o FunctionImageConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionImageConfig]
func (FunctionImageConfigOutput) WorkingDirectory ¶
func (o FunctionImageConfigOutput) WorkingDirectory() pulumi.StringPtrOutput
Working directory.
type FunctionImageConfigPtrInput ¶
type FunctionImageConfigPtrInput interface { pulumi.Input ToFunctionImageConfigPtrOutput() FunctionImageConfigPtrOutput ToFunctionImageConfigPtrOutputWithContext(context.Context) FunctionImageConfigPtrOutput }
FunctionImageConfigPtrInput is an input type that accepts FunctionImageConfigArgs, FunctionImageConfigPtr and FunctionImageConfigPtrOutput values. You can construct a concrete instance of `FunctionImageConfigPtrInput` via:
FunctionImageConfigArgs{...} or: nil
func FunctionImageConfigPtr ¶
func FunctionImageConfigPtr(v *FunctionImageConfigArgs) FunctionImageConfigPtrInput
type FunctionImageConfigPtrOutput ¶
type FunctionImageConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionImageConfigPtrOutput) Commands ¶
func (o FunctionImageConfigPtrOutput) Commands() pulumi.StringArrayOutput
Parameters that you want to pass in with `entryPoint`.
func (FunctionImageConfigPtrOutput) Elem ¶
func (o FunctionImageConfigPtrOutput) Elem() FunctionImageConfigOutput
func (FunctionImageConfigPtrOutput) ElementType ¶
func (FunctionImageConfigPtrOutput) ElementType() reflect.Type
func (FunctionImageConfigPtrOutput) EntryPoints ¶
func (o FunctionImageConfigPtrOutput) EntryPoints() pulumi.StringArrayOutput
Entry point to your application, which is typically the location of the runtime executable.
func (FunctionImageConfigPtrOutput) ToFunctionImageConfigPtrOutput ¶
func (o FunctionImageConfigPtrOutput) ToFunctionImageConfigPtrOutput() FunctionImageConfigPtrOutput
func (FunctionImageConfigPtrOutput) ToFunctionImageConfigPtrOutputWithContext ¶
func (o FunctionImageConfigPtrOutput) ToFunctionImageConfigPtrOutputWithContext(ctx context.Context) FunctionImageConfigPtrOutput
func (FunctionImageConfigPtrOutput) ToOutput ¶ added in v6.1.0
func (o FunctionImageConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionImageConfig]
func (FunctionImageConfigPtrOutput) WorkingDirectory ¶
func (o FunctionImageConfigPtrOutput) WorkingDirectory() pulumi.StringPtrOutput
Working directory.
type FunctionInput ¶
type FunctionInput interface { pulumi.Input ToFunctionOutput() FunctionOutput ToFunctionOutputWithContext(ctx context.Context) FunctionOutput }
type FunctionMap ¶
type FunctionMap map[string]FunctionInput
func (FunctionMap) ElementType ¶
func (FunctionMap) ElementType() reflect.Type
func (FunctionMap) ToFunctionMapOutput ¶
func (i FunctionMap) ToFunctionMapOutput() FunctionMapOutput
func (FunctionMap) ToFunctionMapOutputWithContext ¶
func (i FunctionMap) ToFunctionMapOutputWithContext(ctx context.Context) FunctionMapOutput
type FunctionMapInput ¶
type FunctionMapInput interface { pulumi.Input ToFunctionMapOutput() FunctionMapOutput ToFunctionMapOutputWithContext(context.Context) FunctionMapOutput }
FunctionMapInput is an input type that accepts FunctionMap and FunctionMapOutput values. You can construct a concrete instance of `FunctionMapInput` via:
FunctionMap{ "key": FunctionArgs{...} }
type FunctionMapOutput ¶
type FunctionMapOutput struct{ *pulumi.OutputState }
func (FunctionMapOutput) ElementType ¶
func (FunctionMapOutput) ElementType() reflect.Type
func (FunctionMapOutput) MapIndex ¶
func (o FunctionMapOutput) MapIndex(k pulumi.StringInput) FunctionOutput
func (FunctionMapOutput) ToFunctionMapOutput ¶
func (o FunctionMapOutput) ToFunctionMapOutput() FunctionMapOutput
func (FunctionMapOutput) ToFunctionMapOutputWithContext ¶
func (o FunctionMapOutput) ToFunctionMapOutputWithContext(ctx context.Context) FunctionMapOutput
type FunctionOutput ¶
type FunctionOutput struct{ *pulumi.OutputState }
func (FunctionOutput) Architectures ¶
func (o FunctionOutput) Architectures() pulumi.StringArrayOutput
Instruction set architecture for your Lambda function. Valid values are `["x8664"]` and `["arm64"]`. Default is `["x8664"]`. Removing this attribute, function's architecture stay the same.
func (FunctionOutput) Arn ¶
func (o FunctionOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) of the Amazon EFS Access Point that provides access to the file system.
func (FunctionOutput) Code ¶
func (o FunctionOutput) Code() pulumi.ArchiveOutput
Path to the function's deployment package within the local filesystem. Exactly one of `filename`, `imageUri`, or `s3Bucket` must be specified.
func (FunctionOutput) CodeSigningConfigArn ¶
func (o FunctionOutput) CodeSigningConfigArn() pulumi.StringPtrOutput
To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
func (FunctionOutput) DeadLetterConfig ¶
func (o FunctionOutput) DeadLetterConfig() FunctionDeadLetterConfigPtrOutput
Configuration block. Detailed below.
func (FunctionOutput) Description ¶
func (o FunctionOutput) Description() pulumi.StringPtrOutput
Description of what your Lambda Function does.
func (FunctionOutput) ElementType ¶
func (FunctionOutput) ElementType() reflect.Type
func (FunctionOutput) Environment ¶
func (o FunctionOutput) Environment() FunctionEnvironmentPtrOutput
Configuration block. Detailed below.
func (FunctionOutput) EphemeralStorage ¶
func (o FunctionOutput) EphemeralStorage() FunctionEphemeralStorageOutput
The amount of Ephemeral storage(`/tmp`) to allocate for the Lambda Function in MB. This parameter is used to expand the total amount of Ephemeral storage available, beyond the default amount of `512`MB. Detailed below.
func (FunctionOutput) FileSystemConfig ¶
func (o FunctionOutput) FileSystemConfig() FunctionFileSystemConfigPtrOutput
Configuration block. Detailed below.
func (FunctionOutput) Handler ¶
func (o FunctionOutput) Handler() pulumi.StringPtrOutput
Function [entrypoint](https://docs.aws.amazon.com/lambda/latest/dg/walkthrough-custom-events-create-test-function.html) in your code.
func (FunctionOutput) ImageConfig ¶
func (o FunctionOutput) ImageConfig() FunctionImageConfigPtrOutput
Configuration block. Detailed below.
func (FunctionOutput) ImageUri ¶
func (o FunctionOutput) ImageUri() pulumi.StringPtrOutput
ECR image URI containing the function's deployment package. Exactly one of `filename`, `imageUri`, or `s3Bucket` must be specified.
func (FunctionOutput) InvokeArn ¶
func (o FunctionOutput) InvokeArn() pulumi.StringOutput
ARN to be used for invoking Lambda Function from API Gateway - to be used in `apigateway.Integration`'s `uri`.
func (FunctionOutput) KmsKeyArn ¶
func (o FunctionOutput) KmsKeyArn() pulumi.StringPtrOutput
Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key that is used to encrypt environment variables. If this configuration is not provided when environment variables are in use, AWS Lambda uses a default service key. If this configuration is provided when environment variables are not in use, the AWS Lambda API does not save this configuration and the provider will show a perpetual difference of adding the key. To fix the perpetual difference, remove this configuration.
func (FunctionOutput) LastModified ¶
func (o FunctionOutput) LastModified() pulumi.StringOutput
Date this resource was last modified.
func (FunctionOutput) Layers ¶
func (o FunctionOutput) Layers() pulumi.StringArrayOutput
List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. See [Lambda Layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html)
func (FunctionOutput) MemorySize ¶
func (o FunctionOutput) MemorySize() pulumi.IntPtrOutput
Amount of memory in MB your Lambda Function can use at runtime. Defaults to `128`. See [Limits](https://docs.aws.amazon.com/lambda/latest/dg/limits.html)
func (FunctionOutput) Name ¶
func (o FunctionOutput) Name() pulumi.StringOutput
Unique name for your Lambda Function.
func (FunctionOutput) PackageType ¶
func (o FunctionOutput) PackageType() pulumi.StringPtrOutput
Lambda deployment package type. Valid values are `Zip` and `Image`. Defaults to `Zip`.
func (FunctionOutput) Publish ¶
func (o FunctionOutput) Publish() pulumi.BoolPtrOutput
Whether to publish creation/change as new Lambda Function Version. Defaults to `false`.
func (FunctionOutput) QualifiedArn ¶
func (o FunctionOutput) QualifiedArn() pulumi.StringOutput
ARN identifying your Lambda Function Version (if versioning is enabled via `publish = true`).
func (FunctionOutput) QualifiedInvokeArn ¶
func (o FunctionOutput) QualifiedInvokeArn() pulumi.StringOutput
Qualified ARN (ARN with lambda version number) to be used for invoking Lambda Function from API Gateway - to be used in `apigateway.Integration`'s `uri`.
func (FunctionOutput) ReplaceSecurityGroupsOnDestroy
deprecated
func (o FunctionOutput) ReplaceSecurityGroupsOnDestroy() pulumi.BoolPtrOutput
**AWS no longer supports this operation. This attribute now has no effect and will be removed in a future major version.** Whether to replace the security groups on associated lambda network interfaces upon destruction. Removing these security groups from orphaned network interfaces can speed up security group deletion times by avoiding a dependency on AWS's internal cleanup operations. By default, the ENI security groups will be replaced with the `default` security group in the function's VPC. Set the `replacementSecurityGroupIds` attribute to use a custom list of security groups for replacement.
Deprecated: AWS no longer supports this operation. This attribute now has no effect and will be removed in a future major version.
func (FunctionOutput) ReplacementSecurityGroupIds
deprecated
func (o FunctionOutput) ReplacementSecurityGroupIds() pulumi.StringArrayOutput
List of security group IDs to assign to orphaned Lambda function network interfaces upon destruction. `replaceSecurityGroupsOnDestroy` must be set to `true` to use this attribute.
Deprecated: AWS no longer supports this operation. This attribute now has no effect and will be removed in a future major version.
func (FunctionOutput) ReservedConcurrentExecutions ¶
func (o FunctionOutput) ReservedConcurrentExecutions() pulumi.IntPtrOutput
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](https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html)
func (FunctionOutput) Role ¶
func (o FunctionOutput) Role() pulumi.StringOutput
Amazon Resource Name (ARN) of the function's execution role. The role provides the function's identity and access to AWS services and resources.
The following arguments are optional:
func (FunctionOutput) Runtime ¶
func (o FunctionOutput) Runtime() pulumi.StringPtrOutput
Identifier of the function's runtime. See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime) for valid values.
func (FunctionOutput) S3Bucket ¶
func (o FunctionOutput) S3Bucket() pulumi.StringPtrOutput
S3 bucket location containing the function's deployment package. This bucket must reside in the same AWS region where you are creating the Lambda function. Exactly one of `filename`, `imageUri`, or `s3Bucket` must be specified. When `s3Bucket` is set, `s3Key` is required.
func (FunctionOutput) S3Key ¶
func (o FunctionOutput) S3Key() pulumi.StringPtrOutput
S3 key of an object containing the function's deployment package. When `s3Bucket` is set, `s3Key` is required.
func (FunctionOutput) S3ObjectVersion ¶
func (o FunctionOutput) S3ObjectVersion() pulumi.StringPtrOutput
Object version containing the function's deployment package. Conflicts with `filename` and `imageUri`.
func (FunctionOutput) SigningJobArn ¶
func (o FunctionOutput) SigningJobArn() pulumi.StringOutput
ARN of the signing job.
func (FunctionOutput) SigningProfileVersionArn ¶
func (o FunctionOutput) SigningProfileVersionArn() pulumi.StringOutput
ARN of the signing profile version. * `snap_start.optimization_status` - Optimization status of the snap start configuration. Valid values are `On` and `Off`.
func (FunctionOutput) SkipDestroy ¶
func (o FunctionOutput) SkipDestroy() pulumi.BoolPtrOutput
Set to true if you do not wish the function to be deleted at destroy time, and instead just remove the function from the Pulumi state.
func (FunctionOutput) SnapStart ¶
func (o FunctionOutput) SnapStart() FunctionSnapStartPtrOutput
Snap start settings block. Detailed below.
func (FunctionOutput) SourceCodeHash ¶
func (o FunctionOutput) SourceCodeHash() pulumi.StringOutput
Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either `filename` or `s3Key`.
func (FunctionOutput) SourceCodeSize ¶
func (o FunctionOutput) SourceCodeSize() pulumi.IntOutput
Size in bytes of the function .zip file.
func (FunctionOutput) Tags ¶
func (o FunctionOutput) Tags() pulumi.StringMapOutput
Map of tags to assign to the object. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (FunctionOutput) TagsAll
deprecated
func (o FunctionOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (FunctionOutput) Timeout ¶
func (o FunctionOutput) Timeout() pulumi.IntPtrOutput
Amount of time your Lambda Function has to run in seconds. Defaults to `3`. See [Limits](https://docs.aws.amazon.com/lambda/latest/dg/limits.html).
func (FunctionOutput) ToFunctionOutput ¶
func (o FunctionOutput) ToFunctionOutput() FunctionOutput
func (FunctionOutput) ToFunctionOutputWithContext ¶
func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
func (FunctionOutput) TracingConfig ¶
func (o FunctionOutput) TracingConfig() FunctionTracingConfigOutput
Configuration block. Detailed below.
func (FunctionOutput) Version ¶
func (o FunctionOutput) Version() pulumi.StringOutput
Latest published version of your Lambda Function. * `vpc_config.vpc_id` - ID of the VPC.
func (FunctionOutput) VpcConfig ¶
func (o FunctionOutput) VpcConfig() FunctionVpcConfigPtrOutput
Configuration block. Detailed below.
type FunctionSnapStart ¶
type FunctionSnapStartArgs ¶
type FunctionSnapStartArgs struct { // Conditions where snap start is enabled. Valid values are `PublishedVersions`. ApplyOn pulumi.StringInput `pulumi:"applyOn"` OptimizationStatus pulumi.StringPtrInput `pulumi:"optimizationStatus"` }
func (FunctionSnapStartArgs) ElementType ¶
func (FunctionSnapStartArgs) ElementType() reflect.Type
func (FunctionSnapStartArgs) ToFunctionSnapStartOutput ¶
func (i FunctionSnapStartArgs) ToFunctionSnapStartOutput() FunctionSnapStartOutput
func (FunctionSnapStartArgs) ToFunctionSnapStartOutputWithContext ¶
func (i FunctionSnapStartArgs) ToFunctionSnapStartOutputWithContext(ctx context.Context) FunctionSnapStartOutput
func (FunctionSnapStartArgs) ToFunctionSnapStartPtrOutput ¶
func (i FunctionSnapStartArgs) ToFunctionSnapStartPtrOutput() FunctionSnapStartPtrOutput
func (FunctionSnapStartArgs) ToFunctionSnapStartPtrOutputWithContext ¶
func (i FunctionSnapStartArgs) ToFunctionSnapStartPtrOutputWithContext(ctx context.Context) FunctionSnapStartPtrOutput
func (FunctionSnapStartArgs) ToOutput ¶ added in v6.1.0
func (i FunctionSnapStartArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionSnapStart]
type FunctionSnapStartInput ¶
type FunctionSnapStartInput interface { pulumi.Input ToFunctionSnapStartOutput() FunctionSnapStartOutput ToFunctionSnapStartOutputWithContext(context.Context) FunctionSnapStartOutput }
FunctionSnapStartInput is an input type that accepts FunctionSnapStartArgs and FunctionSnapStartOutput values. You can construct a concrete instance of `FunctionSnapStartInput` via:
FunctionSnapStartArgs{...}
type FunctionSnapStartOutput ¶
type FunctionSnapStartOutput struct{ *pulumi.OutputState }
func (FunctionSnapStartOutput) ApplyOn ¶
func (o FunctionSnapStartOutput) ApplyOn() pulumi.StringOutput
Conditions where snap start is enabled. Valid values are `PublishedVersions`.
func (FunctionSnapStartOutput) ElementType ¶
func (FunctionSnapStartOutput) ElementType() reflect.Type
func (FunctionSnapStartOutput) OptimizationStatus ¶
func (o FunctionSnapStartOutput) OptimizationStatus() pulumi.StringPtrOutput
func (FunctionSnapStartOutput) ToFunctionSnapStartOutput ¶
func (o FunctionSnapStartOutput) ToFunctionSnapStartOutput() FunctionSnapStartOutput
func (FunctionSnapStartOutput) ToFunctionSnapStartOutputWithContext ¶
func (o FunctionSnapStartOutput) ToFunctionSnapStartOutputWithContext(ctx context.Context) FunctionSnapStartOutput
func (FunctionSnapStartOutput) ToFunctionSnapStartPtrOutput ¶
func (o FunctionSnapStartOutput) ToFunctionSnapStartPtrOutput() FunctionSnapStartPtrOutput
func (FunctionSnapStartOutput) ToFunctionSnapStartPtrOutputWithContext ¶
func (o FunctionSnapStartOutput) ToFunctionSnapStartPtrOutputWithContext(ctx context.Context) FunctionSnapStartPtrOutput
func (FunctionSnapStartOutput) ToOutput ¶ added in v6.1.0
func (o FunctionSnapStartOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionSnapStart]
type FunctionSnapStartPtrInput ¶
type FunctionSnapStartPtrInput interface { pulumi.Input ToFunctionSnapStartPtrOutput() FunctionSnapStartPtrOutput ToFunctionSnapStartPtrOutputWithContext(context.Context) FunctionSnapStartPtrOutput }
FunctionSnapStartPtrInput is an input type that accepts FunctionSnapStartArgs, FunctionSnapStartPtr and FunctionSnapStartPtrOutput values. You can construct a concrete instance of `FunctionSnapStartPtrInput` via:
FunctionSnapStartArgs{...} or: nil
func FunctionSnapStartPtr ¶
func FunctionSnapStartPtr(v *FunctionSnapStartArgs) FunctionSnapStartPtrInput
type FunctionSnapStartPtrOutput ¶
type FunctionSnapStartPtrOutput struct{ *pulumi.OutputState }
func (FunctionSnapStartPtrOutput) ApplyOn ¶
func (o FunctionSnapStartPtrOutput) ApplyOn() pulumi.StringPtrOutput
Conditions where snap start is enabled. Valid values are `PublishedVersions`.
func (FunctionSnapStartPtrOutput) Elem ¶
func (o FunctionSnapStartPtrOutput) Elem() FunctionSnapStartOutput
func (FunctionSnapStartPtrOutput) ElementType ¶
func (FunctionSnapStartPtrOutput) ElementType() reflect.Type
func (FunctionSnapStartPtrOutput) OptimizationStatus ¶
func (o FunctionSnapStartPtrOutput) OptimizationStatus() pulumi.StringPtrOutput
func (FunctionSnapStartPtrOutput) ToFunctionSnapStartPtrOutput ¶
func (o FunctionSnapStartPtrOutput) ToFunctionSnapStartPtrOutput() FunctionSnapStartPtrOutput
func (FunctionSnapStartPtrOutput) ToFunctionSnapStartPtrOutputWithContext ¶
func (o FunctionSnapStartPtrOutput) ToFunctionSnapStartPtrOutputWithContext(ctx context.Context) FunctionSnapStartPtrOutput
func (FunctionSnapStartPtrOutput) ToOutput ¶ added in v6.1.0
func (o FunctionSnapStartPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionSnapStart]
type FunctionState ¶
type FunctionState struct { // Instruction set architecture for your Lambda function. Valid values are `["x8664"]` and `["arm64"]`. Default is `["x8664"]`. Removing this attribute, function's architecture stay the same. Architectures pulumi.StringArrayInput // Amazon Resource Name (ARN) of the Amazon EFS Access Point that provides access to the file system. Arn pulumi.StringPtrInput // Path to the function's deployment package within the local filesystem. Exactly one of `filename`, `imageUri`, or `s3Bucket` must be specified. Code pulumi.ArchiveInput // To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function. CodeSigningConfigArn pulumi.StringPtrInput // Configuration block. Detailed below. DeadLetterConfig FunctionDeadLetterConfigPtrInput // Description of what your Lambda Function does. Description pulumi.StringPtrInput // Configuration block. Detailed below. Environment FunctionEnvironmentPtrInput // The amount of Ephemeral storage(`/tmp`) to allocate for the Lambda Function in MB. This parameter is used to expand the total amount of Ephemeral storage available, beyond the default amount of `512`MB. Detailed below. EphemeralStorage FunctionEphemeralStoragePtrInput // Configuration block. Detailed below. FileSystemConfig FunctionFileSystemConfigPtrInput // Function [entrypoint](https://docs.aws.amazon.com/lambda/latest/dg/walkthrough-custom-events-create-test-function.html) in your code. Handler pulumi.StringPtrInput // Configuration block. Detailed below. ImageConfig FunctionImageConfigPtrInput // ECR image URI containing the function's deployment package. Exactly one of `filename`, `imageUri`, or `s3Bucket` must be specified. ImageUri pulumi.StringPtrInput // ARN to be used for invoking Lambda Function from API Gateway - to be used in `apigateway.Integration`'s `uri`. InvokeArn pulumi.StringPtrInput // Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key that is used to encrypt environment variables. If this configuration is not provided when environment variables are in use, AWS Lambda uses a default service key. If this configuration is provided when environment variables are not in use, the AWS Lambda API does not save this configuration and the provider will show a perpetual difference of adding the key. To fix the perpetual difference, remove this configuration. KmsKeyArn pulumi.StringPtrInput // 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](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) Layers pulumi.StringArrayInput // Amount of memory in MB your Lambda Function can use at runtime. Defaults to `128`. See [Limits](https://docs.aws.amazon.com/lambda/latest/dg/limits.html) MemorySize pulumi.IntPtrInput // Unique name for your Lambda Function. Name pulumi.StringPtrInput // Lambda deployment package type. Valid values are `Zip` and `Image`. Defaults to `Zip`. PackageType pulumi.StringPtrInput // Whether to publish creation/change as new Lambda Function Version. Defaults to `false`. Publish pulumi.BoolPtrInput // ARN identifying your Lambda Function Version (if versioning is enabled via `publish = true`). QualifiedArn pulumi.StringPtrInput // Qualified ARN (ARN with lambda version number) to be used for invoking Lambda Function from API Gateway - to be used in `apigateway.Integration`'s `uri`. QualifiedInvokeArn pulumi.StringPtrInput // **AWS no longer supports this operation. This attribute now has no effect and will be removed in a future major version.** Whether to replace the security groups on associated lambda network interfaces upon destruction. Removing these security groups from orphaned network interfaces can speed up security group deletion times by avoiding a dependency on AWS's internal cleanup operations. By default, the ENI security groups will be replaced with the `default` security group in the function's VPC. Set the `replacementSecurityGroupIds` attribute to use a custom list of security groups for replacement. // // Deprecated: AWS no longer supports this operation. This attribute now has no effect and will be removed in a future major version. ReplaceSecurityGroupsOnDestroy pulumi.BoolPtrInput // List of security group IDs to assign to orphaned Lambda function network interfaces upon destruction. `replaceSecurityGroupsOnDestroy` must be set to `true` to use this attribute. // // Deprecated: AWS no longer supports this operation. This attribute now has no effect and will be removed in a future major version. ReplacementSecurityGroupIds pulumi.StringArrayInput // 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](https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html) ReservedConcurrentExecutions pulumi.IntPtrInput // Amazon Resource Name (ARN) of the function's execution role. The role provides the function's identity and access to AWS services and resources. // // The following arguments are optional: Role pulumi.StringPtrInput // Identifier of the function's runtime. See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime) for valid values. Runtime pulumi.StringPtrInput // S3 bucket location containing the function's deployment package. This bucket must reside in the same AWS region where you are creating the Lambda function. Exactly one of `filename`, `imageUri`, or `s3Bucket` must be specified. When `s3Bucket` is set, `s3Key` is required. S3Bucket pulumi.StringPtrInput // S3 key of an object containing the function's deployment package. When `s3Bucket` is set, `s3Key` is required. S3Key pulumi.StringPtrInput // Object version containing the function's deployment package. Conflicts with `filename` and `imageUri`. S3ObjectVersion pulumi.StringPtrInput // ARN of the signing job. SigningJobArn pulumi.StringPtrInput // ARN of the signing profile version. // * `snap_start.optimization_status` - Optimization status of the snap start configuration. Valid values are `On` and `Off`. SigningProfileVersionArn pulumi.StringPtrInput // Set to true if you do not wish the function to be deleted at destroy time, and instead just remove the function from the Pulumi state. SkipDestroy pulumi.BoolPtrInput // Snap start settings block. Detailed below. SnapStart FunctionSnapStartPtrInput // Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either `filename` or `s3Key`. SourceCodeHash pulumi.StringPtrInput // Size in bytes of the function .zip file. SourceCodeSize pulumi.IntPtrInput // Map of tags to assign to the object. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // Amount of time your Lambda Function has to run in seconds. Defaults to `3`. See [Limits](https://docs.aws.amazon.com/lambda/latest/dg/limits.html). Timeout pulumi.IntPtrInput // Configuration block. Detailed below. TracingConfig FunctionTracingConfigPtrInput // Latest published version of your Lambda Function. // * `vpc_config.vpc_id` - ID of the VPC. Version pulumi.StringPtrInput // Configuration block. Detailed below. VpcConfig FunctionVpcConfigPtrInput }
func (FunctionState) ElementType ¶
func (FunctionState) ElementType() reflect.Type
type FunctionTracingConfig ¶
type FunctionTracingConfig struct { // Whether to sample and trace a subset of incoming requests with AWS X-Ray. Valid values are `PassThrough` and `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 ¶
type FunctionTracingConfigArgs struct { // Whether to sample and trace a subset of incoming requests with AWS X-Ray. Valid values are `PassThrough` and `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 ¶
func (FunctionTracingConfigArgs) ElementType() reflect.Type
func (FunctionTracingConfigArgs) ToFunctionTracingConfigOutput ¶
func (i FunctionTracingConfigArgs) ToFunctionTracingConfigOutput() FunctionTracingConfigOutput
func (FunctionTracingConfigArgs) ToFunctionTracingConfigOutputWithContext ¶
func (i FunctionTracingConfigArgs) ToFunctionTracingConfigOutputWithContext(ctx context.Context) FunctionTracingConfigOutput
func (FunctionTracingConfigArgs) ToFunctionTracingConfigPtrOutput ¶
func (i FunctionTracingConfigArgs) ToFunctionTracingConfigPtrOutput() FunctionTracingConfigPtrOutput
func (FunctionTracingConfigArgs) ToFunctionTracingConfigPtrOutputWithContext ¶
func (i FunctionTracingConfigArgs) ToFunctionTracingConfigPtrOutputWithContext(ctx context.Context) FunctionTracingConfigPtrOutput
func (FunctionTracingConfigArgs) ToOutput ¶ added in v6.1.0
func (i FunctionTracingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionTracingConfig]
type FunctionTracingConfigInput ¶
type FunctionTracingConfigInput interface { pulumi.Input ToFunctionTracingConfigOutput() FunctionTracingConfigOutput ToFunctionTracingConfigOutputWithContext(context.Context) FunctionTracingConfigOutput }
FunctionTracingConfigInput is an input type that accepts FunctionTracingConfigArgs and FunctionTracingConfigOutput values. You can construct a concrete instance of `FunctionTracingConfigInput` via:
FunctionTracingConfigArgs{...}
type FunctionTracingConfigOutput ¶
type FunctionTracingConfigOutput struct{ *pulumi.OutputState }
func (FunctionTracingConfigOutput) ElementType ¶
func (FunctionTracingConfigOutput) ElementType() reflect.Type
func (FunctionTracingConfigOutput) Mode ¶
func (o FunctionTracingConfigOutput) Mode() pulumi.StringOutput
Whether to sample and trace a subset of incoming requests with AWS X-Ray. Valid values are `PassThrough` and `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 ¶
func (o FunctionTracingConfigOutput) ToFunctionTracingConfigOutput() FunctionTracingConfigOutput
func (FunctionTracingConfigOutput) ToFunctionTracingConfigOutputWithContext ¶
func (o FunctionTracingConfigOutput) ToFunctionTracingConfigOutputWithContext(ctx context.Context) FunctionTracingConfigOutput
func (FunctionTracingConfigOutput) ToFunctionTracingConfigPtrOutput ¶
func (o FunctionTracingConfigOutput) ToFunctionTracingConfigPtrOutput() FunctionTracingConfigPtrOutput
func (FunctionTracingConfigOutput) ToFunctionTracingConfigPtrOutputWithContext ¶
func (o FunctionTracingConfigOutput) ToFunctionTracingConfigPtrOutputWithContext(ctx context.Context) FunctionTracingConfigPtrOutput
func (FunctionTracingConfigOutput) ToOutput ¶ added in v6.1.0
func (o FunctionTracingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionTracingConfig]
type FunctionTracingConfigPtrInput ¶
type FunctionTracingConfigPtrInput interface { pulumi.Input ToFunctionTracingConfigPtrOutput() FunctionTracingConfigPtrOutput ToFunctionTracingConfigPtrOutputWithContext(context.Context) FunctionTracingConfigPtrOutput }
FunctionTracingConfigPtrInput is an input type that accepts FunctionTracingConfigArgs, FunctionTracingConfigPtr and FunctionTracingConfigPtrOutput values. You can construct a concrete instance of `FunctionTracingConfigPtrInput` via:
FunctionTracingConfigArgs{...} or: nil
func FunctionTracingConfigPtr ¶
func FunctionTracingConfigPtr(v *FunctionTracingConfigArgs) FunctionTracingConfigPtrInput
type FunctionTracingConfigPtrOutput ¶
type FunctionTracingConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionTracingConfigPtrOutput) Elem ¶
func (o FunctionTracingConfigPtrOutput) Elem() FunctionTracingConfigOutput
func (FunctionTracingConfigPtrOutput) ElementType ¶
func (FunctionTracingConfigPtrOutput) ElementType() reflect.Type
func (FunctionTracingConfigPtrOutput) Mode ¶
func (o FunctionTracingConfigPtrOutput) Mode() pulumi.StringPtrOutput
Whether to sample and trace a subset of incoming requests with AWS X-Ray. Valid values are `PassThrough` and `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 ¶
func (o FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutput() FunctionTracingConfigPtrOutput
func (FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutputWithContext ¶
func (o FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutputWithContext(ctx context.Context) FunctionTracingConfigPtrOutput
func (FunctionTracingConfigPtrOutput) ToOutput ¶ added in v6.1.0
func (o FunctionTracingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionTracingConfig]
type FunctionUrl ¶
type FunctionUrl struct { pulumi.CustomResourceState // The type of authentication that the function URL uses. Set to `"AWS_IAM"` to restrict access to authenticated IAM users only. Set to `"NONE"` to bypass IAM authentication and create a public endpoint. See the [AWS documentation](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) for more details. AuthorizationType pulumi.StringOutput `pulumi:"authorizationType"` // The [cross-origin resource sharing (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings for the function URL. Documented below. Cors FunctionUrlCorsPtrOutput `pulumi:"cors"` // The Amazon Resource Name (ARN) of the function. FunctionArn pulumi.StringOutput `pulumi:"functionArn"` // The name (or ARN) of the Lambda function. FunctionName pulumi.StringOutput `pulumi:"functionName"` // The HTTP URL endpoint for the function in the format `https://<url_id>.lambda-url.<region>.on.aws`. FunctionUrl pulumi.StringOutput `pulumi:"functionUrl"` // Determines how the Lambda function responds to an invocation. Valid values are `BUFFERED` (default) and `RESPONSE_STREAM`. See more in [Configuring a Lambda function to stream responses](https://docs.aws.amazon.com/lambda/latest/dg/configuration-response-streaming.html). InvokeMode pulumi.StringPtrOutput `pulumi:"invokeMode"` // The alias name or `"$LATEST"`. Qualifier pulumi.StringPtrOutput `pulumi:"qualifier"` // A generated ID for the endpoint. UrlId pulumi.StringOutput `pulumi:"urlId"` }
Provides a Lambda function URL resource. A function URL is a dedicated HTTP(S) endpoint for a Lambda function.
See the [AWS Lambda documentation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-urls.html) for more information.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewFunctionUrl(ctx, "testLatest", &lambda.FunctionUrlArgs{ FunctionName: pulumi.Any(aws_lambda_function.Test.Function_name), AuthorizationType: pulumi.String("NONE"), }) if err != nil { return err } _, err = lambda.NewFunctionUrl(ctx, "testLive", &lambda.FunctionUrlArgs{ FunctionName: pulumi.Any(aws_lambda_function.Test.Function_name), Qualifier: pulumi.String("my_alias"), AuthorizationType: pulumi.String("AWS_IAM"), Cors: &lambda.FunctionUrlCorsArgs{ AllowCredentials: pulumi.Bool(true), AllowOrigins: pulumi.StringArray{ pulumi.String("*"), }, AllowMethods: pulumi.StringArray{ pulumi.String("*"), }, AllowHeaders: pulumi.StringArray{ pulumi.String("date"), pulumi.String("keep-alive"), }, ExposeHeaders: pulumi.StringArray{ pulumi.String("keep-alive"), pulumi.String("date"), }, MaxAge: pulumi.Int(86400), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Lambda function URLs using the `function_name` or `function_name/qualifier`. For example:
```sh
$ pulumi import aws:lambda/functionUrl:FunctionUrl test_lambda_url my_test_lambda_function
```
func GetFunctionUrl ¶
func GetFunctionUrl(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FunctionUrlState, opts ...pulumi.ResourceOption) (*FunctionUrl, error)
GetFunctionUrl gets an existing FunctionUrl 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 NewFunctionUrl ¶
func NewFunctionUrl(ctx *pulumi.Context, name string, args *FunctionUrlArgs, opts ...pulumi.ResourceOption) (*FunctionUrl, error)
NewFunctionUrl registers a new resource with the given unique name, arguments, and options.
func (*FunctionUrl) ElementType ¶
func (*FunctionUrl) ElementType() reflect.Type
func (*FunctionUrl) ToFunctionUrlOutput ¶
func (i *FunctionUrl) ToFunctionUrlOutput() FunctionUrlOutput
func (*FunctionUrl) ToFunctionUrlOutputWithContext ¶
func (i *FunctionUrl) ToFunctionUrlOutputWithContext(ctx context.Context) FunctionUrlOutput
func (*FunctionUrl) ToOutput ¶ added in v6.1.0
func (i *FunctionUrl) ToOutput(ctx context.Context) pulumix.Output[*FunctionUrl]
type FunctionUrlArgs ¶
type FunctionUrlArgs struct { // The type of authentication that the function URL uses. Set to `"AWS_IAM"` to restrict access to authenticated IAM users only. Set to `"NONE"` to bypass IAM authentication and create a public endpoint. See the [AWS documentation](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) for more details. AuthorizationType pulumi.StringInput // The [cross-origin resource sharing (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings for the function URL. Documented below. Cors FunctionUrlCorsPtrInput // The name (or ARN) of the Lambda function. FunctionName pulumi.StringInput // Determines how the Lambda function responds to an invocation. Valid values are `BUFFERED` (default) and `RESPONSE_STREAM`. See more in [Configuring a Lambda function to stream responses](https://docs.aws.amazon.com/lambda/latest/dg/configuration-response-streaming.html). InvokeMode pulumi.StringPtrInput // The alias name or `"$LATEST"`. Qualifier pulumi.StringPtrInput }
The set of arguments for constructing a FunctionUrl resource.
func (FunctionUrlArgs) ElementType ¶
func (FunctionUrlArgs) ElementType() reflect.Type
type FunctionUrlArray ¶
type FunctionUrlArray []FunctionUrlInput
func (FunctionUrlArray) ElementType ¶
func (FunctionUrlArray) ElementType() reflect.Type
func (FunctionUrlArray) ToFunctionUrlArrayOutput ¶
func (i FunctionUrlArray) ToFunctionUrlArrayOutput() FunctionUrlArrayOutput
func (FunctionUrlArray) ToFunctionUrlArrayOutputWithContext ¶
func (i FunctionUrlArray) ToFunctionUrlArrayOutputWithContext(ctx context.Context) FunctionUrlArrayOutput
func (FunctionUrlArray) ToOutput ¶ added in v6.1.0
func (i FunctionUrlArray) ToOutput(ctx context.Context) pulumix.Output[[]*FunctionUrl]
type FunctionUrlArrayInput ¶
type FunctionUrlArrayInput interface { pulumi.Input ToFunctionUrlArrayOutput() FunctionUrlArrayOutput ToFunctionUrlArrayOutputWithContext(context.Context) FunctionUrlArrayOutput }
FunctionUrlArrayInput is an input type that accepts FunctionUrlArray and FunctionUrlArrayOutput values. You can construct a concrete instance of `FunctionUrlArrayInput` via:
FunctionUrlArray{ FunctionUrlArgs{...} }
type FunctionUrlArrayOutput ¶
type FunctionUrlArrayOutput struct{ *pulumi.OutputState }
func (FunctionUrlArrayOutput) ElementType ¶
func (FunctionUrlArrayOutput) ElementType() reflect.Type
func (FunctionUrlArrayOutput) Index ¶
func (o FunctionUrlArrayOutput) Index(i pulumi.IntInput) FunctionUrlOutput
func (FunctionUrlArrayOutput) ToFunctionUrlArrayOutput ¶
func (o FunctionUrlArrayOutput) ToFunctionUrlArrayOutput() FunctionUrlArrayOutput
func (FunctionUrlArrayOutput) ToFunctionUrlArrayOutputWithContext ¶
func (o FunctionUrlArrayOutput) ToFunctionUrlArrayOutputWithContext(ctx context.Context) FunctionUrlArrayOutput
func (FunctionUrlArrayOutput) ToOutput ¶ added in v6.1.0
func (o FunctionUrlArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*FunctionUrl]
type FunctionUrlCors ¶
type FunctionUrlCors struct { // Whether to allow cookies or other credentials in requests to the function URL. The default is `false`. AllowCredentials *bool `pulumi:"allowCredentials"` // The HTTP headers that origins can include in requests to the function URL. For example: `["date", "keep-alive", "x-custom-header"]`. AllowHeaders []string `pulumi:"allowHeaders"` // The HTTP methods that are allowed when calling the function URL. For example: `["GET", "POST", "DELETE"]`, or the wildcard character (`["*"]`). AllowMethods []string `pulumi:"allowMethods"` // The origins that can access the function URL. You can list any number of specific origins (or the wildcard character (`"*"`)), separated by a comma. For example: `["https://www.example.com", "http://localhost:60905"]`. AllowOrigins []string `pulumi:"allowOrigins"` // The HTTP headers in your function response that you want to expose to origins that call the function URL. ExposeHeaders []string `pulumi:"exposeHeaders"` // The maximum amount of time, in seconds, that web browsers can cache results of a preflight request. By default, this is set to `0`, which means that the browser doesn't cache results. The maximum value is `86400`. MaxAge *int `pulumi:"maxAge"` }
type FunctionUrlCorsArgs ¶
type FunctionUrlCorsArgs struct { // Whether to allow cookies or other credentials in requests to the function URL. The default is `false`. AllowCredentials pulumi.BoolPtrInput `pulumi:"allowCredentials"` // The HTTP headers that origins can include in requests to the function URL. For example: `["date", "keep-alive", "x-custom-header"]`. AllowHeaders pulumi.StringArrayInput `pulumi:"allowHeaders"` // The HTTP methods that are allowed when calling the function URL. For example: `["GET", "POST", "DELETE"]`, or the wildcard character (`["*"]`). AllowMethods pulumi.StringArrayInput `pulumi:"allowMethods"` // The origins that can access the function URL. You can list any number of specific origins (or the wildcard character (`"*"`)), separated by a comma. For example: `["https://www.example.com", "http://localhost:60905"]`. AllowOrigins pulumi.StringArrayInput `pulumi:"allowOrigins"` // The HTTP headers in your function response that you want to expose to origins that call the function URL. ExposeHeaders pulumi.StringArrayInput `pulumi:"exposeHeaders"` // The maximum amount of time, in seconds, that web browsers can cache results of a preflight request. By default, this is set to `0`, which means that the browser doesn't cache results. The maximum value is `86400`. MaxAge pulumi.IntPtrInput `pulumi:"maxAge"` }
func (FunctionUrlCorsArgs) ElementType ¶
func (FunctionUrlCorsArgs) ElementType() reflect.Type
func (FunctionUrlCorsArgs) ToFunctionUrlCorsOutput ¶
func (i FunctionUrlCorsArgs) ToFunctionUrlCorsOutput() FunctionUrlCorsOutput
func (FunctionUrlCorsArgs) ToFunctionUrlCorsOutputWithContext ¶
func (i FunctionUrlCorsArgs) ToFunctionUrlCorsOutputWithContext(ctx context.Context) FunctionUrlCorsOutput
func (FunctionUrlCorsArgs) ToFunctionUrlCorsPtrOutput ¶
func (i FunctionUrlCorsArgs) ToFunctionUrlCorsPtrOutput() FunctionUrlCorsPtrOutput
func (FunctionUrlCorsArgs) ToFunctionUrlCorsPtrOutputWithContext ¶
func (i FunctionUrlCorsArgs) ToFunctionUrlCorsPtrOutputWithContext(ctx context.Context) FunctionUrlCorsPtrOutput
func (FunctionUrlCorsArgs) ToOutput ¶ added in v6.1.0
func (i FunctionUrlCorsArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionUrlCors]
type FunctionUrlCorsInput ¶
type FunctionUrlCorsInput interface { pulumi.Input ToFunctionUrlCorsOutput() FunctionUrlCorsOutput ToFunctionUrlCorsOutputWithContext(context.Context) FunctionUrlCorsOutput }
FunctionUrlCorsInput is an input type that accepts FunctionUrlCorsArgs and FunctionUrlCorsOutput values. You can construct a concrete instance of `FunctionUrlCorsInput` via:
FunctionUrlCorsArgs{...}
type FunctionUrlCorsOutput ¶
type FunctionUrlCorsOutput struct{ *pulumi.OutputState }
func (FunctionUrlCorsOutput) AllowCredentials ¶
func (o FunctionUrlCorsOutput) AllowCredentials() pulumi.BoolPtrOutput
Whether to allow cookies or other credentials in requests to the function URL. The default is `false`.
func (FunctionUrlCorsOutput) AllowHeaders ¶
func (o FunctionUrlCorsOutput) AllowHeaders() pulumi.StringArrayOutput
The HTTP headers that origins can include in requests to the function URL. For example: `["date", "keep-alive", "x-custom-header"]`.
func (FunctionUrlCorsOutput) AllowMethods ¶
func (o FunctionUrlCorsOutput) AllowMethods() pulumi.StringArrayOutput
The HTTP methods that are allowed when calling the function URL. For example: `["GET", "POST", "DELETE"]`, or the wildcard character (`["*"]`).
func (FunctionUrlCorsOutput) AllowOrigins ¶
func (o FunctionUrlCorsOutput) AllowOrigins() pulumi.StringArrayOutput
The origins that can access the function URL. You can list any number of specific origins (or the wildcard character (`"*"`)), separated by a comma. For example: `["https://www.example.com", "http://localhost:60905"]`.
func (FunctionUrlCorsOutput) ElementType ¶
func (FunctionUrlCorsOutput) ElementType() reflect.Type
func (FunctionUrlCorsOutput) ExposeHeaders ¶
func (o FunctionUrlCorsOutput) ExposeHeaders() pulumi.StringArrayOutput
The HTTP headers in your function response that you want to expose to origins that call the function URL.
func (FunctionUrlCorsOutput) MaxAge ¶
func (o FunctionUrlCorsOutput) MaxAge() pulumi.IntPtrOutput
The maximum amount of time, in seconds, that web browsers can cache results of a preflight request. By default, this is set to `0`, which means that the browser doesn't cache results. The maximum value is `86400`.
func (FunctionUrlCorsOutput) ToFunctionUrlCorsOutput ¶
func (o FunctionUrlCorsOutput) ToFunctionUrlCorsOutput() FunctionUrlCorsOutput
func (FunctionUrlCorsOutput) ToFunctionUrlCorsOutputWithContext ¶
func (o FunctionUrlCorsOutput) ToFunctionUrlCorsOutputWithContext(ctx context.Context) FunctionUrlCorsOutput
func (FunctionUrlCorsOutput) ToFunctionUrlCorsPtrOutput ¶
func (o FunctionUrlCorsOutput) ToFunctionUrlCorsPtrOutput() FunctionUrlCorsPtrOutput
func (FunctionUrlCorsOutput) ToFunctionUrlCorsPtrOutputWithContext ¶
func (o FunctionUrlCorsOutput) ToFunctionUrlCorsPtrOutputWithContext(ctx context.Context) FunctionUrlCorsPtrOutput
func (FunctionUrlCorsOutput) ToOutput ¶ added in v6.1.0
func (o FunctionUrlCorsOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionUrlCors]
type FunctionUrlCorsPtrInput ¶
type FunctionUrlCorsPtrInput interface { pulumi.Input ToFunctionUrlCorsPtrOutput() FunctionUrlCorsPtrOutput ToFunctionUrlCorsPtrOutputWithContext(context.Context) FunctionUrlCorsPtrOutput }
FunctionUrlCorsPtrInput is an input type that accepts FunctionUrlCorsArgs, FunctionUrlCorsPtr and FunctionUrlCorsPtrOutput values. You can construct a concrete instance of `FunctionUrlCorsPtrInput` via:
FunctionUrlCorsArgs{...} or: nil
func FunctionUrlCorsPtr ¶
func FunctionUrlCorsPtr(v *FunctionUrlCorsArgs) FunctionUrlCorsPtrInput
type FunctionUrlCorsPtrOutput ¶
type FunctionUrlCorsPtrOutput struct{ *pulumi.OutputState }
func (FunctionUrlCorsPtrOutput) AllowCredentials ¶
func (o FunctionUrlCorsPtrOutput) AllowCredentials() pulumi.BoolPtrOutput
Whether to allow cookies or other credentials in requests to the function URL. The default is `false`.
func (FunctionUrlCorsPtrOutput) AllowHeaders ¶
func (o FunctionUrlCorsPtrOutput) AllowHeaders() pulumi.StringArrayOutput
The HTTP headers that origins can include in requests to the function URL. For example: `["date", "keep-alive", "x-custom-header"]`.
func (FunctionUrlCorsPtrOutput) AllowMethods ¶
func (o FunctionUrlCorsPtrOutput) AllowMethods() pulumi.StringArrayOutput
The HTTP methods that are allowed when calling the function URL. For example: `["GET", "POST", "DELETE"]`, or the wildcard character (`["*"]`).
func (FunctionUrlCorsPtrOutput) AllowOrigins ¶
func (o FunctionUrlCorsPtrOutput) AllowOrigins() pulumi.StringArrayOutput
The origins that can access the function URL. You can list any number of specific origins (or the wildcard character (`"*"`)), separated by a comma. For example: `["https://www.example.com", "http://localhost:60905"]`.
func (FunctionUrlCorsPtrOutput) Elem ¶
func (o FunctionUrlCorsPtrOutput) Elem() FunctionUrlCorsOutput
func (FunctionUrlCorsPtrOutput) ElementType ¶
func (FunctionUrlCorsPtrOutput) ElementType() reflect.Type
func (FunctionUrlCorsPtrOutput) ExposeHeaders ¶
func (o FunctionUrlCorsPtrOutput) ExposeHeaders() pulumi.StringArrayOutput
The HTTP headers in your function response that you want to expose to origins that call the function URL.
func (FunctionUrlCorsPtrOutput) MaxAge ¶
func (o FunctionUrlCorsPtrOutput) MaxAge() pulumi.IntPtrOutput
The maximum amount of time, in seconds, that web browsers can cache results of a preflight request. By default, this is set to `0`, which means that the browser doesn't cache results. The maximum value is `86400`.
func (FunctionUrlCorsPtrOutput) ToFunctionUrlCorsPtrOutput ¶
func (o FunctionUrlCorsPtrOutput) ToFunctionUrlCorsPtrOutput() FunctionUrlCorsPtrOutput
func (FunctionUrlCorsPtrOutput) ToFunctionUrlCorsPtrOutputWithContext ¶
func (o FunctionUrlCorsPtrOutput) ToFunctionUrlCorsPtrOutputWithContext(ctx context.Context) FunctionUrlCorsPtrOutput
func (FunctionUrlCorsPtrOutput) ToOutput ¶ added in v6.1.0
func (o FunctionUrlCorsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionUrlCors]
type FunctionUrlInput ¶
type FunctionUrlInput interface { pulumi.Input ToFunctionUrlOutput() FunctionUrlOutput ToFunctionUrlOutputWithContext(ctx context.Context) FunctionUrlOutput }
type FunctionUrlMap ¶
type FunctionUrlMap map[string]FunctionUrlInput
func (FunctionUrlMap) ElementType ¶
func (FunctionUrlMap) ElementType() reflect.Type
func (FunctionUrlMap) ToFunctionUrlMapOutput ¶
func (i FunctionUrlMap) ToFunctionUrlMapOutput() FunctionUrlMapOutput
func (FunctionUrlMap) ToFunctionUrlMapOutputWithContext ¶
func (i FunctionUrlMap) ToFunctionUrlMapOutputWithContext(ctx context.Context) FunctionUrlMapOutput
func (FunctionUrlMap) ToOutput ¶ added in v6.1.0
func (i FunctionUrlMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*FunctionUrl]
type FunctionUrlMapInput ¶
type FunctionUrlMapInput interface { pulumi.Input ToFunctionUrlMapOutput() FunctionUrlMapOutput ToFunctionUrlMapOutputWithContext(context.Context) FunctionUrlMapOutput }
FunctionUrlMapInput is an input type that accepts FunctionUrlMap and FunctionUrlMapOutput values. You can construct a concrete instance of `FunctionUrlMapInput` via:
FunctionUrlMap{ "key": FunctionUrlArgs{...} }
type FunctionUrlMapOutput ¶
type FunctionUrlMapOutput struct{ *pulumi.OutputState }
func (FunctionUrlMapOutput) ElementType ¶
func (FunctionUrlMapOutput) ElementType() reflect.Type
func (FunctionUrlMapOutput) MapIndex ¶
func (o FunctionUrlMapOutput) MapIndex(k pulumi.StringInput) FunctionUrlOutput
func (FunctionUrlMapOutput) ToFunctionUrlMapOutput ¶
func (o FunctionUrlMapOutput) ToFunctionUrlMapOutput() FunctionUrlMapOutput
func (FunctionUrlMapOutput) ToFunctionUrlMapOutputWithContext ¶
func (o FunctionUrlMapOutput) ToFunctionUrlMapOutputWithContext(ctx context.Context) FunctionUrlMapOutput
func (FunctionUrlMapOutput) ToOutput ¶ added in v6.1.0
func (o FunctionUrlMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*FunctionUrl]
type FunctionUrlOutput ¶
type FunctionUrlOutput struct{ *pulumi.OutputState }
func (FunctionUrlOutput) AuthorizationType ¶
func (o FunctionUrlOutput) AuthorizationType() pulumi.StringOutput
The type of authentication that the function URL uses. Set to `"AWS_IAM"` to restrict access to authenticated IAM users only. Set to `"NONE"` to bypass IAM authentication and create a public endpoint. See the [AWS documentation](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) for more details.
func (FunctionUrlOutput) Cors ¶
func (o FunctionUrlOutput) Cors() FunctionUrlCorsPtrOutput
The [cross-origin resource sharing (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings for the function URL. Documented below.
func (FunctionUrlOutput) ElementType ¶
func (FunctionUrlOutput) ElementType() reflect.Type
func (FunctionUrlOutput) FunctionArn ¶
func (o FunctionUrlOutput) FunctionArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the function.
func (FunctionUrlOutput) FunctionName ¶
func (o FunctionUrlOutput) FunctionName() pulumi.StringOutput
The name (or ARN) of the Lambda function.
func (FunctionUrlOutput) FunctionUrl ¶
func (o FunctionUrlOutput) FunctionUrl() pulumi.StringOutput
The HTTP URL endpoint for the function in the format `https://<url_id>.lambda-url.<region>.on.aws`.
func (FunctionUrlOutput) InvokeMode ¶
func (o FunctionUrlOutput) InvokeMode() pulumi.StringPtrOutput
Determines how the Lambda function responds to an invocation. Valid values are `BUFFERED` (default) and `RESPONSE_STREAM`. See more in [Configuring a Lambda function to stream responses](https://docs.aws.amazon.com/lambda/latest/dg/configuration-response-streaming.html).
func (FunctionUrlOutput) Qualifier ¶
func (o FunctionUrlOutput) Qualifier() pulumi.StringPtrOutput
The alias name or `"$LATEST"`.
func (FunctionUrlOutput) ToFunctionUrlOutput ¶
func (o FunctionUrlOutput) ToFunctionUrlOutput() FunctionUrlOutput
func (FunctionUrlOutput) ToFunctionUrlOutputWithContext ¶
func (o FunctionUrlOutput) ToFunctionUrlOutputWithContext(ctx context.Context) FunctionUrlOutput
func (FunctionUrlOutput) ToOutput ¶ added in v6.1.0
func (o FunctionUrlOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionUrl]
func (FunctionUrlOutput) UrlId ¶
func (o FunctionUrlOutput) UrlId() pulumi.StringOutput
A generated ID for the endpoint.
type FunctionUrlState ¶
type FunctionUrlState struct { // The type of authentication that the function URL uses. Set to `"AWS_IAM"` to restrict access to authenticated IAM users only. Set to `"NONE"` to bypass IAM authentication and create a public endpoint. See the [AWS documentation](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) for more details. AuthorizationType pulumi.StringPtrInput // The [cross-origin resource sharing (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings for the function URL. Documented below. Cors FunctionUrlCorsPtrInput // The Amazon Resource Name (ARN) of the function. FunctionArn pulumi.StringPtrInput // The name (or ARN) of the Lambda function. FunctionName pulumi.StringPtrInput // The HTTP URL endpoint for the function in the format `https://<url_id>.lambda-url.<region>.on.aws`. FunctionUrl pulumi.StringPtrInput // Determines how the Lambda function responds to an invocation. Valid values are `BUFFERED` (default) and `RESPONSE_STREAM`. See more in [Configuring a Lambda function to stream responses](https://docs.aws.amazon.com/lambda/latest/dg/configuration-response-streaming.html). InvokeMode pulumi.StringPtrInput // The alias name or `"$LATEST"`. Qualifier pulumi.StringPtrInput // A generated ID for the endpoint. UrlId pulumi.StringPtrInput }
func (FunctionUrlState) ElementType ¶
func (FunctionUrlState) ElementType() reflect.Type
type FunctionVpcConfig ¶
type FunctionVpcConfigArgs ¶
type FunctionVpcConfigArgs struct { // List of security group IDs associated with the Lambda function. SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` // List of subnet IDs associated with the Lambda function. SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"` VpcId pulumi.StringPtrInput `pulumi:"vpcId"` }
func (FunctionVpcConfigArgs) ElementType ¶
func (FunctionVpcConfigArgs) ElementType() reflect.Type
func (FunctionVpcConfigArgs) ToFunctionVpcConfigOutput ¶
func (i FunctionVpcConfigArgs) ToFunctionVpcConfigOutput() FunctionVpcConfigOutput
func (FunctionVpcConfigArgs) ToFunctionVpcConfigOutputWithContext ¶
func (i FunctionVpcConfigArgs) ToFunctionVpcConfigOutputWithContext(ctx context.Context) FunctionVpcConfigOutput
func (FunctionVpcConfigArgs) ToFunctionVpcConfigPtrOutput ¶
func (i FunctionVpcConfigArgs) ToFunctionVpcConfigPtrOutput() FunctionVpcConfigPtrOutput
func (FunctionVpcConfigArgs) ToFunctionVpcConfigPtrOutputWithContext ¶
func (i FunctionVpcConfigArgs) ToFunctionVpcConfigPtrOutputWithContext(ctx context.Context) FunctionVpcConfigPtrOutput
func (FunctionVpcConfigArgs) ToOutput ¶ added in v6.1.0
func (i FunctionVpcConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FunctionVpcConfig]
type FunctionVpcConfigInput ¶
type FunctionVpcConfigInput interface { pulumi.Input ToFunctionVpcConfigOutput() FunctionVpcConfigOutput ToFunctionVpcConfigOutputWithContext(context.Context) FunctionVpcConfigOutput }
FunctionVpcConfigInput is an input type that accepts FunctionVpcConfigArgs and FunctionVpcConfigOutput values. You can construct a concrete instance of `FunctionVpcConfigInput` via:
FunctionVpcConfigArgs{...}
type FunctionVpcConfigOutput ¶
type FunctionVpcConfigOutput struct{ *pulumi.OutputState }
func (FunctionVpcConfigOutput) ElementType ¶
func (FunctionVpcConfigOutput) ElementType() reflect.Type
func (FunctionVpcConfigOutput) SecurityGroupIds ¶
func (o FunctionVpcConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput
List of security group IDs associated with the Lambda function.
func (FunctionVpcConfigOutput) SubnetIds ¶
func (o FunctionVpcConfigOutput) SubnetIds() pulumi.StringArrayOutput
List of subnet IDs associated with the Lambda function.
func (FunctionVpcConfigOutput) ToFunctionVpcConfigOutput ¶
func (o FunctionVpcConfigOutput) ToFunctionVpcConfigOutput() FunctionVpcConfigOutput
func (FunctionVpcConfigOutput) ToFunctionVpcConfigOutputWithContext ¶
func (o FunctionVpcConfigOutput) ToFunctionVpcConfigOutputWithContext(ctx context.Context) FunctionVpcConfigOutput
func (FunctionVpcConfigOutput) ToFunctionVpcConfigPtrOutput ¶
func (o FunctionVpcConfigOutput) ToFunctionVpcConfigPtrOutput() FunctionVpcConfigPtrOutput
func (FunctionVpcConfigOutput) ToFunctionVpcConfigPtrOutputWithContext ¶
func (o FunctionVpcConfigOutput) ToFunctionVpcConfigPtrOutputWithContext(ctx context.Context) FunctionVpcConfigPtrOutput
func (FunctionVpcConfigOutput) ToOutput ¶ added in v6.1.0
func (o FunctionVpcConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionVpcConfig]
func (FunctionVpcConfigOutput) VpcId ¶
func (o FunctionVpcConfigOutput) VpcId() pulumi.StringPtrOutput
type FunctionVpcConfigPtrInput ¶
type FunctionVpcConfigPtrInput interface { pulumi.Input ToFunctionVpcConfigPtrOutput() FunctionVpcConfigPtrOutput ToFunctionVpcConfigPtrOutputWithContext(context.Context) FunctionVpcConfigPtrOutput }
FunctionVpcConfigPtrInput is an input type that accepts FunctionVpcConfigArgs, FunctionVpcConfigPtr and FunctionVpcConfigPtrOutput values. You can construct a concrete instance of `FunctionVpcConfigPtrInput` via:
FunctionVpcConfigArgs{...} or: nil
func FunctionVpcConfigPtr ¶
func FunctionVpcConfigPtr(v *FunctionVpcConfigArgs) FunctionVpcConfigPtrInput
type FunctionVpcConfigPtrOutput ¶
type FunctionVpcConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionVpcConfigPtrOutput) Elem ¶
func (o FunctionVpcConfigPtrOutput) Elem() FunctionVpcConfigOutput
func (FunctionVpcConfigPtrOutput) ElementType ¶
func (FunctionVpcConfigPtrOutput) ElementType() reflect.Type
func (FunctionVpcConfigPtrOutput) SecurityGroupIds ¶
func (o FunctionVpcConfigPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput
List of security group IDs associated with the Lambda function.
func (FunctionVpcConfigPtrOutput) SubnetIds ¶
func (o FunctionVpcConfigPtrOutput) SubnetIds() pulumi.StringArrayOutput
List of subnet IDs associated with the Lambda function.
func (FunctionVpcConfigPtrOutput) ToFunctionVpcConfigPtrOutput ¶
func (o FunctionVpcConfigPtrOutput) ToFunctionVpcConfigPtrOutput() FunctionVpcConfigPtrOutput
func (FunctionVpcConfigPtrOutput) ToFunctionVpcConfigPtrOutputWithContext ¶
func (o FunctionVpcConfigPtrOutput) ToFunctionVpcConfigPtrOutputWithContext(ctx context.Context) FunctionVpcConfigPtrOutput
func (FunctionVpcConfigPtrOutput) ToOutput ¶ added in v6.1.0
func (o FunctionVpcConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionVpcConfig]
func (FunctionVpcConfigPtrOutput) VpcId ¶
func (o FunctionVpcConfigPtrOutput) VpcId() pulumi.StringPtrOutput
type GetCodeSigningConfigAllowedPublisher ¶
type GetCodeSigningConfigAllowedPublisher struct { // The ARN for each of the signing profiles. A signing profile defines a trusted user who can sign a code package. SigningProfileVersionArns []string `pulumi:"signingProfileVersionArns"` }
type GetCodeSigningConfigAllowedPublisherArgs ¶
type GetCodeSigningConfigAllowedPublisherArgs struct { // The ARN for each of the signing profiles. A signing profile defines a trusted user who can sign a code package. SigningProfileVersionArns pulumi.StringArrayInput `pulumi:"signingProfileVersionArns"` }
func (GetCodeSigningConfigAllowedPublisherArgs) ElementType ¶
func (GetCodeSigningConfigAllowedPublisherArgs) ElementType() reflect.Type
func (GetCodeSigningConfigAllowedPublisherArgs) ToGetCodeSigningConfigAllowedPublisherOutput ¶
func (i GetCodeSigningConfigAllowedPublisherArgs) ToGetCodeSigningConfigAllowedPublisherOutput() GetCodeSigningConfigAllowedPublisherOutput
func (GetCodeSigningConfigAllowedPublisherArgs) ToGetCodeSigningConfigAllowedPublisherOutputWithContext ¶
func (i GetCodeSigningConfigAllowedPublisherArgs) ToGetCodeSigningConfigAllowedPublisherOutputWithContext(ctx context.Context) GetCodeSigningConfigAllowedPublisherOutput
func (GetCodeSigningConfigAllowedPublisherArgs) ToOutput ¶ added in v6.1.0
func (i GetCodeSigningConfigAllowedPublisherArgs) ToOutput(ctx context.Context) pulumix.Output[GetCodeSigningConfigAllowedPublisher]
type GetCodeSigningConfigAllowedPublisherArray ¶
type GetCodeSigningConfigAllowedPublisherArray []GetCodeSigningConfigAllowedPublisherInput
func (GetCodeSigningConfigAllowedPublisherArray) ElementType ¶
func (GetCodeSigningConfigAllowedPublisherArray) ElementType() reflect.Type
func (GetCodeSigningConfigAllowedPublisherArray) ToGetCodeSigningConfigAllowedPublisherArrayOutput ¶
func (i GetCodeSigningConfigAllowedPublisherArray) ToGetCodeSigningConfigAllowedPublisherArrayOutput() GetCodeSigningConfigAllowedPublisherArrayOutput
func (GetCodeSigningConfigAllowedPublisherArray) ToGetCodeSigningConfigAllowedPublisherArrayOutputWithContext ¶
func (i GetCodeSigningConfigAllowedPublisherArray) ToGetCodeSigningConfigAllowedPublisherArrayOutputWithContext(ctx context.Context) GetCodeSigningConfigAllowedPublisherArrayOutput
func (GetCodeSigningConfigAllowedPublisherArray) ToOutput ¶ added in v6.1.0
func (i GetCodeSigningConfigAllowedPublisherArray) ToOutput(ctx context.Context) pulumix.Output[[]GetCodeSigningConfigAllowedPublisher]
type GetCodeSigningConfigAllowedPublisherArrayInput ¶
type GetCodeSigningConfigAllowedPublisherArrayInput interface { pulumi.Input ToGetCodeSigningConfigAllowedPublisherArrayOutput() GetCodeSigningConfigAllowedPublisherArrayOutput ToGetCodeSigningConfigAllowedPublisherArrayOutputWithContext(context.Context) GetCodeSigningConfigAllowedPublisherArrayOutput }
GetCodeSigningConfigAllowedPublisherArrayInput is an input type that accepts GetCodeSigningConfigAllowedPublisherArray and GetCodeSigningConfigAllowedPublisherArrayOutput values. You can construct a concrete instance of `GetCodeSigningConfigAllowedPublisherArrayInput` via:
GetCodeSigningConfigAllowedPublisherArray{ GetCodeSigningConfigAllowedPublisherArgs{...} }
type GetCodeSigningConfigAllowedPublisherArrayOutput ¶
type GetCodeSigningConfigAllowedPublisherArrayOutput struct{ *pulumi.OutputState }
func (GetCodeSigningConfigAllowedPublisherArrayOutput) ElementType ¶
func (GetCodeSigningConfigAllowedPublisherArrayOutput) ElementType() reflect.Type
func (GetCodeSigningConfigAllowedPublisherArrayOutput) ToGetCodeSigningConfigAllowedPublisherArrayOutput ¶
func (o GetCodeSigningConfigAllowedPublisherArrayOutput) ToGetCodeSigningConfigAllowedPublisherArrayOutput() GetCodeSigningConfigAllowedPublisherArrayOutput
func (GetCodeSigningConfigAllowedPublisherArrayOutput) ToGetCodeSigningConfigAllowedPublisherArrayOutputWithContext ¶
func (o GetCodeSigningConfigAllowedPublisherArrayOutput) ToGetCodeSigningConfigAllowedPublisherArrayOutputWithContext(ctx context.Context) GetCodeSigningConfigAllowedPublisherArrayOutput
func (GetCodeSigningConfigAllowedPublisherArrayOutput) ToOutput ¶ added in v6.1.0
func (o GetCodeSigningConfigAllowedPublisherArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetCodeSigningConfigAllowedPublisher]
type GetCodeSigningConfigAllowedPublisherInput ¶
type GetCodeSigningConfigAllowedPublisherInput interface { pulumi.Input ToGetCodeSigningConfigAllowedPublisherOutput() GetCodeSigningConfigAllowedPublisherOutput ToGetCodeSigningConfigAllowedPublisherOutputWithContext(context.Context) GetCodeSigningConfigAllowedPublisherOutput }
GetCodeSigningConfigAllowedPublisherInput is an input type that accepts GetCodeSigningConfigAllowedPublisherArgs and GetCodeSigningConfigAllowedPublisherOutput values. You can construct a concrete instance of `GetCodeSigningConfigAllowedPublisherInput` via:
GetCodeSigningConfigAllowedPublisherArgs{...}
type GetCodeSigningConfigAllowedPublisherOutput ¶
type GetCodeSigningConfigAllowedPublisherOutput struct{ *pulumi.OutputState }
func (GetCodeSigningConfigAllowedPublisherOutput) ElementType ¶
func (GetCodeSigningConfigAllowedPublisherOutput) ElementType() reflect.Type
func (GetCodeSigningConfigAllowedPublisherOutput) SigningProfileVersionArns ¶
func (o GetCodeSigningConfigAllowedPublisherOutput) SigningProfileVersionArns() pulumi.StringArrayOutput
The ARN for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.
func (GetCodeSigningConfigAllowedPublisherOutput) ToGetCodeSigningConfigAllowedPublisherOutput ¶
func (o GetCodeSigningConfigAllowedPublisherOutput) ToGetCodeSigningConfigAllowedPublisherOutput() GetCodeSigningConfigAllowedPublisherOutput
func (GetCodeSigningConfigAllowedPublisherOutput) ToGetCodeSigningConfigAllowedPublisherOutputWithContext ¶
func (o GetCodeSigningConfigAllowedPublisherOutput) ToGetCodeSigningConfigAllowedPublisherOutputWithContext(ctx context.Context) GetCodeSigningConfigAllowedPublisherOutput
func (GetCodeSigningConfigAllowedPublisherOutput) ToOutput ¶ added in v6.1.0
func (o GetCodeSigningConfigAllowedPublisherOutput) ToOutput(ctx context.Context) pulumix.Output[GetCodeSigningConfigAllowedPublisher]
type GetCodeSigningConfigPolicy ¶
type GetCodeSigningConfigPolicy struct { // Code signing configuration policy for deployment validation failure. UntrustedArtifactOnDeployment string `pulumi:"untrustedArtifactOnDeployment"` }
type GetCodeSigningConfigPolicyArgs ¶
type GetCodeSigningConfigPolicyArgs struct { // Code signing configuration policy for deployment validation failure. UntrustedArtifactOnDeployment pulumi.StringInput `pulumi:"untrustedArtifactOnDeployment"` }
func (GetCodeSigningConfigPolicyArgs) ElementType ¶
func (GetCodeSigningConfigPolicyArgs) ElementType() reflect.Type
func (GetCodeSigningConfigPolicyArgs) ToGetCodeSigningConfigPolicyOutput ¶
func (i GetCodeSigningConfigPolicyArgs) ToGetCodeSigningConfigPolicyOutput() GetCodeSigningConfigPolicyOutput
func (GetCodeSigningConfigPolicyArgs) ToGetCodeSigningConfigPolicyOutputWithContext ¶
func (i GetCodeSigningConfigPolicyArgs) ToGetCodeSigningConfigPolicyOutputWithContext(ctx context.Context) GetCodeSigningConfigPolicyOutput
func (GetCodeSigningConfigPolicyArgs) ToOutput ¶ added in v6.1.0
func (i GetCodeSigningConfigPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[GetCodeSigningConfigPolicy]
type GetCodeSigningConfigPolicyArray ¶
type GetCodeSigningConfigPolicyArray []GetCodeSigningConfigPolicyInput
func (GetCodeSigningConfigPolicyArray) ElementType ¶
func (GetCodeSigningConfigPolicyArray) ElementType() reflect.Type
func (GetCodeSigningConfigPolicyArray) ToGetCodeSigningConfigPolicyArrayOutput ¶
func (i GetCodeSigningConfigPolicyArray) ToGetCodeSigningConfigPolicyArrayOutput() GetCodeSigningConfigPolicyArrayOutput
func (GetCodeSigningConfigPolicyArray) ToGetCodeSigningConfigPolicyArrayOutputWithContext ¶
func (i GetCodeSigningConfigPolicyArray) ToGetCodeSigningConfigPolicyArrayOutputWithContext(ctx context.Context) GetCodeSigningConfigPolicyArrayOutput
func (GetCodeSigningConfigPolicyArray) ToOutput ¶ added in v6.1.0
func (i GetCodeSigningConfigPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]GetCodeSigningConfigPolicy]
type GetCodeSigningConfigPolicyArrayInput ¶
type GetCodeSigningConfigPolicyArrayInput interface { pulumi.Input ToGetCodeSigningConfigPolicyArrayOutput() GetCodeSigningConfigPolicyArrayOutput ToGetCodeSigningConfigPolicyArrayOutputWithContext(context.Context) GetCodeSigningConfigPolicyArrayOutput }
GetCodeSigningConfigPolicyArrayInput is an input type that accepts GetCodeSigningConfigPolicyArray and GetCodeSigningConfigPolicyArrayOutput values. You can construct a concrete instance of `GetCodeSigningConfigPolicyArrayInput` via:
GetCodeSigningConfigPolicyArray{ GetCodeSigningConfigPolicyArgs{...} }
type GetCodeSigningConfigPolicyArrayOutput ¶
type GetCodeSigningConfigPolicyArrayOutput struct{ *pulumi.OutputState }
func (GetCodeSigningConfigPolicyArrayOutput) ElementType ¶
func (GetCodeSigningConfigPolicyArrayOutput) ElementType() reflect.Type
func (GetCodeSigningConfigPolicyArrayOutput) Index ¶
func (o GetCodeSigningConfigPolicyArrayOutput) Index(i pulumi.IntInput) GetCodeSigningConfigPolicyOutput
func (GetCodeSigningConfigPolicyArrayOutput) ToGetCodeSigningConfigPolicyArrayOutput ¶
func (o GetCodeSigningConfigPolicyArrayOutput) ToGetCodeSigningConfigPolicyArrayOutput() GetCodeSigningConfigPolicyArrayOutput
func (GetCodeSigningConfigPolicyArrayOutput) ToGetCodeSigningConfigPolicyArrayOutputWithContext ¶
func (o GetCodeSigningConfigPolicyArrayOutput) ToGetCodeSigningConfigPolicyArrayOutputWithContext(ctx context.Context) GetCodeSigningConfigPolicyArrayOutput
func (GetCodeSigningConfigPolicyArrayOutput) ToOutput ¶ added in v6.1.0
func (o GetCodeSigningConfigPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetCodeSigningConfigPolicy]
type GetCodeSigningConfigPolicyInput ¶
type GetCodeSigningConfigPolicyInput interface { pulumi.Input ToGetCodeSigningConfigPolicyOutput() GetCodeSigningConfigPolicyOutput ToGetCodeSigningConfigPolicyOutputWithContext(context.Context) GetCodeSigningConfigPolicyOutput }
GetCodeSigningConfigPolicyInput is an input type that accepts GetCodeSigningConfigPolicyArgs and GetCodeSigningConfigPolicyOutput values. You can construct a concrete instance of `GetCodeSigningConfigPolicyInput` via:
GetCodeSigningConfigPolicyArgs{...}
type GetCodeSigningConfigPolicyOutput ¶
type GetCodeSigningConfigPolicyOutput struct{ *pulumi.OutputState }
func (GetCodeSigningConfigPolicyOutput) ElementType ¶
func (GetCodeSigningConfigPolicyOutput) ElementType() reflect.Type
func (GetCodeSigningConfigPolicyOutput) ToGetCodeSigningConfigPolicyOutput ¶
func (o GetCodeSigningConfigPolicyOutput) ToGetCodeSigningConfigPolicyOutput() GetCodeSigningConfigPolicyOutput
func (GetCodeSigningConfigPolicyOutput) ToGetCodeSigningConfigPolicyOutputWithContext ¶
func (o GetCodeSigningConfigPolicyOutput) ToGetCodeSigningConfigPolicyOutputWithContext(ctx context.Context) GetCodeSigningConfigPolicyOutput
func (GetCodeSigningConfigPolicyOutput) ToOutput ¶ added in v6.1.0
func (o GetCodeSigningConfigPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GetCodeSigningConfigPolicy]
func (GetCodeSigningConfigPolicyOutput) UntrustedArtifactOnDeployment ¶
func (o GetCodeSigningConfigPolicyOutput) UntrustedArtifactOnDeployment() pulumi.StringOutput
Code signing configuration policy for deployment validation failure.
type GetFunctionDeadLetterConfig ¶
type GetFunctionDeadLetterConfig struct {
TargetArn string `pulumi:"targetArn"`
}
type GetFunctionDeadLetterConfigArgs ¶
type GetFunctionDeadLetterConfigArgs struct {
TargetArn pulumi.StringInput `pulumi:"targetArn"`
}
func (GetFunctionDeadLetterConfigArgs) ElementType ¶
func (GetFunctionDeadLetterConfigArgs) ElementType() reflect.Type
func (GetFunctionDeadLetterConfigArgs) ToGetFunctionDeadLetterConfigOutput ¶
func (i GetFunctionDeadLetterConfigArgs) ToGetFunctionDeadLetterConfigOutput() GetFunctionDeadLetterConfigOutput
func (GetFunctionDeadLetterConfigArgs) ToGetFunctionDeadLetterConfigOutputWithContext ¶
func (i GetFunctionDeadLetterConfigArgs) ToGetFunctionDeadLetterConfigOutputWithContext(ctx context.Context) GetFunctionDeadLetterConfigOutput
func (GetFunctionDeadLetterConfigArgs) ToOutput ¶ added in v6.1.0
func (i GetFunctionDeadLetterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetFunctionDeadLetterConfig]
type GetFunctionDeadLetterConfigInput ¶
type GetFunctionDeadLetterConfigInput interface { pulumi.Input ToGetFunctionDeadLetterConfigOutput() GetFunctionDeadLetterConfigOutput ToGetFunctionDeadLetterConfigOutputWithContext(context.Context) GetFunctionDeadLetterConfigOutput }
GetFunctionDeadLetterConfigInput is an input type that accepts GetFunctionDeadLetterConfigArgs and GetFunctionDeadLetterConfigOutput values. You can construct a concrete instance of `GetFunctionDeadLetterConfigInput` via:
GetFunctionDeadLetterConfigArgs{...}
type GetFunctionDeadLetterConfigOutput ¶
type GetFunctionDeadLetterConfigOutput struct{ *pulumi.OutputState }
func (GetFunctionDeadLetterConfigOutput) ElementType ¶
func (GetFunctionDeadLetterConfigOutput) ElementType() reflect.Type
func (GetFunctionDeadLetterConfigOutput) TargetArn ¶
func (o GetFunctionDeadLetterConfigOutput) TargetArn() pulumi.StringOutput
func (GetFunctionDeadLetterConfigOutput) ToGetFunctionDeadLetterConfigOutput ¶
func (o GetFunctionDeadLetterConfigOutput) ToGetFunctionDeadLetterConfigOutput() GetFunctionDeadLetterConfigOutput
func (GetFunctionDeadLetterConfigOutput) ToGetFunctionDeadLetterConfigOutputWithContext ¶
func (o GetFunctionDeadLetterConfigOutput) ToGetFunctionDeadLetterConfigOutputWithContext(ctx context.Context) GetFunctionDeadLetterConfigOutput
func (GetFunctionDeadLetterConfigOutput) ToOutput ¶ added in v6.1.0
func (o GetFunctionDeadLetterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetFunctionDeadLetterConfig]
type GetFunctionEnvironment ¶
type GetFunctionEnvironmentArgs ¶
type GetFunctionEnvironmentArgs struct {
Variables pulumi.StringMapInput `pulumi:"variables"`
}
func (GetFunctionEnvironmentArgs) ElementType ¶
func (GetFunctionEnvironmentArgs) ElementType() reflect.Type
func (GetFunctionEnvironmentArgs) ToGetFunctionEnvironmentOutput ¶
func (i GetFunctionEnvironmentArgs) ToGetFunctionEnvironmentOutput() GetFunctionEnvironmentOutput
func (GetFunctionEnvironmentArgs) ToGetFunctionEnvironmentOutputWithContext ¶
func (i GetFunctionEnvironmentArgs) ToGetFunctionEnvironmentOutputWithContext(ctx context.Context) GetFunctionEnvironmentOutput
func (GetFunctionEnvironmentArgs) ToOutput ¶ added in v6.1.0
func (i GetFunctionEnvironmentArgs) ToOutput(ctx context.Context) pulumix.Output[GetFunctionEnvironment]
type GetFunctionEnvironmentInput ¶
type GetFunctionEnvironmentInput interface { pulumi.Input ToGetFunctionEnvironmentOutput() GetFunctionEnvironmentOutput ToGetFunctionEnvironmentOutputWithContext(context.Context) GetFunctionEnvironmentOutput }
GetFunctionEnvironmentInput is an input type that accepts GetFunctionEnvironmentArgs and GetFunctionEnvironmentOutput values. You can construct a concrete instance of `GetFunctionEnvironmentInput` via:
GetFunctionEnvironmentArgs{...}
type GetFunctionEnvironmentOutput ¶
type GetFunctionEnvironmentOutput struct{ *pulumi.OutputState }
func (GetFunctionEnvironmentOutput) ElementType ¶
func (GetFunctionEnvironmentOutput) ElementType() reflect.Type
func (GetFunctionEnvironmentOutput) ToGetFunctionEnvironmentOutput ¶
func (o GetFunctionEnvironmentOutput) ToGetFunctionEnvironmentOutput() GetFunctionEnvironmentOutput
func (GetFunctionEnvironmentOutput) ToGetFunctionEnvironmentOutputWithContext ¶
func (o GetFunctionEnvironmentOutput) ToGetFunctionEnvironmentOutputWithContext(ctx context.Context) GetFunctionEnvironmentOutput
func (GetFunctionEnvironmentOutput) ToOutput ¶ added in v6.1.0
func (o GetFunctionEnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[GetFunctionEnvironment]
func (GetFunctionEnvironmentOutput) Variables ¶
func (o GetFunctionEnvironmentOutput) Variables() pulumi.StringMapOutput
type GetFunctionEphemeralStorage ¶
type GetFunctionEphemeralStorage struct {
Size int `pulumi:"size"`
}
type GetFunctionEphemeralStorageArgs ¶
func (GetFunctionEphemeralStorageArgs) ElementType ¶
func (GetFunctionEphemeralStorageArgs) ElementType() reflect.Type
func (GetFunctionEphemeralStorageArgs) ToGetFunctionEphemeralStorageOutput ¶
func (i GetFunctionEphemeralStorageArgs) ToGetFunctionEphemeralStorageOutput() GetFunctionEphemeralStorageOutput
func (GetFunctionEphemeralStorageArgs) ToGetFunctionEphemeralStorageOutputWithContext ¶
func (i GetFunctionEphemeralStorageArgs) ToGetFunctionEphemeralStorageOutputWithContext(ctx context.Context) GetFunctionEphemeralStorageOutput
func (GetFunctionEphemeralStorageArgs) ToOutput ¶ added in v6.1.0
func (i GetFunctionEphemeralStorageArgs) ToOutput(ctx context.Context) pulumix.Output[GetFunctionEphemeralStorage]
type GetFunctionEphemeralStorageArray ¶
type GetFunctionEphemeralStorageArray []GetFunctionEphemeralStorageInput
func (GetFunctionEphemeralStorageArray) ElementType ¶
func (GetFunctionEphemeralStorageArray) ElementType() reflect.Type
func (GetFunctionEphemeralStorageArray) ToGetFunctionEphemeralStorageArrayOutput ¶
func (i GetFunctionEphemeralStorageArray) ToGetFunctionEphemeralStorageArrayOutput() GetFunctionEphemeralStorageArrayOutput
func (GetFunctionEphemeralStorageArray) ToGetFunctionEphemeralStorageArrayOutputWithContext ¶
func (i GetFunctionEphemeralStorageArray) ToGetFunctionEphemeralStorageArrayOutputWithContext(ctx context.Context) GetFunctionEphemeralStorageArrayOutput
func (GetFunctionEphemeralStorageArray) ToOutput ¶ added in v6.1.0
func (i GetFunctionEphemeralStorageArray) ToOutput(ctx context.Context) pulumix.Output[[]GetFunctionEphemeralStorage]
type GetFunctionEphemeralStorageArrayInput ¶
type GetFunctionEphemeralStorageArrayInput interface { pulumi.Input ToGetFunctionEphemeralStorageArrayOutput() GetFunctionEphemeralStorageArrayOutput ToGetFunctionEphemeralStorageArrayOutputWithContext(context.Context) GetFunctionEphemeralStorageArrayOutput }
GetFunctionEphemeralStorageArrayInput is an input type that accepts GetFunctionEphemeralStorageArray and GetFunctionEphemeralStorageArrayOutput values. You can construct a concrete instance of `GetFunctionEphemeralStorageArrayInput` via:
GetFunctionEphemeralStorageArray{ GetFunctionEphemeralStorageArgs{...} }
type GetFunctionEphemeralStorageArrayOutput ¶
type GetFunctionEphemeralStorageArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionEphemeralStorageArrayOutput) ElementType ¶
func (GetFunctionEphemeralStorageArrayOutput) ElementType() reflect.Type
func (GetFunctionEphemeralStorageArrayOutput) ToGetFunctionEphemeralStorageArrayOutput ¶
func (o GetFunctionEphemeralStorageArrayOutput) ToGetFunctionEphemeralStorageArrayOutput() GetFunctionEphemeralStorageArrayOutput
func (GetFunctionEphemeralStorageArrayOutput) ToGetFunctionEphemeralStorageArrayOutputWithContext ¶
func (o GetFunctionEphemeralStorageArrayOutput) ToGetFunctionEphemeralStorageArrayOutputWithContext(ctx context.Context) GetFunctionEphemeralStorageArrayOutput
func (GetFunctionEphemeralStorageArrayOutput) ToOutput ¶ added in v6.1.0
func (o GetFunctionEphemeralStorageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetFunctionEphemeralStorage]
type GetFunctionEphemeralStorageInput ¶
type GetFunctionEphemeralStorageInput interface { pulumi.Input ToGetFunctionEphemeralStorageOutput() GetFunctionEphemeralStorageOutput ToGetFunctionEphemeralStorageOutputWithContext(context.Context) GetFunctionEphemeralStorageOutput }
GetFunctionEphemeralStorageInput is an input type that accepts GetFunctionEphemeralStorageArgs and GetFunctionEphemeralStorageOutput values. You can construct a concrete instance of `GetFunctionEphemeralStorageInput` via:
GetFunctionEphemeralStorageArgs{...}
type GetFunctionEphemeralStorageOutput ¶
type GetFunctionEphemeralStorageOutput struct{ *pulumi.OutputState }
func (GetFunctionEphemeralStorageOutput) ElementType ¶
func (GetFunctionEphemeralStorageOutput) ElementType() reflect.Type
func (GetFunctionEphemeralStorageOutput) Size ¶
func (o GetFunctionEphemeralStorageOutput) Size() pulumi.IntOutput
func (GetFunctionEphemeralStorageOutput) ToGetFunctionEphemeralStorageOutput ¶
func (o GetFunctionEphemeralStorageOutput) ToGetFunctionEphemeralStorageOutput() GetFunctionEphemeralStorageOutput
func (GetFunctionEphemeralStorageOutput) ToGetFunctionEphemeralStorageOutputWithContext ¶
func (o GetFunctionEphemeralStorageOutput) ToGetFunctionEphemeralStorageOutputWithContext(ctx context.Context) GetFunctionEphemeralStorageOutput
func (GetFunctionEphemeralStorageOutput) ToOutput ¶ added in v6.1.0
func (o GetFunctionEphemeralStorageOutput) ToOutput(ctx context.Context) pulumix.Output[GetFunctionEphemeralStorage]
type GetFunctionFileSystemConfigArgs ¶
type GetFunctionFileSystemConfigArgs struct { // Unqualified (no `:QUALIFIER` or `:VERSION` suffix) ARN identifying your Lambda Function. See also `qualifiedArn`. Arn pulumi.StringInput `pulumi:"arn"` LocalMountPath pulumi.StringInput `pulumi:"localMountPath"` }
func (GetFunctionFileSystemConfigArgs) ElementType ¶
func (GetFunctionFileSystemConfigArgs) ElementType() reflect.Type
func (GetFunctionFileSystemConfigArgs) ToGetFunctionFileSystemConfigOutput ¶
func (i GetFunctionFileSystemConfigArgs) ToGetFunctionFileSystemConfigOutput() GetFunctionFileSystemConfigOutput
func (GetFunctionFileSystemConfigArgs) ToGetFunctionFileSystemConfigOutputWithContext ¶
func (i GetFunctionFileSystemConfigArgs) ToGetFunctionFileSystemConfigOutputWithContext(ctx context.Context) GetFunctionFileSystemConfigOutput
func (GetFunctionFileSystemConfigArgs) ToOutput ¶ added in v6.1.0
func (i GetFunctionFileSystemConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetFunctionFileSystemConfig]
type GetFunctionFileSystemConfigArray ¶
type GetFunctionFileSystemConfigArray []GetFunctionFileSystemConfigInput
func (GetFunctionFileSystemConfigArray) ElementType ¶
func (GetFunctionFileSystemConfigArray) ElementType() reflect.Type
func (GetFunctionFileSystemConfigArray) ToGetFunctionFileSystemConfigArrayOutput ¶
func (i GetFunctionFileSystemConfigArray) ToGetFunctionFileSystemConfigArrayOutput() GetFunctionFileSystemConfigArrayOutput
func (GetFunctionFileSystemConfigArray) ToGetFunctionFileSystemConfigArrayOutputWithContext ¶
func (i GetFunctionFileSystemConfigArray) ToGetFunctionFileSystemConfigArrayOutputWithContext(ctx context.Context) GetFunctionFileSystemConfigArrayOutput
func (GetFunctionFileSystemConfigArray) ToOutput ¶ added in v6.1.0
func (i GetFunctionFileSystemConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GetFunctionFileSystemConfig]
type GetFunctionFileSystemConfigArrayInput ¶
type GetFunctionFileSystemConfigArrayInput interface { pulumi.Input ToGetFunctionFileSystemConfigArrayOutput() GetFunctionFileSystemConfigArrayOutput ToGetFunctionFileSystemConfigArrayOutputWithContext(context.Context) GetFunctionFileSystemConfigArrayOutput }
GetFunctionFileSystemConfigArrayInput is an input type that accepts GetFunctionFileSystemConfigArray and GetFunctionFileSystemConfigArrayOutput values. You can construct a concrete instance of `GetFunctionFileSystemConfigArrayInput` via:
GetFunctionFileSystemConfigArray{ GetFunctionFileSystemConfigArgs{...} }
type GetFunctionFileSystemConfigArrayOutput ¶
type GetFunctionFileSystemConfigArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionFileSystemConfigArrayOutput) ElementType ¶
func (GetFunctionFileSystemConfigArrayOutput) ElementType() reflect.Type
func (GetFunctionFileSystemConfigArrayOutput) ToGetFunctionFileSystemConfigArrayOutput ¶
func (o GetFunctionFileSystemConfigArrayOutput) ToGetFunctionFileSystemConfigArrayOutput() GetFunctionFileSystemConfigArrayOutput
func (GetFunctionFileSystemConfigArrayOutput) ToGetFunctionFileSystemConfigArrayOutputWithContext ¶
func (o GetFunctionFileSystemConfigArrayOutput) ToGetFunctionFileSystemConfigArrayOutputWithContext(ctx context.Context) GetFunctionFileSystemConfigArrayOutput
func (GetFunctionFileSystemConfigArrayOutput) ToOutput ¶ added in v6.1.0
func (o GetFunctionFileSystemConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetFunctionFileSystemConfig]
type GetFunctionFileSystemConfigInput ¶
type GetFunctionFileSystemConfigInput interface { pulumi.Input ToGetFunctionFileSystemConfigOutput() GetFunctionFileSystemConfigOutput ToGetFunctionFileSystemConfigOutputWithContext(context.Context) GetFunctionFileSystemConfigOutput }
GetFunctionFileSystemConfigInput is an input type that accepts GetFunctionFileSystemConfigArgs and GetFunctionFileSystemConfigOutput values. You can construct a concrete instance of `GetFunctionFileSystemConfigInput` via:
GetFunctionFileSystemConfigArgs{...}
type GetFunctionFileSystemConfigOutput ¶
type GetFunctionFileSystemConfigOutput struct{ *pulumi.OutputState }
func (GetFunctionFileSystemConfigOutput) Arn ¶
func (o GetFunctionFileSystemConfigOutput) Arn() pulumi.StringOutput
Unqualified (no `:QUALIFIER` or `:VERSION` suffix) ARN identifying your Lambda Function. See also `qualifiedArn`.
func (GetFunctionFileSystemConfigOutput) ElementType ¶
func (GetFunctionFileSystemConfigOutput) ElementType() reflect.Type
func (GetFunctionFileSystemConfigOutput) LocalMountPath ¶
func (o GetFunctionFileSystemConfigOutput) LocalMountPath() pulumi.StringOutput
func (GetFunctionFileSystemConfigOutput) ToGetFunctionFileSystemConfigOutput ¶
func (o GetFunctionFileSystemConfigOutput) ToGetFunctionFileSystemConfigOutput() GetFunctionFileSystemConfigOutput
func (GetFunctionFileSystemConfigOutput) ToGetFunctionFileSystemConfigOutputWithContext ¶
func (o GetFunctionFileSystemConfigOutput) ToGetFunctionFileSystemConfigOutputWithContext(ctx context.Context) GetFunctionFileSystemConfigOutput
func (GetFunctionFileSystemConfigOutput) ToOutput ¶ added in v6.1.0
func (o GetFunctionFileSystemConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetFunctionFileSystemConfig]
type GetFunctionTracingConfig ¶
type GetFunctionTracingConfig struct {
Mode string `pulumi:"mode"`
}
type GetFunctionTracingConfigArgs ¶
type GetFunctionTracingConfigArgs struct {
Mode pulumi.StringInput `pulumi:"mode"`
}
func (GetFunctionTracingConfigArgs) ElementType ¶
func (GetFunctionTracingConfigArgs) ElementType() reflect.Type
func (GetFunctionTracingConfigArgs) ToGetFunctionTracingConfigOutput ¶
func (i GetFunctionTracingConfigArgs) ToGetFunctionTracingConfigOutput() GetFunctionTracingConfigOutput
func (GetFunctionTracingConfigArgs) ToGetFunctionTracingConfigOutputWithContext ¶
func (i GetFunctionTracingConfigArgs) ToGetFunctionTracingConfigOutputWithContext(ctx context.Context) GetFunctionTracingConfigOutput
func (GetFunctionTracingConfigArgs) ToOutput ¶ added in v6.1.0
func (i GetFunctionTracingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetFunctionTracingConfig]
type GetFunctionTracingConfigInput ¶
type GetFunctionTracingConfigInput interface { pulumi.Input ToGetFunctionTracingConfigOutput() GetFunctionTracingConfigOutput ToGetFunctionTracingConfigOutputWithContext(context.Context) GetFunctionTracingConfigOutput }
GetFunctionTracingConfigInput is an input type that accepts GetFunctionTracingConfigArgs and GetFunctionTracingConfigOutput values. You can construct a concrete instance of `GetFunctionTracingConfigInput` via:
GetFunctionTracingConfigArgs{...}
type GetFunctionTracingConfigOutput ¶
type GetFunctionTracingConfigOutput struct{ *pulumi.OutputState }
func (GetFunctionTracingConfigOutput) ElementType ¶
func (GetFunctionTracingConfigOutput) ElementType() reflect.Type
func (GetFunctionTracingConfigOutput) Mode ¶
func (o GetFunctionTracingConfigOutput) Mode() pulumi.StringOutput
func (GetFunctionTracingConfigOutput) ToGetFunctionTracingConfigOutput ¶
func (o GetFunctionTracingConfigOutput) ToGetFunctionTracingConfigOutput() GetFunctionTracingConfigOutput
func (GetFunctionTracingConfigOutput) ToGetFunctionTracingConfigOutputWithContext ¶
func (o GetFunctionTracingConfigOutput) ToGetFunctionTracingConfigOutputWithContext(ctx context.Context) GetFunctionTracingConfigOutput
func (GetFunctionTracingConfigOutput) ToOutput ¶ added in v6.1.0
func (o GetFunctionTracingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetFunctionTracingConfig]
type GetFunctionUrlCor ¶
type GetFunctionUrlCorArgs ¶
type GetFunctionUrlCorArgs struct { AllowCredentials pulumi.BoolInput `pulumi:"allowCredentials"` AllowHeaders pulumi.StringArrayInput `pulumi:"allowHeaders"` AllowMethods pulumi.StringArrayInput `pulumi:"allowMethods"` AllowOrigins pulumi.StringArrayInput `pulumi:"allowOrigins"` ExposeHeaders pulumi.StringArrayInput `pulumi:"exposeHeaders"` MaxAge pulumi.IntInput `pulumi:"maxAge"` }
func (GetFunctionUrlCorArgs) ElementType ¶
func (GetFunctionUrlCorArgs) ElementType() reflect.Type
func (GetFunctionUrlCorArgs) ToGetFunctionUrlCorOutput ¶
func (i GetFunctionUrlCorArgs) ToGetFunctionUrlCorOutput() GetFunctionUrlCorOutput
func (GetFunctionUrlCorArgs) ToGetFunctionUrlCorOutputWithContext ¶
func (i GetFunctionUrlCorArgs) ToGetFunctionUrlCorOutputWithContext(ctx context.Context) GetFunctionUrlCorOutput
func (GetFunctionUrlCorArgs) ToOutput ¶ added in v6.1.0
func (i GetFunctionUrlCorArgs) ToOutput(ctx context.Context) pulumix.Output[GetFunctionUrlCor]
type GetFunctionUrlCorArray ¶
type GetFunctionUrlCorArray []GetFunctionUrlCorInput
func (GetFunctionUrlCorArray) ElementType ¶
func (GetFunctionUrlCorArray) ElementType() reflect.Type
func (GetFunctionUrlCorArray) ToGetFunctionUrlCorArrayOutput ¶
func (i GetFunctionUrlCorArray) ToGetFunctionUrlCorArrayOutput() GetFunctionUrlCorArrayOutput
func (GetFunctionUrlCorArray) ToGetFunctionUrlCorArrayOutputWithContext ¶
func (i GetFunctionUrlCorArray) ToGetFunctionUrlCorArrayOutputWithContext(ctx context.Context) GetFunctionUrlCorArrayOutput
func (GetFunctionUrlCorArray) ToOutput ¶ added in v6.1.0
func (i GetFunctionUrlCorArray) ToOutput(ctx context.Context) pulumix.Output[[]GetFunctionUrlCor]
type GetFunctionUrlCorArrayInput ¶
type GetFunctionUrlCorArrayInput interface { pulumi.Input ToGetFunctionUrlCorArrayOutput() GetFunctionUrlCorArrayOutput ToGetFunctionUrlCorArrayOutputWithContext(context.Context) GetFunctionUrlCorArrayOutput }
GetFunctionUrlCorArrayInput is an input type that accepts GetFunctionUrlCorArray and GetFunctionUrlCorArrayOutput values. You can construct a concrete instance of `GetFunctionUrlCorArrayInput` via:
GetFunctionUrlCorArray{ GetFunctionUrlCorArgs{...} }
type GetFunctionUrlCorArrayOutput ¶
type GetFunctionUrlCorArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionUrlCorArrayOutput) ElementType ¶
func (GetFunctionUrlCorArrayOutput) ElementType() reflect.Type
func (GetFunctionUrlCorArrayOutput) Index ¶
func (o GetFunctionUrlCorArrayOutput) Index(i pulumi.IntInput) GetFunctionUrlCorOutput
func (GetFunctionUrlCorArrayOutput) ToGetFunctionUrlCorArrayOutput ¶
func (o GetFunctionUrlCorArrayOutput) ToGetFunctionUrlCorArrayOutput() GetFunctionUrlCorArrayOutput
func (GetFunctionUrlCorArrayOutput) ToGetFunctionUrlCorArrayOutputWithContext ¶
func (o GetFunctionUrlCorArrayOutput) ToGetFunctionUrlCorArrayOutputWithContext(ctx context.Context) GetFunctionUrlCorArrayOutput
func (GetFunctionUrlCorArrayOutput) ToOutput ¶ added in v6.1.0
func (o GetFunctionUrlCorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetFunctionUrlCor]
type GetFunctionUrlCorInput ¶
type GetFunctionUrlCorInput interface { pulumi.Input ToGetFunctionUrlCorOutput() GetFunctionUrlCorOutput ToGetFunctionUrlCorOutputWithContext(context.Context) GetFunctionUrlCorOutput }
GetFunctionUrlCorInput is an input type that accepts GetFunctionUrlCorArgs and GetFunctionUrlCorOutput values. You can construct a concrete instance of `GetFunctionUrlCorInput` via:
GetFunctionUrlCorArgs{...}
type GetFunctionUrlCorOutput ¶
type GetFunctionUrlCorOutput struct{ *pulumi.OutputState }
func (GetFunctionUrlCorOutput) AllowCredentials ¶
func (o GetFunctionUrlCorOutput) AllowCredentials() pulumi.BoolOutput
func (GetFunctionUrlCorOutput) AllowHeaders ¶
func (o GetFunctionUrlCorOutput) AllowHeaders() pulumi.StringArrayOutput
func (GetFunctionUrlCorOutput) AllowMethods ¶
func (o GetFunctionUrlCorOutput) AllowMethods() pulumi.StringArrayOutput
func (GetFunctionUrlCorOutput) AllowOrigins ¶
func (o GetFunctionUrlCorOutput) AllowOrigins() pulumi.StringArrayOutput
func (GetFunctionUrlCorOutput) ElementType ¶
func (GetFunctionUrlCorOutput) ElementType() reflect.Type
func (GetFunctionUrlCorOutput) ExposeHeaders ¶
func (o GetFunctionUrlCorOutput) ExposeHeaders() pulumi.StringArrayOutput
func (GetFunctionUrlCorOutput) MaxAge ¶
func (o GetFunctionUrlCorOutput) MaxAge() pulumi.IntOutput
func (GetFunctionUrlCorOutput) ToGetFunctionUrlCorOutput ¶
func (o GetFunctionUrlCorOutput) ToGetFunctionUrlCorOutput() GetFunctionUrlCorOutput
func (GetFunctionUrlCorOutput) ToGetFunctionUrlCorOutputWithContext ¶
func (o GetFunctionUrlCorOutput) ToGetFunctionUrlCorOutputWithContext(ctx context.Context) GetFunctionUrlCorOutput
func (GetFunctionUrlCorOutput) ToOutput ¶ added in v6.1.0
func (o GetFunctionUrlCorOutput) ToOutput(ctx context.Context) pulumix.Output[GetFunctionUrlCor]
type GetFunctionVpcConfig ¶
type GetFunctionVpcConfigArgs ¶
type GetFunctionVpcConfigArgs struct { SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"` VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (GetFunctionVpcConfigArgs) ElementType ¶
func (GetFunctionVpcConfigArgs) ElementType() reflect.Type
func (GetFunctionVpcConfigArgs) ToGetFunctionVpcConfigOutput ¶
func (i GetFunctionVpcConfigArgs) ToGetFunctionVpcConfigOutput() GetFunctionVpcConfigOutput
func (GetFunctionVpcConfigArgs) ToGetFunctionVpcConfigOutputWithContext ¶
func (i GetFunctionVpcConfigArgs) ToGetFunctionVpcConfigOutputWithContext(ctx context.Context) GetFunctionVpcConfigOutput
func (GetFunctionVpcConfigArgs) ToOutput ¶ added in v6.1.0
func (i GetFunctionVpcConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetFunctionVpcConfig]
type GetFunctionVpcConfigInput ¶
type GetFunctionVpcConfigInput interface { pulumi.Input ToGetFunctionVpcConfigOutput() GetFunctionVpcConfigOutput ToGetFunctionVpcConfigOutputWithContext(context.Context) GetFunctionVpcConfigOutput }
GetFunctionVpcConfigInput is an input type that accepts GetFunctionVpcConfigArgs and GetFunctionVpcConfigOutput values. You can construct a concrete instance of `GetFunctionVpcConfigInput` via:
GetFunctionVpcConfigArgs{...}
type GetFunctionVpcConfigOutput ¶
type GetFunctionVpcConfigOutput struct{ *pulumi.OutputState }
func (GetFunctionVpcConfigOutput) ElementType ¶
func (GetFunctionVpcConfigOutput) ElementType() reflect.Type
func (GetFunctionVpcConfigOutput) SecurityGroupIds ¶
func (o GetFunctionVpcConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput
func (GetFunctionVpcConfigOutput) SubnetIds ¶
func (o GetFunctionVpcConfigOutput) SubnetIds() pulumi.StringArrayOutput
func (GetFunctionVpcConfigOutput) ToGetFunctionVpcConfigOutput ¶
func (o GetFunctionVpcConfigOutput) ToGetFunctionVpcConfigOutput() GetFunctionVpcConfigOutput
func (GetFunctionVpcConfigOutput) ToGetFunctionVpcConfigOutputWithContext ¶
func (o GetFunctionVpcConfigOutput) ToGetFunctionVpcConfigOutputWithContext(ctx context.Context) GetFunctionVpcConfigOutput
func (GetFunctionVpcConfigOutput) ToOutput ¶ added in v6.1.0
func (o GetFunctionVpcConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetFunctionVpcConfig]
func (GetFunctionVpcConfigOutput) VpcId ¶
func (o GetFunctionVpcConfigOutput) VpcId() pulumi.StringOutput
type GetFunctionsResult ¶
type GetFunctionsResult struct { // A list of Lambda Function ARNs. FunctionArns []string `pulumi:"functionArns"` // A list of Lambda Function names. FunctionNames []string `pulumi:"functionNames"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` }
A collection of values returned by getFunctions.
func GetFunctions ¶
func GetFunctions(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetFunctionsResult, error)
Data resource to get a list of Lambda Functions.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.GetFunctions(ctx, nil, nil) if err != nil { return err } return nil }) }
```
type GetFunctionsResultOutput ¶ added in v6.6.1
type GetFunctionsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFunctions.
func GetFunctionsOutput ¶ added in v6.6.1
func GetFunctionsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetFunctionsResultOutput
func (GetFunctionsResultOutput) ElementType ¶ added in v6.6.1
func (GetFunctionsResultOutput) ElementType() reflect.Type
func (GetFunctionsResultOutput) FunctionArns ¶ added in v6.6.1
func (o GetFunctionsResultOutput) FunctionArns() pulumi.StringArrayOutput
A list of Lambda Function ARNs.
func (GetFunctionsResultOutput) FunctionNames ¶ added in v6.6.1
func (o GetFunctionsResultOutput) FunctionNames() pulumi.StringArrayOutput
A list of Lambda Function names.
func (GetFunctionsResultOutput) Id ¶ added in v6.6.1
func (o GetFunctionsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetFunctionsResultOutput) ToGetFunctionsResultOutput ¶ added in v6.6.1
func (o GetFunctionsResultOutput) ToGetFunctionsResultOutput() GetFunctionsResultOutput
func (GetFunctionsResultOutput) ToGetFunctionsResultOutputWithContext ¶ added in v6.6.1
func (o GetFunctionsResultOutput) ToGetFunctionsResultOutputWithContext(ctx context.Context) GetFunctionsResultOutput
func (GetFunctionsResultOutput) ToOutput ¶ added in v6.6.1
func (o GetFunctionsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetFunctionsResult]
type Invocation ¶
type Invocation struct { pulumi.CustomResourceState // Name of the lambda function. FunctionName pulumi.StringOutput `pulumi:"functionName"` // JSON payload to the lambda function. // // The following arguments are optional: Input pulumi.StringOutput `pulumi:"input"` // Lifecycle scope of the resource to manage. Valid values are `CREATE_ONLY` and `CRUD`. Defaults to `CREATE_ONLY`. `CREATE_ONLY` will invoke the function only on creation or replacement. `CRUD` will invoke the function on each lifecycle event, and augment the input JSON payload with additional lifecycle information. LifecycleScope pulumi.StringPtrOutput `pulumi:"lifecycleScope"` // Qualifier (i.e., version) of the lambda function. Defaults to `$LATEST`. Qualifier pulumi.StringPtrOutput `pulumi:"qualifier"` // String result of the lambda function invocation. Result pulumi.StringOutput `pulumi:"result"` TerraformKey pulumi.StringPtrOutput `pulumi:"terraformKey"` // Map of arbitrary keys and values that, when changed, will trigger a re-invocation. Triggers pulumi.StringMapOutput `pulumi:"triggers"` }
Use this resource to invoke a lambda function. The lambda function is invoked with the [RequestResponse](https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html#API_Invoke_RequestSyntax) invocation type.
> **NOTE:** By default this resource _only_ invokes the function when the arguments call for a create or replace. In other words, after an initial invocation on _apply_, if the arguments do not change, a subsequent _apply_ does not invoke the function again. To dynamically invoke the function, see the `triggers` example below. To always invoke a function on each _apply_, see the `lambda.Invocation` data source. To invoke the lambda function when the Pulumi resource is updated and deleted, see the CRUD Lifecycle Scope example below.
> **NOTE:** If you get a `KMSAccessDeniedException: Lambda was unable to decrypt the environment variables because KMS access was denied` error when invoking an `lambda.Function` with environment variables, the IAM role associated with the function may have been deleted and recreated _after_ the function was created. You can fix the problem two ways: 1) updating the function's role to another role and then updating it back again to the recreated role, or 2) by using Pulumi to `taint` the function and `apply` your configuration again to recreate the function. (When you create a function, Lambda grants permissions on the KMS key to the function's IAM role. If the IAM role is recreated, the grant is no longer valid. Changing the function's role or recreating the function causes Lambda to update the grant.)
## Example Usage ### Dynamic Invocation Example Using Triggers
```go package main
import (
"crypto/sha1" "encoding/json" "fmt" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func sha1Hash(input string) string { hash := sha1.Sum([]byte(input)) return hex.EncodeToString(hash[:]) } func main() { pulumi.Run(func(ctx *pulumi.Context) error { tmpJSON0, err := json.Marshal([]interface{}{ aws_lambda_function.Example.Environment, }) if err != nil { return err } json0 := string(tmpJSON0) tmpJSON1, err := json.Marshal(map[string]interface{}{ "key1": "value1", "key2": "value2", }) if err != nil { return err } json1 := string(tmpJSON1) _, err = lambda.NewInvocation(ctx, "example", &lambda.InvocationArgs{ FunctionName: pulumi.Any(aws_lambda_function.Lambda_function_test.Function_name), Triggers: pulumi.StringMap{ "redeployment": sha1Hash(json0), }, Input: pulumi.String(json1), }) if err != nil { return err } return nil }) }
``` ### CRUD Lifecycle Scope
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { tmpJSON0, err := json.Marshal(map[string]interface{}{ "key1": "value1", "key2": "value2", }) if err != nil { return err } json0 := string(tmpJSON0) _, err = lambda.NewInvocation(ctx, "example", &lambda.InvocationArgs{ FunctionName: pulumi.Any(aws_lambda_function.Lambda_function_test.Function_name), Input: pulumi.String(json0), LifecycleScope: pulumi.String("CRUD"), }) if err != nil { return err } return nil }) }
```
> **NOTE:** `lifecycleScope = "CRUD"` will inject a key `tf` in the input event to pass lifecycle information! This allows the lambda function to handle different lifecycle transitions uniquely. If you need to use a key `tf` in your own input JSON, the default key name can be overridden with the `pulumiKey` argument.
The key `tf` gets added with subkeys:
* `action` - Action Pulumi performs on the resource. Values are `create`, `update`, or `delete`. * `prevInput` - Input JSON payload from the previous invocation. This can be used to handle update and delete events.
When the resource from the example above is created, the Lambda will get following JSON payload:
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
```
If the input value of `key1` changes to "valueB", then the lambda will be invoked again with the following JSON payload:
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
```
When the invocation resource is removed, the final invocation will have the following JSON payload:
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
```
func GetInvocation ¶
func GetInvocation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InvocationState, opts ...pulumi.ResourceOption) (*Invocation, error)
GetInvocation gets an existing Invocation 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 NewInvocation ¶
func NewInvocation(ctx *pulumi.Context, name string, args *InvocationArgs, opts ...pulumi.ResourceOption) (*Invocation, error)
NewInvocation registers a new resource with the given unique name, arguments, and options.
func (*Invocation) ElementType ¶
func (*Invocation) ElementType() reflect.Type
func (*Invocation) ToInvocationOutput ¶
func (i *Invocation) ToInvocationOutput() InvocationOutput
func (*Invocation) ToInvocationOutputWithContext ¶
func (i *Invocation) ToInvocationOutputWithContext(ctx context.Context) InvocationOutput
func (*Invocation) ToOutput ¶ added in v6.1.0
func (i *Invocation) ToOutput(ctx context.Context) pulumix.Output[*Invocation]
type InvocationArgs ¶
type InvocationArgs struct { // Name of the lambda function. FunctionName pulumi.StringInput // JSON payload to the lambda function. // // The following arguments are optional: Input pulumi.StringInput // Lifecycle scope of the resource to manage. Valid values are `CREATE_ONLY` and `CRUD`. Defaults to `CREATE_ONLY`. `CREATE_ONLY` will invoke the function only on creation or replacement. `CRUD` will invoke the function on each lifecycle event, and augment the input JSON payload with additional lifecycle information. LifecycleScope pulumi.StringPtrInput // Qualifier (i.e., version) of the lambda function. Defaults to `$LATEST`. Qualifier pulumi.StringPtrInput TerraformKey pulumi.StringPtrInput // Map of arbitrary keys and values that, when changed, will trigger a re-invocation. Triggers pulumi.StringMapInput }
The set of arguments for constructing a Invocation resource.
func (InvocationArgs) ElementType ¶
func (InvocationArgs) ElementType() reflect.Type
type InvocationArray ¶
type InvocationArray []InvocationInput
func (InvocationArray) ElementType ¶
func (InvocationArray) ElementType() reflect.Type
func (InvocationArray) ToInvocationArrayOutput ¶
func (i InvocationArray) ToInvocationArrayOutput() InvocationArrayOutput
func (InvocationArray) ToInvocationArrayOutputWithContext ¶
func (i InvocationArray) ToInvocationArrayOutputWithContext(ctx context.Context) InvocationArrayOutput
func (InvocationArray) ToOutput ¶ added in v6.1.0
func (i InvocationArray) ToOutput(ctx context.Context) pulumix.Output[[]*Invocation]
type InvocationArrayInput ¶
type InvocationArrayInput interface { pulumi.Input ToInvocationArrayOutput() InvocationArrayOutput ToInvocationArrayOutputWithContext(context.Context) InvocationArrayOutput }
InvocationArrayInput is an input type that accepts InvocationArray and InvocationArrayOutput values. You can construct a concrete instance of `InvocationArrayInput` via:
InvocationArray{ InvocationArgs{...} }
type InvocationArrayOutput ¶
type InvocationArrayOutput struct{ *pulumi.OutputState }
func (InvocationArrayOutput) ElementType ¶
func (InvocationArrayOutput) ElementType() reflect.Type
func (InvocationArrayOutput) Index ¶
func (o InvocationArrayOutput) Index(i pulumi.IntInput) InvocationOutput
func (InvocationArrayOutput) ToInvocationArrayOutput ¶
func (o InvocationArrayOutput) ToInvocationArrayOutput() InvocationArrayOutput
func (InvocationArrayOutput) ToInvocationArrayOutputWithContext ¶
func (o InvocationArrayOutput) ToInvocationArrayOutputWithContext(ctx context.Context) InvocationArrayOutput
func (InvocationArrayOutput) ToOutput ¶ added in v6.1.0
func (o InvocationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Invocation]
type InvocationInput ¶
type InvocationInput interface { pulumi.Input ToInvocationOutput() InvocationOutput ToInvocationOutputWithContext(ctx context.Context) InvocationOutput }
type InvocationMap ¶
type InvocationMap map[string]InvocationInput
func (InvocationMap) ElementType ¶
func (InvocationMap) ElementType() reflect.Type
func (InvocationMap) ToInvocationMapOutput ¶
func (i InvocationMap) ToInvocationMapOutput() InvocationMapOutput
func (InvocationMap) ToInvocationMapOutputWithContext ¶
func (i InvocationMap) ToInvocationMapOutputWithContext(ctx context.Context) InvocationMapOutput
func (InvocationMap) ToOutput ¶ added in v6.1.0
func (i InvocationMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Invocation]
type InvocationMapInput ¶
type InvocationMapInput interface { pulumi.Input ToInvocationMapOutput() InvocationMapOutput ToInvocationMapOutputWithContext(context.Context) InvocationMapOutput }
InvocationMapInput is an input type that accepts InvocationMap and InvocationMapOutput values. You can construct a concrete instance of `InvocationMapInput` via:
InvocationMap{ "key": InvocationArgs{...} }
type InvocationMapOutput ¶
type InvocationMapOutput struct{ *pulumi.OutputState }
func (InvocationMapOutput) ElementType ¶
func (InvocationMapOutput) ElementType() reflect.Type
func (InvocationMapOutput) MapIndex ¶
func (o InvocationMapOutput) MapIndex(k pulumi.StringInput) InvocationOutput
func (InvocationMapOutput) ToInvocationMapOutput ¶
func (o InvocationMapOutput) ToInvocationMapOutput() InvocationMapOutput
func (InvocationMapOutput) ToInvocationMapOutputWithContext ¶
func (o InvocationMapOutput) ToInvocationMapOutputWithContext(ctx context.Context) InvocationMapOutput
func (InvocationMapOutput) ToOutput ¶ added in v6.1.0
func (o InvocationMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Invocation]
type InvocationOutput ¶
type InvocationOutput struct{ *pulumi.OutputState }
func (InvocationOutput) ElementType ¶
func (InvocationOutput) ElementType() reflect.Type
func (InvocationOutput) FunctionName ¶
func (o InvocationOutput) FunctionName() pulumi.StringOutput
Name of the lambda function.
func (InvocationOutput) Input ¶
func (o InvocationOutput) Input() pulumi.StringOutput
JSON payload to the lambda function.
The following arguments are optional:
func (InvocationOutput) LifecycleScope ¶
func (o InvocationOutput) LifecycleScope() pulumi.StringPtrOutput
Lifecycle scope of the resource to manage. Valid values are `CREATE_ONLY` and `CRUD`. Defaults to `CREATE_ONLY`. `CREATE_ONLY` will invoke the function only on creation or replacement. `CRUD` will invoke the function on each lifecycle event, and augment the input JSON payload with additional lifecycle information.
func (InvocationOutput) Qualifier ¶
func (o InvocationOutput) Qualifier() pulumi.StringPtrOutput
Qualifier (i.e., version) of the lambda function. Defaults to `$LATEST`.
func (InvocationOutput) Result ¶
func (o InvocationOutput) Result() pulumi.StringOutput
String result of the lambda function invocation.
func (InvocationOutput) TerraformKey ¶
func (o InvocationOutput) TerraformKey() pulumi.StringPtrOutput
func (InvocationOutput) ToInvocationOutput ¶
func (o InvocationOutput) ToInvocationOutput() InvocationOutput
func (InvocationOutput) ToInvocationOutputWithContext ¶
func (o InvocationOutput) ToInvocationOutputWithContext(ctx context.Context) InvocationOutput
func (InvocationOutput) ToOutput ¶ added in v6.1.0
func (o InvocationOutput) ToOutput(ctx context.Context) pulumix.Output[*Invocation]
func (InvocationOutput) Triggers ¶
func (o InvocationOutput) Triggers() pulumi.StringMapOutput
Map of arbitrary keys and values that, when changed, will trigger a re-invocation.
type InvocationState ¶
type InvocationState struct { // Name of the lambda function. FunctionName pulumi.StringPtrInput // JSON payload to the lambda function. // // The following arguments are optional: Input pulumi.StringPtrInput // Lifecycle scope of the resource to manage. Valid values are `CREATE_ONLY` and `CRUD`. Defaults to `CREATE_ONLY`. `CREATE_ONLY` will invoke the function only on creation or replacement. `CRUD` will invoke the function on each lifecycle event, and augment the input JSON payload with additional lifecycle information. LifecycleScope pulumi.StringPtrInput // Qualifier (i.e., version) of the lambda function. Defaults to `$LATEST`. Qualifier pulumi.StringPtrInput // String result of the lambda function invocation. Result pulumi.StringPtrInput TerraformKey pulumi.StringPtrInput // Map of arbitrary keys and values that, when changed, will trigger a re-invocation. Triggers pulumi.StringMapInput }
func (InvocationState) ElementType ¶
func (InvocationState) ElementType() reflect.Type
type LayerVersion ¶
type LayerVersion struct { pulumi.CustomResourceState // ARN of the Lambda Layer with version. Arn pulumi.StringOutput `pulumi:"arn"` // 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"` // List of [Architectures](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleArchitectures) this layer is compatible with. Currently `x8664` and `arm64` can be specified. CompatibleArchitectures pulumi.StringArrayOutput `pulumi:"compatibleArchitectures"` // List of [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleRuntimes) this layer is compatible with. Up to 5 runtimes can be specified. CompatibleRuntimes pulumi.StringArrayOutput `pulumi:"compatibleRuntimes"` // Date this resource was created. CreatedDate pulumi.StringOutput `pulumi:"createdDate"` // Description of what your Lambda Layer does. Description pulumi.StringPtrOutput `pulumi:"description"` // ARN of the Lambda Layer without version. LayerArn pulumi.StringOutput `pulumi:"layerArn"` // Unique name for your Lambda Layer // // The following arguments are optional: LayerName pulumi.StringOutput `pulumi:"layerName"` // License info for your Lambda Layer. See [License Info](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-LicenseInfo). LicenseInfo pulumi.StringPtrOutput `pulumi:"licenseInfo"` // 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"` // S3 key of an object containing the function's deployment package. Conflicts with `filename`. S3Key pulumi.StringPtrOutput `pulumi:"s3Key"` // Object version containing the function's deployment package. Conflicts with `filename`. S3ObjectVersion pulumi.StringPtrOutput `pulumi:"s3ObjectVersion"` // ARN of a signing job. SigningJobArn pulumi.StringOutput `pulumi:"signingJobArn"` // ARN for a signing profile version. SigningProfileVersionArn pulumi.StringOutput `pulumi:"signingProfileVersionArn"` // Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleArchitectures`, `compatibleRuntimes`, `description`, `filename`, `layerName`, `licenseInfo`, `s3Bucket`, `s3Key`, `s3ObjectVersion`, or `sourceCodeHash` forces deletion of the existing layer version and creation of a new layer version. SkipDestroy pulumi.BoolPtrOutput `pulumi:"skipDestroy"` // Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either `filename` or `s3Key`. SourceCodeHash pulumi.StringOutput `pulumi:"sourceCodeHash"` // Size in bytes of the function .zip file. SourceCodeSize pulumi.IntOutput `pulumi:"sourceCodeSize"` // Lambda 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](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
> **NOTE:** Setting `skipDestroy` to `true` means that the AWS Provider will _not_ destroy any layer version, even when running destroy. Layer versions are thus intentional dangling resources that are _not_ managed by the provider and may incur extra expense in your AWS account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewLayerVersion(ctx, "lambdaLayer", &lambda.LayerVersionArgs{ CompatibleRuntimes: pulumi.StringArray{ pulumi.String("nodejs16.x"), }, Code: pulumi.NewFileArchive("lambda_layer_payload.zip"), LayerName: pulumi.String("lambda_layer_name"), }) if err != nil { return err } return nil }) }
``` ## 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](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleRuntimes) 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.BucketObjectv2` 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.
## Import
Using `pulumi import`, import Lambda Layers using `arn`. For example:
```sh
$ pulumi import aws:lambda/layerVersion:LayerVersion test_layer arn:aws:lambda:_REGION_:_ACCOUNT_ID_:layer:_LAYER_NAME_:_LAYER_VERSION_
```
func GetLayerVersion ¶
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 ¶
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.
func (*LayerVersion) ElementType ¶
func (*LayerVersion) ElementType() reflect.Type
func (*LayerVersion) ToLayerVersionOutput ¶
func (i *LayerVersion) ToLayerVersionOutput() LayerVersionOutput
func (*LayerVersion) ToLayerVersionOutputWithContext ¶
func (i *LayerVersion) ToLayerVersionOutputWithContext(ctx context.Context) LayerVersionOutput
func (*LayerVersion) ToOutput ¶ added in v6.1.0
func (i *LayerVersion) ToOutput(ctx context.Context) pulumix.Output[*LayerVersion]
type LayerVersionArgs ¶
type LayerVersionArgs struct { // Path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used. Code pulumi.ArchiveInput // List of [Architectures](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleArchitectures) this layer is compatible with. Currently `x8664` and `arm64` can be specified. CompatibleArchitectures pulumi.StringArrayInput // List of [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleRuntimes) 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 // Unique name for your Lambda Layer // // The following arguments are optional: LayerName pulumi.StringInput // License info for your Lambda Layer. See [License Info](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-LicenseInfo). LicenseInfo pulumi.StringPtrInput // 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 // S3 key of an object containing the function's deployment package. Conflicts with `filename`. S3Key pulumi.StringPtrInput // Object version containing the function's deployment package. Conflicts with `filename`. S3ObjectVersion pulumi.StringPtrInput // Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleArchitectures`, `compatibleRuntimes`, `description`, `filename`, `layerName`, `licenseInfo`, `s3Bucket`, `s3Key`, `s3ObjectVersion`, or `sourceCodeHash` forces deletion of the existing layer version and creation of a new layer version. SkipDestroy pulumi.BoolPtrInput // Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either `filename` or `s3Key`. SourceCodeHash pulumi.StringPtrInput }
The set of arguments for constructing a LayerVersion resource.
func (LayerVersionArgs) ElementType ¶
func (LayerVersionArgs) ElementType() reflect.Type
type LayerVersionArray ¶
type LayerVersionArray []LayerVersionInput
func (LayerVersionArray) ElementType ¶
func (LayerVersionArray) ElementType() reflect.Type
func (LayerVersionArray) ToLayerVersionArrayOutput ¶
func (i LayerVersionArray) ToLayerVersionArrayOutput() LayerVersionArrayOutput
func (LayerVersionArray) ToLayerVersionArrayOutputWithContext ¶
func (i LayerVersionArray) ToLayerVersionArrayOutputWithContext(ctx context.Context) LayerVersionArrayOutput
func (LayerVersionArray) ToOutput ¶ added in v6.1.0
func (i LayerVersionArray) ToOutput(ctx context.Context) pulumix.Output[[]*LayerVersion]
type LayerVersionArrayInput ¶
type LayerVersionArrayInput interface { pulumi.Input ToLayerVersionArrayOutput() LayerVersionArrayOutput ToLayerVersionArrayOutputWithContext(context.Context) LayerVersionArrayOutput }
LayerVersionArrayInput is an input type that accepts LayerVersionArray and LayerVersionArrayOutput values. You can construct a concrete instance of `LayerVersionArrayInput` via:
LayerVersionArray{ LayerVersionArgs{...} }
type LayerVersionArrayOutput ¶
type LayerVersionArrayOutput struct{ *pulumi.OutputState }
func (LayerVersionArrayOutput) ElementType ¶
func (LayerVersionArrayOutput) ElementType() reflect.Type
func (LayerVersionArrayOutput) Index ¶
func (o LayerVersionArrayOutput) Index(i pulumi.IntInput) LayerVersionOutput
func (LayerVersionArrayOutput) ToLayerVersionArrayOutput ¶
func (o LayerVersionArrayOutput) ToLayerVersionArrayOutput() LayerVersionArrayOutput
func (LayerVersionArrayOutput) ToLayerVersionArrayOutputWithContext ¶
func (o LayerVersionArrayOutput) ToLayerVersionArrayOutputWithContext(ctx context.Context) LayerVersionArrayOutput
func (LayerVersionArrayOutput) ToOutput ¶ added in v6.1.0
func (o LayerVersionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*LayerVersion]
type LayerVersionInput ¶
type LayerVersionInput interface { pulumi.Input ToLayerVersionOutput() LayerVersionOutput ToLayerVersionOutputWithContext(ctx context.Context) LayerVersionOutput }
type LayerVersionMap ¶
type LayerVersionMap map[string]LayerVersionInput
func (LayerVersionMap) ElementType ¶
func (LayerVersionMap) ElementType() reflect.Type
func (LayerVersionMap) ToLayerVersionMapOutput ¶
func (i LayerVersionMap) ToLayerVersionMapOutput() LayerVersionMapOutput
func (LayerVersionMap) ToLayerVersionMapOutputWithContext ¶
func (i LayerVersionMap) ToLayerVersionMapOutputWithContext(ctx context.Context) LayerVersionMapOutput
func (LayerVersionMap) ToOutput ¶ added in v6.1.0
func (i LayerVersionMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*LayerVersion]
type LayerVersionMapInput ¶
type LayerVersionMapInput interface { pulumi.Input ToLayerVersionMapOutput() LayerVersionMapOutput ToLayerVersionMapOutputWithContext(context.Context) LayerVersionMapOutput }
LayerVersionMapInput is an input type that accepts LayerVersionMap and LayerVersionMapOutput values. You can construct a concrete instance of `LayerVersionMapInput` via:
LayerVersionMap{ "key": LayerVersionArgs{...} }
type LayerVersionMapOutput ¶
type LayerVersionMapOutput struct{ *pulumi.OutputState }
func (LayerVersionMapOutput) ElementType ¶
func (LayerVersionMapOutput) ElementType() reflect.Type
func (LayerVersionMapOutput) MapIndex ¶
func (o LayerVersionMapOutput) MapIndex(k pulumi.StringInput) LayerVersionOutput
func (LayerVersionMapOutput) ToLayerVersionMapOutput ¶
func (o LayerVersionMapOutput) ToLayerVersionMapOutput() LayerVersionMapOutput
func (LayerVersionMapOutput) ToLayerVersionMapOutputWithContext ¶
func (o LayerVersionMapOutput) ToLayerVersionMapOutputWithContext(ctx context.Context) LayerVersionMapOutput
func (LayerVersionMapOutput) ToOutput ¶ added in v6.1.0
func (o LayerVersionMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*LayerVersion]
type LayerVersionOutput ¶
type LayerVersionOutput struct{ *pulumi.OutputState }
func (LayerVersionOutput) Arn ¶
func (o LayerVersionOutput) Arn() pulumi.StringOutput
ARN of the Lambda Layer with version.
func (LayerVersionOutput) Code ¶
func (o LayerVersionOutput) Code() pulumi.ArchiveOutput
Path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used.
func (LayerVersionOutput) CompatibleArchitectures ¶
func (o LayerVersionOutput) CompatibleArchitectures() pulumi.StringArrayOutput
List of [Architectures](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleArchitectures) this layer is compatible with. Currently `x8664` and `arm64` can be specified.
func (LayerVersionOutput) CompatibleRuntimes ¶
func (o LayerVersionOutput) CompatibleRuntimes() pulumi.StringArrayOutput
List of [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleRuntimes) this layer is compatible with. Up to 5 runtimes can be specified.
func (LayerVersionOutput) CreatedDate ¶
func (o LayerVersionOutput) CreatedDate() pulumi.StringOutput
Date this resource was created.
func (LayerVersionOutput) Description ¶
func (o LayerVersionOutput) Description() pulumi.StringPtrOutput
Description of what your Lambda Layer does.
func (LayerVersionOutput) ElementType ¶
func (LayerVersionOutput) ElementType() reflect.Type
func (LayerVersionOutput) LayerArn ¶
func (o LayerVersionOutput) LayerArn() pulumi.StringOutput
ARN of the Lambda Layer without version.
func (LayerVersionOutput) LayerName ¶
func (o LayerVersionOutput) LayerName() pulumi.StringOutput
Unique name for your Lambda Layer
The following arguments are optional:
func (LayerVersionOutput) LicenseInfo ¶
func (o LayerVersionOutput) LicenseInfo() pulumi.StringPtrOutput
License info for your Lambda Layer. See [License Info](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-LicenseInfo).
func (LayerVersionOutput) S3Bucket ¶
func (o LayerVersionOutput) S3Bucket() pulumi.StringPtrOutput
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.
func (LayerVersionOutput) S3Key ¶
func (o LayerVersionOutput) S3Key() pulumi.StringPtrOutput
S3 key of an object containing the function's deployment package. Conflicts with `filename`.
func (LayerVersionOutput) S3ObjectVersion ¶
func (o LayerVersionOutput) S3ObjectVersion() pulumi.StringPtrOutput
Object version containing the function's deployment package. Conflicts with `filename`.
func (LayerVersionOutput) SigningJobArn ¶
func (o LayerVersionOutput) SigningJobArn() pulumi.StringOutput
ARN of a signing job.
func (LayerVersionOutput) SigningProfileVersionArn ¶
func (o LayerVersionOutput) SigningProfileVersionArn() pulumi.StringOutput
ARN for a signing profile version.
func (LayerVersionOutput) SkipDestroy ¶
func (o LayerVersionOutput) SkipDestroy() pulumi.BoolPtrOutput
Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleArchitectures`, `compatibleRuntimes`, `description`, `filename`, `layerName`, `licenseInfo`, `s3Bucket`, `s3Key`, `s3ObjectVersion`, or `sourceCodeHash` forces deletion of the existing layer version and creation of a new layer version.
func (LayerVersionOutput) SourceCodeHash ¶
func (o LayerVersionOutput) SourceCodeHash() pulumi.StringOutput
Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either `filename` or `s3Key`.
func (LayerVersionOutput) SourceCodeSize ¶
func (o LayerVersionOutput) SourceCodeSize() pulumi.IntOutput
Size in bytes of the function .zip file.
func (LayerVersionOutput) ToLayerVersionOutput ¶
func (o LayerVersionOutput) ToLayerVersionOutput() LayerVersionOutput
func (LayerVersionOutput) ToLayerVersionOutputWithContext ¶
func (o LayerVersionOutput) ToLayerVersionOutputWithContext(ctx context.Context) LayerVersionOutput
func (LayerVersionOutput) ToOutput ¶ added in v6.1.0
func (o LayerVersionOutput) ToOutput(ctx context.Context) pulumix.Output[*LayerVersion]
func (LayerVersionOutput) Version ¶
func (o LayerVersionOutput) Version() pulumi.StringOutput
Lambda Layer version.
type LayerVersionPermission ¶
type LayerVersionPermission struct { pulumi.CustomResourceState // Action, which will be allowed. `lambda:GetLayerVersion` value is suggested by AWS documantation. Action pulumi.StringOutput `pulumi:"action"` // The name or ARN of the Lambda Layer, which you want to grant access to. LayerName pulumi.StringOutput `pulumi:"layerName"` // An identifier of AWS Organization, which should be able to use your Lambda Layer. `principal` should be equal to `*` if `organizationId` provided. OrganizationId pulumi.StringPtrOutput `pulumi:"organizationId"` // Full Lambda Layer Permission policy. Policy pulumi.StringOutput `pulumi:"policy"` // AWS account ID which should be able to use your Lambda Layer. `*` can be used here, if you want to share your Lambda Layer widely. Principal pulumi.StringOutput `pulumi:"principal"` // A unique identifier for the current revision of the policy. RevisionId pulumi.StringOutput `pulumi:"revisionId"` // Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleArchitectures`, `compatibleRuntimes`, `description`, `filename`, `layerName`, `licenseInfo`, `s3Bucket`, `s3Key`, `s3ObjectVersion`, or `sourceCodeHash` forces deletion of the existing layer version and creation of a new layer version. SkipDestroy pulumi.BoolPtrOutput `pulumi:"skipDestroy"` // The name of Lambda Layer Permission, for example `dev-account` - human readable note about what is this permission for. StatementId pulumi.StringOutput `pulumi:"statementId"` // Version of Lambda Layer, which you want to grant access to. Note: permissions only apply to a single version of a layer. VersionNumber pulumi.IntOutput `pulumi:"versionNumber"` }
Provides a Lambda Layer Version Permission resource. It allows you to share you own Lambda Layers to another account by account ID, to all accounts in AWS organization or even to all AWS accounts.
For information about Lambda Layer Permissions and how to use them, see [Using Resource-based Policies for AWS Lambda][1]
> **NOTE:** Setting `skipDestroy` to `true` means that the AWS Provider will _not_ destroy any layer version permission, even when running `pulumi destroy`. Layer version permissions are thus intentional dangling resources that are _not_ managed by Pulumi and may incur extra expense in your AWS account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewLayerVersionPermission(ctx, "lambdaLayerPermission", &lambda.LayerVersionPermissionArgs{ Action: pulumi.String("lambda:GetLayerVersion"), LayerName: pulumi.String("arn:aws:lambda:us-west-2:123456654321:layer:test_layer1"), Principal: pulumi.String("111111111111"), StatementId: pulumi.String("dev-account"), VersionNumber: pulumi.Int(1), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Lambda Layer Permissions using `layer_name` and `version_number`, separated by a comma (`,`). For example:
```sh
$ pulumi import aws:lambda/layerVersionPermission:LayerVersionPermission example arn:aws:lambda:us-west-2:123456654321:layer:test_layer1,1
```
func GetLayerVersionPermission ¶
func GetLayerVersionPermission(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LayerVersionPermissionState, opts ...pulumi.ResourceOption) (*LayerVersionPermission, error)
GetLayerVersionPermission gets an existing LayerVersionPermission 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 NewLayerVersionPermission ¶
func NewLayerVersionPermission(ctx *pulumi.Context, name string, args *LayerVersionPermissionArgs, opts ...pulumi.ResourceOption) (*LayerVersionPermission, error)
NewLayerVersionPermission registers a new resource with the given unique name, arguments, and options.
func (*LayerVersionPermission) ElementType ¶
func (*LayerVersionPermission) ElementType() reflect.Type
func (*LayerVersionPermission) ToLayerVersionPermissionOutput ¶
func (i *LayerVersionPermission) ToLayerVersionPermissionOutput() LayerVersionPermissionOutput
func (*LayerVersionPermission) ToLayerVersionPermissionOutputWithContext ¶
func (i *LayerVersionPermission) ToLayerVersionPermissionOutputWithContext(ctx context.Context) LayerVersionPermissionOutput
func (*LayerVersionPermission) ToOutput ¶ added in v6.1.0
func (i *LayerVersionPermission) ToOutput(ctx context.Context) pulumix.Output[*LayerVersionPermission]
type LayerVersionPermissionArgs ¶
type LayerVersionPermissionArgs struct { // Action, which will be allowed. `lambda:GetLayerVersion` value is suggested by AWS documantation. Action pulumi.StringInput // The name or ARN of the Lambda Layer, which you want to grant access to. LayerName pulumi.StringInput // An identifier of AWS Organization, which should be able to use your Lambda Layer. `principal` should be equal to `*` if `organizationId` provided. OrganizationId pulumi.StringPtrInput // AWS account ID which should be able to use your Lambda Layer. `*` can be used here, if you want to share your Lambda Layer widely. Principal pulumi.StringInput // Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleArchitectures`, `compatibleRuntimes`, `description`, `filename`, `layerName`, `licenseInfo`, `s3Bucket`, `s3Key`, `s3ObjectVersion`, or `sourceCodeHash` forces deletion of the existing layer version and creation of a new layer version. SkipDestroy pulumi.BoolPtrInput // The name of Lambda Layer Permission, for example `dev-account` - human readable note about what is this permission for. StatementId pulumi.StringInput // Version of Lambda Layer, which you want to grant access to. Note: permissions only apply to a single version of a layer. VersionNumber pulumi.IntInput }
The set of arguments for constructing a LayerVersionPermission resource.
func (LayerVersionPermissionArgs) ElementType ¶
func (LayerVersionPermissionArgs) ElementType() reflect.Type
type LayerVersionPermissionArray ¶
type LayerVersionPermissionArray []LayerVersionPermissionInput
func (LayerVersionPermissionArray) ElementType ¶
func (LayerVersionPermissionArray) ElementType() reflect.Type
func (LayerVersionPermissionArray) ToLayerVersionPermissionArrayOutput ¶
func (i LayerVersionPermissionArray) ToLayerVersionPermissionArrayOutput() LayerVersionPermissionArrayOutput
func (LayerVersionPermissionArray) ToLayerVersionPermissionArrayOutputWithContext ¶
func (i LayerVersionPermissionArray) ToLayerVersionPermissionArrayOutputWithContext(ctx context.Context) LayerVersionPermissionArrayOutput
func (LayerVersionPermissionArray) ToOutput ¶ added in v6.1.0
func (i LayerVersionPermissionArray) ToOutput(ctx context.Context) pulumix.Output[[]*LayerVersionPermission]
type LayerVersionPermissionArrayInput ¶
type LayerVersionPermissionArrayInput interface { pulumi.Input ToLayerVersionPermissionArrayOutput() LayerVersionPermissionArrayOutput ToLayerVersionPermissionArrayOutputWithContext(context.Context) LayerVersionPermissionArrayOutput }
LayerVersionPermissionArrayInput is an input type that accepts LayerVersionPermissionArray and LayerVersionPermissionArrayOutput values. You can construct a concrete instance of `LayerVersionPermissionArrayInput` via:
LayerVersionPermissionArray{ LayerVersionPermissionArgs{...} }
type LayerVersionPermissionArrayOutput ¶
type LayerVersionPermissionArrayOutput struct{ *pulumi.OutputState }
func (LayerVersionPermissionArrayOutput) ElementType ¶
func (LayerVersionPermissionArrayOutput) ElementType() reflect.Type
func (LayerVersionPermissionArrayOutput) Index ¶
func (o LayerVersionPermissionArrayOutput) Index(i pulumi.IntInput) LayerVersionPermissionOutput
func (LayerVersionPermissionArrayOutput) ToLayerVersionPermissionArrayOutput ¶
func (o LayerVersionPermissionArrayOutput) ToLayerVersionPermissionArrayOutput() LayerVersionPermissionArrayOutput
func (LayerVersionPermissionArrayOutput) ToLayerVersionPermissionArrayOutputWithContext ¶
func (o LayerVersionPermissionArrayOutput) ToLayerVersionPermissionArrayOutputWithContext(ctx context.Context) LayerVersionPermissionArrayOutput
func (LayerVersionPermissionArrayOutput) ToOutput ¶ added in v6.1.0
func (o LayerVersionPermissionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*LayerVersionPermission]
type LayerVersionPermissionInput ¶
type LayerVersionPermissionInput interface { pulumi.Input ToLayerVersionPermissionOutput() LayerVersionPermissionOutput ToLayerVersionPermissionOutputWithContext(ctx context.Context) LayerVersionPermissionOutput }
type LayerVersionPermissionMap ¶
type LayerVersionPermissionMap map[string]LayerVersionPermissionInput
func (LayerVersionPermissionMap) ElementType ¶
func (LayerVersionPermissionMap) ElementType() reflect.Type
func (LayerVersionPermissionMap) ToLayerVersionPermissionMapOutput ¶
func (i LayerVersionPermissionMap) ToLayerVersionPermissionMapOutput() LayerVersionPermissionMapOutput
func (LayerVersionPermissionMap) ToLayerVersionPermissionMapOutputWithContext ¶
func (i LayerVersionPermissionMap) ToLayerVersionPermissionMapOutputWithContext(ctx context.Context) LayerVersionPermissionMapOutput
func (LayerVersionPermissionMap) ToOutput ¶ added in v6.1.0
func (i LayerVersionPermissionMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*LayerVersionPermission]
type LayerVersionPermissionMapInput ¶
type LayerVersionPermissionMapInput interface { pulumi.Input ToLayerVersionPermissionMapOutput() LayerVersionPermissionMapOutput ToLayerVersionPermissionMapOutputWithContext(context.Context) LayerVersionPermissionMapOutput }
LayerVersionPermissionMapInput is an input type that accepts LayerVersionPermissionMap and LayerVersionPermissionMapOutput values. You can construct a concrete instance of `LayerVersionPermissionMapInput` via:
LayerVersionPermissionMap{ "key": LayerVersionPermissionArgs{...} }
type LayerVersionPermissionMapOutput ¶
type LayerVersionPermissionMapOutput struct{ *pulumi.OutputState }
func (LayerVersionPermissionMapOutput) ElementType ¶
func (LayerVersionPermissionMapOutput) ElementType() reflect.Type
func (LayerVersionPermissionMapOutput) MapIndex ¶
func (o LayerVersionPermissionMapOutput) MapIndex(k pulumi.StringInput) LayerVersionPermissionOutput
func (LayerVersionPermissionMapOutput) ToLayerVersionPermissionMapOutput ¶
func (o LayerVersionPermissionMapOutput) ToLayerVersionPermissionMapOutput() LayerVersionPermissionMapOutput
func (LayerVersionPermissionMapOutput) ToLayerVersionPermissionMapOutputWithContext ¶
func (o LayerVersionPermissionMapOutput) ToLayerVersionPermissionMapOutputWithContext(ctx context.Context) LayerVersionPermissionMapOutput
func (LayerVersionPermissionMapOutput) ToOutput ¶ added in v6.1.0
func (o LayerVersionPermissionMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*LayerVersionPermission]
type LayerVersionPermissionOutput ¶
type LayerVersionPermissionOutput struct{ *pulumi.OutputState }
func (LayerVersionPermissionOutput) Action ¶
func (o LayerVersionPermissionOutput) Action() pulumi.StringOutput
Action, which will be allowed. `lambda:GetLayerVersion` value is suggested by AWS documantation.
func (LayerVersionPermissionOutput) ElementType ¶
func (LayerVersionPermissionOutput) ElementType() reflect.Type
func (LayerVersionPermissionOutput) LayerName ¶
func (o LayerVersionPermissionOutput) LayerName() pulumi.StringOutput
The name or ARN of the Lambda Layer, which you want to grant access to.
func (LayerVersionPermissionOutput) OrganizationId ¶
func (o LayerVersionPermissionOutput) OrganizationId() pulumi.StringPtrOutput
An identifier of AWS Organization, which should be able to use your Lambda Layer. `principal` should be equal to `*` if `organizationId` provided.
func (LayerVersionPermissionOutput) Policy ¶
func (o LayerVersionPermissionOutput) Policy() pulumi.StringOutput
Full Lambda Layer Permission policy.
func (LayerVersionPermissionOutput) Principal ¶
func (o LayerVersionPermissionOutput) Principal() pulumi.StringOutput
AWS account ID which should be able to use your Lambda Layer. `*` can be used here, if you want to share your Lambda Layer widely.
func (LayerVersionPermissionOutput) RevisionId ¶
func (o LayerVersionPermissionOutput) RevisionId() pulumi.StringOutput
A unique identifier for the current revision of the policy.
func (LayerVersionPermissionOutput) SkipDestroy ¶
func (o LayerVersionPermissionOutput) SkipDestroy() pulumi.BoolPtrOutput
Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleArchitectures`, `compatibleRuntimes`, `description`, `filename`, `layerName`, `licenseInfo`, `s3Bucket`, `s3Key`, `s3ObjectVersion`, or `sourceCodeHash` forces deletion of the existing layer version and creation of a new layer version.
func (LayerVersionPermissionOutput) StatementId ¶
func (o LayerVersionPermissionOutput) StatementId() pulumi.StringOutput
The name of Lambda Layer Permission, for example `dev-account` - human readable note about what is this permission for.
func (LayerVersionPermissionOutput) ToLayerVersionPermissionOutput ¶
func (o LayerVersionPermissionOutput) ToLayerVersionPermissionOutput() LayerVersionPermissionOutput
func (LayerVersionPermissionOutput) ToLayerVersionPermissionOutputWithContext ¶
func (o LayerVersionPermissionOutput) ToLayerVersionPermissionOutputWithContext(ctx context.Context) LayerVersionPermissionOutput
func (LayerVersionPermissionOutput) ToOutput ¶ added in v6.1.0
func (o LayerVersionPermissionOutput) ToOutput(ctx context.Context) pulumix.Output[*LayerVersionPermission]
func (LayerVersionPermissionOutput) VersionNumber ¶
func (o LayerVersionPermissionOutput) VersionNumber() pulumi.IntOutput
Version of Lambda Layer, which you want to grant access to. Note: permissions only apply to a single version of a layer.
type LayerVersionPermissionState ¶
type LayerVersionPermissionState struct { // Action, which will be allowed. `lambda:GetLayerVersion` value is suggested by AWS documantation. Action pulumi.StringPtrInput // The name or ARN of the Lambda Layer, which you want to grant access to. LayerName pulumi.StringPtrInput // An identifier of AWS Organization, which should be able to use your Lambda Layer. `principal` should be equal to `*` if `organizationId` provided. OrganizationId pulumi.StringPtrInput // Full Lambda Layer Permission policy. Policy pulumi.StringPtrInput // AWS account ID which should be able to use your Lambda Layer. `*` can be used here, if you want to share your Lambda Layer widely. Principal pulumi.StringPtrInput // A unique identifier for the current revision of the policy. RevisionId pulumi.StringPtrInput // Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleArchitectures`, `compatibleRuntimes`, `description`, `filename`, `layerName`, `licenseInfo`, `s3Bucket`, `s3Key`, `s3ObjectVersion`, or `sourceCodeHash` forces deletion of the existing layer version and creation of a new layer version. SkipDestroy pulumi.BoolPtrInput // The name of Lambda Layer Permission, for example `dev-account` - human readable note about what is this permission for. StatementId pulumi.StringPtrInput // Version of Lambda Layer, which you want to grant access to. Note: permissions only apply to a single version of a layer. VersionNumber pulumi.IntPtrInput }
func (LayerVersionPermissionState) ElementType ¶
func (LayerVersionPermissionState) ElementType() reflect.Type
type LayerVersionState ¶
type LayerVersionState struct { // ARN of the Lambda Layer with version. Arn pulumi.StringPtrInput // Path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used. Code pulumi.ArchiveInput // List of [Architectures](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleArchitectures) this layer is compatible with. Currently `x8664` and `arm64` can be specified. CompatibleArchitectures pulumi.StringArrayInput // List of [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleRuntimes) this layer is compatible with. Up to 5 runtimes can be specified. CompatibleRuntimes pulumi.StringArrayInput // Date this resource was created. CreatedDate pulumi.StringPtrInput // Description of what your Lambda Layer does. Description pulumi.StringPtrInput // ARN of the Lambda Layer without version. LayerArn pulumi.StringPtrInput // Unique name for your Lambda Layer // // The following arguments are optional: LayerName pulumi.StringPtrInput // License info for your Lambda Layer. See [License Info](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-LicenseInfo). LicenseInfo pulumi.StringPtrInput // 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 // S3 key of an object containing the function's deployment package. Conflicts with `filename`. S3Key pulumi.StringPtrInput // Object version containing the function's deployment package. Conflicts with `filename`. S3ObjectVersion pulumi.StringPtrInput // ARN of a signing job. SigningJobArn pulumi.StringPtrInput // ARN for a signing profile version. SigningProfileVersionArn pulumi.StringPtrInput // Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleArchitectures`, `compatibleRuntimes`, `description`, `filename`, `layerName`, `licenseInfo`, `s3Bucket`, `s3Key`, `s3ObjectVersion`, or `sourceCodeHash` forces deletion of the existing layer version and creation of a new layer version. SkipDestroy pulumi.BoolPtrInput // Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either `filename` or `s3Key`. SourceCodeHash pulumi.StringPtrInput // Size in bytes of the function .zip file. SourceCodeSize pulumi.IntPtrInput // Lambda Layer version. Version pulumi.StringPtrInput }
func (LayerVersionState) ElementType ¶
func (LayerVersionState) ElementType() reflect.Type
type LookupAliasArgs ¶
type LookupAliasArgs struct { // Name of the aliased Lambda function. FunctionName string `pulumi:"functionName"` // Name of the Lambda alias. Name string `pulumi:"name"` }
A collection of arguments for invoking getAlias.
type LookupAliasOutputArgs ¶
type LookupAliasOutputArgs struct { // Name of the aliased Lambda function. FunctionName pulumi.StringInput `pulumi:"functionName"` // Name of the Lambda alias. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getAlias.
func (LookupAliasOutputArgs) ElementType ¶
func (LookupAliasOutputArgs) ElementType() reflect.Type
type LookupAliasResult ¶
type LookupAliasResult struct { // ARN identifying the Lambda function alias. Arn string `pulumi:"arn"` // Description of alias. Description string `pulumi:"description"` FunctionName string `pulumi:"functionName"` // Lambda function version which the alias uses. FunctionVersion string `pulumi:"functionVersion"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // ARN to be used for invoking Lambda Function from API Gateway - to be used in aws_api_gateway_integration's `uri`. InvokeArn string `pulumi:"invokeArn"` Name string `pulumi:"name"` }
A collection of values returned by getAlias.
func LookupAlias ¶
func LookupAlias(ctx *pulumi.Context, args *LookupAliasArgs, opts ...pulumi.InvokeOption) (*LookupAliasResult, error)
Provides information about a Lambda Alias.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.LookupAlias(ctx, &lambda.LookupAliasArgs{ FunctionName: "my-lambda-func", Name: "production", }, nil) if err != nil { return err } return nil }) }
```
type LookupAliasResultOutput ¶
type LookupAliasResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAlias.
func LookupAliasOutput ¶
func LookupAliasOutput(ctx *pulumi.Context, args LookupAliasOutputArgs, opts ...pulumi.InvokeOption) LookupAliasResultOutput
func (LookupAliasResultOutput) Arn ¶
func (o LookupAliasResultOutput) Arn() pulumi.StringOutput
ARN identifying the Lambda function alias.
func (LookupAliasResultOutput) Description ¶
func (o LookupAliasResultOutput) Description() pulumi.StringOutput
Description of alias.
func (LookupAliasResultOutput) ElementType ¶
func (LookupAliasResultOutput) ElementType() reflect.Type
func (LookupAliasResultOutput) FunctionName ¶
func (o LookupAliasResultOutput) FunctionName() pulumi.StringOutput
func (LookupAliasResultOutput) FunctionVersion ¶
func (o LookupAliasResultOutput) FunctionVersion() pulumi.StringOutput
Lambda function version which the alias uses.
func (LookupAliasResultOutput) Id ¶
func (o LookupAliasResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupAliasResultOutput) InvokeArn ¶
func (o LookupAliasResultOutput) InvokeArn() pulumi.StringOutput
ARN to be used for invoking Lambda Function from API Gateway - to be used in aws_api_gateway_integration's `uri`.
func (LookupAliasResultOutput) Name ¶
func (o LookupAliasResultOutput) Name() pulumi.StringOutput
func (LookupAliasResultOutput) ToLookupAliasResultOutput ¶
func (o LookupAliasResultOutput) ToLookupAliasResultOutput() LookupAliasResultOutput
func (LookupAliasResultOutput) ToLookupAliasResultOutputWithContext ¶
func (o LookupAliasResultOutput) ToLookupAliasResultOutputWithContext(ctx context.Context) LookupAliasResultOutput
func (LookupAliasResultOutput) ToOutput ¶ added in v6.1.0
func (o LookupAliasResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAliasResult]
type LookupCodeSigningConfigArgs ¶
type LookupCodeSigningConfigArgs struct { // ARN of the code signing configuration. Arn string `pulumi:"arn"` }
A collection of arguments for invoking getCodeSigningConfig.
type LookupCodeSigningConfigOutputArgs ¶
type LookupCodeSigningConfigOutputArgs struct { // ARN of the code signing configuration. Arn pulumi.StringInput `pulumi:"arn"` }
A collection of arguments for invoking getCodeSigningConfig.
func (LookupCodeSigningConfigOutputArgs) ElementType ¶
func (LookupCodeSigningConfigOutputArgs) ElementType() reflect.Type
type LookupCodeSigningConfigResult ¶
type LookupCodeSigningConfigResult struct { // List of allowed publishers as signing profiles for this code signing configuration. AllowedPublishers []GetCodeSigningConfigAllowedPublisher `pulumi:"allowedPublishers"` Arn string `pulumi:"arn"` // Unique identifier for the code signing configuration. ConfigId string `pulumi:"configId"` // Code signing configuration description. Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Date and time that the code signing configuration was last modified. LastModified string `pulumi:"lastModified"` // List of code signing policies that control the validation failure action for signature mismatch or expiry. Policies []GetCodeSigningConfigPolicy `pulumi:"policies"` }
A collection of values returned by getCodeSigningConfig.
func LookupCodeSigningConfig ¶
func LookupCodeSigningConfig(ctx *pulumi.Context, args *LookupCodeSigningConfigArgs, opts ...pulumi.InvokeOption) (*LookupCodeSigningConfigResult, error)
Provides information about a Lambda Code Signing Config. A code signing configuration defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail).
For information about Lambda code signing configurations and how to use them, see [configuring code signing for Lambda functions](https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html)
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.LookupCodeSigningConfig(ctx, &lambda.LookupCodeSigningConfigArgs{ Arn: fmt.Sprintf("arn:aws:lambda:%v:%v:code-signing-config:csc-0f6c334abcdea4d8b", _var.Aws_region, _var.Aws_account), }, nil) if err != nil { return err } return nil }) }
```
type LookupCodeSigningConfigResultOutput ¶
type LookupCodeSigningConfigResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCodeSigningConfig.
func LookupCodeSigningConfigOutput ¶
func LookupCodeSigningConfigOutput(ctx *pulumi.Context, args LookupCodeSigningConfigOutputArgs, opts ...pulumi.InvokeOption) LookupCodeSigningConfigResultOutput
func (LookupCodeSigningConfigResultOutput) AllowedPublishers ¶
func (o LookupCodeSigningConfigResultOutput) AllowedPublishers() GetCodeSigningConfigAllowedPublisherArrayOutput
List of allowed publishers as signing profiles for this code signing configuration.
func (LookupCodeSigningConfigResultOutput) Arn ¶
func (o LookupCodeSigningConfigResultOutput) Arn() pulumi.StringOutput
func (LookupCodeSigningConfigResultOutput) ConfigId ¶
func (o LookupCodeSigningConfigResultOutput) ConfigId() pulumi.StringOutput
Unique identifier for the code signing configuration.
func (LookupCodeSigningConfigResultOutput) Description ¶
func (o LookupCodeSigningConfigResultOutput) Description() pulumi.StringOutput
Code signing configuration description.
func (LookupCodeSigningConfigResultOutput) ElementType ¶
func (LookupCodeSigningConfigResultOutput) ElementType() reflect.Type
func (LookupCodeSigningConfigResultOutput) Id ¶
func (o LookupCodeSigningConfigResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupCodeSigningConfigResultOutput) LastModified ¶
func (o LookupCodeSigningConfigResultOutput) LastModified() pulumi.StringOutput
Date and time that the code signing configuration was last modified.
func (LookupCodeSigningConfigResultOutput) Policies ¶
func (o LookupCodeSigningConfigResultOutput) Policies() GetCodeSigningConfigPolicyArrayOutput
List of code signing policies that control the validation failure action for signature mismatch or expiry.
func (LookupCodeSigningConfigResultOutput) ToLookupCodeSigningConfigResultOutput ¶
func (o LookupCodeSigningConfigResultOutput) ToLookupCodeSigningConfigResultOutput() LookupCodeSigningConfigResultOutput
func (LookupCodeSigningConfigResultOutput) ToLookupCodeSigningConfigResultOutputWithContext ¶
func (o LookupCodeSigningConfigResultOutput) ToLookupCodeSigningConfigResultOutputWithContext(ctx context.Context) LookupCodeSigningConfigResultOutput
func (LookupCodeSigningConfigResultOutput) ToOutput ¶ added in v6.1.0
func (o LookupCodeSigningConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCodeSigningConfigResult]
type LookupFunctionArgs ¶
type LookupFunctionArgs struct { // Name of the lambda function. FunctionName string `pulumi:"functionName"` // Alias name or version number of the lambda functionE.g., `$LATEST`, `my-alias`, or `1`. When not included: the data source resolves to the most recent published version; if no published version exists: it resolves to the most recent unpublished version. Qualifier *string `pulumi:"qualifier"` Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getFunction.
type LookupFunctionOutputArgs ¶
type LookupFunctionOutputArgs struct { // Name of the lambda function. FunctionName pulumi.StringInput `pulumi:"functionName"` // Alias name or version number of the lambda functionE.g., `$LATEST`, `my-alias`, or `1`. When not included: the data source resolves to the most recent published version; if no published version exists: it resolves to the most recent unpublished version. Qualifier pulumi.StringPtrInput `pulumi:"qualifier"` Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getFunction.
func (LookupFunctionOutputArgs) ElementType ¶
func (LookupFunctionOutputArgs) ElementType() reflect.Type
type LookupFunctionResult ¶
type LookupFunctionResult struct { // Instruction set architecture for the Lambda function. Architectures []string `pulumi:"architectures"` // Unqualified (no `:QUALIFIER` or `:VERSION` suffix) ARN identifying your Lambda Function. See also `qualifiedArn`. Arn string `pulumi:"arn"` // ARN for a Code Signing Configuration. CodeSigningConfigArn string `pulumi:"codeSigningConfigArn"` // Configure the function's *dead letter queue*. DeadLetterConfig GetFunctionDeadLetterConfig `pulumi:"deadLetterConfig"` // Description of what your Lambda Function does. Description string `pulumi:"description"` // Lambda environment's configuration settings. Environment GetFunctionEnvironment `pulumi:"environment"` // Amount of Ephemeral storage(`/tmp`) allocated for the Lambda Function. EphemeralStorages []GetFunctionEphemeralStorage `pulumi:"ephemeralStorages"` // Connection settings for an Amazon EFS file system. FileSystemConfigs []GetFunctionFileSystemConfig `pulumi:"fileSystemConfigs"` FunctionName string `pulumi:"functionName"` // Function entrypoint in your code. Handler string `pulumi:"handler"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // URI of the container image. ImageUri string `pulumi:"imageUri"` // ARN to be used for invoking Lambda Function from API Gateway. **NOTE:** Starting with `v4.51.0` of the provider, this will *not* include the qualifier. InvokeArn string `pulumi:"invokeArn"` // ARN for the KMS encryption key. KmsKeyArn string `pulumi:"kmsKeyArn"` // Date this resource was last modified. LastModified string `pulumi:"lastModified"` // 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) ARN identifying your Lambda Function. See also `arn`. QualifiedArn string `pulumi:"qualifiedArn"` // Qualified (`:QUALIFIER` or `:VERSION` suffix) ARN to be used for invoking Lambda Function from API Gateway. See also `invokeArn`. QualifiedInvokeArn string `pulumi:"qualifiedInvokeArn"` 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"` // Runtime environment for the Lambda function. Runtime string `pulumi:"runtime"` // ARN of a signing job. SigningJobArn string `pulumi:"signingJobArn"` // The ARN for a signing profile version. SigningProfileVersionArn string `pulumi:"signingProfileVersionArn"` // Base64-encoded representation of raw SHA-256 sum of the zip file. SourceCodeHash string `pulumi:"sourceCodeHash"` // Size in bytes of the function .zip file. SourceCodeSize int `pulumi:"sourceCodeSize"` Tags map[string]string `pulumi:"tags"` // 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 returned. If `qualifier` is not set, this will resolve to the most recent published version. If no published version of the function exists, `version` will resolve to `$LATEST`. 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") functionName := cfg.Require("functionName") _, err := lambda.LookupFunction(ctx, &lambda.LookupFunctionArgs{ FunctionName: functionName, }, nil) if err != nil { return err } return nil }) }
```
type LookupFunctionResultOutput ¶
type LookupFunctionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFunction.
func LookupFunctionOutput ¶
func LookupFunctionOutput(ctx *pulumi.Context, args LookupFunctionOutputArgs, opts ...pulumi.InvokeOption) LookupFunctionResultOutput
func (LookupFunctionResultOutput) Architectures ¶
func (o LookupFunctionResultOutput) Architectures() pulumi.StringArrayOutput
Instruction set architecture for the Lambda function.
func (LookupFunctionResultOutput) Arn ¶
func (o LookupFunctionResultOutput) Arn() pulumi.StringOutput
Unqualified (no `:QUALIFIER` or `:VERSION` suffix) ARN identifying your Lambda Function. See also `qualifiedArn`.
func (LookupFunctionResultOutput) CodeSigningConfigArn ¶
func (o LookupFunctionResultOutput) CodeSigningConfigArn() pulumi.StringOutput
ARN for a Code Signing Configuration.
func (LookupFunctionResultOutput) DeadLetterConfig ¶
func (o LookupFunctionResultOutput) DeadLetterConfig() GetFunctionDeadLetterConfigOutput
Configure the function's *dead letter queue*.
func (LookupFunctionResultOutput) Description ¶
func (o LookupFunctionResultOutput) Description() pulumi.StringOutput
Description of what your Lambda Function does.
func (LookupFunctionResultOutput) ElementType ¶
func (LookupFunctionResultOutput) ElementType() reflect.Type
func (LookupFunctionResultOutput) Environment ¶
func (o LookupFunctionResultOutput) Environment() GetFunctionEnvironmentOutput
Lambda environment's configuration settings.
func (LookupFunctionResultOutput) EphemeralStorages ¶
func (o LookupFunctionResultOutput) EphemeralStorages() GetFunctionEphemeralStorageArrayOutput
Amount of Ephemeral storage(`/tmp`) allocated for the Lambda Function.
func (LookupFunctionResultOutput) FileSystemConfigs ¶
func (o LookupFunctionResultOutput) FileSystemConfigs() GetFunctionFileSystemConfigArrayOutput
Connection settings for an Amazon EFS file system.
func (LookupFunctionResultOutput) FunctionName ¶
func (o LookupFunctionResultOutput) FunctionName() pulumi.StringOutput
func (LookupFunctionResultOutput) Handler ¶
func (o LookupFunctionResultOutput) Handler() pulumi.StringOutput
Function entrypoint in your code.
func (LookupFunctionResultOutput) Id ¶
func (o LookupFunctionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupFunctionResultOutput) ImageUri ¶
func (o LookupFunctionResultOutput) ImageUri() pulumi.StringOutput
URI of the container image.
func (LookupFunctionResultOutput) InvokeArn ¶
func (o LookupFunctionResultOutput) InvokeArn() pulumi.StringOutput
ARN to be used for invoking Lambda Function from API Gateway. **NOTE:** Starting with `v4.51.0` of the provider, this will *not* include the qualifier.
func (LookupFunctionResultOutput) KmsKeyArn ¶
func (o LookupFunctionResultOutput) KmsKeyArn() pulumi.StringOutput
ARN for the KMS encryption key.
func (LookupFunctionResultOutput) LastModified ¶
func (o LookupFunctionResultOutput) LastModified() pulumi.StringOutput
Date this resource was last modified.
func (LookupFunctionResultOutput) Layers ¶
func (o LookupFunctionResultOutput) Layers() pulumi.StringArrayOutput
List of Lambda Layer ARNs attached to your Lambda Function.
func (LookupFunctionResultOutput) MemorySize ¶
func (o LookupFunctionResultOutput) MemorySize() pulumi.IntOutput
Amount of memory in MB your Lambda Function can use at runtime.
func (LookupFunctionResultOutput) QualifiedArn ¶
func (o LookupFunctionResultOutput) QualifiedArn() pulumi.StringOutput
Qualified (`:QUALIFIER` or `:VERSION` suffix) ARN identifying your Lambda Function. See also `arn`.
func (LookupFunctionResultOutput) QualifiedInvokeArn ¶
func (o LookupFunctionResultOutput) QualifiedInvokeArn() pulumi.StringOutput
Qualified (`:QUALIFIER` or `:VERSION` suffix) ARN to be used for invoking Lambda Function from API Gateway. See also `invokeArn`.
func (LookupFunctionResultOutput) Qualifier ¶
func (o LookupFunctionResultOutput) Qualifier() pulumi.StringPtrOutput
func (LookupFunctionResultOutput) ReservedConcurrentExecutions ¶
func (o LookupFunctionResultOutput) ReservedConcurrentExecutions() pulumi.IntOutput
The amount of reserved concurrent executions for this lambda function or `-1` if unreserved.
func (LookupFunctionResultOutput) Role ¶
func (o LookupFunctionResultOutput) Role() pulumi.StringOutput
IAM role attached to the Lambda Function.
func (LookupFunctionResultOutput) Runtime ¶
func (o LookupFunctionResultOutput) Runtime() pulumi.StringOutput
Runtime environment for the Lambda function.
func (LookupFunctionResultOutput) SigningJobArn ¶
func (o LookupFunctionResultOutput) SigningJobArn() pulumi.StringOutput
ARN of a signing job.
func (LookupFunctionResultOutput) SigningProfileVersionArn ¶
func (o LookupFunctionResultOutput) SigningProfileVersionArn() pulumi.StringOutput
The ARN for a signing profile version.
func (LookupFunctionResultOutput) SourceCodeHash ¶
func (o LookupFunctionResultOutput) SourceCodeHash() pulumi.StringOutput
Base64-encoded representation of raw SHA-256 sum of the zip file.
func (LookupFunctionResultOutput) SourceCodeSize ¶
func (o LookupFunctionResultOutput) SourceCodeSize() pulumi.IntOutput
Size in bytes of the function .zip file.
func (LookupFunctionResultOutput) Tags ¶
func (o LookupFunctionResultOutput) Tags() pulumi.StringMapOutput
func (LookupFunctionResultOutput) Timeout ¶
func (o LookupFunctionResultOutput) Timeout() pulumi.IntOutput
Function execution time at which Lambda should terminate the function.
func (LookupFunctionResultOutput) ToLookupFunctionResultOutput ¶
func (o LookupFunctionResultOutput) ToLookupFunctionResultOutput() LookupFunctionResultOutput
func (LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext ¶
func (o LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext(ctx context.Context) LookupFunctionResultOutput
func (LookupFunctionResultOutput) ToOutput ¶ added in v6.1.0
func (o LookupFunctionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFunctionResult]
func (LookupFunctionResultOutput) TracingConfig ¶
func (o LookupFunctionResultOutput) TracingConfig() GetFunctionTracingConfigOutput
Tracing settings of the function.
func (LookupFunctionResultOutput) Version ¶
func (o LookupFunctionResultOutput) Version() pulumi.StringOutput
The version of the Lambda function returned. If `qualifier` is not set, this will resolve to the most recent published version. If no published version of the function exists, `version` will resolve to `$LATEST`.
func (LookupFunctionResultOutput) VpcConfig ¶
func (o LookupFunctionResultOutput) VpcConfig() GetFunctionVpcConfigOutput
VPC configuration associated with your Lambda function.
type LookupFunctionUrlArgs ¶
type LookupFunctionUrlArgs struct { // The name (or ARN) of the Lambda function. FunctionName string `pulumi:"functionName"` // Alias name or `"$LATEST"`. Qualifier *string `pulumi:"qualifier"` }
A collection of arguments for invoking getFunctionUrl.
type LookupFunctionUrlOutputArgs ¶
type LookupFunctionUrlOutputArgs struct { // The name (or ARN) of the Lambda function. FunctionName pulumi.StringInput `pulumi:"functionName"` // Alias name or `"$LATEST"`. Qualifier pulumi.StringPtrInput `pulumi:"qualifier"` }
A collection of arguments for invoking getFunctionUrl.
func (LookupFunctionUrlOutputArgs) ElementType ¶
func (LookupFunctionUrlOutputArgs) ElementType() reflect.Type
type LookupFunctionUrlResult ¶
type LookupFunctionUrlResult struct { // Type of authentication that the function URL uses. AuthorizationType string `pulumi:"authorizationType"` // The [cross-origin resource sharing (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings for the function URL. See the `lambda.FunctionUrl` resource documentation for more details. Cors []GetFunctionUrlCor `pulumi:"cors"` // When the function URL was created, in [ISO-8601 format](https://www.w3.org/TR/NOTE-datetime). CreationTime string `pulumi:"creationTime"` // ARN of the function. FunctionArn string `pulumi:"functionArn"` FunctionName string `pulumi:"functionName"` // HTTP URL endpoint for the function in the format `https://<url_id>.lambda-url.<region>.on.aws`. FunctionUrl string `pulumi:"functionUrl"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Whether the Lambda function responds in `BUFFERED` or `RESPONSE_STREAM` mode. InvokeMode string `pulumi:"invokeMode"` // When the function URL configuration was last updated, in [ISO-8601 format](https://www.w3.org/TR/NOTE-datetime). LastModifiedTime string `pulumi:"lastModifiedTime"` Qualifier *string `pulumi:"qualifier"` // Generated ID for the endpoint. UrlId string `pulumi:"urlId"` }
A collection of values returned by getFunctionUrl.
func LookupFunctionUrl ¶
func LookupFunctionUrl(ctx *pulumi.Context, args *LookupFunctionUrlArgs, opts ...pulumi.InvokeOption) (*LookupFunctionUrlResult, error)
Provides information about a Lambda function URL.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") functionName := cfg.Require("functionName") _, err := lambda.LookupFunctionUrl(ctx, &lambda.LookupFunctionUrlArgs{ FunctionName: functionName, }, nil) if err != nil { return err } return nil }) }
```
type LookupFunctionUrlResultOutput ¶
type LookupFunctionUrlResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFunctionUrl.
func LookupFunctionUrlOutput ¶
func LookupFunctionUrlOutput(ctx *pulumi.Context, args LookupFunctionUrlOutputArgs, opts ...pulumi.InvokeOption) LookupFunctionUrlResultOutput
func (LookupFunctionUrlResultOutput) AuthorizationType ¶
func (o LookupFunctionUrlResultOutput) AuthorizationType() pulumi.StringOutput
Type of authentication that the function URL uses.
func (LookupFunctionUrlResultOutput) Cors ¶
func (o LookupFunctionUrlResultOutput) Cors() GetFunctionUrlCorArrayOutput
The [cross-origin resource sharing (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings for the function URL. See the `lambda.FunctionUrl` resource documentation for more details.
func (LookupFunctionUrlResultOutput) CreationTime ¶
func (o LookupFunctionUrlResultOutput) CreationTime() pulumi.StringOutput
When the function URL was created, in [ISO-8601 format](https://www.w3.org/TR/NOTE-datetime).
func (LookupFunctionUrlResultOutput) ElementType ¶
func (LookupFunctionUrlResultOutput) ElementType() reflect.Type
func (LookupFunctionUrlResultOutput) FunctionArn ¶
func (o LookupFunctionUrlResultOutput) FunctionArn() pulumi.StringOutput
ARN of the function.
func (LookupFunctionUrlResultOutput) FunctionName ¶
func (o LookupFunctionUrlResultOutput) FunctionName() pulumi.StringOutput
func (LookupFunctionUrlResultOutput) FunctionUrl ¶
func (o LookupFunctionUrlResultOutput) FunctionUrl() pulumi.StringOutput
HTTP URL endpoint for the function in the format `https://<url_id>.lambda-url.<region>.on.aws`.
func (LookupFunctionUrlResultOutput) Id ¶
func (o LookupFunctionUrlResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupFunctionUrlResultOutput) InvokeMode ¶
func (o LookupFunctionUrlResultOutput) InvokeMode() pulumi.StringOutput
Whether the Lambda function responds in `BUFFERED` or `RESPONSE_STREAM` mode.
func (LookupFunctionUrlResultOutput) LastModifiedTime ¶
func (o LookupFunctionUrlResultOutput) LastModifiedTime() pulumi.StringOutput
When the function URL configuration was last updated, in [ISO-8601 format](https://www.w3.org/TR/NOTE-datetime).
func (LookupFunctionUrlResultOutput) Qualifier ¶
func (o LookupFunctionUrlResultOutput) Qualifier() pulumi.StringPtrOutput
func (LookupFunctionUrlResultOutput) ToLookupFunctionUrlResultOutput ¶
func (o LookupFunctionUrlResultOutput) ToLookupFunctionUrlResultOutput() LookupFunctionUrlResultOutput
func (LookupFunctionUrlResultOutput) ToLookupFunctionUrlResultOutputWithContext ¶
func (o LookupFunctionUrlResultOutput) ToLookupFunctionUrlResultOutputWithContext(ctx context.Context) LookupFunctionUrlResultOutput
func (LookupFunctionUrlResultOutput) ToOutput ¶ added in v6.1.0
func (o LookupFunctionUrlResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFunctionUrlResult]
func (LookupFunctionUrlResultOutput) UrlId ¶
func (o LookupFunctionUrlResultOutput) UrlId() pulumi.StringOutput
Generated ID for the endpoint.
type LookupInvocationArgs ¶
type LookupInvocationArgs struct { // Name of the lambda function. FunctionName string `pulumi:"functionName"` // String in JSON format that is passed as payload to the lambda function. Input string `pulumi:"input"` // Qualifier (a.k.a version) of the lambda function. Defaults // to `$LATEST`. Qualifier *string `pulumi:"qualifier"` }
A collection of arguments for invoking getInvocation.
type LookupInvocationOutputArgs ¶
type LookupInvocationOutputArgs struct { // Name of the lambda function. FunctionName pulumi.StringInput `pulumi:"functionName"` // String in JSON format that is passed as payload to the lambda function. Input pulumi.StringInput `pulumi:"input"` // Qualifier (a.k.a version) of the lambda function. Defaults // to `$LATEST`. Qualifier pulumi.StringPtrInput `pulumi:"qualifier"` }
A collection of arguments for invoking getInvocation.
func (LookupInvocationOutputArgs) ElementType ¶
func (LookupInvocationOutputArgs) ElementType() reflect.Type
type LookupInvocationResult ¶
type LookupInvocationResult struct { FunctionName string `pulumi:"functionName"` // 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"` }
A collection of values returned by getInvocation.
func LookupInvocation ¶
func LookupInvocation(ctx *pulumi.Context, args *LookupInvocationArgs, opts ...pulumi.InvokeOption) (*LookupInvocationResult, 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.
> **NOTE:** If you get a `KMSAccessDeniedException: Lambda was unable to decrypt the environment variables because KMS access was denied` error when invoking an `lambda.Function` with environment variables, the IAM role associated with the function may have been deleted and recreated _after_ the function was created. You can fix the problem two ways: 1) updating the function's role to another role and then updating it back again to the recreated role, or 2) by using Pulumi to `taint` the function and `apply` your configuration again to recreate the function. (When you create a function, Lambda grants permissions on the KMS key to the function's IAM role. If the IAM role is recreated, the grant is no longer valid. Changing the function's role or recreating the function causes Lambda to update the grant.)
type LookupInvocationResultOutput ¶
type LookupInvocationResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInvocation.
func LookupInvocationOutput ¶
func LookupInvocationOutput(ctx *pulumi.Context, args LookupInvocationOutputArgs, opts ...pulumi.InvokeOption) LookupInvocationResultOutput
func (LookupInvocationResultOutput) ElementType ¶
func (LookupInvocationResultOutput) ElementType() reflect.Type
func (LookupInvocationResultOutput) FunctionName ¶
func (o LookupInvocationResultOutput) FunctionName() pulumi.StringOutput
func (LookupInvocationResultOutput) Id ¶
func (o LookupInvocationResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupInvocationResultOutput) Input ¶
func (o LookupInvocationResultOutput) Input() pulumi.StringOutput
func (LookupInvocationResultOutput) Qualifier ¶
func (o LookupInvocationResultOutput) Qualifier() pulumi.StringPtrOutput
func (LookupInvocationResultOutput) Result ¶
func (o LookupInvocationResultOutput) Result() pulumi.StringOutput
String result of the lambda function invocation.
func (LookupInvocationResultOutput) ToLookupInvocationResultOutput ¶
func (o LookupInvocationResultOutput) ToLookupInvocationResultOutput() LookupInvocationResultOutput
func (LookupInvocationResultOutput) ToLookupInvocationResultOutputWithContext ¶
func (o LookupInvocationResultOutput) ToLookupInvocationResultOutputWithContext(ctx context.Context) LookupInvocationResultOutput
func (LookupInvocationResultOutput) ToOutput ¶ added in v6.1.0
func (o LookupInvocationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInvocationResult]
type LookupLayerVersionArgs ¶
type LookupLayerVersionArgs struct { // Specific architecture the layer version could support. Conflicts with `version`. If specified, the latest available layer version supporting the provided architecture will be used. CompatibleArchitecture *string `pulumi:"compatibleArchitecture"` // 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` and `compatibleArchitecture`. If omitted, the latest available layer version will be used. Version *int `pulumi:"version"` }
A collection of arguments for invoking getLayerVersion.
type LookupLayerVersionOutputArgs ¶
type LookupLayerVersionOutputArgs struct { // Specific architecture the layer version could support. Conflicts with `version`. If specified, the latest available layer version supporting the provided architecture will be used. CompatibleArchitecture pulumi.StringPtrInput `pulumi:"compatibleArchitecture"` // 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 pulumi.StringPtrInput `pulumi:"compatibleRuntime"` // Name of the lambda layer. LayerName pulumi.StringInput `pulumi:"layerName"` // Specific layer version. Conflicts with `compatibleRuntime` and `compatibleArchitecture`. If omitted, the latest available layer version will be used. Version pulumi.IntPtrInput `pulumi:"version"` }
A collection of arguments for invoking getLayerVersion.
func (LookupLayerVersionOutputArgs) ElementType ¶
func (LookupLayerVersionOutputArgs) ElementType() reflect.Type
type LookupLayerVersionResult ¶
type LookupLayerVersionResult struct { // ARN of the Lambda Layer with version. Arn string `pulumi:"arn"` CompatibleArchitecture *string `pulumi:"compatibleArchitecture"` // A list of [Architectures](https://docs.aws.amazon.com/lambda/latest/dg/API_GetLayerVersion.html#SSS-GetLayerVersion-response-CompatibleArchitectures) the specific Lambda Layer version is compatible with. CompatibleArchitectures []string `pulumi:"compatibleArchitectures"` CompatibleRuntime *string `pulumi:"compatibleRuntime"` // List of [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_GetLayerVersion.html#SSS-GetLayerVersion-response-CompatibleRuntimes) the specific Lambda Layer version is compatible with. CompatibleRuntimes []string `pulumi:"compatibleRuntimes"` // Date this resource was created. CreatedDate string `pulumi:"createdDate"` // Description of the specific Lambda Layer version. Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // 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"` // ARN of a signing job. SigningJobArn string `pulumi:"signingJobArn"` // The ARN for a signing profile version. SigningProfileVersionArn string `pulumi:"signingProfileVersionArn"` // Base64-encoded representation of raw SHA-256 sum of the zip file. SourceCodeHash string `pulumi:"sourceCodeHash"` // 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 ¶
func LookupLayerVersion(ctx *pulumi.Context, args *LookupLayerVersionArgs, opts ...pulumi.InvokeOption) (*LookupLayerVersionResult, error)
Provides information about a Lambda Layer Version.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") layerName := cfg.Require("layerName") _, err := lambda.LookupLayerVersion(ctx, &lambda.LookupLayerVersionArgs{ LayerName: layerName, }, nil) if err != nil { return err } return nil }) }
```
type LookupLayerVersionResultOutput ¶
type LookupLayerVersionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLayerVersion.
func LookupLayerVersionOutput ¶
func LookupLayerVersionOutput(ctx *pulumi.Context, args LookupLayerVersionOutputArgs, opts ...pulumi.InvokeOption) LookupLayerVersionResultOutput
func (LookupLayerVersionResultOutput) Arn ¶
func (o LookupLayerVersionResultOutput) Arn() pulumi.StringOutput
ARN of the Lambda Layer with version.
func (LookupLayerVersionResultOutput) CompatibleArchitecture ¶
func (o LookupLayerVersionResultOutput) CompatibleArchitecture() pulumi.StringPtrOutput
func (LookupLayerVersionResultOutput) CompatibleArchitectures ¶
func (o LookupLayerVersionResultOutput) CompatibleArchitectures() pulumi.StringArrayOutput
A list of [Architectures](https://docs.aws.amazon.com/lambda/latest/dg/API_GetLayerVersion.html#SSS-GetLayerVersion-response-CompatibleArchitectures) the specific Lambda Layer version is compatible with.
func (LookupLayerVersionResultOutput) CompatibleRuntime ¶
func (o LookupLayerVersionResultOutput) CompatibleRuntime() pulumi.StringPtrOutput
func (LookupLayerVersionResultOutput) CompatibleRuntimes ¶
func (o LookupLayerVersionResultOutput) CompatibleRuntimes() pulumi.StringArrayOutput
List of [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_GetLayerVersion.html#SSS-GetLayerVersion-response-CompatibleRuntimes) the specific Lambda Layer version is compatible with.
func (LookupLayerVersionResultOutput) CreatedDate ¶
func (o LookupLayerVersionResultOutput) CreatedDate() pulumi.StringOutput
Date this resource was created.
func (LookupLayerVersionResultOutput) Description ¶
func (o LookupLayerVersionResultOutput) Description() pulumi.StringOutput
Description of the specific Lambda Layer version.
func (LookupLayerVersionResultOutput) ElementType ¶
func (LookupLayerVersionResultOutput) ElementType() reflect.Type
func (LookupLayerVersionResultOutput) Id ¶
func (o LookupLayerVersionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupLayerVersionResultOutput) LayerArn ¶
func (o LookupLayerVersionResultOutput) LayerArn() pulumi.StringOutput
ARN of the Lambda Layer without version.
func (LookupLayerVersionResultOutput) LayerName ¶
func (o LookupLayerVersionResultOutput) LayerName() pulumi.StringOutput
func (LookupLayerVersionResultOutput) LicenseInfo ¶
func (o LookupLayerVersionResultOutput) LicenseInfo() pulumi.StringOutput
License info associated with the specific Lambda Layer version.
func (LookupLayerVersionResultOutput) SigningJobArn ¶
func (o LookupLayerVersionResultOutput) SigningJobArn() pulumi.StringOutput
ARN of a signing job.
func (LookupLayerVersionResultOutput) SigningProfileVersionArn ¶
func (o LookupLayerVersionResultOutput) SigningProfileVersionArn() pulumi.StringOutput
The ARN for a signing profile version.
func (LookupLayerVersionResultOutput) SourceCodeHash ¶
func (o LookupLayerVersionResultOutput) SourceCodeHash() pulumi.StringOutput
Base64-encoded representation of raw SHA-256 sum of the zip file.
func (LookupLayerVersionResultOutput) SourceCodeSize ¶
func (o LookupLayerVersionResultOutput) SourceCodeSize() pulumi.IntOutput
Size in bytes of the function .zip file.
func (LookupLayerVersionResultOutput) ToLookupLayerVersionResultOutput ¶
func (o LookupLayerVersionResultOutput) ToLookupLayerVersionResultOutput() LookupLayerVersionResultOutput
func (LookupLayerVersionResultOutput) ToLookupLayerVersionResultOutputWithContext ¶
func (o LookupLayerVersionResultOutput) ToLookupLayerVersionResultOutputWithContext(ctx context.Context) LookupLayerVersionResultOutput
func (LookupLayerVersionResultOutput) ToOutput ¶ added in v6.1.0
func (o LookupLayerVersionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLayerVersionResult]
func (LookupLayerVersionResultOutput) Version ¶
func (o LookupLayerVersionResultOutput) Version() pulumi.IntOutput
This Lamba Layer version.
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](https://developer.amazon.com/docs/custom-skills/host-a-custom-skill-as-an-aws-lambda-function.html#use-aws-cli). EventSourceToken pulumi.StringPtrOutput `pulumi:"eventSourceToken"` // Name of the Lambda function whose resource policy you are updating Function pulumi.StringOutput `pulumi:"function"` // Lambda Function URLs [authentication type](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). Valid values are: `AWS_IAM` or `NONE`. Only supported for `lambda:InvokeFunctionUrl` action. FunctionUrlAuthType pulumi.StringPtrOutput `pulumi:"functionUrlAuthType"` // The principal who is getting this permission e.g., `s3.amazonaws.com`, an AWS account ID, or AWS IAM principal, or AWS service principal such as `events.amazonaws.com` or `sns.amazonaws.com`. Principal pulumi.StringOutput `pulumi:"principal"` // The identifier for your organization in AWS Organizations. Use this to grant permissions to all the AWS accounts under this organization. // // [1]: https://developer.amazon.com/docs/custom-skills/host-a-custom-skill-as-an-aws-lambda-function.html#use-aws-cli // [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-control-access-using-iam-policies-to-invoke-api.html // [3]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html PrincipalOrgId pulumi.StringPtrOutput `pulumi:"principalOrgId"` // 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 when allowing cross-account access, or for S3 and SES. The AWS account ID (without a hyphen) of the source owner. SourceAccount pulumi.StringPtrOutput `pulumi:"sourceAccount"` // When the principal is an AWS service, the ARN of the specific resource within that service to grant permission to. // Without this, any resource from `principal` will be granted permission – even if that resource is from another account. // For S3, this should be the ARN of the S3 Bucket. // For EventBridge events, this should be the ARN of the EventBridge Rule. // For API Gateway, this should be the ARN of the API, as described [here](https://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 the provider. StatementId pulumi.StringOutput `pulumi:"statementId"` // A statement identifier prefix. The provider will generate a unique suffix. Conflicts with `statementId`. StatementIdPrefix pulumi.StringOutput `pulumi:"statementIdPrefix"` }
Gives an external source (like an EventBridge Rule, SNS, or S3) permission to access the Lambda function.
## Example Usage ### Basic Usage
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { tmpJSON0, err := json.Marshal(map[string]interface{}{ "Version": "2012-10-17", "Statement": []map[string]interface{}{ map[string]interface{}{ "Action": "sts:AssumeRole", "Effect": "Allow", "Sid": "", "Principal": map[string]interface{}{ "Service": "lambda.amazonaws.com", }, }, }, }) if err != nil { return err } json0 := string(tmpJSON0) iamForLambda, err := iam.NewRole(ctx, "iamForLambda", &iam.RoleArgs{ AssumeRolePolicy: pulumi.String(json0), }) if err != nil { return err } testLambda, err := lambda.NewFunction(ctx, "testLambda", &lambda.FunctionArgs{ Code: pulumi.NewFileArchive("lambdatest.zip"), Role: iamForLambda.Arn, Handler: pulumi.String("exports.handler"), Runtime: pulumi.String("nodejs16.x"), }) if err != nil { return err } testAlias, err := lambda.NewAlias(ctx, "testAlias", &lambda.AliasArgs{ Description: pulumi.String("a sample description"), FunctionName: testLambda.Name, FunctionVersion: pulumi.String("$LATEST"), }) if err != nil { return err } _, err = lambda.NewPermission(ctx, "allowCloudwatch", &lambda.PermissionArgs{ Action: pulumi.String("lambda:InvokeFunction"), Function: testLambda.Name, Principal: pulumi.String("events.amazonaws.com"), SourceArn: pulumi.String("arn:aws:events:eu-west-1:111122223333:rule/RunDaily"), Qualifier: testAlias.Name, }) if err != nil { return err } return nil }) }
``` ### With SNS
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultTopic, err := sns.NewTopic(ctx, "defaultTopic", nil) if err != nil { return err } tmpJSON0, err := json.Marshal(map[string]interface{}{ "Version": "2012-10-17", "Statement": []map[string]interface{}{ map[string]interface{}{ "Action": "sts:AssumeRole", "Effect": "Allow", "Sid": "", "Principal": map[string]interface{}{ "Service": "lambda.amazonaws.com", }, }, }, }) if err != nil { return err } json0 := string(tmpJSON0) defaultRole, err := iam.NewRole(ctx, "defaultRole", &iam.RoleArgs{ AssumeRolePolicy: pulumi.String(json0), }) if err != nil { return err } _, err = lambda.NewFunction(ctx, "func", &lambda.FunctionArgs{ Code: pulumi.NewFileArchive("lambdatest.zip"), Role: defaultRole.Arn, Handler: pulumi.String("exports.handler"), Runtime: pulumi.String("python3.7"), }) if err != nil { return err } _, err = lambda.NewPermission(ctx, "withSns", &lambda.PermissionArgs{ Action: pulumi.String("lambda:InvokeFunction"), Function: _func.Name, Principal: pulumi.String("sns.amazonaws.com"), SourceArn: defaultTopic.Arn, }) if err != nil { return err } _, err = sns.NewTopicSubscription(ctx, "lambda", &sns.TopicSubscriptionArgs{ Topic: defaultTopic.Arn, Protocol: pulumi.String("lambda"), Endpoint: _func.Arn, }) if err != nil { return err } return nil }) }
``` ### With API Gateway REST API
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/apigateway" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { myDemoAPI, err := apigateway.NewRestApi(ctx, "myDemoAPI", &apigateway.RestApiArgs{ Description: pulumi.String("This is my API for demonstration purposes"), }) if err != nil { return err } _, err = lambda.NewPermission(ctx, "lambdaPermission", &lambda.PermissionArgs{ Action: pulumi.String("lambda:InvokeFunction"), Function: pulumi.Any("MyDemoFunction"), Principal: pulumi.String("apigateway.amazonaws.com"), SourceArn: myDemoAPI.ExecutionArn.ApplyT(func(executionArn string) (string, error) { return fmt.Sprintf("%v/*", executionArn), nil }).(pulumi.StringOutput), }) if err != nil { return err } return nil }) }
``` ### With CloudWatch Log Group
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultLogGroup, err := cloudwatch.NewLogGroup(ctx, "defaultLogGroup", nil) if err != nil { return err } assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: pulumi.StringRef("Allow"), Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Type: "Service", Identifiers: []string{ "lambda.amazonaws.com", }, }, }, Actions: []string{ "sts:AssumeRole", }, }, }, }, nil) if err != nil { return err } defaultRole, err := iam.NewRole(ctx, "defaultRole", &iam.RoleArgs{ AssumeRolePolicy: *pulumi.String(assumeRole.Json), }) if err != nil { return err } loggingFunction, err := lambda.NewFunction(ctx, "loggingFunction", &lambda.FunctionArgs{ Code: pulumi.NewFileArchive("lamba_logging.zip"), Handler: pulumi.String("exports.handler"), Role: defaultRole.Arn, Runtime: pulumi.String("python3.7"), }) if err != nil { return err } loggingPermission, err := lambda.NewPermission(ctx, "loggingPermission", &lambda.PermissionArgs{ Action: pulumi.String("lambda:InvokeFunction"), Function: loggingFunction.Name, Principal: pulumi.String("logs.eu-west-1.amazonaws.com"), SourceArn: defaultLogGroup.Arn.ApplyT(func(arn string) (string, error) { return fmt.Sprintf("%v:*", arn), nil }).(pulumi.StringOutput), }) if err != nil { return err } _, err = cloudwatch.NewLogSubscriptionFilter(ctx, "loggingLogSubscriptionFilter", &cloudwatch.LogSubscriptionFilterArgs{ DestinationArn: loggingFunction.Arn, FilterPattern: pulumi.String(""), LogGroup: defaultLogGroup.Name, }, pulumi.DependsOn([]pulumi.Resource{ loggingPermission, })) if err != nil { return err } return nil }) }
``` ### With Cross-Account Invocation Policy
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewFunctionUrl(ctx, "urlFunctionUrl", &lambda.FunctionUrlArgs{ FunctionName: pulumi.Any(aws_lambda_function.Example.Function_name), AuthorizationType: pulumi.String("AWS_IAM"), }) if err != nil { return err } _, err = lambda.NewPermission(ctx, "urlPermission", &lambda.PermissionArgs{ Action: pulumi.String("lambda:InvokeFunctionUrl"), Function: pulumi.Any(aws_lambda_function.Example.Function_name), Principal: pulumi.String("arn:aws:iam::444455556666:role/example"), SourceAccount: pulumi.String("444455556666"), FunctionUrlAuthType: pulumi.String("AWS_IAM"), }) if err != nil { return err } return nil }) }
``` ### With `replaceTriggeredBy` Lifecycle Configuration
If omitting the `qualifier` argument (which forces re-creation each time a function version is published), a `lifecycle` block can be used to ensure permissions are re-applied on any change to the underlying function.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewPermission(ctx, "logging", &lambda.PermissionArgs{ Action: pulumi.String("lambda:InvokeFunction"), Function: pulumi.Any(aws_lambda_function.Example.Function_name), Principal: pulumi.String("events.amazonaws.com"), SourceArn: pulumi.String("arn:aws:events:eu-west-1:111122223333:rule/RunDaily"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Lambda permission statements using function_name/statement_id with an optional qualifier. For example:
```sh
$ pulumi import aws:lambda/permission:Permission test_lambda_permission my_test_lambda_function/AllowExecutionFromCloudWatch
``` ```sh $ pulumi import aws:lambda/permission:Permission test_lambda_permission my_test_lambda_function:qualifier_name/AllowExecutionFromCloudWatch ```
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.
func (*Permission) ElementType ¶
func (*Permission) ElementType() reflect.Type
func (*Permission) ToOutput ¶ added in v6.1.0
func (i *Permission) ToOutput(ctx context.Context) pulumix.Output[*Permission]
func (*Permission) ToPermissionOutput ¶
func (i *Permission) ToPermissionOutput() PermissionOutput
func (*Permission) ToPermissionOutputWithContext ¶
func (i *Permission) ToPermissionOutputWithContext(ctx context.Context) PermissionOutput
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](https://developer.amazon.com/docs/custom-skills/host-a-custom-skill-as-an-aws-lambda-function.html#use-aws-cli). EventSourceToken pulumi.StringPtrInput // Name of the Lambda function whose resource policy you are updating Function pulumi.Input // Lambda Function URLs [authentication type](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). Valid values are: `AWS_IAM` or `NONE`. Only supported for `lambda:InvokeFunctionUrl` action. FunctionUrlAuthType pulumi.StringPtrInput // The principal who is getting this permission e.g., `s3.amazonaws.com`, an AWS account ID, or AWS IAM principal, or AWS service principal such as `events.amazonaws.com` or `sns.amazonaws.com`. Principal pulumi.StringInput // The identifier for your organization in AWS Organizations. Use this to grant permissions to all the AWS accounts under this organization. // // [1]: https://developer.amazon.com/docs/custom-skills/host-a-custom-skill-as-an-aws-lambda-function.html#use-aws-cli // [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-control-access-using-iam-policies-to-invoke-api.html // [3]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html PrincipalOrgId 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 when allowing cross-account access, or for S3 and SES. The AWS account ID (without a hyphen) of the source owner. SourceAccount pulumi.StringPtrInput // When the principal is an AWS service, the ARN of the specific resource within that service to grant permission to. // Without this, any resource from `principal` will be granted permission – even if that resource is from another account. // For S3, this should be the ARN of the S3 Bucket. // For EventBridge events, this should be the ARN of the EventBridge Rule. // For API Gateway, this should be the ARN of the API, as described [here](https://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 the provider. StatementId pulumi.StringPtrInput // A statement identifier prefix. The provider will generate a unique suffix. Conflicts with `statementId`. StatementIdPrefix pulumi.StringPtrInput }
The set of arguments for constructing a Permission resource.
func (PermissionArgs) ElementType ¶
func (PermissionArgs) ElementType() reflect.Type
type PermissionArray ¶
type PermissionArray []PermissionInput
func (PermissionArray) ElementType ¶
func (PermissionArray) ElementType() reflect.Type
func (PermissionArray) ToOutput ¶ added in v6.1.0
func (i PermissionArray) ToOutput(ctx context.Context) pulumix.Output[[]*Permission]
func (PermissionArray) ToPermissionArrayOutput ¶
func (i PermissionArray) ToPermissionArrayOutput() PermissionArrayOutput
func (PermissionArray) ToPermissionArrayOutputWithContext ¶
func (i PermissionArray) ToPermissionArrayOutputWithContext(ctx context.Context) PermissionArrayOutput
type PermissionArrayInput ¶
type PermissionArrayInput interface { pulumi.Input ToPermissionArrayOutput() PermissionArrayOutput ToPermissionArrayOutputWithContext(context.Context) PermissionArrayOutput }
PermissionArrayInput is an input type that accepts PermissionArray and PermissionArrayOutput values. You can construct a concrete instance of `PermissionArrayInput` via:
PermissionArray{ PermissionArgs{...} }
type PermissionArrayOutput ¶
type PermissionArrayOutput struct{ *pulumi.OutputState }
func (PermissionArrayOutput) ElementType ¶
func (PermissionArrayOutput) ElementType() reflect.Type
func (PermissionArrayOutput) Index ¶
func (o PermissionArrayOutput) Index(i pulumi.IntInput) PermissionOutput
func (PermissionArrayOutput) ToOutput ¶ added in v6.1.0
func (o PermissionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Permission]
func (PermissionArrayOutput) ToPermissionArrayOutput ¶
func (o PermissionArrayOutput) ToPermissionArrayOutput() PermissionArrayOutput
func (PermissionArrayOutput) ToPermissionArrayOutputWithContext ¶
func (o PermissionArrayOutput) ToPermissionArrayOutputWithContext(ctx context.Context) PermissionArrayOutput
type PermissionInput ¶
type PermissionInput interface { pulumi.Input ToPermissionOutput() PermissionOutput ToPermissionOutputWithContext(ctx context.Context) PermissionOutput }
type PermissionMap ¶
type PermissionMap map[string]PermissionInput
func (PermissionMap) ElementType ¶
func (PermissionMap) ElementType() reflect.Type
func (PermissionMap) ToOutput ¶ added in v6.1.0
func (i PermissionMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Permission]
func (PermissionMap) ToPermissionMapOutput ¶
func (i PermissionMap) ToPermissionMapOutput() PermissionMapOutput
func (PermissionMap) ToPermissionMapOutputWithContext ¶
func (i PermissionMap) ToPermissionMapOutputWithContext(ctx context.Context) PermissionMapOutput
type PermissionMapInput ¶
type PermissionMapInput interface { pulumi.Input ToPermissionMapOutput() PermissionMapOutput ToPermissionMapOutputWithContext(context.Context) PermissionMapOutput }
PermissionMapInput is an input type that accepts PermissionMap and PermissionMapOutput values. You can construct a concrete instance of `PermissionMapInput` via:
PermissionMap{ "key": PermissionArgs{...} }
type PermissionMapOutput ¶
type PermissionMapOutput struct{ *pulumi.OutputState }
func (PermissionMapOutput) ElementType ¶
func (PermissionMapOutput) ElementType() reflect.Type
func (PermissionMapOutput) MapIndex ¶
func (o PermissionMapOutput) MapIndex(k pulumi.StringInput) PermissionOutput
func (PermissionMapOutput) ToOutput ¶ added in v6.1.0
func (o PermissionMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Permission]
func (PermissionMapOutput) ToPermissionMapOutput ¶
func (o PermissionMapOutput) ToPermissionMapOutput() PermissionMapOutput
func (PermissionMapOutput) ToPermissionMapOutputWithContext ¶
func (o PermissionMapOutput) ToPermissionMapOutputWithContext(ctx context.Context) PermissionMapOutput
type PermissionOutput ¶
type PermissionOutput struct{ *pulumi.OutputState }
func (PermissionOutput) Action ¶
func (o PermissionOutput) Action() pulumi.StringOutput
The AWS Lambda action you want to allow in this statement. (e.g., `lambda:InvokeFunction`)
func (PermissionOutput) ElementType ¶
func (PermissionOutput) ElementType() reflect.Type
func (PermissionOutput) EventSourceToken ¶
func (o PermissionOutput) EventSourceToken() pulumi.StringPtrOutput
The Event Source Token to validate. Used with [Alexa Skills](https://developer.amazon.com/docs/custom-skills/host-a-custom-skill-as-an-aws-lambda-function.html#use-aws-cli).
func (PermissionOutput) Function ¶
func (o PermissionOutput) Function() pulumi.StringOutput
Name of the Lambda function whose resource policy you are updating
func (PermissionOutput) FunctionUrlAuthType ¶
func (o PermissionOutput) FunctionUrlAuthType() pulumi.StringPtrOutput
Lambda Function URLs [authentication type](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). Valid values are: `AWS_IAM` or `NONE`. Only supported for `lambda:InvokeFunctionUrl` action.
func (PermissionOutput) Principal ¶
func (o PermissionOutput) Principal() pulumi.StringOutput
The principal who is getting this permission e.g., `s3.amazonaws.com`, an AWS account ID, or AWS IAM principal, or AWS service principal such as `events.amazonaws.com` or `sns.amazonaws.com`.
func (PermissionOutput) PrincipalOrgId ¶
func (o PermissionOutput) PrincipalOrgId() pulumi.StringPtrOutput
The identifier for your organization in AWS Organizations. Use this to grant permissions to all the AWS accounts under this organization.
func (PermissionOutput) Qualifier ¶
func (o PermissionOutput) Qualifier() pulumi.StringPtrOutput
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`
func (PermissionOutput) SourceAccount ¶
func (o PermissionOutput) SourceAccount() pulumi.StringPtrOutput
This parameter is used when allowing cross-account access, or for S3 and SES. The AWS account ID (without a hyphen) of the source owner.
func (PermissionOutput) SourceArn ¶
func (o PermissionOutput) SourceArn() pulumi.StringPtrOutput
When the principal is an AWS service, the ARN of the specific resource within that service to grant permission to. Without this, any resource from `principal` will be granted permission – even if that resource is from another account. For S3, this should be the ARN of the S3 Bucket. For EventBridge events, this should be the ARN of the EventBridge Rule. For API Gateway, this should be the ARN of the API, as described [here](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-control-access-using-iam-policies-to-invoke-api.html).
func (PermissionOutput) StatementId ¶
func (o PermissionOutput) StatementId() pulumi.StringOutput
A unique statement identifier. By default generated by the provider.
func (PermissionOutput) StatementIdPrefix ¶
func (o PermissionOutput) StatementIdPrefix() pulumi.StringOutput
A statement identifier prefix. The provider will generate a unique suffix. Conflicts with `statementId`.
func (PermissionOutput) ToOutput ¶ added in v6.1.0
func (o PermissionOutput) ToOutput(ctx context.Context) pulumix.Output[*Permission]
func (PermissionOutput) ToPermissionOutput ¶
func (o PermissionOutput) ToPermissionOutput() PermissionOutput
func (PermissionOutput) ToPermissionOutputWithContext ¶
func (o PermissionOutput) ToPermissionOutputWithContext(ctx context.Context) PermissionOutput
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](https://developer.amazon.com/docs/custom-skills/host-a-custom-skill-as-an-aws-lambda-function.html#use-aws-cli). EventSourceToken pulumi.StringPtrInput // Name of the Lambda function whose resource policy you are updating Function pulumi.Input // Lambda Function URLs [authentication type](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). Valid values are: `AWS_IAM` or `NONE`. Only supported for `lambda:InvokeFunctionUrl` action. FunctionUrlAuthType pulumi.StringPtrInput // The principal who is getting this permission e.g., `s3.amazonaws.com`, an AWS account ID, or AWS IAM principal, or AWS service principal such as `events.amazonaws.com` or `sns.amazonaws.com`. Principal pulumi.StringPtrInput // The identifier for your organization in AWS Organizations. Use this to grant permissions to all the AWS accounts under this organization. // // [1]: https://developer.amazon.com/docs/custom-skills/host-a-custom-skill-as-an-aws-lambda-function.html#use-aws-cli // [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-control-access-using-iam-policies-to-invoke-api.html // [3]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html PrincipalOrgId 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 when allowing cross-account access, or for S3 and SES. The AWS account ID (without a hyphen) of the source owner. SourceAccount pulumi.StringPtrInput // When the principal is an AWS service, the ARN of the specific resource within that service to grant permission to. // Without this, any resource from `principal` will be granted permission – even if that resource is from another account. // For S3, this should be the ARN of the S3 Bucket. // For EventBridge events, this should be the ARN of the EventBridge Rule. // For API Gateway, this should be the ARN of the API, as described [here](https://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 the provider. StatementId pulumi.StringPtrInput // A statement identifier prefix. The provider will generate a unique suffix. Conflicts with `statementId`. StatementIdPrefix pulumi.StringPtrInput }
func (PermissionState) ElementType ¶
func (PermissionState) ElementType() reflect.Type
type ProvisionedConcurrencyConfig ¶
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. // // The following arguments are optional: Qualifier pulumi.StringOutput `pulumi:"qualifier"` // Whether to retain the provisoned concurrency configuration upon destruction. Defaults to `false`. If set to `true`, the resource in simply removed from state instead. SkipDestroy pulumi.BoolPtrOutput `pulumi:"skipDestroy"` }
Manages a Lambda Provisioned Concurrency Configuration.
> **NOTE:** Setting `skipDestroy` to `true` means that the AWS Provider will _not_ destroy a provisioned concurrency configuration, even when running `pulumi destroy`. The configuration is thus an intentional dangling resource that is _not_ managed by Pulumi and may incur extra expense in your AWS account.
## Example Usage ### Alias Name
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewProvisionedConcurrencyConfig(ctx, "example", &lambda.ProvisionedConcurrencyConfigArgs{ FunctionName: pulumi.Any(aws_lambda_alias.Example.Function_name), ProvisionedConcurrentExecutions: pulumi.Int(1), Qualifier: pulumi.Any(aws_lambda_alias.Example.Name), }) if err != nil { return err } return nil }) }
``` ### Function Version
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lambda.NewProvisionedConcurrencyConfig(ctx, "example", &lambda.ProvisionedConcurrencyConfigArgs{ FunctionName: pulumi.Any(aws_lambda_function.Example.Function_name), ProvisionedConcurrentExecutions: pulumi.Int(1), Qualifier: pulumi.Any(aws_lambda_function.Example.Version), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import a Lambda Provisioned Concurrency Configuration using the `function_name` and `qualifier` separated by a comma (`,`). For example:
```sh
$ pulumi import aws:lambda/provisionedConcurrencyConfig:ProvisionedConcurrencyConfig example my_function,production
```
func GetProvisionedConcurrencyConfig ¶
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 ¶
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.
func (*ProvisionedConcurrencyConfig) ElementType ¶
func (*ProvisionedConcurrencyConfig) ElementType() reflect.Type
func (*ProvisionedConcurrencyConfig) ToOutput ¶ added in v6.1.0
func (i *ProvisionedConcurrencyConfig) ToOutput(ctx context.Context) pulumix.Output[*ProvisionedConcurrencyConfig]
func (*ProvisionedConcurrencyConfig) ToProvisionedConcurrencyConfigOutput ¶
func (i *ProvisionedConcurrencyConfig) ToProvisionedConcurrencyConfigOutput() ProvisionedConcurrencyConfigOutput
func (*ProvisionedConcurrencyConfig) ToProvisionedConcurrencyConfigOutputWithContext ¶
func (i *ProvisionedConcurrencyConfig) ToProvisionedConcurrencyConfigOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigOutput
type ProvisionedConcurrencyConfigArgs ¶
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. // // The following arguments are optional: Qualifier pulumi.StringInput // Whether to retain the provisoned concurrency configuration upon destruction. Defaults to `false`. If set to `true`, the resource in simply removed from state instead. SkipDestroy pulumi.BoolPtrInput }
The set of arguments for constructing a ProvisionedConcurrencyConfig resource.
func (ProvisionedConcurrencyConfigArgs) ElementType ¶
func (ProvisionedConcurrencyConfigArgs) ElementType() reflect.Type
type ProvisionedConcurrencyConfigArray ¶
type ProvisionedConcurrencyConfigArray []ProvisionedConcurrencyConfigInput
func (ProvisionedConcurrencyConfigArray) ElementType ¶
func (ProvisionedConcurrencyConfigArray) ElementType() reflect.Type
func (ProvisionedConcurrencyConfigArray) ToOutput ¶ added in v6.1.0
func (i ProvisionedConcurrencyConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]*ProvisionedConcurrencyConfig]
func (ProvisionedConcurrencyConfigArray) ToProvisionedConcurrencyConfigArrayOutput ¶
func (i ProvisionedConcurrencyConfigArray) ToProvisionedConcurrencyConfigArrayOutput() ProvisionedConcurrencyConfigArrayOutput
func (ProvisionedConcurrencyConfigArray) ToProvisionedConcurrencyConfigArrayOutputWithContext ¶
func (i ProvisionedConcurrencyConfigArray) ToProvisionedConcurrencyConfigArrayOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigArrayOutput
type ProvisionedConcurrencyConfigArrayInput ¶
type ProvisionedConcurrencyConfigArrayInput interface { pulumi.Input ToProvisionedConcurrencyConfigArrayOutput() ProvisionedConcurrencyConfigArrayOutput ToProvisionedConcurrencyConfigArrayOutputWithContext(context.Context) ProvisionedConcurrencyConfigArrayOutput }
ProvisionedConcurrencyConfigArrayInput is an input type that accepts ProvisionedConcurrencyConfigArray and ProvisionedConcurrencyConfigArrayOutput values. You can construct a concrete instance of `ProvisionedConcurrencyConfigArrayInput` via:
ProvisionedConcurrencyConfigArray{ ProvisionedConcurrencyConfigArgs{...} }
type ProvisionedConcurrencyConfigArrayOutput ¶
type ProvisionedConcurrencyConfigArrayOutput struct{ *pulumi.OutputState }
func (ProvisionedConcurrencyConfigArrayOutput) ElementType ¶
func (ProvisionedConcurrencyConfigArrayOutput) ElementType() reflect.Type
func (ProvisionedConcurrencyConfigArrayOutput) ToOutput ¶ added in v6.1.0
func (o ProvisionedConcurrencyConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ProvisionedConcurrencyConfig]
func (ProvisionedConcurrencyConfigArrayOutput) ToProvisionedConcurrencyConfigArrayOutput ¶
func (o ProvisionedConcurrencyConfigArrayOutput) ToProvisionedConcurrencyConfigArrayOutput() ProvisionedConcurrencyConfigArrayOutput
func (ProvisionedConcurrencyConfigArrayOutput) ToProvisionedConcurrencyConfigArrayOutputWithContext ¶
func (o ProvisionedConcurrencyConfigArrayOutput) ToProvisionedConcurrencyConfigArrayOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigArrayOutput
type ProvisionedConcurrencyConfigInput ¶
type ProvisionedConcurrencyConfigInput interface { pulumi.Input ToProvisionedConcurrencyConfigOutput() ProvisionedConcurrencyConfigOutput ToProvisionedConcurrencyConfigOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigOutput }
type ProvisionedConcurrencyConfigMap ¶
type ProvisionedConcurrencyConfigMap map[string]ProvisionedConcurrencyConfigInput
func (ProvisionedConcurrencyConfigMap) ElementType ¶
func (ProvisionedConcurrencyConfigMap) ElementType() reflect.Type
func (ProvisionedConcurrencyConfigMap) ToOutput ¶ added in v6.1.0
func (i ProvisionedConcurrencyConfigMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ProvisionedConcurrencyConfig]
func (ProvisionedConcurrencyConfigMap) ToProvisionedConcurrencyConfigMapOutput ¶
func (i ProvisionedConcurrencyConfigMap) ToProvisionedConcurrencyConfigMapOutput() ProvisionedConcurrencyConfigMapOutput
func (ProvisionedConcurrencyConfigMap) ToProvisionedConcurrencyConfigMapOutputWithContext ¶
func (i ProvisionedConcurrencyConfigMap) ToProvisionedConcurrencyConfigMapOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigMapOutput
type ProvisionedConcurrencyConfigMapInput ¶
type ProvisionedConcurrencyConfigMapInput interface { pulumi.Input ToProvisionedConcurrencyConfigMapOutput() ProvisionedConcurrencyConfigMapOutput ToProvisionedConcurrencyConfigMapOutputWithContext(context.Context) ProvisionedConcurrencyConfigMapOutput }
ProvisionedConcurrencyConfigMapInput is an input type that accepts ProvisionedConcurrencyConfigMap and ProvisionedConcurrencyConfigMapOutput values. You can construct a concrete instance of `ProvisionedConcurrencyConfigMapInput` via:
ProvisionedConcurrencyConfigMap{ "key": ProvisionedConcurrencyConfigArgs{...} }
type ProvisionedConcurrencyConfigMapOutput ¶
type ProvisionedConcurrencyConfigMapOutput struct{ *pulumi.OutputState }
func (ProvisionedConcurrencyConfigMapOutput) ElementType ¶
func (ProvisionedConcurrencyConfigMapOutput) ElementType() reflect.Type
func (ProvisionedConcurrencyConfigMapOutput) MapIndex ¶
func (o ProvisionedConcurrencyConfigMapOutput) MapIndex(k pulumi.StringInput) ProvisionedConcurrencyConfigOutput
func (ProvisionedConcurrencyConfigMapOutput) ToOutput ¶ added in v6.1.0
func (o ProvisionedConcurrencyConfigMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ProvisionedConcurrencyConfig]
func (ProvisionedConcurrencyConfigMapOutput) ToProvisionedConcurrencyConfigMapOutput ¶
func (o ProvisionedConcurrencyConfigMapOutput) ToProvisionedConcurrencyConfigMapOutput() ProvisionedConcurrencyConfigMapOutput
func (ProvisionedConcurrencyConfigMapOutput) ToProvisionedConcurrencyConfigMapOutputWithContext ¶
func (o ProvisionedConcurrencyConfigMapOutput) ToProvisionedConcurrencyConfigMapOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigMapOutput
type ProvisionedConcurrencyConfigOutput ¶
type ProvisionedConcurrencyConfigOutput struct{ *pulumi.OutputState }
func (ProvisionedConcurrencyConfigOutput) ElementType ¶
func (ProvisionedConcurrencyConfigOutput) ElementType() reflect.Type
func (ProvisionedConcurrencyConfigOutput) FunctionName ¶
func (o ProvisionedConcurrencyConfigOutput) FunctionName() pulumi.StringOutput
Name or Amazon Resource Name (ARN) of the Lambda Function.
func (ProvisionedConcurrencyConfigOutput) ProvisionedConcurrentExecutions ¶
func (o ProvisionedConcurrencyConfigOutput) ProvisionedConcurrentExecutions() pulumi.IntOutput
Amount of capacity to allocate. Must be greater than or equal to `1`.
func (ProvisionedConcurrencyConfigOutput) Qualifier ¶
func (o ProvisionedConcurrencyConfigOutput) Qualifier() pulumi.StringOutput
Lambda Function version or Lambda Alias name.
The following arguments are optional:
func (ProvisionedConcurrencyConfigOutput) SkipDestroy ¶
func (o ProvisionedConcurrencyConfigOutput) SkipDestroy() pulumi.BoolPtrOutput
Whether to retain the provisoned concurrency configuration upon destruction. Defaults to `false`. If set to `true`, the resource in simply removed from state instead.
func (ProvisionedConcurrencyConfigOutput) ToOutput ¶ added in v6.1.0
func (o ProvisionedConcurrencyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*ProvisionedConcurrencyConfig]
func (ProvisionedConcurrencyConfigOutput) ToProvisionedConcurrencyConfigOutput ¶
func (o ProvisionedConcurrencyConfigOutput) ToProvisionedConcurrencyConfigOutput() ProvisionedConcurrencyConfigOutput
func (ProvisionedConcurrencyConfigOutput) ToProvisionedConcurrencyConfigOutputWithContext ¶
func (o ProvisionedConcurrencyConfigOutput) ToProvisionedConcurrencyConfigOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigOutput
type ProvisionedConcurrencyConfigState ¶
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. // // The following arguments are optional: Qualifier pulumi.StringPtrInput // Whether to retain the provisoned concurrency configuration upon destruction. Defaults to `false`. If set to `true`, the resource in simply removed from state instead. SkipDestroy pulumi.BoolPtrInput }
func (ProvisionedConcurrencyConfigState) ElementType ¶
func (ProvisionedConcurrencyConfigState) ElementType() reflect.Type
type Runtime ¶
type Runtime string
See https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
func (Runtime) ElementType ¶
func (Runtime) ToRuntimeOutput ¶
func (e Runtime) ToRuntimeOutput() RuntimeOutput
func (Runtime) ToRuntimeOutputWithContext ¶
func (e Runtime) ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput
func (Runtime) ToRuntimePtrOutput ¶
func (e Runtime) ToRuntimePtrOutput() RuntimePtrOutput
func (Runtime) ToRuntimePtrOutputWithContext ¶
func (e Runtime) ToRuntimePtrOutputWithContext(ctx context.Context) RuntimePtrOutput
func (Runtime) ToStringOutput ¶
func (e Runtime) ToStringOutput() pulumi.StringOutput
func (Runtime) ToStringOutputWithContext ¶
func (e Runtime) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (Runtime) ToStringPtrOutput ¶
func (e Runtime) ToStringPtrOutput() pulumi.StringPtrOutput
func (Runtime) ToStringPtrOutputWithContext ¶
func (e Runtime) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type RuntimeInput ¶
type RuntimeInput interface { pulumi.Input ToRuntimeOutput() RuntimeOutput ToRuntimeOutputWithContext(context.Context) RuntimeOutput }
RuntimeInput is an input type that accepts RuntimeArgs and RuntimeOutput values. You can construct a concrete instance of `RuntimeInput` via:
RuntimeArgs{...}
type RuntimeOutput ¶
type RuntimeOutput struct{ *pulumi.OutputState }
func (RuntimeOutput) ElementType ¶
func (RuntimeOutput) ElementType() reflect.Type
func (RuntimeOutput) ToRuntimeOutput ¶
func (o RuntimeOutput) ToRuntimeOutput() RuntimeOutput
func (RuntimeOutput) ToRuntimeOutputWithContext ¶
func (o RuntimeOutput) ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput
func (RuntimeOutput) ToRuntimePtrOutput ¶
func (o RuntimeOutput) ToRuntimePtrOutput() RuntimePtrOutput
func (RuntimeOutput) ToRuntimePtrOutputWithContext ¶
func (o RuntimeOutput) ToRuntimePtrOutputWithContext(ctx context.Context) RuntimePtrOutput
func (RuntimeOutput) ToStringOutput ¶
func (o RuntimeOutput) ToStringOutput() pulumi.StringOutput
func (RuntimeOutput) ToStringOutputWithContext ¶
func (o RuntimeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (RuntimeOutput) ToStringPtrOutput ¶
func (o RuntimeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (RuntimeOutput) ToStringPtrOutputWithContext ¶
func (o RuntimeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type RuntimePtrInput ¶
type RuntimePtrInput interface { pulumi.Input ToRuntimePtrOutput() RuntimePtrOutput ToRuntimePtrOutputWithContext(context.Context) RuntimePtrOutput }
func RuntimePtr ¶
func RuntimePtr(v string) RuntimePtrInput
type RuntimePtrOutput ¶
type RuntimePtrOutput struct{ *pulumi.OutputState }
func (RuntimePtrOutput) Elem ¶
func (o RuntimePtrOutput) Elem() RuntimeOutput
func (RuntimePtrOutput) ElementType ¶
func (RuntimePtrOutput) ElementType() reflect.Type
func (RuntimePtrOutput) ToRuntimePtrOutput ¶
func (o RuntimePtrOutput) ToRuntimePtrOutput() RuntimePtrOutput
func (RuntimePtrOutput) ToRuntimePtrOutputWithContext ¶
func (o RuntimePtrOutput) ToRuntimePtrOutputWithContext(ctx context.Context) RuntimePtrOutput
func (RuntimePtrOutput) ToStringPtrOutput ¶
func (o RuntimePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (RuntimePtrOutput) ToStringPtrOutputWithContext ¶
func (o RuntimePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
Source Files ¶
- alias.go
- codeSigningConfig.go
- eventSourceMapping.go
- function.go
- functionEventInvokeConfig.go
- functionUrl.go
- getAlias.go
- getCodeSigningConfig.go
- getFunction.go
- getFunctionUrl.go
- getFunctions.go
- getInvocation.go
- getLayerVersion.go
- init.go
- invocation.go
- layerVersion.go
- layerVersionPermission.go
- permission.go
- provisionedConcurrencyConfig.go
- pulumiEnums.go
- pulumiTypes.go