Type constructor

Type(
  1. String name, {
  2. TypeArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

Type(
  String name, {
  TypeArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:appsync/type:Type',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  apiId = registerOutput<String>('apiId');
  arn = registerOutput<String>('arn');
  definition = registerOutput<String>('definition');
  description = registerOutput<String>('description');
  format = registerOutput<String>('format');
  this.name = registerOutput<String>('name');
  region = registerOutput<String>('region');
}