Snowflake v1.3.0 published on Wednesday, Apr 23, 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>",
});
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>")
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
})
}
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>",
});
});
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());
}
}
variables:
snowflakePolicy:
fn::invoke:
function: snowflake:getSystemGetAwsSnsIamPolicy
arguments:
awsSnsTopicArn: <aws_sns_topic_arn>
Note If a field has a default value, it is shown next to the type in the schema.
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>
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]
func GetSystemGetAwsSnsIamPolicy(ctx *Context, args *GetSystemGetAwsSnsIamPolicyArgs, opts ...InvokeOption) (*GetSystemGetAwsSnsIamPolicyResult, error)
func GetSystemGetAwsSnsIamPolicyOutput(ctx *Context, args *GetSystemGetAwsSnsIamPolicyOutputArgs, opts ...InvokeOption) GetSystemGetAwsSnsIamPolicyResultOutput
> 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)
}
public static CompletableFuture<GetSystemGetAwsSnsIamPolicyResult> getSystemGetAwsSnsIamPolicy(GetSystemGetAwsSnsIamPolicyArgs args, InvokeOptions options)
public static Output<GetSystemGetAwsSnsIamPolicyResult> getSystemGetAwsSnsIamPolicy(GetSystemGetAwsSnsIamPolicyArgs args, InvokeOptions options)
fn::invoke:
function: snowflake:index/getSystemGetAwsSnsIamPolicy:getSystemGetAwsSnsIamPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Aws
Sns stringTopic Arn - Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
- Aws
Sns stringTopic Arn - Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
- aws
Sns StringTopic Arn - Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
- aws
Sns stringTopic Arn - Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
- aws_
sns_ strtopic_ arn - Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
- aws
Sns StringTopic Arn - Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
getSystemGetAwsSnsIamPolicy Result
The following output properties are available:
- Aws
Sns stringTopic Arn - Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
- Aws
Sns stringTopic Policy Json - 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 stringTopic Arn - Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
- Aws
Sns stringTopic Policy Json - 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 StringTopic Arn - Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
- aws
Sns StringTopic Policy Json - 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 stringTopic Arn - Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
- aws
Sns stringTopic Policy Json - 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_ strtopic_ arn - Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
- aws_
sns_ strtopic_ policy_ json - IAM policy for Snowflake’s SQS queue to subscribe to this topic
- id str
- The provider-assigned unique ID for this managed resource.
- aws
Sns StringTopic Arn - Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
- aws
Sns StringTopic Policy Json - 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.