1. Packages
  2. AWS
  3. API Docs
  4. datazone
  5. Glossary
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.datazone.Glossary

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Resource for managing an AWS DataZone Glossary.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const domainExecutionRole = new aws.iam.Role("domain_execution_role", {
        name: "example_name",
        assumeRolePolicy: JSON.stringify({
            Version: "2012-10-17",
            Statement: [
                {
                    Action: [
                        "sts:AssumeRole",
                        "sts:TagSession",
                    ],
                    Effect: "Allow",
                    Principal: {
                        Service: "datazone.amazonaws.com",
                    },
                },
                {
                    Action: [
                        "sts:AssumeRole",
                        "sts:TagSession",
                    ],
                    Effect: "Allow",
                    Principal: {
                        Service: "cloudformation.amazonaws.com",
                    },
                },
            ],
        }),
        inlinePolicies: [{
            name: "example_name",
            policy: JSON.stringify({
                Version: "2012-10-17",
                Statement: [{
                    Action: [
                        "datazone:*",
                        "ram:*",
                        "sso:*",
                        "kms:*",
                    ],
                    Effect: "Allow",
                    Resource: "*",
                }],
            }),
        }],
    });
    const test = new aws.datazone.Domain("test", {
        name: "example_name",
        domainExecutionRole: domainExecutionRole.arn,
    });
    const testSecurityGroup = new aws.ec2.SecurityGroup("test", {name: "example_name"});
    const testProject = new aws.datazone.Project("test", {
        domainIdentifier: test.id,
        glossaryTerms: ["2N8w6XJCwZf"],
        name: "example_name",
        description: "desc",
        skipDeletionCheck: true,
    });
    const testGlossary = new aws.datazone.Glossary("test", {
        description: "description",
        name: "example_name",
        owningProjectIdentifier: testProject.id,
        status: "DISABLED",
        domainIdentifier: testProject.domainIdentifier,
    });
    
    import pulumi
    import json
    import pulumi_aws as aws
    
    domain_execution_role = aws.iam.Role("domain_execution_role",
        name="example_name",
        assume_role_policy=json.dumps({
            "Version": "2012-10-17",
            "Statement": [
                {
                    "Action": [
                        "sts:AssumeRole",
                        "sts:TagSession",
                    ],
                    "Effect": "Allow",
                    "Principal": {
                        "Service": "datazone.amazonaws.com",
                    },
                },
                {
                    "Action": [
                        "sts:AssumeRole",
                        "sts:TagSession",
                    ],
                    "Effect": "Allow",
                    "Principal": {
                        "Service": "cloudformation.amazonaws.com",
                    },
                },
            ],
        }),
        inline_policies=[{
            "name": "example_name",
            "policy": json.dumps({
                "Version": "2012-10-17",
                "Statement": [{
                    "Action": [
                        "datazone:*",
                        "ram:*",
                        "sso:*",
                        "kms:*",
                    ],
                    "Effect": "Allow",
                    "Resource": "*",
                }],
            }),
        }])
    test = aws.datazone.Domain("test",
        name="example_name",
        domain_execution_role=domain_execution_role.arn)
    test_security_group = aws.ec2.SecurityGroup("test", name="example_name")
    test_project = aws.datazone.Project("test",
        domain_identifier=test.id,
        glossary_terms=["2N8w6XJCwZf"],
        name="example_name",
        description="desc",
        skip_deletion_check=True)
    test_glossary = aws.datazone.Glossary("test",
        description="description",
        name="example_name",
        owning_project_identifier=test_project.id,
        status="DISABLED",
        domain_identifier=test_project.domain_identifier)
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/datazone"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		tmpJSON0, err := json.Marshal(map[string]interface{}{
    			"Version": "2012-10-17",
    			"Statement": []map[string]interface{}{
    				map[string]interface{}{
    					"Action": []string{
    						"sts:AssumeRole",
    						"sts:TagSession",
    					},
    					"Effect": "Allow",
    					"Principal": map[string]interface{}{
    						"Service": "datazone.amazonaws.com",
    					},
    				},
    				map[string]interface{}{
    					"Action": []string{
    						"sts:AssumeRole",
    						"sts:TagSession",
    					},
    					"Effect": "Allow",
    					"Principal": map[string]interface{}{
    						"Service": "cloudformation.amazonaws.com",
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		tmpJSON1, err := json.Marshal(map[string]interface{}{
    			"Version": "2012-10-17",
    			"Statement": []map[string]interface{}{
    				map[string]interface{}{
    					"Action": []string{
    						"datazone:*",
    						"ram:*",
    						"sso:*",
    						"kms:*",
    					},
    					"Effect":   "Allow",
    					"Resource": "*",
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		json1 := string(tmpJSON1)
    		domainExecutionRole, err := iam.NewRole(ctx, "domain_execution_role", &iam.RoleArgs{
    			Name:             pulumi.String("example_name"),
    			AssumeRolePolicy: pulumi.String(json0),
    			InlinePolicies: iam.RoleInlinePolicyArray{
    				&iam.RoleInlinePolicyArgs{
    					Name:   pulumi.String("example_name"),
    					Policy: pulumi.String(json1),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		test, err := datazone.NewDomain(ctx, "test", &datazone.DomainArgs{
    			Name:                pulumi.String("example_name"),
    			DomainExecutionRole: domainExecutionRole.Arn,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ec2.NewSecurityGroup(ctx, "test", &ec2.SecurityGroupArgs{
    			Name: pulumi.String("example_name"),
    		})
    		if err != nil {
    			return err
    		}
    		testProject, err := datazone.NewProject(ctx, "test", &datazone.ProjectArgs{
    			DomainIdentifier: test.ID(),
    			GlossaryTerms: pulumi.StringArray{
    				pulumi.String("2N8w6XJCwZf"),
    			},
    			Name:              pulumi.String("example_name"),
    			Description:       pulumi.String("desc"),
    			SkipDeletionCheck: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = datazone.NewGlossary(ctx, "test", &datazone.GlossaryArgs{
    			Description:             pulumi.String("description"),
    			Name:                    pulumi.String("example_name"),
    			OwningProjectIdentifier: testProject.ID(),
    			Status:                  pulumi.String("DISABLED"),
    			DomainIdentifier:        testProject.DomainIdentifier,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var domainExecutionRole = new Aws.Iam.Role("domain_execution_role", new()
        {
            Name = "example_name",
            AssumeRolePolicy = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["Version"] = "2012-10-17",
                ["Statement"] = new[]
                {
                    new Dictionary<string, object?>
                    {
                        ["Action"] = new[]
                        {
                            "sts:AssumeRole",
                            "sts:TagSession",
                        },
                        ["Effect"] = "Allow",
                        ["Principal"] = new Dictionary<string, object?>
                        {
                            ["Service"] = "datazone.amazonaws.com",
                        },
                    },
                    new Dictionary<string, object?>
                    {
                        ["Action"] = new[]
                        {
                            "sts:AssumeRole",
                            "sts:TagSession",
                        },
                        ["Effect"] = "Allow",
                        ["Principal"] = new Dictionary<string, object?>
                        {
                            ["Service"] = "cloudformation.amazonaws.com",
                        },
                    },
                },
            }),
            InlinePolicies = new[]
            {
                new Aws.Iam.Inputs.RoleInlinePolicyArgs
                {
                    Name = "example_name",
                    Policy = JsonSerializer.Serialize(new Dictionary<string, object?>
                    {
                        ["Version"] = "2012-10-17",
                        ["Statement"] = new[]
                        {
                            new Dictionary<string, object?>
                            {
                                ["Action"] = new[]
                                {
                                    "datazone:*",
                                    "ram:*",
                                    "sso:*",
                                    "kms:*",
                                },
                                ["Effect"] = "Allow",
                                ["Resource"] = "*",
                            },
                        },
                    }),
                },
            },
        });
    
        var test = new Aws.DataZone.Domain("test", new()
        {
            Name = "example_name",
            DomainExecutionRole = domainExecutionRole.Arn,
        });
    
        var testSecurityGroup = new Aws.Ec2.SecurityGroup("test", new()
        {
            Name = "example_name",
        });
    
        var testProject = new Aws.DataZone.Project("test", new()
        {
            DomainIdentifier = test.Id,
            GlossaryTerms = new[]
            {
                "2N8w6XJCwZf",
            },
            Name = "example_name",
            Description = "desc",
            SkipDeletionCheck = true,
        });
    
        var testGlossary = new Aws.DataZone.Glossary("test", new()
        {
            Description = "description",
            Name = "example_name",
            OwningProjectIdentifier = testProject.Id,
            Status = "DISABLED",
            DomainIdentifier = testProject.DomainIdentifier,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.iam.Role;
    import com.pulumi.aws.iam.RoleArgs;
    import com.pulumi.aws.iam.inputs.RoleInlinePolicyArgs;
    import com.pulumi.aws.datazone.Domain;
    import com.pulumi.aws.datazone.DomainArgs;
    import com.pulumi.aws.ec2.SecurityGroup;
    import com.pulumi.aws.ec2.SecurityGroupArgs;
    import com.pulumi.aws.datazone.Project;
    import com.pulumi.aws.datazone.ProjectArgs;
    import com.pulumi.aws.datazone.Glossary;
    import com.pulumi.aws.datazone.GlossaryArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    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 domainExecutionRole = new Role("domainExecutionRole", RoleArgs.builder()
                .name("example_name")
                .assumeRolePolicy(serializeJson(
                    jsonObject(
                        jsonProperty("Version", "2012-10-17"),
                        jsonProperty("Statement", jsonArray(
                            jsonObject(
                                jsonProperty("Action", jsonArray(
                                    "sts:AssumeRole", 
                                    "sts:TagSession"
                                )),
                                jsonProperty("Effect", "Allow"),
                                jsonProperty("Principal", jsonObject(
                                    jsonProperty("Service", "datazone.amazonaws.com")
                                ))
                            ), 
                            jsonObject(
                                jsonProperty("Action", jsonArray(
                                    "sts:AssumeRole", 
                                    "sts:TagSession"
                                )),
                                jsonProperty("Effect", "Allow"),
                                jsonProperty("Principal", jsonObject(
                                    jsonProperty("Service", "cloudformation.amazonaws.com")
                                ))
                            )
                        ))
                    )))
                .inlinePolicies(RoleInlinePolicyArgs.builder()
                    .name("example_name")
                    .policy(serializeJson(
                        jsonObject(
                            jsonProperty("Version", "2012-10-17"),
                            jsonProperty("Statement", jsonArray(jsonObject(
                                jsonProperty("Action", jsonArray(
                                    "datazone:*", 
                                    "ram:*", 
                                    "sso:*", 
                                    "kms:*"
                                )),
                                jsonProperty("Effect", "Allow"),
                                jsonProperty("Resource", "*")
                            )))
                        )))
                    .build())
                .build());
    
            var test = new Domain("test", DomainArgs.builder()
                .name("example_name")
                .domainExecutionRole(domainExecutionRole.arn())
                .build());
    
            var testSecurityGroup = new SecurityGroup("testSecurityGroup", SecurityGroupArgs.builder()
                .name("example_name")
                .build());
    
            var testProject = new Project("testProject", ProjectArgs.builder()
                .domainIdentifier(test.id())
                .glossaryTerms("2N8w6XJCwZf")
                .name("example_name")
                .description("desc")
                .skipDeletionCheck(true)
                .build());
    
            var testGlossary = new Glossary("testGlossary", GlossaryArgs.builder()
                .description("description")
                .name("example_name")
                .owningProjectIdentifier(testProject.id())
                .status("DISABLED")
                .domainIdentifier(testProject.domainIdentifier())
                .build());
    
        }
    }
    
    resources:
      domainExecutionRole:
        type: aws:iam:Role
        name: domain_execution_role
        properties:
          name: example_name
          assumeRolePolicy:
            fn::toJSON:
              Version: 2012-10-17
              Statement:
                - Action:
                    - sts:AssumeRole
                    - sts:TagSession
                  Effect: Allow
                  Principal:
                    Service: datazone.amazonaws.com
                - Action:
                    - sts:AssumeRole
                    - sts:TagSession
                  Effect: Allow
                  Principal:
                    Service: cloudformation.amazonaws.com
          inlinePolicies:
            - name: example_name
              policy:
                fn::toJSON:
                  Version: 2012-10-17
                  Statement:
                    - Action:
                        - datazone:*
                        - ram:*
                        - sso:*
                        - kms:*
                      Effect: Allow
                      Resource: '*'
      test:
        type: aws:datazone:Domain
        properties:
          name: example_name
          domainExecutionRole: ${domainExecutionRole.arn}
      testSecurityGroup:
        type: aws:ec2:SecurityGroup
        name: test
        properties:
          name: example_name
      testProject:
        type: aws:datazone:Project
        name: test
        properties:
          domainIdentifier: ${test.id}
          glossaryTerms:
            - 2N8w6XJCwZf
          name: example_name
          description: desc
          skipDeletionCheck: true
      testGlossary:
        type: aws:datazone:Glossary
        name: test
        properties:
          description: description
          name: example_name
          owningProjectIdentifier: ${testProject.id}
          status: DISABLED
          domainIdentifier: ${testProject.domainIdentifier}
    

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const test = new aws.datazone.Glossary("test", {
        description: "description",
        name: "example_name",
        owningProjectIdentifier: testAwsDatazoneProject.id,
        status: "DISABLED",
        domainIdentifier: testAwsDatazoneProject.domainIdentifier,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    test = aws.datazone.Glossary("test",
        description="description",
        name="example_name",
        owning_project_identifier=test_aws_datazone_project["id"],
        status="DISABLED",
        domain_identifier=test_aws_datazone_project["domainIdentifier"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/datazone"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datazone.NewGlossary(ctx, "test", &datazone.GlossaryArgs{
    			Description:             pulumi.String("description"),
    			Name:                    pulumi.String("example_name"),
    			OwningProjectIdentifier: pulumi.Any(testAwsDatazoneProject.Id),
    			Status:                  pulumi.String("DISABLED"),
    			DomainIdentifier:        pulumi.Any(testAwsDatazoneProject.DomainIdentifier),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Aws.DataZone.Glossary("test", new()
        {
            Description = "description",
            Name = "example_name",
            OwningProjectIdentifier = testAwsDatazoneProject.Id,
            Status = "DISABLED",
            DomainIdentifier = testAwsDatazoneProject.DomainIdentifier,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.datazone.Glossary;
    import com.pulumi.aws.datazone.GlossaryArgs;
    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 test = new Glossary("test", GlossaryArgs.builder()
                .description("description")
                .name("example_name")
                .owningProjectIdentifier(testAwsDatazoneProject.id())
                .status("DISABLED")
                .domainIdentifier(testAwsDatazoneProject.domainIdentifier())
                .build());
    
        }
    }
    
    resources:
      test:
        type: aws:datazone:Glossary
        properties:
          description: description
          name: example_name
          owningProjectIdentifier: ${testAwsDatazoneProject.id}
          status: DISABLED
          domainIdentifier: ${testAwsDatazoneProject.domainIdentifier}
    

    Create Glossary Resource

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

    Constructor syntax

    new Glossary(name: string, args: GlossaryArgs, opts?: CustomResourceOptions);
    @overload
    def Glossary(resource_name: str,
                 args: GlossaryArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Glossary(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 domain_identifier: Optional[str] = None,
                 owning_project_identifier: Optional[str] = None,
                 description: Optional[str] = None,
                 name: Optional[str] = None,
                 status: Optional[str] = None)
    func NewGlossary(ctx *Context, name string, args GlossaryArgs, opts ...ResourceOption) (*Glossary, error)
    public Glossary(string name, GlossaryArgs args, CustomResourceOptions? opts = null)
    public Glossary(String name, GlossaryArgs args)
    public Glossary(String name, GlossaryArgs args, CustomResourceOptions options)
    
    type: aws:datazone:Glossary
    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 GlossaryArgs
    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 GlossaryArgs
    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 GlossaryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GlossaryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GlossaryArgs
    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 glossaryResource = new Aws.DataZone.Glossary("glossaryResource", new()
    {
        DomainIdentifier = "string",
        OwningProjectIdentifier = "string",
        Description = "string",
        Name = "string",
        Status = "string",
    });
    
    example, err := datazone.NewGlossary(ctx, "glossaryResource", &datazone.GlossaryArgs{
    	DomainIdentifier:        pulumi.String("string"),
    	OwningProjectIdentifier: pulumi.String("string"),
    	Description:             pulumi.String("string"),
    	Name:                    pulumi.String("string"),
    	Status:                  pulumi.String("string"),
    })
    
    var glossaryResource = new Glossary("glossaryResource", GlossaryArgs.builder()
        .domainIdentifier("string")
        .owningProjectIdentifier("string")
        .description("string")
        .name("string")
        .status("string")
        .build());
    
    glossary_resource = aws.datazone.Glossary("glossaryResource",
        domain_identifier="string",
        owning_project_identifier="string",
        description="string",
        name="string",
        status="string")
    
    const glossaryResource = new aws.datazone.Glossary("glossaryResource", {
        domainIdentifier: "string",
        owningProjectIdentifier: "string",
        description: "string",
        name: "string",
        status: "string",
    });
    
    type: aws:datazone:Glossary
    properties:
        description: string
        domainIdentifier: string
        name: string
        owningProjectIdentifier: string
        status: string
    

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

    DomainIdentifier string
    OwningProjectIdentifier string

    ID of the project that owns business glossary. Must follow regex of ^[a-zA-Z0-9_-]{1,36}$.

    The following arguments are optional:

    Description string
    Description of the glossary. Must have a length between 0 and 4096.
    Name string
    Name of the glossary. Must have length between 1 and 256.
    Status string
    Status of business glossary. Valid values are DISABLED and ENABLED.
    DomainIdentifier string
    OwningProjectIdentifier string

    ID of the project that owns business glossary. Must follow regex of ^[a-zA-Z0-9_-]{1,36}$.

    The following arguments are optional:

    Description string
    Description of the glossary. Must have a length between 0 and 4096.
    Name string
    Name of the glossary. Must have length between 1 and 256.
    Status string
    Status of business glossary. Valid values are DISABLED and ENABLED.
    domainIdentifier String
    owningProjectIdentifier String

    ID of the project that owns business glossary. Must follow regex of ^[a-zA-Z0-9_-]{1,36}$.

    The following arguments are optional:

    description String
    Description of the glossary. Must have a length between 0 and 4096.
    name String
    Name of the glossary. Must have length between 1 and 256.
    status String
    Status of business glossary. Valid values are DISABLED and ENABLED.
    domainIdentifier string
    owningProjectIdentifier string

    ID of the project that owns business glossary. Must follow regex of ^[a-zA-Z0-9_-]{1,36}$.

    The following arguments are optional:

    description string
    Description of the glossary. Must have a length between 0 and 4096.
    name string
    Name of the glossary. Must have length between 1 and 256.
    status string
    Status of business glossary. Valid values are DISABLED and ENABLED.
    domain_identifier str
    owning_project_identifier str

    ID of the project that owns business glossary. Must follow regex of ^[a-zA-Z0-9_-]{1,36}$.

    The following arguments are optional:

    description str
    Description of the glossary. Must have a length between 0 and 4096.
    name str
    Name of the glossary. Must have length between 1 and 256.
    status str
    Status of business glossary. Valid values are DISABLED and ENABLED.
    domainIdentifier String
    owningProjectIdentifier String

    ID of the project that owns business glossary. Must follow regex of ^[a-zA-Z0-9_-]{1,36}$.

    The following arguments are optional:

    description String
    Description of the glossary. Must have a length between 0 and 4096.
    name String
    Name of the glossary. Must have length between 1 and 256.
    status String
    Status of business glossary. Valid values are DISABLED and ENABLED.

    Outputs

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

    Get an existing Glossary 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?: GlossaryState, opts?: CustomResourceOptions): Glossary
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            domain_identifier: Optional[str] = None,
            name: Optional[str] = None,
            owning_project_identifier: Optional[str] = None,
            status: Optional[str] = None) -> Glossary
    func GetGlossary(ctx *Context, name string, id IDInput, state *GlossaryState, opts ...ResourceOption) (*Glossary, error)
    public static Glossary Get(string name, Input<string> id, GlossaryState? state, CustomResourceOptions? opts = null)
    public static Glossary get(String name, Output<String> id, GlossaryState 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:
    Description string
    Description of the glossary. Must have a length between 0 and 4096.
    DomainIdentifier string
    Name string
    Name of the glossary. Must have length between 1 and 256.
    OwningProjectIdentifier string

    ID of the project that owns business glossary. Must follow regex of ^[a-zA-Z0-9_-]{1,36}$.

    The following arguments are optional:

    Status string
    Status of business glossary. Valid values are DISABLED and ENABLED.
    Description string
    Description of the glossary. Must have a length between 0 and 4096.
    DomainIdentifier string
    Name string
    Name of the glossary. Must have length between 1 and 256.
    OwningProjectIdentifier string

    ID of the project that owns business glossary. Must follow regex of ^[a-zA-Z0-9_-]{1,36}$.

    The following arguments are optional:

    Status string
    Status of business glossary. Valid values are DISABLED and ENABLED.
    description String
    Description of the glossary. Must have a length between 0 and 4096.
    domainIdentifier String
    name String
    Name of the glossary. Must have length between 1 and 256.
    owningProjectIdentifier String

    ID of the project that owns business glossary. Must follow regex of ^[a-zA-Z0-9_-]{1,36}$.

    The following arguments are optional:

    status String
    Status of business glossary. Valid values are DISABLED and ENABLED.
    description string
    Description of the glossary. Must have a length between 0 and 4096.
    domainIdentifier string
    name string
    Name of the glossary. Must have length between 1 and 256.
    owningProjectIdentifier string

    ID of the project that owns business glossary. Must follow regex of ^[a-zA-Z0-9_-]{1,36}$.

    The following arguments are optional:

    status string
    Status of business glossary. Valid values are DISABLED and ENABLED.
    description str
    Description of the glossary. Must have a length between 0 and 4096.
    domain_identifier str
    name str
    Name of the glossary. Must have length between 1 and 256.
    owning_project_identifier str

    ID of the project that owns business glossary. Must follow regex of ^[a-zA-Z0-9_-]{1,36}$.

    The following arguments are optional:

    status str
    Status of business glossary. Valid values are DISABLED and ENABLED.
    description String
    Description of the glossary. Must have a length between 0 and 4096.
    domainIdentifier String
    name String
    Name of the glossary. Must have length between 1 and 256.
    owningProjectIdentifier String

    ID of the project that owns business glossary. Must follow regex of ^[a-zA-Z0-9_-]{1,36}$.

    The following arguments are optional:

    status String
    Status of business glossary. Valid values are DISABLED and ENABLED.

    Import

    Using pulumi import, import DataZone Glossary using the import Datazone Glossary using a comma-delimited string combining the domain id, glossary id, and the id of the project it’s under. For example:

    $ pulumi import aws:datazone/glossary:Glossary example domain-id,glossary-id,owning-project-identifier
    

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

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi