1. Packages
  2. AWS Native
  3. API Docs
  4. lambda
  5. LayerVersionPermission

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.lambda.LayerVersionPermission

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    Schema for Lambda LayerVersionPermission

    Create LayerVersionPermission Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LayerVersionPermission(name: string, args: LayerVersionPermissionArgs, opts?: CustomResourceOptions);
    @overload
    def LayerVersionPermission(resource_name: str,
                               args: LayerVersionPermissionArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def LayerVersionPermission(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               action: Optional[str] = None,
                               layer_version_arn: Optional[str] = None,
                               principal: Optional[str] = None,
                               organization_id: Optional[str] = None)
    func NewLayerVersionPermission(ctx *Context, name string, args LayerVersionPermissionArgs, opts ...ResourceOption) (*LayerVersionPermission, error)
    public LayerVersionPermission(string name, LayerVersionPermissionArgs args, CustomResourceOptions? opts = null)
    public LayerVersionPermission(String name, LayerVersionPermissionArgs args)
    public LayerVersionPermission(String name, LayerVersionPermissionArgs args, CustomResourceOptions options)
    
    type: aws-native:lambda:LayerVersionPermission
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LayerVersionPermissionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LayerVersionPermissionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LayerVersionPermissionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LayerVersionPermissionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LayerVersionPermissionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const layerVersionPermissionResource = new aws_native.lambda.LayerVersionPermission("layerVersionPermissionResource", {
        action: "string",
        layerVersionArn: "string",
        principal: "string",
        organizationId: "string",
    });
    
    Coming soon!
    

    LayerVersionPermission Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The LayerVersionPermission resource accepts the following input properties:

    Action string
    The API action that grants access to the layer.
    LayerVersionArn string
    The name or Amazon Resource Name (ARN) of the layer.
    Principal string
    An account ID, or * to grant layer usage permission to all accounts in an organization, or all AWS accounts (if organizationId is not specified).
    OrganizationId string
    With the principal set to *, grant permission to all accounts in the specified organization.
    Action string
    The API action that grants access to the layer.
    LayerVersionArn string
    The name or Amazon Resource Name (ARN) of the layer.
    Principal string
    An account ID, or * to grant layer usage permission to all accounts in an organization, or all AWS accounts (if organizationId is not specified).
    OrganizationId string
    With the principal set to *, grant permission to all accounts in the specified organization.
    action String
    The API action that grants access to the layer.
    layerVersionArn String
    The name or Amazon Resource Name (ARN) of the layer.
    principal String
    An account ID, or * to grant layer usage permission to all accounts in an organization, or all AWS accounts (if organizationId is not specified).
    organizationId String
    With the principal set to *, grant permission to all accounts in the specified organization.
    action string
    The API action that grants access to the layer.
    layerVersionArn string
    The name or Amazon Resource Name (ARN) of the layer.
    principal string
    An account ID, or * to grant layer usage permission to all accounts in an organization, or all AWS accounts (if organizationId is not specified).
    organizationId string
    With the principal set to *, grant permission to all accounts in the specified organization.
    action str
    The API action that grants access to the layer.
    layer_version_arn str
    The name or Amazon Resource Name (ARN) of the layer.
    principal str
    An account ID, or * to grant layer usage permission to all accounts in an organization, or all AWS accounts (if organizationId is not specified).
    organization_id str
    With the principal set to *, grant permission to all accounts in the specified organization.
    action String
    The API action that grants access to the layer.
    layerVersionArn String
    The name or Amazon Resource Name (ARN) of the layer.
    principal String
    An account ID, or * to grant layer usage permission to all accounts in an organization, or all AWS accounts (if organizationId is not specified).
    organizationId String
    With the principal set to *, grant permission to all accounts in the specified organization.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LayerVersionPermission resource produces the following output properties:

    AwsId string
    ID generated by service
    Id string
    The provider-assigned unique ID for this managed resource.
    AwsId string
    ID generated by service
    Id string
    The provider-assigned unique ID for this managed resource.
    awsId String
    ID generated by service
    id String
    The provider-assigned unique ID for this managed resource.
    awsId string
    ID generated by service
    id string
    The provider-assigned unique ID for this managed resource.
    aws_id str
    ID generated by service
    id str
    The provider-assigned unique ID for this managed resource.
    awsId String
    ID generated by service
    id String
    The provider-assigned unique ID for this managed resource.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi