1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. networksecuritymanager
  6. Template

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi

    Resource Type definition for AWS::NetworkSecurityManager::Template. Creates and manages a Network Security Manager template.

    Create Template Resource

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

    Constructor syntax

    new Template(name: string, args?: TemplateArgs, opts?: CustomResourceOptions);
    @overload
    def Template(resource_name: str,
                 args: Optional[TemplateArgs] = None,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Template(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 associated_rule_list: Optional[Sequence[TemplateAssociatedRuleArgs]] = None,
                 firewall_type: Optional[TemplateFirewallType] = None,
                 tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                 template_description: Optional[str] = None,
                 template_name: Optional[str] = None)
    func NewTemplate(ctx *Context, name string, args *TemplateArgs, opts ...ResourceOption) (*Template, error)
    public Template(string name, TemplateArgs? args = null, CustomResourceOptions? opts = null)
    public Template(String name, TemplateArgs args)
    public Template(String name, TemplateArgs args, CustomResourceOptions options)
    
    type: aws-native:networksecuritymanager:Template
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_networksecuritymanager_template" "name" {
        # resource properties
    }

    Parameters

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

    Template 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 Template resource accepts the following input properties:

    AssociatedRuleList List<Pulumi.AwsNative.NetworkSecurityManager.Inputs.TemplateAssociatedRule>
    List of rules associated with this template.
    FirewallType Pulumi.AwsNative.NetworkSecurityManager.TemplateFirewallType
    The type of firewall.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The tags associated with the template.
    TemplateDescription string
    A description of the template.
    TemplateName string
    The name of the template.
    AssociatedRuleList []TemplateAssociatedRuleArgs
    List of rules associated with this template.
    FirewallType TemplateFirewallType
    The type of firewall.
    Tags TagArgs
    The tags associated with the template.
    TemplateDescription string
    A description of the template.
    TemplateName string
    The name of the template.
    associated_rule_list list(object)
    List of rules associated with this template.
    firewall_type "WAF" | "NETWORK_FIREWALL" | "NETWORK_FIREWALL_V2" | "IGW_FIREWALL"
    The type of firewall.
    tags list(object)
    The tags associated with the template.
    template_description string
    A description of the template.
    template_name string
    The name of the template.
    associatedRuleList List<TemplateAssociatedRule>
    List of rules associated with this template.
    firewallType TemplateFirewallType
    The type of firewall.
    tags List<Tag>
    The tags associated with the template.
    templateDescription String
    A description of the template.
    templateName String
    The name of the template.
    associatedRuleList TemplateAssociatedRule[]
    List of rules associated with this template.
    firewallType TemplateFirewallType
    The type of firewall.
    tags Tag[]
    The tags associated with the template.
    templateDescription string
    A description of the template.
    templateName string
    The name of the template.
    associated_rule_list Sequence[TemplateAssociatedRuleArgs]
    List of rules associated with this template.
    firewall_type TemplateFirewallType
    The type of firewall.
    tags Sequence[TagArgs]
    The tags associated with the template.
    template_description str
    A description of the template.
    template_name str
    The name of the template.
    associatedRuleList List<Property Map>
    List of rules associated with this template.
    firewallType "WAF" | "NETWORK_FIREWALL" | "NETWORK_FIREWALL_V2" | "IGW_FIREWALL"
    The type of firewall.
    tags List<Property Map>
    The tags associated with the template.
    templateDescription String
    A description of the template.
    templateName String
    The name of the template.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Status Pulumi.AwsNative.NetworkSecurityManager.TemplateStatus
    The status of the template.
    TemplateArn string
    The ARN of the template.
    TemplateId string
    The unique identifier of the template.
    UpdatedAt string
    An ISO 8601 timestamp indicating when the template was last modified.
    Version string
    The version number.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status TemplateStatus
    The status of the template.
    TemplateArn string
    The ARN of the template.
    TemplateId string
    The unique identifier of the template.
    UpdatedAt string
    An ISO 8601 timestamp indicating when the template was last modified.
    Version string
    The version number.
    id string
    The provider-assigned unique ID for this managed resource.
    status "DRAFT" | "ACTIVE" | "DISABLED"
    The status of the template.
    template_arn string
    The ARN of the template.
    template_id string
    The unique identifier of the template.
    updated_at string
    An ISO 8601 timestamp indicating when the template was last modified.
    version string
    The version number.
    id String
    The provider-assigned unique ID for this managed resource.
    status TemplateStatus
    The status of the template.
    templateArn String
    The ARN of the template.
    templateId String
    The unique identifier of the template.
    updatedAt String
    An ISO 8601 timestamp indicating when the template was last modified.
    version String
    The version number.
    id string
    The provider-assigned unique ID for this managed resource.
    status TemplateStatus
    The status of the template.
    templateArn string
    The ARN of the template.
    templateId string
    The unique identifier of the template.
    updatedAt string
    An ISO 8601 timestamp indicating when the template was last modified.
    version string
    The version number.
    id str
    The provider-assigned unique ID for this managed resource.
    status TemplateStatus
    The status of the template.
    template_arn str
    The ARN of the template.
    template_id str
    The unique identifier of the template.
    updated_at str
    An ISO 8601 timestamp indicating when the template was last modified.
    version str
    The version number.
    id String
    The provider-assigned unique ID for this managed resource.
    status "DRAFT" | "ACTIVE" | "DISABLED"
    The status of the template.
    templateArn String
    The ARN of the template.
    templateId String
    The unique identifier of the template.
    updatedAt String
    An ISO 8601 timestamp indicating when the template was last modified.
    version String
    The version number.

    Supporting Types

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    TemplateAssociatedRule, TemplateAssociatedRuleArgs

    An association between a template and a rule.
    RuleArn string
    ARN of the associated rule.
    RuleArn string
    ARN of the associated rule.
    rule_arn string
    ARN of the associated rule.
    ruleArn String
    ARN of the associated rule.
    ruleArn string
    ARN of the associated rule.
    rule_arn str
    ARN of the associated rule.
    ruleArn String
    ARN of the associated rule.

    TemplateFirewallType, TemplateFirewallTypeArgs

    Waf
    WAF
    NetworkFirewall
    NETWORK_FIREWALL
    NetworkFirewallV2
    NETWORK_FIREWALL_V2
    IgwFirewall
    IGW_FIREWALL
    TemplateFirewallTypeWaf
    WAF
    TemplateFirewallTypeNetworkFirewall
    NETWORK_FIREWALL
    TemplateFirewallTypeNetworkFirewallV2
    NETWORK_FIREWALL_V2
    TemplateFirewallTypeIgwFirewall
    IGW_FIREWALL
    "WAF"
    WAF
    "NETWORK_FIREWALL"
    NETWORK_FIREWALL
    "NETWORK_FIREWALL_V2"
    NETWORK_FIREWALL_V2
    "IGW_FIREWALL"
    IGW_FIREWALL
    Waf
    WAF
    NetworkFirewall
    NETWORK_FIREWALL
    NetworkFirewallV2
    NETWORK_FIREWALL_V2
    IgwFirewall
    IGW_FIREWALL
    Waf
    WAF
    NetworkFirewall
    NETWORK_FIREWALL
    NetworkFirewallV2
    NETWORK_FIREWALL_V2
    IgwFirewall
    IGW_FIREWALL
    WAF
    WAF
    NETWORK_FIREWALL
    NETWORK_FIREWALL
    NETWORK_FIREWALL_V2
    NETWORK_FIREWALL_V2
    IGW_FIREWALL
    IGW_FIREWALL
    "WAF"
    WAF
    "NETWORK_FIREWALL"
    NETWORK_FIREWALL
    "NETWORK_FIREWALL_V2"
    NETWORK_FIREWALL_V2
    "IGW_FIREWALL"
    IGW_FIREWALL

    TemplateStatus, TemplateStatusArgs

    Draft
    DRAFT
    Active
    ACTIVE
    Disabled
    DISABLED
    TemplateStatusDraft
    DRAFT
    TemplateStatusActive
    ACTIVE
    TemplateStatusDisabled
    DISABLED
    "DRAFT"
    DRAFT
    "ACTIVE"
    ACTIVE
    "DISABLED"
    DISABLED
    Draft
    DRAFT
    Active
    ACTIVE
    Disabled
    DISABLED
    Draft
    DRAFT
    Active
    ACTIVE
    Disabled
    DISABLED
    DRAFT
    DRAFT
    ACTIVE
    ACTIVE
    DISABLED
    DISABLED
    "DRAFT"
    DRAFT
    "ACTIVE"
    ACTIVE
    "DISABLED"
    DISABLED

    Package Details

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

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.85.0
    published on Monday, Nov 2, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial