lineage_group_policies
Creates, updates, deletes, gets or lists a lineage_group_policies resource.
Overview
| Name | lineage_group_policies |
| Type | Resource |
| Id | aws.sagemaker.lineage_group_policies |
Fields
The following fields are returned by SELECT queries:
- get_lineage_group_policy
| Name | Datatype | Description |
|---|---|---|
lineage_group_arn | string | The Amazon Resource Name (ARN) of the lineage group. (pattern: <code>arn:aws[a-z-]:sagemaker:[a-z0-9-]:[0-9]{12}:lineage-group/.*</code>) |
resource_policy | string | The resource policy that gives access to the lineage group in another account. (pattern: <code>.(?:[ \r\n\t].)*</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_lineage_group_policy | select | region | The resource policy for the lineage group. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_lineage_group_policy
The resource policy for the lineage group.
SELECT
lineage_group_arn,
resource_policy
FROM aws.sagemaker.lineage_group_policies
WHERE region = '{{ region }}' -- required
;