We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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:
- Associated
Rule List<Pulumi.List Aws Native. Network Security Manager. Inputs. Template Associated Rule> - List of rules associated with this template.
- Firewall
Type Pulumi.Aws Native. Network Security Manager. Template Firewall Type - The type of firewall.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags associated with the template.
- Template
Description string - A description of the template.
- Template
Name string - The name of the template.
- Associated
Rule []TemplateList Associated Rule Args - List of rules associated with this template.
- Firewall
Type TemplateFirewall Type - The type of firewall.
-
Tag
Args - The tags associated with the template.
- Template
Description string - A description of the template.
- Template
Name string - The name of the template.
- associated_
rule_ list(object)list - List of rules associated with this template.
- firewall_
type "WAF" | "NETWORK_FIREWALL" | "NETWORK_FIREWALL_V2" | "IGW_FIREWALL" - The type of firewall.
- list(object)
- The tags associated with the template.
- template_
description string - A description of the template.
- template_
name string - The name of the template.
- associated
Rule List<TemplateList Associated Rule> - List of rules associated with this template.
- firewall
Type TemplateFirewall Type - The type of firewall.
- List<Tag>
- The tags associated with the template.
- template
Description String - A description of the template.
- template
Name String - The name of the template.
- associated
Rule TemplateList Associated Rule[] - List of rules associated with this template.
- firewall
Type TemplateFirewall Type - The type of firewall.
- Tag[]
- The tags associated with the template.
- template
Description string - A description of the template.
- template
Name string - The name of the template.
- associated_
rule_ Sequence[Templatelist Associated Rule Args] - List of rules associated with this template.
- firewall_
type TemplateFirewall Type - The type of firewall.
-
Sequence[Tag
Args] - The tags associated with the template.
- template_
description str - A description of the template.
- template_
name str - The name of the template.
- associated
Rule List<Property Map>List - List of rules associated with this template.
- firewall
Type "WAF" | "NETWORK_FIREWALL" | "NETWORK_FIREWALL_V2" | "IGW_FIREWALL" - The type of firewall.
- List<Property Map>
- The tags associated with the template.
- template
Description String - A description of the template.
- template
Name 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.
Aws Native. Network Security Manager. Template Status - 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
Template
Status - 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 "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
Template
Status - 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
Template
Status - 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 str
- The provider-assigned unique ID for this managed resource.
- status
Template
Status - 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.
- 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.
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.TemplateAssociatedRule, TemplateAssociatedRuleArgs
An association between a template and a rule.- Rule
Arn string - ARN of the associated rule.
- Rule
Arn string - ARN of the associated rule.
- rule_
arn string - ARN of the associated rule.
- rule
Arn String - ARN of the associated rule.
- rule
Arn string - ARN of the associated rule.
- rule_
arn str - ARN of the associated rule.
- rule
Arn String - ARN of the associated rule.
TemplateFirewallType, TemplateFirewallTypeArgs
- Waf
WAF- Network
Firewall NETWORK_FIREWALL- Network
Firewall V2 NETWORK_FIREWALL_V2- Igw
Firewall IGW_FIREWALL
- Template
Firewall Type Waf WAF- Template
Firewall Type Network Firewall NETWORK_FIREWALL- Template
Firewall Type Network Firewall V2 NETWORK_FIREWALL_V2- Template
Firewall Type Igw Firewall 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
- 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
- "WAF"
WAF- "NETWORK_FIREWALL"
NETWORK_FIREWALL- "NETWORK_FIREWALL_V2"
NETWORK_FIREWALL_V2- "IGW_FIREWALL"
IGW_FIREWALL
TemplateStatus, TemplateStatusArgs
- Draft
DRAFT- Active
ACTIVE- Disabled
DISABLED
- Template
Status Draft DRAFT- Template
Status Active ACTIVE- Template
Status 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
- "DRAFT"
DRAFT- "ACTIVE"
ACTIVE- "DISABLED"
DISABLED
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi