1. Packages
  2. AWS Native
  3. API Docs
  4. sns
  5. TopicInlinePolicy

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

aws-native.sns.TopicInlinePolicy

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

    Schema for AWS::SNS::TopicInlinePolicy

    Create TopicInlinePolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TopicInlinePolicy(name: string, args: TopicInlinePolicyArgs, opts?: CustomResourceOptions);
    @overload
    def TopicInlinePolicy(resource_name: str,
                          args: TopicInlinePolicyArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def TopicInlinePolicy(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          policy_document: Optional[Any] = None,
                          topic_arn: Optional[str] = None)
    func NewTopicInlinePolicy(ctx *Context, name string, args TopicInlinePolicyArgs, opts ...ResourceOption) (*TopicInlinePolicy, error)
    public TopicInlinePolicy(string name, TopicInlinePolicyArgs args, CustomResourceOptions? opts = null)
    public TopicInlinePolicy(String name, TopicInlinePolicyArgs args)
    public TopicInlinePolicy(String name, TopicInlinePolicyArgs args, CustomResourceOptions options)
    
    type: aws-native:sns:TopicInlinePolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args TopicInlinePolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TopicInlinePolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TopicInlinePolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TopicInlinePolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TopicInlinePolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const topicInlinePolicyResource = new aws_native.sns.TopicInlinePolicy("topicInlinePolicyResource", {
        policyDocument: "any",
        topicArn: "string",
    });
    
    Coming soon!
    

    TopicInlinePolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The TopicInlinePolicy resource accepts the following input properties:

    PolicyDocument object

    A policy document that contains permissions to add to the specified SNS topics.

    Search the CloudFormation User Guide for AWS::SNS::TopicInlinePolicy for more information about the expected schema for this property.

    TopicArn string
    The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
    PolicyDocument interface{}

    A policy document that contains permissions to add to the specified SNS topics.

    Search the CloudFormation User Guide for AWS::SNS::TopicInlinePolicy for more information about the expected schema for this property.

    TopicArn string
    The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
    policyDocument Object

    A policy document that contains permissions to add to the specified SNS topics.

    Search the CloudFormation User Guide for AWS::SNS::TopicInlinePolicy for more information about the expected schema for this property.

    topicArn String
    The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
    policyDocument any

    A policy document that contains permissions to add to the specified SNS topics.

    Search the CloudFormation User Guide for AWS::SNS::TopicInlinePolicy for more information about the expected schema for this property.

    topicArn string
    The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
    policy_document Any

    A policy document that contains permissions to add to the specified SNS topics.

    Search the CloudFormation User Guide for AWS::SNS::TopicInlinePolicy for more information about the expected schema for this property.

    topic_arn str
    The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
    policyDocument Any

    A policy document that contains permissions to add to the specified SNS topics.

    Search the CloudFormation User Guide for AWS::SNS::TopicInlinePolicy for more information about the expected schema for this property.

    topicArn String
    The Amazon Resource Name (ARN) of the topic to which you want to add the policy.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TopicInlinePolicy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi