AWSLambdaAddLayerVersionPermissionRequest

Objective-C

@interface AWSLambdaAddLayerVersionPermissionRequest

Swift

class AWSLambdaAddLayerVersionPermissionRequest
  • The API action that grants access to the layer. For example, lambda:GetLayerVersion.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable action;

    Swift

    var action: String? { get set }
  • The name or Amazon Resource Name (ARN) of the layer.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable layerName;

    Swift

    var layerName: String? { get set }
  • With the principal set to *, grant permission to all accounts in the specified organization.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable organizationId;

    Swift

    var organizationId: String? { get set }
  • An account ID, or * to grant layer usage permission to all accounts in an organization, or all Amazon Web Services accounts (if organizationId is not specified). For the last case, make sure that you really do want all Amazon Web Services accounts to have usage permission to this layer.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable principal;

    Swift

    var principal: String? { get set }
  • 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

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable revisionId;

    Swift

    var revisionId: String? { get set }
  • An identifier that distinguishes the policy from others on the same layer version.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable statementId;

    Swift

    var statementId: String? { get set }
  • The version number.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable versionNumber;

    Swift

    var versionNumber: NSNumber? { get set }