OSPolicyResource constructor

const OSPolicyResource({
  1. Input<OSPolicyResourceExecResource>? exec,
  2. Input<OSPolicyResourceFileResource>? file,
  3. required Input<String> id,
  4. Input<OSPolicyResourcePackageResource>? pkg,
  5. Input<OSPolicyResourceRepositoryResource>? repository,
})

Creates a new OSPolicyResource. exec Exec resource file File resource id The id of the resource with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the OS policy. pkg Package resource repository Package repository resource

Implementation

const OSPolicyResource({
  this.exec,
  this.file,
  required this.id,
  this.pkg,
  this.repository,
});