AddLayerVersionPermissionRequest
public struct AddLayerVersionPermissionRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
The API action that grants access to the layer. For example, lambda:GetLayerVersion.
Declaration
Swift
public let action: String -
The name or Amazon Resource Name (ARN) of the layer.
Declaration
Swift
public let layerName: String -
With the principal set to *, grant permission to all accounts in the specified organization.
Declaration
Swift
public let organizationId: String? -
An account ID, or * to grant permission to all AWS accounts.
Declaration
Swift
public let principal: String -
Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it.
Declaration
Swift
public let revisionId: String? -
An identifier that distinguishes the policy from others on the same layer version.
Declaration
Swift
public let statementId: String -
The version number.
Declaration
Swift
public let versionNumber: Int64 -
Undocumented
Declaration
Swift
public init(action: String, layerName: String, organizationId: String? = nil, principal: String, revisionId: String? = nil, statementId: String, versionNumber: Int64) -
Declaration
Swift
public func validate(name: String) throws
View on GitHub
AddLayerVersionPermissionRequest Structure Reference