Class LayerVersionPermissionArgs


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

      • action

        public com.pulumi.core.Output<java.lang.String> action()
        Returns:
        Action that will be allowed. `lambda:GetLayerVersion` is the standard value for layer access.
      • layerName

        public com.pulumi.core.Output<java.lang.String> layerName()
        Returns:
        Name or ARN of the Lambda Layer.
      • organizationId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> organizationId()
        Returns:
        AWS Organization ID that should be able to use your Lambda Layer. `principal` should be set to `*` when `organizationId` is provided.
      • principal

        public com.pulumi.core.Output<java.lang.String> principal()
        Returns:
        AWS account ID that should be able to use your Lambda Layer. Use `*` to share with all AWS accounts.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • skipDestroy

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> skipDestroy()
        Returns:
        Whether to retain the permission when the resource is destroyed. Default is `false`.
      • statementId

        public com.pulumi.core.Output<java.lang.String> statementId()
        Returns:
        Unique identifier for the permission statement.
      • versionNumber

        public com.pulumi.core.Output<java.lang.Integer> versionNumber()
        Returns:
        Version of Lambda Layer to grant access to. Note: permissions only apply to a single version of a layer. The following arguments are optional: