Class AddLayerVersionPermissionRequest

    • Method Detail

      • layerName

        public final String layerName()

        The name or Amazon Resource Name (ARN) of the layer.

        Returns:
        The name or Amazon Resource Name (ARN) of the layer.
      • versionNumber

        public final Long versionNumber()

        The version number.

        Returns:
        The version number.
      • statementId

        public final String statementId()

        An identifier that distinguishes the policy from others on the same layer version.

        Returns:
        An identifier that distinguishes the policy from others on the same layer version.
      • action

        public final String action()

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

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

        public final String principal()

        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.

        Returns:
        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.
      • organizationId

        public final String organizationId()

        With the principal set to *, grant permission to all accounts in the specified organization.

        Returns:
        With the principal set to *, grant permission to all accounts in the specified organization.
      • revisionId

        public final String revisionId()

        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.

        Returns:
        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.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object