ArchiveRule constructor
ArchiveRule(
- String name, {
- ArchiveRuleArgs? args,
- CustomResourceOptions? options,
Creates a new ArchiveRule.
name The Pulumi resource name.
args Arguments used to configure this ArchiveRule. The set of arguments for ArchiveRule.
options Resource options controlling this resource's behavior.
Implementation
ArchiveRule(
String name, {
ArchiveRuleArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:accessanalyzer/archiveRule:ArchiveRule',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
analyzerName = registerOutput<String>('analyzerName');
filters = registerOutput<List<ArchiveRuleFilter>>('filters', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<ArchiveRuleFilter>(guardedValue, (value) => ArchiveRuleFilter.fromMap((value as Map).cast<String, dynamic>())); });
region = registerOutput<String>('region');
ruleName = registerOutput<String>('ruleName');
}