1. Packages
  2. AWS Native
  3. API Docs
  4. ram
  5. Permission

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

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.ram.Permission

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Resource type definition for AWS::RAM::Permission

    Create Permission Resource

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

    Constructor syntax

    new Permission(name: string, args: PermissionArgs, opts?: CustomResourceOptions);
    @overload
    def Permission(resource_name: str,
                   args: PermissionArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Permission(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   policy_template: Optional[Any] = None,
                   resource_type: Optional[str] = None,
                   name: Optional[str] = None,
                   tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewPermission(ctx *Context, name string, args PermissionArgs, opts ...ResourceOption) (*Permission, error)
    public Permission(string name, PermissionArgs args, CustomResourceOptions? opts = null)
    public Permission(String name, PermissionArgs args)
    public Permission(String name, PermissionArgs args, CustomResourceOptions options)
    
    type: aws-native:ram:Permission
    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 PermissionArgs
    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 PermissionArgs
    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 PermissionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PermissionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PermissionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Permission 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 Permission resource accepts the following input properties:

    PolicyTemplate object

    Policy template for the permission.

    Search the CloudFormation User Guide for AWS::RAM::Permission for more information about the expected schema for this property.

    ResourceType string
    The resource type this permission can be used with.
    Name string
    The name of the permission.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    Specifies a list of one or more tag key and value pairs to attach to the permission.
    PolicyTemplate interface{}

    Policy template for the permission.

    Search the CloudFormation User Guide for AWS::RAM::Permission for more information about the expected schema for this property.

    ResourceType string
    The resource type this permission can be used with.
    Name string
    The name of the permission.
    Tags TagArgs
    Specifies a list of one or more tag key and value pairs to attach to the permission.
    policyTemplate Object

    Policy template for the permission.

    Search the CloudFormation User Guide for AWS::RAM::Permission for more information about the expected schema for this property.

    resourceType String
    The resource type this permission can be used with.
    name String
    The name of the permission.
    tags List<Tag>
    Specifies a list of one or more tag key and value pairs to attach to the permission.
    policyTemplate any

    Policy template for the permission.

    Search the CloudFormation User Guide for AWS::RAM::Permission for more information about the expected schema for this property.

    resourceType string
    The resource type this permission can be used with.
    name string
    The name of the permission.
    tags Tag[]
    Specifies a list of one or more tag key and value pairs to attach to the permission.
    policy_template Any

    Policy template for the permission.

    Search the CloudFormation User Guide for AWS::RAM::Permission for more information about the expected schema for this property.

    resource_type str
    The resource type this permission can be used with.
    name str
    The name of the permission.
    tags Sequence[TagArgs]
    Specifies a list of one or more tag key and value pairs to attach to the permission.
    policyTemplate Any

    Policy template for the permission.

    Search the CloudFormation User Guide for AWS::RAM::Permission for more information about the expected schema for this property.

    resourceType String
    The resource type this permission can be used with.
    name String
    The name of the permission.
    tags List<Property Map>
    Specifies a list of one or more tag key and value pairs to attach to the permission.

    Outputs

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

    Arn string
    The Amazon Resource Name (ARN) of the new permission.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsResourceTypeDefault bool
    Set to true to use this as the default permission.
    PermissionType string
    The type of managed permission. This can be one of the following values:

    • AWS_MANAGED_PERMISSION – AWS created and manages this managed permission. You can associate it with your resource shares, but you can't modify it.
    • CUSTOMER_MANAGED_PERMISSION – You, or another principal in your account created this managed permission. You can associate it with your resource shares and create new versions that have different permissions.
    Version string
    Version of the permission.
    Arn string
    The Amazon Resource Name (ARN) of the new permission.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsResourceTypeDefault bool
    Set to true to use this as the default permission.
    PermissionType string
    The type of managed permission. This can be one of the following values:

    • AWS_MANAGED_PERMISSION – AWS created and manages this managed permission. You can associate it with your resource shares, but you can't modify it.
    • CUSTOMER_MANAGED_PERMISSION – You, or another principal in your account created this managed permission. You can associate it with your resource shares and create new versions that have different permissions.
    Version string
    Version of the permission.
    arn String
    The Amazon Resource Name (ARN) of the new permission.
    id String
    The provider-assigned unique ID for this managed resource.
    isResourceTypeDefault Boolean
    Set to true to use this as the default permission.
    permissionType String
    The type of managed permission. This can be one of the following values:

    • AWS_MANAGED_PERMISSION – AWS created and manages this managed permission. You can associate it with your resource shares, but you can't modify it.
    • CUSTOMER_MANAGED_PERMISSION – You, or another principal in your account created this managed permission. You can associate it with your resource shares and create new versions that have different permissions.
    version String
    Version of the permission.
    arn string
    The Amazon Resource Name (ARN) of the new permission.
    id string
    The provider-assigned unique ID for this managed resource.
    isResourceTypeDefault boolean
    Set to true to use this as the default permission.
    permissionType string
    The type of managed permission. This can be one of the following values:

    • AWS_MANAGED_PERMISSION – AWS created and manages this managed permission. You can associate it with your resource shares, but you can't modify it.
    • CUSTOMER_MANAGED_PERMISSION – You, or another principal in your account created this managed permission. You can associate it with your resource shares and create new versions that have different permissions.
    version string
    Version of the permission.
    arn str
    The Amazon Resource Name (ARN) of the new permission.
    id str
    The provider-assigned unique ID for this managed resource.
    is_resource_type_default bool
    Set to true to use this as the default permission.
    permission_type str
    The type of managed permission. This can be one of the following values:

    • AWS_MANAGED_PERMISSION – AWS created and manages this managed permission. You can associate it with your resource shares, but you can't modify it.
    • CUSTOMER_MANAGED_PERMISSION – You, or another principal in your account created this managed permission. You can associate it with your resource shares and create new versions that have different permissions.
    version str
    Version of the permission.
    arn String
    The Amazon Resource Name (ARN) of the new permission.
    id String
    The provider-assigned unique ID for this managed resource.
    isResourceTypeDefault Boolean
    Set to true to use this as the default permission.
    permissionType String
    The type of managed permission. This can be one of the following values:

    • AWS_MANAGED_PERMISSION – AWS created and manages this managed permission. You can associate it with your resource shares, but you can't modify it.
    • CUSTOMER_MANAGED_PERMISSION – You, or another principal in your account created this managed permission. You can associate it with your resource shares and create new versions that have different permissions.
    version String
    Version of the permission.

    Supporting Types

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    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.109.0 published on Wednesday, Jun 26, 2024 by Pulumi