PackageState constructor

const PackageState({
  1. Input<String?>? availablePackageVersion,
  2. Input<String?>? engineVersion,
  3. Input<String?>? packageDescription,
  4. Input<String?>? packageId,
  5. Input<String?>? packageName,
  6. Input<PackagePackageSource?>? packageSource,
  7. Input<String?>? packageType,
  8. Input<String?>? region,
})

Creates a new PackageState. availablePackageVersion The current version of the package. engineVersion Engine version that the package is compatible with. This argument is required and only valid when packageType is ZIP-PLUGIN. Format: OpenSearch_X.Y or Elasticsearch_X.Y, where X and Y are the major and minor version numbers, respectively. packageDescription Description of the package. packageId Optional. packageName Unique name for the package. packageSource Configuration block for the package source options. packageType The type of package. Valid values are TXT-DICTIONARY, ZIP-PLUGIN, PACKAGE-LICENSE and PACKAGE-CONFIG. region Region where this resource will be managed. Defaults to the Region set in the provider configuration.

Implementation

const PackageState({
  this.availablePackageVersion,
  this.engineVersion,
  this.packageDescription,
  this.packageId,
  this.packageName,
  this.packageSource,
  this.packageType,
  this.region,
});