CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI
castai.OrganizationMembers
Create OrganizationMembers Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OrganizationMembers(name: string, args: OrganizationMembersArgs, opts?: CustomResourceOptions);@overload
def OrganizationMembers(resource_name: str,
args: OrganizationMembersArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OrganizationMembers(resource_name: str,
opts: Optional[ResourceOptions] = None,
organization_id: Optional[str] = None,
members: Optional[Sequence[str]] = None,
owners: Optional[Sequence[str]] = None,
viewers: Optional[Sequence[str]] = None)func NewOrganizationMembers(ctx *Context, name string, args OrganizationMembersArgs, opts ...ResourceOption) (*OrganizationMembers, error)public OrganizationMembers(string name, OrganizationMembersArgs args, CustomResourceOptions? opts = null)
public OrganizationMembers(String name, OrganizationMembersArgs args)
public OrganizationMembers(String name, OrganizationMembersArgs args, CustomResourceOptions options)
type: castai:organization:OrganizationMembers
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 OrganizationMembersArgs
- 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 OrganizationMembersArgs
- 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 OrganizationMembersArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OrganizationMembersArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OrganizationMembersArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
OrganizationMembers Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The OrganizationMembers resource accepts the following input properties:
- Organization
Id string - CAST AI organization ID.
- Members List<string>
- A list of email addresses corresponding to users who should be given member access to the organization.
- Owners List<string>
- A list of email addresses corresponding to users who should be given owner access to the organization.
- Viewers List<string>
- A list of email addresses corresponding to users who should be given viewer access to the organization.
- Organization
Id string - CAST AI organization ID.
- Members []string
- A list of email addresses corresponding to users who should be given member access to the organization.
- Owners []string
- A list of email addresses corresponding to users who should be given owner access to the organization.
- Viewers []string
- A list of email addresses corresponding to users who should be given viewer access to the organization.
- organization
Id String - CAST AI organization ID.
- members List<String>
- A list of email addresses corresponding to users who should be given member access to the organization.
- owners List<String>
- A list of email addresses corresponding to users who should be given owner access to the organization.
- viewers List<String>
- A list of email addresses corresponding to users who should be given viewer access to the organization.
- organization
Id string - CAST AI organization ID.
- members string[]
- A list of email addresses corresponding to users who should be given member access to the organization.
- owners string[]
- A list of email addresses corresponding to users who should be given owner access to the organization.
- viewers string[]
- A list of email addresses corresponding to users who should be given viewer access to the organization.
- organization_
id str - CAST AI organization ID.
- members Sequence[str]
- A list of email addresses corresponding to users who should be given member access to the organization.
- owners Sequence[str]
- A list of email addresses corresponding to users who should be given owner access to the organization.
- viewers Sequence[str]
- A list of email addresses corresponding to users who should be given viewer access to the organization.
- organization
Id String - CAST AI organization ID.
- members List<String>
- A list of email addresses corresponding to users who should be given member access to the organization.
- owners List<String>
- A list of email addresses corresponding to users who should be given owner access to the organization.
- viewers List<String>
- A list of email addresses corresponding to users who should be given viewer access to the organization.
Outputs
All input properties are implicitly available as output properties. Additionally, the OrganizationMembers 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 Existing OrganizationMembers Resource
Get an existing OrganizationMembers 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?: OrganizationMembersState, opts?: CustomResourceOptions): OrganizationMembers@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
members: Optional[Sequence[str]] = None,
organization_id: Optional[str] = None,
owners: Optional[Sequence[str]] = None,
viewers: Optional[Sequence[str]] = None) -> OrganizationMembersfunc GetOrganizationMembers(ctx *Context, name string, id IDInput, state *OrganizationMembersState, opts ...ResourceOption) (*OrganizationMembers, error)public static OrganizationMembers Get(string name, Input<string> id, OrganizationMembersState? state, CustomResourceOptions? opts = null)public static OrganizationMembers get(String name, Output<String> id, OrganizationMembersState state, CustomResourceOptions options)resources: _: type: castai:organization:OrganizationMembers get: id: ${id}- 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.
- Members List<string>
- A list of email addresses corresponding to users who should be given member access to the organization.
- Organization
Id string - CAST AI organization ID.
- Owners List<string>
- A list of email addresses corresponding to users who should be given owner access to the organization.
- Viewers List<string>
- A list of email addresses corresponding to users who should be given viewer access to the organization.
- Members []string
- A list of email addresses corresponding to users who should be given member access to the organization.
- Organization
Id string - CAST AI organization ID.
- Owners []string
- A list of email addresses corresponding to users who should be given owner access to the organization.
- Viewers []string
- A list of email addresses corresponding to users who should be given viewer access to the organization.
- members List<String>
- A list of email addresses corresponding to users who should be given member access to the organization.
- organization
Id String - CAST AI organization ID.
- owners List<String>
- A list of email addresses corresponding to users who should be given owner access to the organization.
- viewers List<String>
- A list of email addresses corresponding to users who should be given viewer access to the organization.
- members string[]
- A list of email addresses corresponding to users who should be given member access to the organization.
- organization
Id string - CAST AI organization ID.
- owners string[]
- A list of email addresses corresponding to users who should be given owner access to the organization.
- viewers string[]
- A list of email addresses corresponding to users who should be given viewer access to the organization.
- members Sequence[str]
- A list of email addresses corresponding to users who should be given member access to the organization.
- organization_
id str - CAST AI organization ID.
- owners Sequence[str]
- A list of email addresses corresponding to users who should be given owner access to the organization.
- viewers Sequence[str]
- A list of email addresses corresponding to users who should be given viewer access to the organization.
- members List<String>
- A list of email addresses corresponding to users who should be given member access to the organization.
- organization
Id String - CAST AI organization ID.
- owners List<String>
- A list of email addresses corresponding to users who should be given owner access to the organization.
- viewers List<String>
- A list of email addresses corresponding to users who should be given viewer access to the organization.
Package Details
- Repository
- castai castai/pulumi-castai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
castaiTerraform Provider.
