AppSpecContent

public struct AppSpecContent : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The YAML-formatted or JSON-formatted revision string. For an AWS Lambda deployment, the content includes a Lambda function name, the alias for its original version, and the alias for its replacement version. The deployment shifts traffic from the original version of the Lambda function to the replacement version. For an Amazon ECS deployment, the content includes the task name, information about the load balancer that serves traffic to the container, and more. For both types of deployments, the content can specify Lambda functions that run at specified hooks, such as BeforeInstall, during a deployment.

    Declaration

    Swift

    public let content: String?
  • The SHA256 hash value of the revision content.

    Declaration

    Swift

    public let sha256: String?
  • Undocumented

    Declaration

    Swift

    public init(content: String? = nil, sha256: String? = nil)