AwsLambdaFunctionDetails
public struct AwsLambdaFunctionDetails : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
An AwsLambdaFunctionCode object.
Declaration
Swift
public let code: AwsLambdaFunctionCode?
-
The SHA256 hash of the function’s deployment package.
Declaration
Swift
public let codeSha256: String?
-
The function’s dead letter queue.
Declaration
Swift
public let deadLetterConfig: AwsLambdaFunctionDeadLetterConfig?
-
The function’s environment variables.
Declaration
Swift
public let environment: AwsLambdaFunctionEnvironment?
-
The name of the function.
Declaration
Swift
public let functionName: String?
-
The function that Lambda calls to begin executing your function.
Declaration
Swift
public let handler: String?
-
The KMS key that’s used to encrypt the function’s environment variables. This key is only returned if you’ve configured a customer managed CMK.
Declaration
Swift
public let kmsKeyArn: String?
-
Indicates when the function was last updated. Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
Declaration
Swift
public let lastModified: String?
-
The function’s layers.
Declaration
Swift
public let layers: [AwsLambdaFunctionLayer]?
-
For Lambda@Edge functions, the ARN of the master function.
Declaration
Swift
public let masterArn: String?
-
The memory that’s allocated to the function.
Declaration
Swift
public let memorySize: Int?
-
The latest updated revision of the function or alias.
Declaration
Swift
public let revisionId: String?
-
The function’s execution role.
Declaration
Swift
public let role: String?
-
The runtime environment for the Lambda function.
Declaration
Swift
public let runtime: String?
-
The amount of time that Lambda allows a function to run before stopping it.
Declaration
Swift
public let timeout: Int?
-
The function’s AWS X-Ray tracing configuration.
Declaration
Swift
public let tracingConfig: AwsLambdaFunctionTracingConfig?
-
The version of the Lambda function.
Declaration
Swift
public let version: String?
-
The function’s networking configuration.
Declaration
Swift
public let vpcConfig: AwsLambdaFunctionVpcConfig?
-
init(code:codeSha256:deadLetterConfig:environment:functionName:handler:kmsKeyArn:lastModified:layers:masterArn:memorySize:revisionId:role:runtime:timeout:tracingConfig:version:vpcConfig:)
Undocumented
Declaration
Swift
public init(code: AwsLambdaFunctionCode? = nil, codeSha256: String? = nil, deadLetterConfig: AwsLambdaFunctionDeadLetterConfig? = nil, environment: AwsLambdaFunctionEnvironment? = nil, functionName: String? = nil, handler: String? = nil, kmsKeyArn: String? = nil, lastModified: String? = nil, layers: [AwsLambdaFunctionLayer]? = nil, masterArn: String? = nil, memorySize: Int? = nil, revisionId: String? = nil, role: String? = nil, runtime: String? = nil, timeout: Int? = nil, tracingConfig: AwsLambdaFunctionTracingConfig? = nil, version: String? = nil, vpcConfig: AwsLambdaFunctionVpcConfig? = nil)
-
Declaration
Swift
public func validate(name: String) throws