We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi
Creates an archive rule for the specified analyzer. Archive rules automatically archive new findings that meet the criteria you define when you create the rule.
Using getArchiveRule
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 getArchiveRule(args: GetArchiveRuleArgs, opts?: InvokeOptions): Promise<GetArchiveRuleResult>
function getArchiveRuleOutput(args: GetArchiveRuleOutputArgs, opts?: InvokeOutputOptions): Output<GetArchiveRuleResult>def get_archive_rule(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetArchiveRuleResult
def get_archive_rule_output(arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetArchiveRuleResult]func LookupArchiveRule(ctx *Context, args *LookupArchiveRuleArgs, opts ...InvokeOption) (*LookupArchiveRuleResult, error)
func LookupArchiveRuleOutput(ctx *Context, args *LookupArchiveRuleOutputArgs, opts ...InvokeOption) LookupArchiveRuleResultOutput> Note: This function is named LookupArchiveRule in the Go SDK.
public static class GetArchiveRule
{
public static Task<GetArchiveRuleResult> InvokeAsync(GetArchiveRuleArgs args, InvokeOptions? opts = null)
public static Output<GetArchiveRuleResult> Invoke(GetArchiveRuleInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetArchiveRuleResult> Invoke(GetArchiveRuleInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetArchiveRuleResult> getArchiveRule(GetArchiveRuleArgs args, InvokeOptions options)
public static Output<GetArchiveRuleResult> getArchiveRule(GetArchiveRuleArgs args, InvokeOptions options)
public static Output<GetArchiveRuleResult> getArchiveRule(GetArchiveRuleArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:accessanalyzer:getArchiveRule
arguments:
# arguments dictionarydata "aws-native_accessanalyzer_get_archive_rule" "name" {
# arguments
}The following arguments are supported:
- Arn string
- The ARN of the archive rule.
- Arn string
- The ARN of the archive rule.
- arn string
- The ARN of the archive rule.
- arn String
- The ARN of the archive rule.
- arn string
- The ARN of the archive rule.
- arn str
- The ARN of the archive rule.
- arn String
- The ARN of the archive rule.
getArchiveRule Result
The following output properties are available:
- Arn string
- The ARN of the archive rule.
- Created
At string - The time at which the archive rule was created.
- Filter
Dictionary<string, Pulumi.
Aws Native. Access Analyzer. Outputs. Filter Value Properties> - The criteria for the archive rule. A map of filter criteria property names to their criterion values.
- Updated
At string - The time at which the archive rule was last updated.
- Arn string
- The ARN of the archive rule.
- Created
At string - The time at which the archive rule was created.
- Filter
map[string]Filter
Value Properties - The criteria for the archive rule. A map of filter criteria property names to their criterion values.
- Updated
At string - The time at which the archive rule was last updated.
- arn string
- The ARN of the archive rule.
- created_
at string - The time at which the archive rule was created.
- filter map(object)
- The criteria for the archive rule. A map of filter criteria property names to their criterion values.
- updated_
at string - The time at which the archive rule was last updated.
- arn String
- The ARN of the archive rule.
- created
At String - The time at which the archive rule was created.
- filter
Map<String,Filter
Value Properties> - The criteria for the archive rule. A map of filter criteria property names to their criterion values.
- updated
At String - The time at which the archive rule was last updated.
- arn string
- The ARN of the archive rule.
- created
At string - The time at which the archive rule was created.
- filter
{[key: string]: Filter
Value Properties} - The criteria for the archive rule. A map of filter criteria property names to their criterion values.
- updated
At string - The time at which the archive rule was last updated.
- arn str
- The ARN of the archive rule.
- created_
at str - The time at which the archive rule was created.
- filter
Mapping[str, Filter
Value Properties] - The criteria for the archive rule. A map of filter criteria property names to their criterion values.
- updated_
at str - The time at which the archive rule was last updated.
Supporting Types
FilterValueProperties
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, Sep 14, 2026 by Pulumi