Interface CfnFunctionMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFunctionMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:05.228Z")
@Stability(Stable)
public interface CfnFunctionMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnFunctionPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.sam.*;
Object assumeRolePolicyDocument;
CfnFunctionMixinProps cfnFunctionMixinProps = CfnFunctionMixinProps.builder()
.architectures(List.of("architectures"))
.assumeRolePolicyDocument(assumeRolePolicyDocument)
.autoPublishAlias("autoPublishAlias")
.autoPublishCodeSha256("autoPublishCodeSha256")
.codeSigningConfigArn("codeSigningConfigArn")
.codeUri("codeUri")
.deadLetterQueue(DeadLetterQueueProperty.builder()
.targetArn("targetArn")
.type("type")
.build())
.deploymentPreference(DeploymentPreferenceProperty.builder()
.alarms(List.of("alarms"))
.enabled(false)
.hooks(HooksProperty.builder()
.postTraffic("postTraffic")
.preTraffic("preTraffic")
.build())
.role("role")
.type("type")
.build())
.description("description")
.environment(FunctionEnvironmentProperty.builder()
.variables(Map.of(
"variablesKey", "variables"))
.build())
.ephemeralStorage(EphemeralStorageProperty.builder()
.size(123)
.build())
.eventInvokeConfig(EventInvokeConfigProperty.builder()
.destinationConfig(EventInvokeDestinationConfigProperty.builder()
.onFailure(DestinationProperty.builder()
.destination("destination")
.type("type")
.build())
.onSuccess(DestinationProperty.builder()
.destination("destination")
.type("type")
.build())
.build())
.maximumEventAgeInSeconds(123)
.maximumRetryAttempts(123)
.build())
.events(Map.of(
"eventsKey", EventSourceProperty.builder()
.properties(AlexaSkillEventProperty.builder()
.skillId("skillId")
.build())
.type("type")
.build()))
.fileSystemConfigs(List.of(FileSystemConfigProperty.builder()
.arn("arn")
.localMountPath("localMountPath")
.build()))
.functionName("functionName")
.functionUrlConfig(FunctionUrlConfigProperty.builder()
.authType("authType")
.cors("cors")
.invokeMode("invokeMode")
.build())
.handler("handler")
.imageConfig(ImageConfigProperty.builder()
.command(List.of("command"))
.entryPoint(List.of("entryPoint"))
.workingDirectory("workingDirectory")
.build())
.imageUri("imageUri")
.inlineCode("inlineCode")
.kmsKeyArn("kmsKeyArn")
.layers(List.of("layers"))
.memorySize(123)
.packageType("packageType")
.permissionsBoundary("permissionsBoundary")
.policies("policies")
.provisionedConcurrencyConfig(ProvisionedConcurrencyConfigProperty.builder()
.provisionedConcurrentExecutions("provisionedConcurrentExecutions")
.build())
.reservedConcurrentExecutions(123)
.role("role")
.runtime("runtime")
.tags(Map.of(
"tagsKey", "tags"))
.timeout(123)
.tracing("tracing")
.versionDescription("versionDescription")
.vpcConfig(VpcConfigProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFunctionMixinPropsstatic final classAn implementation forCfnFunctionMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default Objectdefault Stringdefault Stringdefault Stringdefault Objectdefault ObjectReturns union: eitherIResolvableorCfnFunctionPropsMixin.DeadLetterQueuePropertydefault ObjectReturns union: eitherIResolvableorCfnFunctionPropsMixin.DeploymentPreferencePropertydefault Stringdefault ObjectReturns union: eitherIResolvableorCfnFunctionPropsMixin.FunctionEnvironmentPropertydefault ObjectReturns union: eitherIResolvableorCfnFunctionPropsMixin.EphemeralStoragePropertydefault ObjectReturns union: eitherIResolvableorCfnFunctionPropsMixin.EventInvokeConfigPropertydefault ObjectReturns union: eitherIResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnFunctionPropsMixin.EventSourceProperty>default ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnFunctionPropsMixin.FileSystemConfigProperty>default Stringdefault ObjectReturns union: eitherIResolvableorCfnFunctionPropsMixin.FunctionUrlConfigPropertydefault Stringdefault ObjectReturns union: eitherIResolvableorCfnFunctionPropsMixin.ImageConfigPropertydefault Stringdefault Stringdefault Stringdefault Numberdefault Stringdefault Stringdefault ObjectReturns union: eitherStringorIResolvableorCfnFunctionPropsMixin.IAMPolicyDocumentPropertyor Listinvalid input: '<'eitherStringorIResolvableorCfnFunctionPropsMixin.IAMPolicyDocumentPropertyorCfnFunctionPropsMixin.SAMPolicyTemplateProperty>default ObjectReturns union: eitherIResolvableorCfnFunctionPropsMixin.ProvisionedConcurrencyConfigPropertydefault Numberdefault StringgetRole()default StringgetTags()default Numberdefault Stringdefault Stringdefault ObjectReturns union: eitherIResolvableorCfnFunctionPropsMixin.VpcConfigPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getArchitectures
- See Also:
-
getAssumeRolePolicyDocument
- See Also:
-
getAutoPublishAlias
- See Also:
-
getAutoPublishCodeSha256
- See Also:
-
getCodeSigningConfigArn
- See Also:
-
getCodeUri
- See Also:
-
getDeadLetterQueue
Returns union: eitherIResolvableorCfnFunctionPropsMixin.DeadLetterQueueProperty- See Also:
-
getDeploymentPreference
Returns union: eitherIResolvableorCfnFunctionPropsMixin.DeploymentPreferenceProperty- See Also:
-
getDescription
- See Also:
-
getEnvironment
Returns union: eitherIResolvableorCfnFunctionPropsMixin.FunctionEnvironmentProperty- See Also:
-
getEphemeralStorage
Returns union: eitherIResolvableorCfnFunctionPropsMixin.EphemeralStorageProperty- See Also:
-
getEventInvokeConfig
Returns union: eitherIResolvableorCfnFunctionPropsMixin.EventInvokeConfigProperty- See Also:
-
getEvents
Returns union: eitherIResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnFunctionPropsMixin.EventSourceProperty>- See Also:
-
getFileSystemConfigs
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnFunctionPropsMixin.FileSystemConfigProperty>- See Also:
-
getFunctionName
- See Also:
-
getFunctionUrlConfig
Returns union: eitherIResolvableorCfnFunctionPropsMixin.FunctionUrlConfigProperty- See Also:
-
getHandler
- See Also:
-
getImageConfig
Returns union: eitherIResolvableorCfnFunctionPropsMixin.ImageConfigProperty- See Also:
-
getImageUri
- See Also:
-
getInlineCode
- See Also:
-
getKmsKeyArn
- See Also:
-
getLayers
- See Also:
-
getMemorySize
- See Also:
-
getPackageType
- See Also:
-
getPermissionsBoundary
- See Also:
-
getPolicies
Returns union: eitherStringorIResolvableorCfnFunctionPropsMixin.IAMPolicyDocumentPropertyor Listinvalid input: '<'eitherStringorIResolvableorCfnFunctionPropsMixin.IAMPolicyDocumentPropertyorCfnFunctionPropsMixin.SAMPolicyTemplateProperty>- See Also:
-
getProvisionedConcurrencyConfig
Returns union: eitherIResolvableorCfnFunctionPropsMixin.ProvisionedConcurrencyConfigProperty- See Also:
-
getReservedConcurrentExecutions
- See Also:
-
getRole
- See Also:
-
getRuntime
- See Also:
-
getTags
- See Also:
-
getTimeout
- See Also:
-
getTracing
- See Also:
-
getVersionDescription
- See Also:
-
getVpcConfig
Returns union: eitherIResolvableorCfnFunctionPropsMixin.VpcConfigProperty- See Also:
-
builder
- Returns:
- a
CfnFunctionMixinProps.BuilderofCfnFunctionMixinProps
-