FusionAuth

Community
Package contributed by a community member
v0.9.7 published on Thursday, Jul 28, 2022 by Theo Gravity

FusionAuthEntityTypePermission

Create a FusionAuthEntityTypePermission Resource

new FusionAuthEntityTypePermission(name: string, args: FusionAuthEntityTypePermissionArgs, opts?: CustomResourceOptions);
@overload
def FusionAuthEntityTypePermission(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   data: Optional[str] = None,
                                   description: Optional[str] = None,
                                   entity_type_id: Optional[str] = None,
                                   is_default: Optional[bool] = None,
                                   name: Optional[str] = None,
                                   permission_id: Optional[str] = None)
@overload
def FusionAuthEntityTypePermission(resource_name: str,
                                   args: FusionAuthEntityTypePermissionArgs,
                                   opts: Optional[ResourceOptions] = None)
func NewFusionAuthEntityTypePermission(ctx *Context, name string, args FusionAuthEntityTypePermissionArgs, opts ...ResourceOption) (*FusionAuthEntityTypePermission, error)
public FusionAuthEntityTypePermission(string name, FusionAuthEntityTypePermissionArgs args, CustomResourceOptions? opts = null)
public FusionAuthEntityTypePermission(String name, FusionAuthEntityTypePermissionArgs args)
public FusionAuthEntityTypePermission(String name, FusionAuthEntityTypePermissionArgs args, CustomResourceOptions options)
type: fusionauth:FusionAuthEntityTypePermission
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FusionAuthEntityTypePermissionArgs
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 FusionAuthEntityTypePermissionArgs
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 FusionAuthEntityTypePermissionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FusionAuthEntityTypePermissionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FusionAuthEntityTypePermissionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

EntityTypeId string

The Id of the Entity Type.

Data string

An object that can hold any information about the Permission that should be persisted. Must be a JSON string.

Description string

The description of the Permission.

IsDefault bool

Whether or not the Permission is a default permission. A default permission is automatically granted to an entity of this type if no permissions are provided in a grant request.

Name string

The name of the Permission.

PermissionId string

The Id to use for the new permission. If not specified a secure random UUID will be generated.

EntityTypeId string

The Id of the Entity Type.

Data string

An object that can hold any information about the Permission that should be persisted. Must be a JSON string.

Description string

The description of the Permission.

IsDefault bool

Whether or not the Permission is a default permission. A default permission is automatically granted to an entity of this type if no permissions are provided in a grant request.

Name string

The name of the Permission.

PermissionId string

The Id to use for the new permission. If not specified a secure random UUID will be generated.

entityTypeId String

The Id of the Entity Type.

data String

An object that can hold any information about the Permission that should be persisted. Must be a JSON string.

description String

The description of the Permission.

isDefault Boolean

Whether or not the Permission is a default permission. A default permission is automatically granted to an entity of this type if no permissions are provided in a grant request.

name String

The name of the Permission.

permissionId String

The Id to use for the new permission. If not specified a secure random UUID will be generated.

entityTypeId string

The Id of the Entity Type.

data string

An object that can hold any information about the Permission that should be persisted. Must be a JSON string.

description string

The description of the Permission.

isDefault boolean

Whether or not the Permission is a default permission. A default permission is automatically granted to an entity of this type if no permissions are provided in a grant request.

name string

The name of the Permission.

permissionId string

The Id to use for the new permission. If not specified a secure random UUID will be generated.

entity_type_id str

The Id of the Entity Type.

data str

An object that can hold any information about the Permission that should be persisted. Must be a JSON string.

description str

The description of the Permission.

is_default bool

Whether or not the Permission is a default permission. A default permission is automatically granted to an entity of this type if no permissions are provided in a grant request.

name str

The name of the Permission.

permission_id str

The Id to use for the new permission. If not specified a secure random UUID will be generated.

entityTypeId String

The Id of the Entity Type.

data String

An object that can hold any information about the Permission that should be persisted. Must be a JSON string.

description String

The description of the Permission.

isDefault Boolean

Whether or not the Permission is a default permission. A default permission is automatically granted to an entity of this type if no permissions are provided in a grant request.

name String

The name of the Permission.

permissionId String

The Id to use for the new permission. If not specified a secure random UUID will be generated.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up an Existing FusionAuthEntityTypePermission Resource

Get an existing FusionAuthEntityTypePermission resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: FusionAuthEntityTypePermissionState, opts?: CustomResourceOptions): FusionAuthEntityTypePermission
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        data: Optional[str] = None,
        description: Optional[str] = None,
        entity_type_id: Optional[str] = None,
        is_default: Optional[bool] = None,
        name: Optional[str] = None,
        permission_id: Optional[str] = None) -> FusionAuthEntityTypePermission
func GetFusionAuthEntityTypePermission(ctx *Context, name string, id IDInput, state *FusionAuthEntityTypePermissionState, opts ...ResourceOption) (*FusionAuthEntityTypePermission, error)
public static FusionAuthEntityTypePermission Get(string name, Input<string> id, FusionAuthEntityTypePermissionState? state, CustomResourceOptions? opts = null)
public static FusionAuthEntityTypePermission get(String name, Output<String> id, FusionAuthEntityTypePermissionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Data string

An object that can hold any information about the Permission that should be persisted. Must be a JSON string.

Description string

The description of the Permission.

EntityTypeId string

The Id of the Entity Type.

IsDefault bool

Whether or not the Permission is a default permission. A default permission is automatically granted to an entity of this type if no permissions are provided in a grant request.

Name string

The name of the Permission.

PermissionId string

The Id to use for the new permission. If not specified a secure random UUID will be generated.

Data string

An object that can hold any information about the Permission that should be persisted. Must be a JSON string.

Description string

The description of the Permission.

EntityTypeId string

The Id of the Entity Type.

IsDefault bool

Whether or not the Permission is a default permission. A default permission is automatically granted to an entity of this type if no permissions are provided in a grant request.

Name string

The name of the Permission.

PermissionId string

The Id to use for the new permission. If not specified a secure random UUID will be generated.

data String

An object that can hold any information about the Permission that should be persisted. Must be a JSON string.

description String

The description of the Permission.

entityTypeId String

The Id of the Entity Type.

isDefault Boolean

Whether or not the Permission is a default permission. A default permission is automatically granted to an entity of this type if no permissions are provided in a grant request.

name String

The name of the Permission.

permissionId String

The Id to use for the new permission. If not specified a secure random UUID will be generated.

data string

An object that can hold any information about the Permission that should be persisted. Must be a JSON string.

description string

The description of the Permission.

entityTypeId string

The Id of the Entity Type.

isDefault boolean

Whether or not the Permission is a default permission. A default permission is automatically granted to an entity of this type if no permissions are provided in a grant request.

name string

The name of the Permission.

permissionId string

The Id to use for the new permission. If not specified a secure random UUID will be generated.

data str

An object that can hold any information about the Permission that should be persisted. Must be a JSON string.

description str

The description of the Permission.

entity_type_id str

The Id of the Entity Type.

is_default bool

Whether or not the Permission is a default permission. A default permission is automatically granted to an entity of this type if no permissions are provided in a grant request.

name str

The name of the Permission.

permission_id str

The Id to use for the new permission. If not specified a secure random UUID will be generated.

data String

An object that can hold any information about the Permission that should be persisted. Must be a JSON string.

description String

The description of the Permission.

entityTypeId String

The Id of the Entity Type.

isDefault Boolean

Whether or not the Permission is a default permission. A default permission is automatically granted to an entity of this type if no permissions are provided in a grant request.

name String

The name of the Permission.

permissionId String

The Id to use for the new permission. If not specified a secure random UUID will be generated.

Package Details

Repository
https://github.com/theogravity/pulumi-fusionauth
License
MIT
Notes

This Pulumi package is based on the fusionauth Terraform Provider.