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
@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)
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.
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:
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
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
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.
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.
- ruleArn
String
- ARN of the associated rule.
TemplateFirewallType, TemplateFirewallTypeArgs
| Name | Value |
|---|
| Waf | WAF |
| NetworkFirewall | NETWORK_FIREWALL |
| NetworkFirewallV2 | NETWORK_FIREWALL_V2 |
| IgwFirewall | IGW_FIREWALL |
| Name | Value |
|---|
| TemplateFirewallTypeWaf | WAF |
| TemplateFirewallTypeNetworkFirewall | NETWORK_FIREWALL |
| TemplateFirewallTypeNetworkFirewallV2 | NETWORK_FIREWALL_V2 |
| TemplateFirewallTypeIgwFirewall | IGW_FIREWALL |
| Value |
|---|
WAF |
NETWORK_FIREWALL |
NETWORK_FIREWALL_V2 |
IGW_FIREWALL |
| Name | Value |
|---|
| Waf | WAF |
| NetworkFirewall | NETWORK_FIREWALL |
| NetworkFirewallV2 | NETWORK_FIREWALL_V2 |
| IgwFirewall | IGW_FIREWALL |
| Name | Value |
|---|
| Waf | WAF |
| NetworkFirewall | NETWORK_FIREWALL |
| NetworkFirewallV2 | NETWORK_FIREWALL_V2 |
| IgwFirewall | IGW_FIREWALL |
| Name | Value |
|---|
| WAF | WAF |
| NETWORK_FIREWALL | NETWORK_FIREWALL |
| NETWORK_FIREWALL_V2 | NETWORK_FIREWALL_V2 |
| IGW_FIREWALL | IGW_FIREWALL |
| Value |
|---|
WAF |
NETWORK_FIREWALL |
NETWORK_FIREWALL_V2 |
IGW_FIREWALL |
TemplateStatus, TemplateStatusArgs
| Name | Value |
|---|
| Draft | DRAFT |
| Active | ACTIVE |
| Disabled | DISABLED |
| Name | Value |
|---|
| TemplateStatusDraft | DRAFT |
| TemplateStatusActive | ACTIVE |
| TemplateStatusDisabled | DISABLED |
| Name | Value |
|---|
| Draft | DRAFT |
| Active | ACTIVE |
| Disabled | DISABLED |
| Name | Value |
|---|
| Draft | DRAFT |
| Active | ACTIVE |
| Disabled | DISABLED |
| Name | Value |
|---|
| DRAFT | DRAFT |
| ACTIVE | ACTIVE |
| DISABLED | DISABLED |
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0