KeyGroup constructor

KeyGroup(
  1. String name, {
  2. KeyGroupArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

KeyGroup(
  String name, {
  KeyGroupArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:cloudfront/keyGroup:KeyGroup',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  comment = registerOutput<String?>('comment');
  etag = registerOutput<String>('etag');
  items = registerOutput<List<String>>('items', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
  this.name = registerOutput<String>('name');
}