published on Friday, Nov 6, 2026 by Pulumi
published on Friday, Nov 6, 2026 by Pulumi
Caution: Preview Feature This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to
previewFeaturesEnabledfield in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
Data source used to get details of filtered projection policies. Filtering is aligned with the current possibilities for SHOW PROJECTION POLICIES query. The results of SHOW and DESCRIBE are encapsulated in one output collection projectionPolicies.
Using getProjectionPolicies
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 getProjectionPolicies(args: GetProjectionPoliciesArgs, opts?: InvokeOptions): Promise<GetProjectionPoliciesResult>
function getProjectionPoliciesOutput(args: GetProjectionPoliciesOutputArgs, opts?: InvokeOutputOptions): Output<GetProjectionPoliciesResult>def get_projection_policies(in_: Optional[GetProjectionPoliciesIn] = None,
like: Optional[str] = None,
limit: Optional[GetProjectionPoliciesLimit] = None,
starts_with: Optional[str] = None,
with_describe: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectionPoliciesResult
def get_projection_policies_output(in_: pulumi.Input[Optional[GetProjectionPoliciesInArgs]] = None,
like: pulumi.Input[Optional[str]] = None,
limit: pulumi.Input[Optional[GetProjectionPoliciesLimitArgs]] = None,
starts_with: pulumi.Input[Optional[str]] = None,
with_describe: pulumi.Input[Optional[bool]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetProjectionPoliciesResult]func GetProjectionPolicies(ctx *Context, args *GetProjectionPoliciesArgs, opts ...InvokeOption) (*GetProjectionPoliciesResult, error)
func GetProjectionPoliciesOutput(ctx *Context, args *GetProjectionPoliciesOutputArgs, opts ...InvokeOption) GetProjectionPoliciesResultOutput> Note: This function is named GetProjectionPolicies in the Go SDK.
public static class GetProjectionPolicies
{
public static Task<GetProjectionPoliciesResult> InvokeAsync(GetProjectionPoliciesArgs args, InvokeOptions? opts = null)
public static Output<GetProjectionPoliciesResult> Invoke(GetProjectionPoliciesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetProjectionPoliciesResult> Invoke(GetProjectionPoliciesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetProjectionPoliciesResult> getProjectionPolicies(GetProjectionPoliciesArgs args, InvokeOptions options)
public static Output<GetProjectionPoliciesResult> getProjectionPolicies(GetProjectionPoliciesArgs args, InvokeOptions options)
public static Output<GetProjectionPoliciesResult> getProjectionPolicies(GetProjectionPoliciesArgs args, InvokeOutputOptions options)
fn::invoke:
function: snowflake:index/getProjectionPolicies:getProjectionPolicies
arguments:
# arguments dictionarydata "snowflake_get_projection_policies" "name" {
# arguments
}The following arguments are supported:
- In
Get
Projection Policies In - IN clause to filter the list of objects
- Like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - Limit
Get
Projection Policies Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike. - Starts
With string - Filters the output with case-sensitive characters indicating the beginning of the object name.
- With
Describe bool - (Default:
true) Runs DESC PROJECTION POLICY for each projection policy returned by SHOW PROJECTION POLICIES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- In
Get
Projection Policies In - IN clause to filter the list of objects
- Like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - Limit
Get
Projection Policies Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike. - Starts
With string - Filters the output with case-sensitive characters indicating the beginning of the object name.
- With
Describe bool - (Default:
true) Runs DESC PROJECTION POLICY for each projection policy returned by SHOW PROJECTION POLICIES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- in object
- IN clause to filter the list of objects
- like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit object
- Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike. - starts_
with string - Filters the output with case-sensitive characters indicating the beginning of the object name.
- with_
describe bool - (Default:
true) Runs DESC PROJECTION POLICY for each projection policy returned by SHOW PROJECTION POLICIES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- in
Get
Projection Policies In - IN clause to filter the list of objects
- like String
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit
Get
Projection Policies Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike. - starts
With String - Filters the output with case-sensitive characters indicating the beginning of the object name.
- with
Describe Boolean - (Default:
true) Runs DESC PROJECTION POLICY for each projection policy returned by SHOW PROJECTION POLICIES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- in
Get
Projection Policies In - IN clause to filter the list of objects
- like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit
Get
Projection Policies Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike. - starts
With string - Filters the output with case-sensitive characters indicating the beginning of the object name.
- with
Describe boolean - (Default:
true) Runs DESC PROJECTION POLICY for each projection policy returned by SHOW PROJECTION POLICIES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- in_
Get
Projection Policies In - IN clause to filter the list of objects
- like str
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit
Get
Projection Policies Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike. - starts_
with str - Filters the output with case-sensitive characters indicating the beginning of the object name.
- with_
describe bool - (Default:
true) Runs DESC PROJECTION POLICY for each projection policy returned by SHOW PROJECTION POLICIES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- in Property Map
- IN clause to filter the list of objects
- like String
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit Property Map
- Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike. - starts
With String - Filters the output with case-sensitive characters indicating the beginning of the object name.
- with
Describe Boolean - (Default:
true) Runs DESC PROJECTION POLICY for each projection policy returned by SHOW PROJECTION POLICIES. The output of describe is saved to the describeOutput field. By default this value is set to true.
getProjectionPolicies Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Projection
Policies List<GetProjection Policies Projection Policy> - Holds the aggregated output of all projection policy details queries.
- In
Get
Projection Policies In - IN clause to filter the list of objects
- Like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - Limit
Get
Projection Policies Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike. - Starts
With string - Filters the output with case-sensitive characters indicating the beginning of the object name.
- With
Describe bool - (Default:
true) Runs DESC PROJECTION POLICY for each projection policy returned by SHOW PROJECTION POLICIES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- Id string
- The provider-assigned unique ID for this managed resource.
- Projection
Policies []GetProjection Policies Projection Policy - Holds the aggregated output of all projection policy details queries.
- In
Get
Projection Policies In - IN clause to filter the list of objects
- Like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - Limit
Get
Projection Policies Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike. - Starts
With string - Filters the output with case-sensitive characters indicating the beginning of the object name.
- With
Describe bool - (Default:
true) Runs DESC PROJECTION POLICY for each projection policy returned by SHOW PROJECTION POLICIES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- id string
- The provider-assigned unique ID for this managed resource.
- projection_
policies list(object) - Holds the aggregated output of all projection policy details queries.
- in object
- IN clause to filter the list of objects
- like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit object
- Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike. - starts_
with string - Filters the output with case-sensitive characters indicating the beginning of the object name.
- with_
describe bool - (Default:
true) Runs DESC PROJECTION POLICY for each projection policy returned by SHOW PROJECTION POLICIES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- id String
- The provider-assigned unique ID for this managed resource.
- projection
Policies List<GetProjection Policies Projection Policy> - Holds the aggregated output of all projection policy details queries.
- in
Get
Projection Policies In - IN clause to filter the list of objects
- like String
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit
Get
Projection Policies Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike. - starts
With String - Filters the output with case-sensitive characters indicating the beginning of the object name.
- with
Describe Boolean - (Default:
true) Runs DESC PROJECTION POLICY for each projection policy returned by SHOW PROJECTION POLICIES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- id string
- The provider-assigned unique ID for this managed resource.
- projection
Policies GetProjection Policies Projection Policy[] - Holds the aggregated output of all projection policy details queries.
- in
Get
Projection Policies In - IN clause to filter the list of objects
- like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit
Get
Projection Policies Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike. - starts
With string - Filters the output with case-sensitive characters indicating the beginning of the object name.
- with
Describe boolean - (Default:
true) Runs DESC PROJECTION POLICY for each projection policy returned by SHOW PROJECTION POLICIES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- id str
- The provider-assigned unique ID for this managed resource.
- projection_
policies Sequence[GetProjection Policies Projection Policy] - Holds the aggregated output of all projection policy details queries.
- in_
Get
Projection Policies In - IN clause to filter the list of objects
- like str
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit
Get
Projection Policies Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike. - starts_
with str - Filters the output with case-sensitive characters indicating the beginning of the object name.
- with_
describe bool - (Default:
true) Runs DESC PROJECTION POLICY for each projection policy returned by SHOW PROJECTION POLICIES. The output of describe is saved to the describeOutput field. By default this value is set to true.
- id String
- The provider-assigned unique ID for this managed resource.
- projection
Policies List<Property Map> - Holds the aggregated output of all projection policy details queries.
- in Property Map
- IN clause to filter the list of objects
- like String
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit Property Map
- Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike. - starts
With String - Filters the output with case-sensitive characters indicating the beginning of the object name.
- with
Describe Boolean - (Default:
true) Runs DESC PROJECTION POLICY for each projection policy returned by SHOW PROJECTION POLICIES. The output of describe is saved to the describeOutput field. By default this value is set to true.
Supporting Types
GetProjectionPoliciesIn
GetProjectionPoliciesLimit
GetProjectionPoliciesProjectionPolicy
- Describe
Outputs List<GetProjection Policies Projection Policy Describe Output> - Holds the output of DESCRIBE PROJECTION POLICY.
- Show
Outputs List<GetProjection Policies Projection Policy Show Output> - Holds the output of SHOW PROJECTION POLICIES.
- Describe
Outputs []GetProjection Policies Projection Policy Describe Output - Holds the output of DESCRIBE PROJECTION POLICY.
- Show
Outputs []GetProjection Policies Projection Policy Show Output - Holds the output of SHOW PROJECTION POLICIES.
- describe_
outputs list(object) - Holds the output of DESCRIBE PROJECTION POLICY.
- show_
outputs list(object) - Holds the output of SHOW PROJECTION POLICIES.
- describe
Outputs List<GetProjection Policies Projection Policy Describe Output> - Holds the output of DESCRIBE PROJECTION POLICY.
- show
Outputs List<GetProjection Policies Projection Policy Show Output> - Holds the output of SHOW PROJECTION POLICIES.
- describe
Outputs GetProjection Policies Projection Policy Describe Output[] - Holds the output of DESCRIBE PROJECTION POLICY.
- show
Outputs GetProjection Policies Projection Policy Show Output[] - Holds the output of SHOW PROJECTION POLICIES.
- describe_
outputs Sequence[GetProjection Policies Projection Policy Describe Output] - Holds the output of DESCRIBE PROJECTION POLICY.
- show_
outputs Sequence[GetProjection Policies Projection Policy Show Output] - Holds the output of SHOW PROJECTION POLICIES.
- describe
Outputs List<Property Map> - Holds the output of DESCRIBE PROJECTION POLICY.
- show
Outputs List<Property Map> - Holds the output of SHOW PROJECTION POLICIES.
GetProjectionPoliciesProjectionPolicyDescribeOutput
- Body string
- Name string
- Return
Type string - Signature string
- Body string
- Name string
- Return
Type string - Signature string
- body string
- name string
- return_
type string - signature string
- body String
- name String
- return
Type String - signature String
- body string
- name string
- return
Type string - signature string
- body str
- name str
- return_
type str - signature str
- body String
- name String
- return
Type String - signature String
GetProjectionPoliciesProjectionPolicyShowOutput
- Comment string
- Created
On string - Database
Name string - Kind string
- Name string
- Options string
- Owner string
- Owner
Role stringType - Schema
Name string
- Comment string
- Created
On string - Database
Name string - Kind string
- Name string
- Options string
- Owner string
- Owner
Role stringType - Schema
Name string
- comment string
- created_
on string - database_
name string - kind string
- name string
- options string
- owner string
- owner_
role_ stringtype - schema_
name string
- comment String
- created
On String - database
Name String - kind String
- name String
- options String
- owner String
- owner
Role StringType - schema
Name String
- comment string
- created
On string - database
Name string - kind string
- name string
- options string
- owner string
- owner
Role stringType - schema
Name string
- comment str
- created_
on str - database_
name str - kind str
- name str
- options str
- owner str
- owner_
role_ strtype - schema_
name str
- comment String
- created
On String - database
Name String - kind String
- name String
- options String
- owner String
- owner
Role StringType - schema
Name String
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
snowflakeTerraform Provider.
published on Friday, Nov 6, 2026 by Pulumi