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

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.getPermission

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

    Using getPermission

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getPermission(args: GetPermissionArgs, opts?: InvokeOptions): Promise<GetPermissionResult>
    function getPermissionOutput(args: GetPermissionOutputArgs, opts?: InvokeOptions): Output<GetPermissionResult>
    def get_permission(arn: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetPermissionResult
    def get_permission_output(arn: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetPermissionResult]
    func LookupPermission(ctx *Context, args *LookupPermissionArgs, opts ...InvokeOption) (*LookupPermissionResult, error)
    func LookupPermissionOutput(ctx *Context, args *LookupPermissionOutputArgs, opts ...InvokeOption) LookupPermissionResultOutput

    > Note: This function is named LookupPermission in the Go SDK.

    public static class GetPermission 
    {
        public static Task<GetPermissionResult> InvokeAsync(GetPermissionArgs args, InvokeOptions? opts = null)
        public static Output<GetPermissionResult> Invoke(GetPermissionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPermissionResult> getPermission(GetPermissionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:ram:getPermission
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    Arn string
    arn String
    arn string
    arn str
    arn String

    getPermission Result

    The following output properties are available:

    Arn string
    IsResourceTypeDefault bool
    Set to true to use this as the default permission.
    PermissionType string
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Version string
    Version of the permission.
    Arn string
    IsResourceTypeDefault bool
    Set to true to use this as the default permission.
    PermissionType string
    Tags Tag
    Version string
    Version of the permission.
    arn String
    isResourceTypeDefault Boolean
    Set to true to use this as the default permission.
    permissionType String
    tags List<Tag>
    version String
    Version of the permission.
    arn string
    isResourceTypeDefault boolean
    Set to true to use this as the default permission.
    permissionType string
    tags Tag[]
    version string
    Version of the permission.
    arn str
    is_resource_type_default bool
    Set to true to use this as the default permission.
    permission_type str
    tags Sequence[root_Tag]
    version str
    Version of the permission.
    arn String
    isResourceTypeDefault Boolean
    Set to true to use this as the default permission.
    permissionType String
    tags List<Property Map>
    version String
    Version of the permission.

    Supporting Types

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