licensemanager

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-aws repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-aws repo.

class pulumi_aws.licensemanager.Association(resource_name, opts=None, license_configuration_arn=None, resource_arn=None, __props__=None, __name__=None, __opts__=None)

Provides a License Manager association.

Note: License configurations can also be associated with launch templates by specifying the license_specifications block for an ec2.LaunchTemplate.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • license_configuration_arn (pulumi.Input[str]) – ARN of the license configuration.

  • resource_arn (pulumi.Input[str]) – ARN of the resource associated with the license configuration.

license_configuration_arn = None

ARN of the license configuration.

resource_arn = None

ARN of the resource associated with the license configuration.

static get(resource_name, id, opts=None, license_configuration_arn=None, resource_arn=None)

Get an existing Association resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • license_configuration_arn (pulumi.Input[str]) – ARN of the license configuration.

  • resource_arn (pulumi.Input[str]) – ARN of the resource associated with the license configuration.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_aws.licensemanager.LicenseConfiguration(resource_name, opts=None, description=None, license_count=None, license_count_hard_limit=None, license_counting_type=None, license_rules=None, name=None, tags=None, __props__=None, __name__=None, __opts__=None)

Provides a License Manager license configuration resource.

Note: Removing the license_count attribute is not supported by the License Manager API - recreate the resource instead.

License rules should be in the format of #RuleType=RuleValue. Supported rule types:

  • minimumVcpus - Resource must have minimum vCPU count in order to use the license. Default: 1

  • maximumVcpus - Resource must have maximum vCPU count in order to use the license. Default: unbounded, limit: 10000

  • minimumCores - Resource must have minimum core count in order to use the license. Default: 1

  • maximumCores - Resource must have maximum core count in order to use the license. Default: unbounded, limit: 10000

  • minimumSockets - Resource must have minimum socket count in order to use the license. Default: 1

  • maximumSockets - Resource must have maximum socket count in order to use the license. Default: unbounded, limit: 10000

  • allowedTenancy - Defines where the license can be used. If set, restricts license usage to selected tenancies. Specify a comma delimited list of EC2-Default, EC2-DedicatedHost, EC2-DedicatedInstance

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • description (pulumi.Input[str]) – Description of the license configuration.

  • license_count (pulumi.Input[float]) – Number of licenses managed by the license configuration.

  • license_count_hard_limit (pulumi.Input[bool]) – Sets the number of available licenses as a hard limit.

  • license_counting_type (pulumi.Input[str]) – Dimension to use to track license inventory. Specify either vCPU, Instance, Core or Socket.

  • license_rules (pulumi.Input[list]) – Array of configured License Manager rules.

  • name (pulumi.Input[str]) – Name of the license configuration.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

description = None

Description of the license configuration.

license_count = None

Number of licenses managed by the license configuration.

license_count_hard_limit = None

Sets the number of available licenses as a hard limit.

license_counting_type = None

Dimension to use to track license inventory. Specify either vCPU, Instance, Core or Socket.

license_rules = None

Array of configured License Manager rules.

name = None

Name of the license configuration.

tags = None

A mapping of tags to assign to the resource.

static get(resource_name, id, opts=None, description=None, license_count=None, license_count_hard_limit=None, license_counting_type=None, license_rules=None, name=None, tags=None)

Get an existing LicenseConfiguration resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • description (pulumi.Input[str]) – Description of the license configuration.

  • license_count (pulumi.Input[float]) – Number of licenses managed by the license configuration.

  • license_count_hard_limit (pulumi.Input[bool]) – Sets the number of available licenses as a hard limit.

  • license_counting_type (pulumi.Input[str]) – Dimension to use to track license inventory. Specify either vCPU, Instance, Core or Socket.

  • license_rules (pulumi.Input[list]) – Array of configured License Manager rules.

  • name (pulumi.Input[str]) – Name of the license configuration.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str