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
published on Monday, Nov 2, 2026 by Pulumi
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
published on Monday, Nov 2, 2026 by Pulumi
Resource Type definition for AWS::NetworkSecurityManager::Template. Creates and manages a Network Security Manager template.
Using getTemplate
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTemplate(args: GetTemplateArgs, opts?: InvokeOptions): Promise<GetTemplateResult>
function getTemplateOutput(args: GetTemplateOutputArgs, opts?: InvokeOutputOptions): Output<GetTemplateResult>def get_template(template_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTemplateResult
def get_template_output(template_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetTemplateResult]func LookupTemplate(ctx *Context, args *LookupTemplateArgs, opts ...InvokeOption) (*LookupTemplateResult, error)
func LookupTemplateOutput(ctx *Context, args *LookupTemplateOutputArgs, opts ...InvokeOption) LookupTemplateResultOutput> Note: This function is named LookupTemplate in the Go SDK.
public static class GetTemplate
{
public static Task<GetTemplateResult> InvokeAsync(GetTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetTemplateResult> Invoke(GetTemplateInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetTemplateResult> Invoke(GetTemplateInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetTemplateResult> getTemplate(GetTemplateArgs args, InvokeOptions options)
public static Output<GetTemplateResult> getTemplate(GetTemplateArgs args, InvokeOptions options)
public static Output<GetTemplateResult> getTemplate(GetTemplateArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:networksecuritymanager:getTemplate
arguments:
# arguments dictionarydata "aws-native_networksecuritymanager_get_template" "name" {
# arguments
}The following arguments are supported:
- Template
Arn string - The ARN of the template.
- Template
Arn string - The ARN of the template.
- template_
arn string - The ARN of the template.
- template
Arn String - The ARN of the template.
- template
Arn string - The ARN of the template.
- template_
arn str - The ARN of the template.
- template
Arn String - The ARN of the template.
getTemplate Result
The following output properties are available:
- Associated
Rule List<Pulumi.List Aws Native. Network Security Manager. Outputs. Template Associated Rule> - List of rules associated with this template.
- Status
Pulumi.
Aws Native. Network Security Manager. Template Status - The status of the template.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags associated with the template.
- Template
Arn string - The ARN of the template.
- Template
Description string - A description 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.
- Associated
Rule []TemplateList Associated Rule - List of rules associated with this template.
- Status
Template
Status - The status of the template.
- Tag
- The tags associated with the template.
- Template
Arn string - The ARN of the template.
- Template
Description string - A description 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.
- associated_
rule_ list(object)list - List of rules associated with this template.
- status "DRAFT" | "ACTIVE" | "DISABLED"
- The status of the template.
- list(object)
- The tags associated with the template.
- template_
arn string - The ARN of the template.
- template_
description string - A description 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.
- associated
Rule List<TemplateList Associated Rule> - List of rules associated with this template.
- status
Template
Status - The status of the template.
- List<Tag>
- The tags associated with the template.
- template
Arn String - The ARN of the template.
- template
Description String - A description 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.
- associated
Rule TemplateList Associated Rule[] - List of rules associated with this template.
- status
Template
Status - The status of the template.
- Tag[]
- The tags associated with the template.
- template
Arn string - The ARN of the template.
- template
Description string - A description 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.
- associated_
rule_ Sequence[Templatelist Associated Rule] - List of rules associated with this template.
- status
Template
Status - The status of the template.
- Sequence[root_Tag]
- The tags associated with the template.
- template_
arn str - The ARN of the template.
- template_
description str - A description 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.
- associated
Rule List<Property Map>List - List of rules associated with this template.
- status "DRAFT" | "ACTIVE" | "DISABLED"
- The status of the template.
- List<Property Map>
- The tags associated with the template.
- template
Arn String - The ARN of the template.
- template
Description String - A description 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
TemplateAssociatedRule
- 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.
TemplateStatus
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
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
published on Monday, Nov 2, 2026 by Pulumi