Source constructor

Source(
  1. String name, {
  2. SourceArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

Source(
  String name, {
  SourceArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:securitycenter/source:Source',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
      ) {
  description = registerOutput<String?>('description');
  displayName = registerOutput<String>('displayName');
  this.name = registerOutput<String>('name');
  organization = registerOutput<String>('organization');
}