AggregateAuthorization constructor

AggregateAuthorization(
  1. String name, {
  2. AggregateAuthorizationArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new AggregateAuthorization. name The Pulumi resource name. args Arguments used to configure this AggregateAuthorization. The set of arguments for AggregateAuthorization. options Resource options controlling this resource's behavior.

Implementation

AggregateAuthorization(
  String name, {
  AggregateAuthorizationArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:cfg/aggregateAuthorization:AggregateAuthorization',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  accountId = registerOutput<String>('accountId');
  arn = registerOutput<String>('arn');
  authorizedAwsRegion = registerOutput<String?>('authorizedAwsRegion');
  region = registerOutput<String?>('region');
  tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
}