1. Packages
  2. Snowflake Provider
  3. API Docs
  4. getSystemGetAwsSnsIamPolicy
Snowflake v1.1.4 published on Wednesday, Mar 26, 2025 by Pulumi

snowflake.getSystemGetAwsSnsIamPolicy

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as snowflake from "@pulumi/snowflake";

const snowflakePolicy = snowflake.getSystemGetAwsSnsIamPolicy({
    awsSnsTopicArn: "<aws_sns_topic_arn>",
});
Copy
import pulumi
import pulumi_snowflake as snowflake

snowflake_policy = snowflake.get_system_get_aws_sns_iam_policy(aws_sns_topic_arn="<aws_sns_topic_arn>")
Copy
package main

import (
	"github.com/pulumi/pulumi-snowflake/sdk/go/snowflake"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := snowflake.GetSystemGetAwsSnsIamPolicy(ctx, &snowflake.GetSystemGetAwsSnsIamPolicyArgs{
			AwsSnsTopicArn: "<aws_sns_topic_arn>",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Snowflake = Pulumi.Snowflake;

return await Deployment.RunAsync(() => 
{
    var snowflakePolicy = Snowflake.GetSystemGetAwsSnsIamPolicy.Invoke(new()
    {
        AwsSnsTopicArn = "<aws_sns_topic_arn>",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.snowflake.SnowflakeFunctions;
import com.pulumi.snowflake.inputs.GetSystemGetAwsSnsIamPolicyArgs;
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) {
        final var snowflakePolicy = SnowflakeFunctions.getSystemGetAwsSnsIamPolicy(GetSystemGetAwsSnsIamPolicyArgs.builder()
            .awsSnsTopicArn("<aws_sns_topic_arn>")
            .build());

    }
}
Copy
variables:
  snowflakePolicy:
    fn::invoke:
      function: snowflake:getSystemGetAwsSnsIamPolicy
      arguments:
        awsSnsTopicArn: <aws_sns_topic_arn>
Copy

Using getSystemGetAwsSnsIamPolicy

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 getSystemGetAwsSnsIamPolicy(args: GetSystemGetAwsSnsIamPolicyArgs, opts?: InvokeOptions): Promise<GetSystemGetAwsSnsIamPolicyResult>
function getSystemGetAwsSnsIamPolicyOutput(args: GetSystemGetAwsSnsIamPolicyOutputArgs, opts?: InvokeOptions): Output<GetSystemGetAwsSnsIamPolicyResult>
Copy
def get_system_get_aws_sns_iam_policy(aws_sns_topic_arn: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetSystemGetAwsSnsIamPolicyResult
def get_system_get_aws_sns_iam_policy_output(aws_sns_topic_arn: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetSystemGetAwsSnsIamPolicyResult]
Copy
func GetSystemGetAwsSnsIamPolicy(ctx *Context, args *GetSystemGetAwsSnsIamPolicyArgs, opts ...InvokeOption) (*GetSystemGetAwsSnsIamPolicyResult, error)
func GetSystemGetAwsSnsIamPolicyOutput(ctx *Context, args *GetSystemGetAwsSnsIamPolicyOutputArgs, opts ...InvokeOption) GetSystemGetAwsSnsIamPolicyResultOutput
Copy

> Note: This function is named GetSystemGetAwsSnsIamPolicy in the Go SDK.

public static class GetSystemGetAwsSnsIamPolicy 
{
    public static Task<GetSystemGetAwsSnsIamPolicyResult> InvokeAsync(GetSystemGetAwsSnsIamPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetSystemGetAwsSnsIamPolicyResult> Invoke(GetSystemGetAwsSnsIamPolicyInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSystemGetAwsSnsIamPolicyResult> getSystemGetAwsSnsIamPolicy(GetSystemGetAwsSnsIamPolicyArgs args, InvokeOptions options)
public static Output<GetSystemGetAwsSnsIamPolicyResult> getSystemGetAwsSnsIamPolicy(GetSystemGetAwsSnsIamPolicyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: snowflake:index/getSystemGetAwsSnsIamPolicy:getSystemGetAwsSnsIamPolicy
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AwsSnsTopicArn This property is required. string
Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
AwsSnsTopicArn This property is required. string
Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
awsSnsTopicArn This property is required. String
Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
awsSnsTopicArn This property is required. string
Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
aws_sns_topic_arn This property is required. str
Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
awsSnsTopicArn This property is required. String
Amazon Resource Name (ARN) of the SNS topic for your S3 bucket

getSystemGetAwsSnsIamPolicy Result

The following output properties are available:

AwsSnsTopicArn string
Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
AwsSnsTopicPolicyJson string
IAM policy for Snowflake’s SQS queue to subscribe to this topic
Id string
The provider-assigned unique ID for this managed resource.
AwsSnsTopicArn string
Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
AwsSnsTopicPolicyJson string
IAM policy for Snowflake’s SQS queue to subscribe to this topic
Id string
The provider-assigned unique ID for this managed resource.
awsSnsTopicArn String
Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
awsSnsTopicPolicyJson String
IAM policy for Snowflake’s SQS queue to subscribe to this topic
id String
The provider-assigned unique ID for this managed resource.
awsSnsTopicArn string
Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
awsSnsTopicPolicyJson string
IAM policy for Snowflake’s SQS queue to subscribe to this topic
id string
The provider-assigned unique ID for this managed resource.
aws_sns_topic_arn str
Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
aws_sns_topic_policy_json str
IAM policy for Snowflake’s SQS queue to subscribe to this topic
id str
The provider-assigned unique ID for this managed resource.
awsSnsTopicArn String
Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
awsSnsTopicPolicyJson String
IAM policy for Snowflake’s SQS queue to subscribe to this topic
id String
The provider-assigned unique ID for this managed resource.

Package Details

Repository
Snowflake pulumi/pulumi-snowflake
License
Apache-2.0
Notes
This Pulumi package is based on the snowflake Terraform Provider.