OSPolicyResource constructor
const
OSPolicyResource({
- Input<
OSPolicyResourceExecResource> ? exec, - Input<
OSPolicyResourceFileResource> ? file, - required Input<
String> id, - Input<
OSPolicyResourcePackageResource> ? pkg, - 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,
});