1. Packages
  2. MinIO
  3. API Docs
  4. IamGroup
MinIO v0.15.2 published on Friday, Feb 23, 2024 by Pulumi

minio.IamGroup

Explore with Pulumi AI

minio logo
MinIO v0.15.2 published on Friday, Feb 23, 2024 by Pulumi

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Minio = Pulumi.Minio;
    
    return await Deployment.RunAsync(() => 
    {
        var developer = new Minio.IamGroup("developer");
    
        return new Dictionary<string, object?>
        {
            ["minioUserGroup"] = developer.GroupName,
        };
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-minio/sdk/go/minio"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		developer, err := minio.NewIamGroup(ctx, "developer", nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("minioUserGroup", developer.GroupName)
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.minio.IamGroup;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var developer = new IamGroup("developer");
    
            ctx.export("minioUserGroup", developer.groupName());
        }
    }
    
    import pulumi
    import pulumi_minio as minio
    
    developer = minio.IamGroup("developer")
    pulumi.export("minioUserGroup", developer.group_name)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as minio from "@pulumi/minio";
    
    const developer = new minio.IamGroup("developer", {});
    export const minioUserGroup = developer.groupName;
    
    resources:
      developer:
        type: minio:IamGroup
    outputs:
      minioUserGroup: ${developer.groupName}
    

    Create IamGroup Resource

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

    Constructor syntax

    new IamGroup(name: string, args?: IamGroupArgs, opts?: CustomResourceOptions);
    @overload
    def IamGroup(resource_name: str,
                 args: Optional[IamGroupArgs] = None,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def IamGroup(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 disable_group: Optional[bool] = None,
                 force_destroy: Optional[bool] = None,
                 name: Optional[str] = None)
    func NewIamGroup(ctx *Context, name string, args *IamGroupArgs, opts ...ResourceOption) (*IamGroup, error)
    public IamGroup(string name, IamGroupArgs? args = null, CustomResourceOptions? opts = null)
    public IamGroup(String name, IamGroupArgs args)
    public IamGroup(String name, IamGroupArgs args, CustomResourceOptions options)
    
    type: minio:IamGroup
    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 IamGroupArgs
    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 IamGroupArgs
    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 IamGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IamGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IamGroupArgs
    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.

    var iamGroupResource = new Minio.IamGroup("iamGroupResource", new()
    {
        DisableGroup = false,
        ForceDestroy = false,
        Name = "string",
    });
    
    example, err := minio.NewIamGroup(ctx, "iamGroupResource", &minio.IamGroupArgs{
    	DisableGroup: pulumi.Bool(false),
    	ForceDestroy: pulumi.Bool(false),
    	Name:         pulumi.String("string"),
    })
    
    var iamGroupResource = new IamGroup("iamGroupResource", IamGroupArgs.builder()        
        .disableGroup(false)
        .forceDestroy(false)
        .name("string")
        .build());
    
    iam_group_resource = minio.IamGroup("iamGroupResource",
        disable_group=False,
        force_destroy=False,
        name="string")
    
    const iamGroupResource = new minio.IamGroup("iamGroupResource", {
        disableGroup: false,
        forceDestroy: false,
        name: "string",
    });
    
    type: minio:IamGroup
    properties:
        disableGroup: false
        forceDestroy: false
        name: string
    

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

    DisableGroup bool
    Disable group
    ForceDestroy bool
    Delete group even if it has non-Terraform-managed members
    Name string
    DisableGroup bool
    Disable group
    ForceDestroy bool
    Delete group even if it has non-Terraform-managed members
    Name string
    disableGroup Boolean
    Disable group
    forceDestroy Boolean
    Delete group even if it has non-Terraform-managed members
    name String
    disableGroup boolean
    Disable group
    forceDestroy boolean
    Delete group even if it has non-Terraform-managed members
    name string
    disable_group bool
    Disable group
    force_destroy bool
    Delete group even if it has non-Terraform-managed members
    name str
    disableGroup Boolean
    Disable group
    forceDestroy Boolean
    Delete group even if it has non-Terraform-managed members
    name String

    Outputs

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

    GroupName string
    Id string
    The provider-assigned unique ID for this managed resource.
    GroupName string
    Id string
    The provider-assigned unique ID for this managed resource.
    groupName String
    id String
    The provider-assigned unique ID for this managed resource.
    groupName string
    id string
    The provider-assigned unique ID for this managed resource.
    group_name str
    id str
    The provider-assigned unique ID for this managed resource.
    groupName String
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing IamGroup Resource

    Get an existing IamGroup 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?: IamGroupState, opts?: CustomResourceOptions): IamGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            disable_group: Optional[bool] = None,
            force_destroy: Optional[bool] = None,
            group_name: Optional[str] = None,
            name: Optional[str] = None) -> IamGroup
    func GetIamGroup(ctx *Context, name string, id IDInput, state *IamGroupState, opts ...ResourceOption) (*IamGroup, error)
    public static IamGroup Get(string name, Input<string> id, IamGroupState? state, CustomResourceOptions? opts = null)
    public static IamGroup get(String name, Output<String> id, IamGroupState 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:
    DisableGroup bool
    Disable group
    ForceDestroy bool
    Delete group even if it has non-Terraform-managed members
    GroupName string
    Name string
    DisableGroup bool
    Disable group
    ForceDestroy bool
    Delete group even if it has non-Terraform-managed members
    GroupName string
    Name string
    disableGroup Boolean
    Disable group
    forceDestroy Boolean
    Delete group even if it has non-Terraform-managed members
    groupName String
    name String
    disableGroup boolean
    Disable group
    forceDestroy boolean
    Delete group even if it has non-Terraform-managed members
    groupName string
    name string
    disable_group bool
    Disable group
    force_destroy bool
    Delete group even if it has non-Terraform-managed members
    group_name str
    name str
    disableGroup Boolean
    Disable group
    forceDestroy Boolean
    Delete group even if it has non-Terraform-managed members
    groupName String
    name String

    Package Details

    Repository
    MinIO pulumi/pulumi-minio
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the minio Terraform Provider.
    minio logo
    MinIO v0.15.2 published on Friday, Feb 23, 2024 by Pulumi