1. Packages
  2. Packages
  3. Aiven Provider
  4. API Docs
  5. AccountTeamProject
Viewing docs for Aiven v5.6.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
aiven logo
Viewing docs for Aiven v5.6.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    The Account Team Project resource allows the creation and management of an Account Team Project.

    It is intended to link an existing project to the existing account team. It is important to note that the project should have an account_id property set equal to the account team you are trying to link to this project.

    Create AccountTeamProject Resource

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

    Constructor syntax

    new AccountTeamProject(name: string, args: AccountTeamProjectArgs, opts?: CustomResourceOptions);
    @overload
    def AccountTeamProject(resource_name: str,
                           args: AccountTeamProjectArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def AccountTeamProject(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           account_id: Optional[str] = None,
                           team_id: Optional[str] = None,
                           project_name: Optional[str] = None,
                           team_type: Optional[str] = None)
    func NewAccountTeamProject(ctx *Context, name string, args AccountTeamProjectArgs, opts ...ResourceOption) (*AccountTeamProject, error)
    public AccountTeamProject(string name, AccountTeamProjectArgs args, CustomResourceOptions? opts = null)
    public AccountTeamProject(String name, AccountTeamProjectArgs args)
    public AccountTeamProject(String name, AccountTeamProjectArgs args, CustomResourceOptions options)
    
    type: aiven:AccountTeamProject
    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 AccountTeamProjectArgs
    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 AccountTeamProjectArgs
    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 AccountTeamProjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccountTeamProjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccountTeamProjectArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var accountTeamProjectResource = new Aiven.AccountTeamProject("accountTeamProjectResource", new()
    {
        AccountId = "string",
        TeamId = "string",
        ProjectName = "string",
        TeamType = "string",
    });
    
    example, err := aiven.NewAccountTeamProject(ctx, "accountTeamProjectResource", &aiven.AccountTeamProjectArgs{
    	AccountId:   pulumi.String("string"),
    	TeamId:      pulumi.String("string"),
    	ProjectName: pulumi.String("string"),
    	TeamType:    pulumi.String("string"),
    })
    
    var accountTeamProjectResource = new AccountTeamProject("accountTeamProjectResource", AccountTeamProjectArgs.builder()
        .accountId("string")
        .teamId("string")
        .projectName("string")
        .teamType("string")
        .build());
    
    account_team_project_resource = aiven.AccountTeamProject("accountTeamProjectResource",
        account_id="string",
        team_id="string",
        project_name="string",
        team_type="string")
    
    const accountTeamProjectResource = new aiven.AccountTeamProject("accountTeamProjectResource", {
        accountId: "string",
        teamId: "string",
        projectName: "string",
        teamType: "string",
    });
    
    type: aiven:AccountTeamProject
    properties:
        accountId: string
        projectName: string
        teamId: string
        teamType: string
    

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

    AccountId string
    The unique account id
    TeamId string
    An account team id
    ProjectName string
    The name of an already existing project
    TeamType string
    The Account team project type The possible values are admin, developer, operator and read_only.
    AccountId string
    The unique account id
    TeamId string
    An account team id
    ProjectName string
    The name of an already existing project
    TeamType string
    The Account team project type The possible values are admin, developer, operator and read_only.
    accountId String
    The unique account id
    teamId String
    An account team id
    projectName String
    The name of an already existing project
    teamType String
    The Account team project type The possible values are admin, developer, operator and read_only.
    accountId string
    The unique account id
    teamId string
    An account team id
    projectName string
    The name of an already existing project
    teamType string
    The Account team project type The possible values are admin, developer, operator and read_only.
    account_id str
    The unique account id
    team_id str
    An account team id
    project_name str
    The name of an already existing project
    team_type str
    The Account team project type The possible values are admin, developer, operator and read_only.
    accountId String
    The unique account id
    teamId String
    An account team id
    projectName String
    The name of an already existing project
    teamType String
    The Account team project type The possible values are admin, developer, operator and read_only.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AccountTeamProject 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 AccountTeamProject Resource

    Get an existing AccountTeamProject 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?: AccountTeamProjectState, opts?: CustomResourceOptions): AccountTeamProject
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            project_name: Optional[str] = None,
            team_id: Optional[str] = None,
            team_type: Optional[str] = None) -> AccountTeamProject
    func GetAccountTeamProject(ctx *Context, name string, id IDInput, state *AccountTeamProjectState, opts ...ResourceOption) (*AccountTeamProject, error)
    public static AccountTeamProject Get(string name, Input<string> id, AccountTeamProjectState? state, CustomResourceOptions? opts = null)
    public static AccountTeamProject get(String name, Output<String> id, AccountTeamProjectState state, CustomResourceOptions options)
    resources:  _:    type: aiven:AccountTeamProject    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.
    The following state arguments are supported:
    AccountId string
    The unique account id
    ProjectName string
    The name of an already existing project
    TeamId string
    An account team id
    TeamType string
    The Account team project type The possible values are admin, developer, operator and read_only.
    AccountId string
    The unique account id
    ProjectName string
    The name of an already existing project
    TeamId string
    An account team id
    TeamType string
    The Account team project type The possible values are admin, developer, operator and read_only.
    accountId String
    The unique account id
    projectName String
    The name of an already existing project
    teamId String
    An account team id
    teamType String
    The Account team project type The possible values are admin, developer, operator and read_only.
    accountId string
    The unique account id
    projectName string
    The name of an already existing project
    teamId string
    An account team id
    teamType string
    The Account team project type The possible values are admin, developer, operator and read_only.
    account_id str
    The unique account id
    project_name str
    The name of an already existing project
    team_id str
    An account team id
    team_type str
    The Account team project type The possible values are admin, developer, operator and read_only.
    accountId String
    The unique account id
    projectName String
    The name of an already existing project
    teamId String
    An account team id
    teamType String
    The Account team project type The possible values are admin, developer, operator and read_only.

    Import

     $ pulumi import aiven:index/accountTeamProject:AccountTeamProject account_team_project1 account_id/team_id/project_name
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Aiven pulumi/pulumi-aiven
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aiven Terraform Provider.
    aiven logo
    Viewing docs for Aiven v5.6.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.