Skip to main content

environment_blueprints

Creates, updates, deletes, gets or lists an environment_blueprints resource.

Overview

Nameenvironment_blueprints
TypeResource
Idaws.datazone.environment_blueprints

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of this Amazon DataZone blueprint. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>)
namestringThe name of this Amazon DataZone blueprint. (pattern: <code>[\w -]+</code>)
created_atstring (date-time)A timestamp of when this blueprint was created.
deployment_propertiesobjectThe deployment properties of this Amazon DataZone blueprint.
descriptionstringThe description of this Amazon DataZone blueprint.
glossary_termsarrayThe glossary terms attached to this Amazon DataZone blueprint.
providerstringThe provider of this Amazon DataZone blueprint.
provisioning_propertiesobjectThe provisioning properties of an environment blueprint.
updated_atstring (date-time)The timestamp of when this blueprint was updated.
user_parametersarrayThe user parameters of this blueprint.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_environment_blueprintselectdomain_identifier, identifier, regionGets an Amazon DataZone blueprint.
list_environment_blueprintsselectdomain_identifier, regionmaxResults, nextToken, name, managedLists blueprints in an Amazon DataZone environment.
create_environment_blueprintinsertdomain_identifier, region, name, provisioningPropertiesCreates a Amazon DataZone blueprint.
update_environment_blueprintupdatedomain_identifier, identifier, regionUpdates an environment blueprint in Amazon DataZone.
delete_environment_blueprintdeletedomain_identifier, identifier, regionDeletes a blueprint in Amazon DataZone.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
domain_identifierstringThe ID of the Amazon DataZone domain in which the blueprint is deleted.
identifierstringThe ID of the blueprint that is deleted.
regionstringAWS region (default: us-east-1)
managedbooleanSpecifies whether the environment blueprint is managed by Amazon DataZone.
maxResultsintegerThe maximum number of blueprints to return in a single call to ListEnvironmentBlueprints. When the number of blueprints to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListEnvironmentBlueprints to list the next set of blueprints.
namestringThe name of the Amazon DataZone environment.
nextTokenstringWhen the number of blueprints in the environment is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of blueprints in the environment, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListEnvironmentBlueprintsto list the next set of blueprints.

SELECT examples

Gets an Amazon DataZone blueprint.

SELECT
id,
name,
created_at,
deployment_properties,
description,
glossary_terms,
provider,
provisioning_properties,
updated_at,
user_parameters
FROM aws.datazone.environment_blueprints
WHERE domain_identifier = '{{ domain_identifier }}' -- required
AND identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a Amazon DataZone blueprint.

INSERT INTO aws.datazone.environment_blueprints (
name,
description,
provisioningProperties,
userParameters,
domain_identifier,
region
)
SELECT
'{{ name }}' /* required */,
'{{ description }}',
'{{ provisioningProperties }}' /* required */,
'{{ userParameters }}',
'{{ domain_identifier }}',
'{{ region }}'
RETURNING
id,
name,
created_at,
deployment_properties,
description,
glossary_terms,
provider,
provisioning_properties,
updated_at,
user_parameters
;

UPDATE examples

Updates an environment blueprint in Amazon DataZone.

UPDATE aws.datazone.environment_blueprints
SET
description = '{{ description }}',
provisioningProperties = '{{ provisioningProperties }}',
userParameters = '{{ userParameters }}'
WHERE
domain_identifier = '{{ domain_identifier }}' --required
AND identifier = '{{ identifier }}' --required
AND region = '{{ region }}' --required
RETURNING
id,
name,
created_at,
deployment_properties,
description,
glossary_terms,
provider,
provisioning_properties,
updated_at,
user_parameters;

DELETE examples

Deletes a blueprint in Amazon DataZone.

DELETE FROM aws.datazone.environment_blueprints
WHERE domain_identifier = '{{ domain_identifier }}' --required
AND identifier = '{{ identifier }}' --required
AND region = '{{ region }}' --required
;