Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws.datazone.getEnvironmentBlueprint
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
Data source for managing an AWS DataZone Environment Blueprint.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const exampleDomain = new aws.datazone.Domain("example", {
name: "example_domain",
domainExecutionRole: domainExecutionRole.arn,
});
const example = aws.datazone.getEnvironmentBlueprintOutput({
domainId: exampleDomain.id,
name: "DefaultDataLake",
managed: true,
});
import pulumi
import pulumi_aws as aws
example_domain = aws.datazone.Domain("example",
name="example_domain",
domain_execution_role=domain_execution_role["arn"])
example = aws.datazone.get_environment_blueprint_output(domain_id=example_domain.id,
name="DefaultDataLake",
managed=True)
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 {
exampleDomain, err := datazone.NewDomain(ctx, "example", &datazone.DomainArgs{
Name: pulumi.String("example_domain"),
DomainExecutionRole: pulumi.Any(domainExecutionRole.Arn),
})
if err != nil {
return err
}
_ = datazone.GetEnvironmentBlueprintOutput(ctx, datazone.GetEnvironmentBlueprintOutputArgs{
DomainId: exampleDomain.ID(),
Name: pulumi.String("DefaultDataLake"),
Managed: pulumi.Bool(true),
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var exampleDomain = new Aws.DataZone.Domain("example", new()
{
Name = "example_domain",
DomainExecutionRole = domainExecutionRole.Arn,
});
var example = Aws.DataZone.GetEnvironmentBlueprint.Invoke(new()
{
DomainId = exampleDomain.Id,
Name = "DefaultDataLake",
Managed = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.datazone.Domain;
import com.pulumi.aws.datazone.DomainArgs;
import com.pulumi.aws.datazone.DatazoneFunctions;
import com.pulumi.aws.datazone.inputs.GetEnvironmentBlueprintArgs;
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 exampleDomain = new Domain("exampleDomain", DomainArgs.builder()
.name("example_domain")
.domainExecutionRole(domainExecutionRole.arn())
.build());
final var example = DatazoneFunctions.getEnvironmentBlueprint(GetEnvironmentBlueprintArgs.builder()
.domainId(exampleDomain.id())
.name("DefaultDataLake")
.managed(true)
.build());
}
}
resources:
exampleDomain:
type: aws:datazone:Domain
name: example
properties:
name: example_domain
domainExecutionRole: ${domainExecutionRole.arn}
variables:
example:
fn::invoke:
Function: aws:datazone:getEnvironmentBlueprint
Arguments:
domainId: ${exampleDomain.id}
name: DefaultDataLake
managed: true
Using getEnvironmentBlueprint
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEnvironmentBlueprint(args: GetEnvironmentBlueprintArgs, opts?: InvokeOptions): Promise<GetEnvironmentBlueprintResult>
function getEnvironmentBlueprintOutput(args: GetEnvironmentBlueprintOutputArgs, opts?: InvokeOptions): Output<GetEnvironmentBlueprintResult>
def get_environment_blueprint(domain_id: Optional[str] = None,
managed: Optional[bool] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEnvironmentBlueprintResult
def get_environment_blueprint_output(domain_id: Optional[pulumi.Input[str]] = None,
managed: Optional[pulumi.Input[bool]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEnvironmentBlueprintResult]
func GetEnvironmentBlueprint(ctx *Context, args *GetEnvironmentBlueprintArgs, opts ...InvokeOption) (*GetEnvironmentBlueprintResult, error)
func GetEnvironmentBlueprintOutput(ctx *Context, args *GetEnvironmentBlueprintOutputArgs, opts ...InvokeOption) GetEnvironmentBlueprintResultOutput
> Note: This function is named GetEnvironmentBlueprint
in the Go SDK.
public static class GetEnvironmentBlueprint
{
public static Task<GetEnvironmentBlueprintResult> InvokeAsync(GetEnvironmentBlueprintArgs args, InvokeOptions? opts = null)
public static Output<GetEnvironmentBlueprintResult> Invoke(GetEnvironmentBlueprintInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEnvironmentBlueprintResult> getEnvironmentBlueprint(GetEnvironmentBlueprintArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:datazone/getEnvironmentBlueprint:getEnvironmentBlueprint
arguments:
# arguments dictionary
The following arguments are supported:
getEnvironmentBlueprint Result
The following output properties are available:
- Blueprint
Provider string - Provider of the blueprint
- Description string
- Description of the blueprint
- Domain
Id string - Id string
- ID of the environment blueprint
- Managed bool
- Name string
- Blueprint
Provider string - Provider of the blueprint
- Description string
- Description of the blueprint
- Domain
Id string - Id string
- ID of the environment blueprint
- Managed bool
- Name string
- blueprint
Provider String - Provider of the blueprint
- description String
- Description of the blueprint
- domain
Id String - id String
- ID of the environment blueprint
- managed Boolean
- name String
- blueprint
Provider string - Provider of the blueprint
- description string
- Description of the blueprint
- domain
Id string - id string
- ID of the environment blueprint
- managed boolean
- name string
- blueprint_
provider str - Provider of the blueprint
- description str
- Description of the blueprint
- domain_
id str - id str
- ID of the environment blueprint
- managed bool
- name str
- blueprint
Provider String - Provider of the blueprint
- description String
- Description of the blueprint
- domain
Id String - id String
- ID of the environment blueprint
- managed Boolean
- name String
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi