Class LayerVersionPermissionState


  • public final class LayerVersionPermissionState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • action

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> action()
        Returns:
        Action, which will be allowed. `lambda:GetLayerVersion` value is suggested by AWS documantation.
      • layerName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> layerName()
        Returns:
        The name or ARN of the Lambda Layer, which you want to grant access to.
      • organizationId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> organizationId()
        Returns:
        An identifier of AWS Organization, which should be able to use your Lambda Layer. `principal` should be equal to `*` if `organization_id` provided.
      • policy

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> policy()
        Returns:
        Full Lambda Layer Permission policy.
      • principal

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> principal()
        Returns:
        AWS account ID which should be able to use your Lambda Layer. `*` can be used here, if you want to share your Lambda Layer widely.
      • revisionId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> revisionId()
        Returns:
        A unique identifier for the current revision of the policy.
      • statementId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> statementId()
        Returns:
        The name of Lambda Layer Permission, for example `dev-account` - human readable note about what is this permission for.
      • versionNumber

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> versionNumber()
        Returns:
        Version of Lambda Layer, which you want to grant access to. Note: permissions only apply to a single version of a layer.