1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. networksecuritymanager
  6. Deployment
Viewing docs for AWS v7.55.0
published on Friday, Nov 13, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.55.0
published on Friday, Nov 13, 2026 by Pulumi

    Manages an AWS Network Security Manager Deployment. A deployment applies one or more policies to the accounts and resources selected by a scope.

    Changes to a deployment are published unless isPublished is false.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.networksecuritymanager.Deployment("example", {
        configuration: {
            enableCrossAccountVisibility: false,
        },
        name: "example",
        policyArns: [exampleAwsNetworksecuritymanagerPolicy.arn],
        scopeArn: exampleAwsNetworksecuritymanagerScope.arn,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.networksecuritymanager.Deployment("example",
        configuration={
            "enable_cross_account_visibility": False,
        },
        name="example",
        policy_arns=[example_aws_networksecuritymanager_policy["arn"]],
        scope_arn=example_aws_networksecuritymanager_scope["arn"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/networksecuritymanager"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := networksecuritymanager.NewDeployment(ctx, "example", &networksecuritymanager.DeploymentArgs{
    			Configuration: &networksecuritymanager.DeploymentConfigurationArgs{
    				EnableCrossAccountVisibility: pulumi.Bool(false),
    			},
    			Name: pulumi.String("example"),
    			PolicyArns: pulumi.StringArray{
    				exampleAwsNetworksecuritymanagerPolicy.Arn,
    			},
    			ScopeArn: pulumi.Any(exampleAwsNetworksecuritymanagerScope.Arn),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.NetworkSecurityManager.Deployment("example", new()
        {
            Configuration = new Aws.NetworkSecurityManager.Inputs.DeploymentConfigurationArgs
            {
                EnableCrossAccountVisibility = false,
            },
            Name = "example",
            PolicyArns = new[]
            {
                exampleAwsNetworksecuritymanagerPolicy.Arn,
            },
            ScopeArn = exampleAwsNetworksecuritymanagerScope.Arn,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.networksecuritymanager.Deployment;
    import com.pulumi.aws.networksecuritymanager.DeploymentArgs;
    import com.pulumi.aws.networksecuritymanager.inputs.DeploymentConfigurationArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            var example = new Deployment("example", DeploymentArgs.builder()
                .configuration(DeploymentConfigurationArgs.builder()
                    .enableCrossAccountVisibility(false)
                    .build())
                .name("example")
                .policyArns(exampleAwsNetworksecuritymanagerPolicy.get("arn"))
                .scopeArn(exampleAwsNetworksecuritymanagerScope.get("arn"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:networksecuritymanager:Deployment
        properties:
          configuration:
            enableCrossAccountVisibility: false
          name: example
          policyArns:
            - ${exampleAwsNetworksecuritymanagerPolicy.arn}
          scopeArn: ${exampleAwsNetworksecuritymanagerScope.arn}
    
    terraform {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_networksecuritymanager_deployment" "example" {
      lifecycle {
        create_before_destroy = true
      }
      configuration {
        enable_cross_account_visibility = false
      }
      name        = "example"
      policy_arns = [exampleAwsNetworksecuritymanagerPolicy.arn]
      scope_arn   = exampleAwsNetworksecuritymanagerScope.arn
    }
    

    Create Deployment Resource

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

    Constructor syntax

    new Deployment(name: string, args: DeploymentArgs, opts?: CustomResourceOptions);
    @overload
    def Deployment(resource_name: str,
                   args: DeploymentArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Deployment(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   configuration: Optional[DeploymentConfigurationArgs] = None,
                   policy_arns: Optional[Sequence[str]] = None,
                   scope_arn: Optional[str] = None,
                   description: Optional[str] = None,
                   is_published: Optional[bool] = None,
                   name: Optional[str] = None,
                   region: Optional[str] = None,
                   tags: Optional[Mapping[str, str]] = None)
    func NewDeployment(ctx *Context, name string, args DeploymentArgs, opts ...ResourceOption) (*Deployment, error)
    public Deployment(string name, DeploymentArgs args, CustomResourceOptions? opts = null)
    public Deployment(String name, DeploymentArgs args)
    public Deployment(String name, DeploymentArgs args, CustomResourceOptions options)
    
    type: aws:networksecuritymanager:Deployment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_networksecuritymanager_deployment" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DeploymentArgs
    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 DeploymentArgs
    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 DeploymentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var exampledeploymentResourceResourceFromNetworksecuritymanagerdeployment = new Aws.NetworkSecurityManager.Deployment("exampledeploymentResourceResourceFromNetworksecuritymanagerdeployment", new()
    {
        Configuration = new Aws.NetworkSecurityManager.Inputs.DeploymentConfigurationArgs
        {
            EnableCrossAccountVisibility = false,
        },
        PolicyArns = new[]
        {
            "string",
        },
        ScopeArn = "string",
        Description = "string",
        IsPublished = false,
        Name = "string",
        Region = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := networksecuritymanager.NewDeployment(ctx, "exampledeploymentResourceResourceFromNetworksecuritymanagerdeployment", &networksecuritymanager.DeploymentArgs{
    	Configuration: &networksecuritymanager.DeploymentConfigurationArgs{
    		EnableCrossAccountVisibility: pulumi.Bool(false),
    	},
    	PolicyArns: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ScopeArn:    pulumi.String("string"),
    	Description: pulumi.String("string"),
    	IsPublished: pulumi.Bool(false),
    	Name:        pulumi.String("string"),
    	Region:      pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    resource "aws_networksecuritymanager_deployment" "exampledeploymentResourceResourceFromNetworksecuritymanagerdeployment" {
      lifecycle {
        create_before_destroy = true
      }
      configuration = {
        enable_cross_account_visibility = false
      }
      policy_arns  = ["string"]
      scope_arn    = "string"
      description  = "string"
      is_published = false
      name         = "string"
      region       = "string"
      tags = {
        "string" = "string"
      }
    }
    
    var exampledeploymentResourceResourceFromNetworksecuritymanagerdeployment = new com.pulumi.aws.networksecuritymanager.Deployment("exampledeploymentResourceResourceFromNetworksecuritymanagerdeployment", com.pulumi.aws.networksecuritymanager.DeploymentArgs.builder()
        .configuration(DeploymentConfigurationArgs.builder()
            .enableCrossAccountVisibility(false)
            .build())
        .policyArns("string")
        .scopeArn("string")
        .description("string")
        .isPublished(false)
        .name("string")
        .region("string")
        .tags(Map.of("string", "string"))
        .build());
    
    exampledeployment_resource_resource_from_networksecuritymanagerdeployment = aws.networksecuritymanager.Deployment("exampledeploymentResourceResourceFromNetworksecuritymanagerdeployment",
        configuration={
            "enable_cross_account_visibility": False,
        },
        policy_arns=["string"],
        scope_arn="string",
        description="string",
        is_published=False,
        name="string",
        region="string",
        tags={
            "string": "string",
        })
    
    const exampledeploymentResourceResourceFromNetworksecuritymanagerdeployment = new aws.networksecuritymanager.Deployment("exampledeploymentResourceResourceFromNetworksecuritymanagerdeployment", {
        configuration: {
            enableCrossAccountVisibility: false,
        },
        policyArns: ["string"],
        scopeArn: "string",
        description: "string",
        isPublished: false,
        name: "string",
        region: "string",
        tags: {
            string: "string",
        },
    });
    
    type: aws:networksecuritymanager:Deployment
    properties:
        configuration:
            enableCrossAccountVisibility: false
        description: string
        isPublished: false
        name: string
        policyArns:
            - string
        region: string
        scopeArn: string
        tags:
            string: string
    

    Deployment Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Deployment resource accepts the following input properties:

    Configuration DeploymentConfiguration
    Settings for the deployment. See configuration Block below.
    PolicyArns List<string>
    Set of ARNs of the policies to deploy. Specify 1 or 2 policies.
    ScopeArn string

    ARN of the scope that selects the accounts and resources the policies apply to.

    The following arguments are optional:

    Description string
    Description of the deployment.
    IsPublished bool
    Whether to publish the deployment. When true, the deployment is saved in the published (ACTIVE) state. When false, it is saved as a draft (DRAFT); for a published deployment, the draft is saved on top of the published version. Defaults to true.
    Name string
    Name of the deployment.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags Dictionary<string, string>

    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Note: A policy or scope used by a deployment cannot be deleted. Configure createBeforeDestroy on referenced policy and scope resources so that a replacement is associated with the deployment before the old resource is deleted.

    Configuration DeploymentConfigurationArgs
    Settings for the deployment. See configuration Block below.
    PolicyArns []string
    Set of ARNs of the policies to deploy. Specify 1 or 2 policies.
    ScopeArn string

    ARN of the scope that selects the accounts and resources the policies apply to.

    The following arguments are optional:

    Description string
    Description of the deployment.
    IsPublished bool
    Whether to publish the deployment. When true, the deployment is saved in the published (ACTIVE) state. When false, it is saved as a draft (DRAFT); for a published deployment, the draft is saved on top of the published version. Defaults to true.
    Name string
    Name of the deployment.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags map[string]string

    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Note: A policy or scope used by a deployment cannot be deleted. Configure createBeforeDestroy on referenced policy and scope resources so that a replacement is associated with the deployment before the old resource is deleted.

    configuration object
    Settings for the deployment. See configuration Block below.
    policy_arns list(string)
    Set of ARNs of the policies to deploy. Specify 1 or 2 policies.
    scope_arn string

    ARN of the scope that selects the accounts and resources the policies apply to.

    The following arguments are optional:

    description string
    Description of the deployment.
    is_published bool
    Whether to publish the deployment. When true, the deployment is saved in the published (ACTIVE) state. When false, it is saved as a draft (DRAFT); for a published deployment, the draft is saved on top of the published version. Defaults to true.
    name string
    Name of the deployment.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags map(string)

    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Note: A policy or scope used by a deployment cannot be deleted. Configure createBeforeDestroy on referenced policy and scope resources so that a replacement is associated with the deployment before the old resource is deleted.

    configuration DeploymentConfiguration
    Settings for the deployment. See configuration Block below.
    policyArns List<String>
    Set of ARNs of the policies to deploy. Specify 1 or 2 policies.
    scopeArn String

    ARN of the scope that selects the accounts and resources the policies apply to.

    The following arguments are optional:

    description String
    Description of the deployment.
    isPublished Boolean
    Whether to publish the deployment. When true, the deployment is saved in the published (ACTIVE) state. When false, it is saved as a draft (DRAFT); for a published deployment, the draft is saved on top of the published version. Defaults to true.
    name String
    Name of the deployment.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String,String>

    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Note: A policy or scope used by a deployment cannot be deleted. Configure createBeforeDestroy on referenced policy and scope resources so that a replacement is associated with the deployment before the old resource is deleted.

    configuration DeploymentConfiguration
    Settings for the deployment. See configuration Block below.
    policyArns string[]
    Set of ARNs of the policies to deploy. Specify 1 or 2 policies.
    scopeArn string

    ARN of the scope that selects the accounts and resources the policies apply to.

    The following arguments are optional:

    description string
    Description of the deployment.
    isPublished boolean
    Whether to publish the deployment. When true, the deployment is saved in the published (ACTIVE) state. When false, it is saved as a draft (DRAFT); for a published deployment, the draft is saved on top of the published version. Defaults to true.
    name string
    Name of the deployment.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags {[key: string]: string}

    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Note: A policy or scope used by a deployment cannot be deleted. Configure createBeforeDestroy on referenced policy and scope resources so that a replacement is associated with the deployment before the old resource is deleted.

    configuration DeploymentConfigurationArgs
    Settings for the deployment. See configuration Block below.
    policy_arns Sequence[str]
    Set of ARNs of the policies to deploy. Specify 1 or 2 policies.
    scope_arn str

    ARN of the scope that selects the accounts and resources the policies apply to.

    The following arguments are optional:

    description str
    Description of the deployment.
    is_published bool
    Whether to publish the deployment. When true, the deployment is saved in the published (ACTIVE) state. When false, it is saved as a draft (DRAFT); for a published deployment, the draft is saved on top of the published version. Defaults to true.
    name str
    Name of the deployment.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Mapping[str, str]

    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Note: A policy or scope used by a deployment cannot be deleted. Configure createBeforeDestroy on referenced policy and scope resources so that a replacement is associated with the deployment before the old resource is deleted.

    configuration Property Map
    Settings for the deployment. See configuration Block below.
    policyArns List<String>
    Set of ARNs of the policies to deploy. Specify 1 or 2 policies.
    scopeArn String

    ARN of the scope that selects the accounts and resources the policies apply to.

    The following arguments are optional:

    description String
    Description of the deployment.
    isPublished Boolean
    Whether to publish the deployment. When true, the deployment is saved in the published (ACTIVE) state. When false, it is saved as a draft (DRAFT); for a published deployment, the draft is saved on top of the published version. Defaults to true.
    name String
    Name of the deployment.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String>

    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Note: A policy or scope used by a deployment cannot be deleted. Configure createBeforeDestroy on referenced policy and scope resources so that a replacement is associated with the deployment before the old resource is deleted.

    Outputs

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

    Arn string
    ARN of the deployment.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    ARN of the deployment.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the deployment.
    id string
    The provider-assigned unique ID for this managed resource.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the deployment.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the deployment.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn str
    ARN of the deployment.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the deployment.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    Look up Existing Deployment Resource

    Get an existing Deployment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DeploymentState, opts?: CustomResourceOptions): Deployment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            configuration: Optional[DeploymentConfigurationArgs] = None,
            description: Optional[str] = None,
            is_published: Optional[bool] = None,
            name: Optional[str] = None,
            policy_arns: Optional[Sequence[str]] = None,
            region: Optional[str] = None,
            scope_arn: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None) -> Deployment
    func GetDeployment(ctx *Context, name string, id IDInput, state *DeploymentState, opts ...ResourceOption) (*Deployment, error)
    public static Deployment Get(string name, Input<string> id, DeploymentState? state, CustomResourceOptions? opts = null)
    public static Deployment get(String name, Output<String> id, DeploymentState state, CustomResourceOptions options)
    resources:  existingDeployment:    type: aws:networksecuritymanager:Deployment    get:      id: ${id}
    import {
      to = aws_networksecuritymanager_deployment.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state DeploymentState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state DeploymentState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state DeploymentState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state DeploymentState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    Arn string
    ARN of the deployment.
    Configuration DeploymentConfiguration
    Settings for the deployment. See configuration Block below.
    Description string
    Description of the deployment.
    IsPublished bool
    Whether to publish the deployment. When true, the deployment is saved in the published (ACTIVE) state. When false, it is saved as a draft (DRAFT); for a published deployment, the draft is saved on top of the published version. Defaults to true.
    Name string
    Name of the deployment.
    PolicyArns List<string>
    Set of ARNs of the policies to deploy. Specify 1 or 2 policies.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ScopeArn string

    ARN of the scope that selects the accounts and resources the policies apply to.

    The following arguments are optional:

    Tags Dictionary<string, string>

    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Note: A policy or scope used by a deployment cannot be deleted. Configure createBeforeDestroy on referenced policy and scope resources so that a replacement is associated with the deployment before the old resource is deleted.

    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    ARN of the deployment.
    Configuration DeploymentConfigurationArgs
    Settings for the deployment. See configuration Block below.
    Description string
    Description of the deployment.
    IsPublished bool
    Whether to publish the deployment. When true, the deployment is saved in the published (ACTIVE) state. When false, it is saved as a draft (DRAFT); for a published deployment, the draft is saved on top of the published version. Defaults to true.
    Name string
    Name of the deployment.
    PolicyArns []string
    Set of ARNs of the policies to deploy. Specify 1 or 2 policies.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ScopeArn string

    ARN of the scope that selects the accounts and resources the policies apply to.

    The following arguments are optional:

    Tags map[string]string

    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Note: A policy or scope used by a deployment cannot be deleted. Configure createBeforeDestroy on referenced policy and scope resources so that a replacement is associated with the deployment before the old resource is deleted.

    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the deployment.
    configuration object
    Settings for the deployment. See configuration Block below.
    description string
    Description of the deployment.
    is_published bool
    Whether to publish the deployment. When true, the deployment is saved in the published (ACTIVE) state. When false, it is saved as a draft (DRAFT); for a published deployment, the draft is saved on top of the published version. Defaults to true.
    name string
    Name of the deployment.
    policy_arns list(string)
    Set of ARNs of the policies to deploy. Specify 1 or 2 policies.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    scope_arn string

    ARN of the scope that selects the accounts and resources the policies apply to.

    The following arguments are optional:

    tags map(string)

    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Note: A policy or scope used by a deployment cannot be deleted. Configure createBeforeDestroy on referenced policy and scope resources so that a replacement is associated with the deployment before the old resource is deleted.

    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the deployment.
    configuration DeploymentConfiguration
    Settings for the deployment. See configuration Block below.
    description String
    Description of the deployment.
    isPublished Boolean
    Whether to publish the deployment. When true, the deployment is saved in the published (ACTIVE) state. When false, it is saved as a draft (DRAFT); for a published deployment, the draft is saved on top of the published version. Defaults to true.
    name String
    Name of the deployment.
    policyArns List<String>
    Set of ARNs of the policies to deploy. Specify 1 or 2 policies.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    scopeArn String

    ARN of the scope that selects the accounts and resources the policies apply to.

    The following arguments are optional:

    tags Map<String,String>

    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Note: A policy or scope used by a deployment cannot be deleted. Configure createBeforeDestroy on referenced policy and scope resources so that a replacement is associated with the deployment before the old resource is deleted.

    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the deployment.
    configuration DeploymentConfiguration
    Settings for the deployment. See configuration Block below.
    description string
    Description of the deployment.
    isPublished boolean
    Whether to publish the deployment. When true, the deployment is saved in the published (ACTIVE) state. When false, it is saved as a draft (DRAFT); for a published deployment, the draft is saved on top of the published version. Defaults to true.
    name string
    Name of the deployment.
    policyArns string[]
    Set of ARNs of the policies to deploy. Specify 1 or 2 policies.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    scopeArn string

    ARN of the scope that selects the accounts and resources the policies apply to.

    The following arguments are optional:

    tags {[key: string]: string}

    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Note: A policy or scope used by a deployment cannot be deleted. Configure createBeforeDestroy on referenced policy and scope resources so that a replacement is associated with the deployment before the old resource is deleted.

    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn str
    ARN of the deployment.
    configuration DeploymentConfigurationArgs
    Settings for the deployment. See configuration Block below.
    description str
    Description of the deployment.
    is_published bool
    Whether to publish the deployment. When true, the deployment is saved in the published (ACTIVE) state. When false, it is saved as a draft (DRAFT); for a published deployment, the draft is saved on top of the published version. Defaults to true.
    name str
    Name of the deployment.
    policy_arns Sequence[str]
    Set of ARNs of the policies to deploy. Specify 1 or 2 policies.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    scope_arn str

    ARN of the scope that selects the accounts and resources the policies apply to.

    The following arguments are optional:

    tags Mapping[str, str]

    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Note: A policy or scope used by a deployment cannot be deleted. Configure createBeforeDestroy on referenced policy and scope resources so that a replacement is associated with the deployment before the old resource is deleted.

    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the deployment.
    configuration Property Map
    Settings for the deployment. See configuration Block below.
    description String
    Description of the deployment.
    isPublished Boolean
    Whether to publish the deployment. When true, the deployment is saved in the published (ACTIVE) state. When false, it is saved as a draft (DRAFT); for a published deployment, the draft is saved on top of the published version. Defaults to true.
    name String
    Name of the deployment.
    policyArns List<String>
    Set of ARNs of the policies to deploy. Specify 1 or 2 policies.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    scopeArn String

    ARN of the scope that selects the accounts and resources the policies apply to.

    The following arguments are optional:

    tags Map<String>

    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Note: A policy or scope used by a deployment cannot be deleted. Configure createBeforeDestroy on referenced policy and scope resources so that a replacement is associated with the deployment before the old resource is deleted.

    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    Supporting Types

    DeploymentConfiguration, DeploymentConfigurationArgs

    EnableCrossAccountVisibility bool
    Whether to enable cross-account visibility for the deployment.
    EnableCrossAccountVisibility bool
    Whether to enable cross-account visibility for the deployment.
    enable_cross_account_visibility bool
    Whether to enable cross-account visibility for the deployment.
    enableCrossAccountVisibility Boolean
    Whether to enable cross-account visibility for the deployment.
    enableCrossAccountVisibility boolean
    Whether to enable cross-account visibility for the deployment.
    enable_cross_account_visibility bool
    Whether to enable cross-account visibility for the deployment.
    enableCrossAccountVisibility Boolean
    Whether to enable cross-account visibility for the deployment.

    Import

    Identity Schema

    Required

    • arn (String) ARN of the deployment.

    Using pulumi import, import Network Security Manager Deployment using the arn. For example:

    $ pulumi import aws:networksecuritymanager/deployment:Deployment example arn:aws:network-security-manager:us-east-1:123456789012:deployment:0123456789abcdef
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.55.0
    published on Friday, Nov 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial