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.105.0 published on Thursday, May 2, 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.105.0 published on Thursday, May 2, 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.

    Example

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

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const examplepermissionResourceResourceFromRam = new aws_native.ram.Permission("examplepermissionResourceResourceFromRam", {
        policyTemplate: "any",
        resourceType: "string",
        name: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    Coming soon!
    

    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>
    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
    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>
    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[]
    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]
    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>

    Outputs

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

    Arn string
    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
    Version string
    Version of the permission.
    Arn string
    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
    Version string
    Version of the permission.
    arn String
    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
    version String
    Version of the permission.
    arn string
    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
    version string
    Version of the permission.
    arn str
    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
    version str
    Version of the permission.
    arn String
    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
    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.105.0 published on Thursday, May 2, 2024 by Pulumi