Documentation ¶
Index ¶
- type Association
- type AssociationArgs
- type AssociationState
- type LicenseConfiguration
- func (r *LicenseConfiguration) Description() *pulumi.StringOutput
- func (r *LicenseConfiguration) ID() *pulumi.IDOutput
- func (r *LicenseConfiguration) LicenseCount() *pulumi.IntOutput
- func (r *LicenseConfiguration) LicenseCountHardLimit() *pulumi.BoolOutput
- func (r *LicenseConfiguration) LicenseCountingType() *pulumi.StringOutput
- func (r *LicenseConfiguration) LicenseRules() *pulumi.ArrayOutput
- func (r *LicenseConfiguration) Name() *pulumi.StringOutput
- func (r *LicenseConfiguration) Tags() *pulumi.MapOutput
- func (r *LicenseConfiguration) URN() *pulumi.URNOutput
- type LicenseConfigurationArgs
- type LicenseConfigurationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Association ¶
type Association struct {
// contains filtered or unexported fields
}
Provides a License Manager association.
> **Note:** License configurations can also be associated with launch templates by specifying the `license_specifications` block for an `aws_launch_template`.
func GetAssociation ¶
func GetAssociation(ctx *pulumi.Context, name string, id pulumi.ID, state *AssociationState, opts ...pulumi.ResourceOpt) (*Association, error)
GetAssociation gets an existing Association resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAssociation ¶
func NewAssociation(ctx *pulumi.Context, name string, args *AssociationArgs, opts ...pulumi.ResourceOpt) (*Association, error)
NewAssociation registers a new resource with the given unique name, arguments, and options.
func (*Association) ID ¶
func (r *Association) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*Association) LicenseConfigurationArn ¶
func (r *Association) LicenseConfigurationArn() *pulumi.StringOutput
ARN of the license configuration.
func (*Association) ResourceArn ¶
func (r *Association) ResourceArn() *pulumi.StringOutput
ARN of the resource associated with the license configuration.
func (*Association) URN ¶
func (r *Association) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type AssociationArgs ¶
type AssociationArgs struct { // ARN of the license configuration. LicenseConfigurationArn interface{} // ARN of the resource associated with the license configuration. ResourceArn interface{} }
The set of arguments for constructing a Association resource.
type AssociationState ¶
type AssociationState struct { // ARN of the license configuration. LicenseConfigurationArn interface{} // ARN of the resource associated with the license configuration. ResourceArn interface{} }
Input properties used for looking up and filtering Association resources.
type LicenseConfiguration ¶
type LicenseConfiguration struct {
// contains filtered or unexported fields
}
Provides a License Manager license configuration resource.
> **Note:** Removing the `license_count` attribute is not supported by the License Manager API - use `terraform taint aws_licensemanager_license_configuration.<id>` to recreate the resource instead.
## Rules
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`
func GetLicenseConfiguration ¶
func GetLicenseConfiguration(ctx *pulumi.Context, name string, id pulumi.ID, state *LicenseConfigurationState, opts ...pulumi.ResourceOpt) (*LicenseConfiguration, error)
GetLicenseConfiguration gets an existing LicenseConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLicenseConfiguration ¶
func NewLicenseConfiguration(ctx *pulumi.Context, name string, args *LicenseConfigurationArgs, opts ...pulumi.ResourceOpt) (*LicenseConfiguration, error)
NewLicenseConfiguration registers a new resource with the given unique name, arguments, and options.
func (*LicenseConfiguration) Description ¶
func (r *LicenseConfiguration) Description() *pulumi.StringOutput
Description of the license configuration.
func (*LicenseConfiguration) ID ¶
func (r *LicenseConfiguration) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*LicenseConfiguration) LicenseCount ¶
func (r *LicenseConfiguration) LicenseCount() *pulumi.IntOutput
Number of licenses managed by the license configuration.
func (*LicenseConfiguration) LicenseCountHardLimit ¶
func (r *LicenseConfiguration) LicenseCountHardLimit() *pulumi.BoolOutput
Sets the number of available licenses as a hard limit.
func (*LicenseConfiguration) LicenseCountingType ¶
func (r *LicenseConfiguration) LicenseCountingType() *pulumi.StringOutput
Dimension to use to track license inventory. Specify either `vCPU`, `Instance`, `Core` or `Socket`.
func (*LicenseConfiguration) LicenseRules ¶
func (r *LicenseConfiguration) LicenseRules() *pulumi.ArrayOutput
Array of configured License Manager rules.
func (*LicenseConfiguration) Name ¶
func (r *LicenseConfiguration) Name() *pulumi.StringOutput
Name of the license configuration.
func (*LicenseConfiguration) Tags ¶
func (r *LicenseConfiguration) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*LicenseConfiguration) URN ¶
func (r *LicenseConfiguration) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type LicenseConfigurationArgs ¶
type LicenseConfigurationArgs struct { // Description of the license configuration. Description interface{} // Number of licenses managed by the license configuration. LicenseCount interface{} // Sets the number of available licenses as a hard limit. LicenseCountHardLimit interface{} // Dimension to use to track license inventory. Specify either `vCPU`, `Instance`, `Core` or `Socket`. LicenseCountingType interface{} // Array of configured License Manager rules. LicenseRules interface{} // Name of the license configuration. Name interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a LicenseConfiguration resource.
type LicenseConfigurationState ¶
type LicenseConfigurationState struct { // Description of the license configuration. Description interface{} // Number of licenses managed by the license configuration. LicenseCount interface{} // Sets the number of available licenses as a hard limit. LicenseCountHardLimit interface{} // Dimension to use to track license inventory. Specify either `vCPU`, `Instance`, `Core` or `Socket`. LicenseCountingType interface{} // Array of configured License Manager rules. LicenseRules interface{} // Name of the license configuration. Name interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering LicenseConfiguration resources.