licensemanager

package
v5.43.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Association

type Association struct {
	pulumi.CustomResourceState

	// ARN of the license configuration.
	LicenseConfigurationArn pulumi.StringOutput `pulumi:"licenseConfigurationArn"`
	// ARN of the resource associated with the license configuration.
	ResourceArn pulumi.StringOutput `pulumi:"resourceArn"`
}

Provides a License Manager association.

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/licensemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleAmi, err := ec2.LookupAmi(ctx, &ec2.LookupAmiArgs{
			MostRecent: pulumi.BoolRef(true),
			Owners: []string{
				"amazon",
			},
			Filters: []ec2.GetAmiFilter{
				{
					Name: "name",
					Values: []string{
						"amzn-ami-vpc-nat*",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		exampleInstance, err := ec2.NewInstance(ctx, "exampleInstance", &ec2.InstanceArgs{
			Ami:          *pulumi.String(exampleAmi.Id),
			InstanceType: pulumi.String("t2.micro"),
		})
		if err != nil {
			return err
		}
		exampleLicenseConfiguration, err := licensemanager.NewLicenseConfiguration(ctx, "exampleLicenseConfiguration", &licensemanager.LicenseConfigurationArgs{
			LicenseCountingType: pulumi.String("Instance"),
		})
		if err != nil {
			return err
		}
		_, err = licensemanager.NewAssociation(ctx, "exampleAssociation", &licensemanager.AssociationArgs{
			LicenseConfigurationArn: exampleLicenseConfiguration.Arn,
			ResourceArn:             exampleInstance.Arn,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

License configurations can be imported in the form `resource_arn,license_configuration_arn`, e.g.,

```sh

$ pulumi import aws:licensemanager/association:Association example arn:aws:ec2:eu-west-1:123456789012:image/ami-123456789abcdef01,arn:aws:license-manager:eu-west-1:123456789012:license-configuration:lic-0123456789abcdef0123456789abcdef

```

func GetAssociation

func GetAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AssociationState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Association, error)

NewAssociation registers a new resource with the given unique name, arguments, and options.

func (*Association) ElementType

func (*Association) ElementType() reflect.Type

func (*Association) ToAssociationOutput

func (i *Association) ToAssociationOutput() AssociationOutput

func (*Association) ToAssociationOutputWithContext

func (i *Association) ToAssociationOutputWithContext(ctx context.Context) AssociationOutput

type AssociationArgs

type AssociationArgs struct {
	// ARN of the license configuration.
	LicenseConfigurationArn pulumi.StringInput
	// ARN of the resource associated with the license configuration.
	ResourceArn pulumi.StringInput
}

The set of arguments for constructing a Association resource.

func (AssociationArgs) ElementType

func (AssociationArgs) ElementType() reflect.Type

type AssociationArray

type AssociationArray []AssociationInput

func (AssociationArray) ElementType

func (AssociationArray) ElementType() reflect.Type

func (AssociationArray) ToAssociationArrayOutput

func (i AssociationArray) ToAssociationArrayOutput() AssociationArrayOutput

func (AssociationArray) ToAssociationArrayOutputWithContext

func (i AssociationArray) ToAssociationArrayOutputWithContext(ctx context.Context) AssociationArrayOutput

type AssociationArrayInput

type AssociationArrayInput interface {
	pulumi.Input

	ToAssociationArrayOutput() AssociationArrayOutput
	ToAssociationArrayOutputWithContext(context.Context) AssociationArrayOutput
}

AssociationArrayInput is an input type that accepts AssociationArray and AssociationArrayOutput values. You can construct a concrete instance of `AssociationArrayInput` via:

AssociationArray{ AssociationArgs{...} }

type AssociationArrayOutput

type AssociationArrayOutput struct{ *pulumi.OutputState }

func (AssociationArrayOutput) ElementType

func (AssociationArrayOutput) ElementType() reflect.Type

func (AssociationArrayOutput) Index

func (AssociationArrayOutput) ToAssociationArrayOutput

func (o AssociationArrayOutput) ToAssociationArrayOutput() AssociationArrayOutput

func (AssociationArrayOutput) ToAssociationArrayOutputWithContext

func (o AssociationArrayOutput) ToAssociationArrayOutputWithContext(ctx context.Context) AssociationArrayOutput

type AssociationInput

type AssociationInput interface {
	pulumi.Input

	ToAssociationOutput() AssociationOutput
	ToAssociationOutputWithContext(ctx context.Context) AssociationOutput
}

type AssociationMap

type AssociationMap map[string]AssociationInput

func (AssociationMap) ElementType

func (AssociationMap) ElementType() reflect.Type

func (AssociationMap) ToAssociationMapOutput

func (i AssociationMap) ToAssociationMapOutput() AssociationMapOutput

func (AssociationMap) ToAssociationMapOutputWithContext

func (i AssociationMap) ToAssociationMapOutputWithContext(ctx context.Context) AssociationMapOutput

type AssociationMapInput

type AssociationMapInput interface {
	pulumi.Input

	ToAssociationMapOutput() AssociationMapOutput
	ToAssociationMapOutputWithContext(context.Context) AssociationMapOutput
}

AssociationMapInput is an input type that accepts AssociationMap and AssociationMapOutput values. You can construct a concrete instance of `AssociationMapInput` via:

AssociationMap{ "key": AssociationArgs{...} }

type AssociationMapOutput

type AssociationMapOutput struct{ *pulumi.OutputState }

func (AssociationMapOutput) ElementType

func (AssociationMapOutput) ElementType() reflect.Type

func (AssociationMapOutput) MapIndex

func (AssociationMapOutput) ToAssociationMapOutput

func (o AssociationMapOutput) ToAssociationMapOutput() AssociationMapOutput

func (AssociationMapOutput) ToAssociationMapOutputWithContext

func (o AssociationMapOutput) ToAssociationMapOutputWithContext(ctx context.Context) AssociationMapOutput

type AssociationOutput

type AssociationOutput struct{ *pulumi.OutputState }

func (AssociationOutput) ElementType

func (AssociationOutput) ElementType() reflect.Type

func (AssociationOutput) LicenseConfigurationArn added in v5.4.0

func (o AssociationOutput) LicenseConfigurationArn() pulumi.StringOutput

ARN of the license configuration.

func (AssociationOutput) ResourceArn added in v5.4.0

func (o AssociationOutput) ResourceArn() pulumi.StringOutput

ARN of the resource associated with the license configuration.

func (AssociationOutput) ToAssociationOutput

func (o AssociationOutput) ToAssociationOutput() AssociationOutput

func (AssociationOutput) ToAssociationOutputWithContext

func (o AssociationOutput) ToAssociationOutputWithContext(ctx context.Context) AssociationOutput

type AssociationState

type AssociationState struct {
	// ARN of the license configuration.
	LicenseConfigurationArn pulumi.StringPtrInput
	// ARN of the resource associated with the license configuration.
	ResourceArn pulumi.StringPtrInput
}

func (AssociationState) ElementType

func (AssociationState) ElementType() reflect.Type

type GetLicenseGrantsArgs added in v5.32.0

type GetLicenseGrantsArgs struct {
	// Custom filter block as described below.
	//
	// More complex filters can be expressed using one or more `filter` sub-blocks,
	// which take the following arguments:
	Filters []GetLicenseGrantsFilter `pulumi:"filters"`
}

A collection of arguments for invoking getLicenseGrants.

type GetLicenseGrantsFilter added in v5.32.0

type GetLicenseGrantsFilter struct {
	// Name of the field to filter by, as defined by
	// [the underlying AWS API](https://docs.aws.amazon.com/license-manager/latest/APIReference/API_ListReceivedGrants.html#API_ListReceivedGrants_RequestSyntax).
	// For example, if filtering using `ProductSKU`, use:
	//
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/licensemanager"
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		_, err := licensemanager.GetLicenseGrants(ctx, &licensemanager.GetLicenseGrantsArgs{
	// 			Filters: []licensemanager.GetLicenseGrantsFilter{
	// 				{
	// 					Name: "ProductSKU",
	// 					Values: []string{
	// 						"",
	// 					},
	// 				},
	// 			},
	// 		}, nil)
	// 		if err != nil {
	// 			return err
	// 		}
	// 		return nil
	// 	})
	// }
	// “`
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	Values []string `pulumi:"values"`
}

type GetLicenseGrantsFilterArgs added in v5.32.0

type GetLicenseGrantsFilterArgs struct {
	// Name of the field to filter by, as defined by
	// [the underlying AWS API](https://docs.aws.amazon.com/license-manager/latest/APIReference/API_ListReceivedGrants.html#API_ListReceivedGrants_RequestSyntax).
	// For example, if filtering using `ProductSKU`, use:
	//
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/licensemanager"
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		_, err := licensemanager.GetLicenseGrants(ctx, &licensemanager.GetLicenseGrantsArgs{
	// 			Filters: []licensemanager.GetLicenseGrantsFilter{
	// 				{
	// 					Name: "ProductSKU",
	// 					Values: []string{
	// 						"",
	// 					},
	// 				},
	// 			},
	// 		}, nil)
	// 		if err != nil {
	// 			return err
	// 		}
	// 		return nil
	// 	})
	// }
	// “`
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetLicenseGrantsFilterArgs) ElementType added in v5.32.0

func (GetLicenseGrantsFilterArgs) ElementType() reflect.Type

func (GetLicenseGrantsFilterArgs) ToGetLicenseGrantsFilterOutput added in v5.32.0

func (i GetLicenseGrantsFilterArgs) ToGetLicenseGrantsFilterOutput() GetLicenseGrantsFilterOutput

func (GetLicenseGrantsFilterArgs) ToGetLicenseGrantsFilterOutputWithContext added in v5.32.0

func (i GetLicenseGrantsFilterArgs) ToGetLicenseGrantsFilterOutputWithContext(ctx context.Context) GetLicenseGrantsFilterOutput

type GetLicenseGrantsFilterArray added in v5.32.0

type GetLicenseGrantsFilterArray []GetLicenseGrantsFilterInput

func (GetLicenseGrantsFilterArray) ElementType added in v5.32.0

func (GetLicenseGrantsFilterArray) ToGetLicenseGrantsFilterArrayOutput added in v5.32.0

func (i GetLicenseGrantsFilterArray) ToGetLicenseGrantsFilterArrayOutput() GetLicenseGrantsFilterArrayOutput

func (GetLicenseGrantsFilterArray) ToGetLicenseGrantsFilterArrayOutputWithContext added in v5.32.0

func (i GetLicenseGrantsFilterArray) ToGetLicenseGrantsFilterArrayOutputWithContext(ctx context.Context) GetLicenseGrantsFilterArrayOutput

type GetLicenseGrantsFilterArrayInput added in v5.32.0

type GetLicenseGrantsFilterArrayInput interface {
	pulumi.Input

	ToGetLicenseGrantsFilterArrayOutput() GetLicenseGrantsFilterArrayOutput
	ToGetLicenseGrantsFilterArrayOutputWithContext(context.Context) GetLicenseGrantsFilterArrayOutput
}

GetLicenseGrantsFilterArrayInput is an input type that accepts GetLicenseGrantsFilterArray and GetLicenseGrantsFilterArrayOutput values. You can construct a concrete instance of `GetLicenseGrantsFilterArrayInput` via:

GetLicenseGrantsFilterArray{ GetLicenseGrantsFilterArgs{...} }

type GetLicenseGrantsFilterArrayOutput added in v5.32.0

type GetLicenseGrantsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetLicenseGrantsFilterArrayOutput) ElementType added in v5.32.0

func (GetLicenseGrantsFilterArrayOutput) Index added in v5.32.0

func (GetLicenseGrantsFilterArrayOutput) ToGetLicenseGrantsFilterArrayOutput added in v5.32.0

func (o GetLicenseGrantsFilterArrayOutput) ToGetLicenseGrantsFilterArrayOutput() GetLicenseGrantsFilterArrayOutput

func (GetLicenseGrantsFilterArrayOutput) ToGetLicenseGrantsFilterArrayOutputWithContext added in v5.32.0

func (o GetLicenseGrantsFilterArrayOutput) ToGetLicenseGrantsFilterArrayOutputWithContext(ctx context.Context) GetLicenseGrantsFilterArrayOutput

type GetLicenseGrantsFilterInput added in v5.32.0

type GetLicenseGrantsFilterInput interface {
	pulumi.Input

	ToGetLicenseGrantsFilterOutput() GetLicenseGrantsFilterOutput
	ToGetLicenseGrantsFilterOutputWithContext(context.Context) GetLicenseGrantsFilterOutput
}

GetLicenseGrantsFilterInput is an input type that accepts GetLicenseGrantsFilterArgs and GetLicenseGrantsFilterOutput values. You can construct a concrete instance of `GetLicenseGrantsFilterInput` via:

GetLicenseGrantsFilterArgs{...}

type GetLicenseGrantsFilterOutput added in v5.32.0

type GetLicenseGrantsFilterOutput struct{ *pulumi.OutputState }

func (GetLicenseGrantsFilterOutput) ElementType added in v5.32.0

func (GetLicenseGrantsFilterOutput) Name added in v5.32.0

Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/license-manager/latest/APIReference/API_ListReceivedGrants.html#API_ListReceivedGrants_RequestSyntax). For example, if filtering using `ProductSKU`, use:

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/licensemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := licensemanager.GetLicenseGrants(ctx, &licensemanager.GetLicenseGrantsArgs{
			Filters: []licensemanager.GetLicenseGrantsFilter{
				{
					Name: "ProductSKU",
					Values: []string{
						"",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

func (GetLicenseGrantsFilterOutput) ToGetLicenseGrantsFilterOutput added in v5.32.0

func (o GetLicenseGrantsFilterOutput) ToGetLicenseGrantsFilterOutput() GetLicenseGrantsFilterOutput

func (GetLicenseGrantsFilterOutput) ToGetLicenseGrantsFilterOutputWithContext added in v5.32.0

func (o GetLicenseGrantsFilterOutput) ToGetLicenseGrantsFilterOutputWithContext(ctx context.Context) GetLicenseGrantsFilterOutput

func (GetLicenseGrantsFilterOutput) Values added in v5.32.0

Set of values that are accepted for the given field.

type GetLicenseGrantsOutputArgs added in v5.32.0

type GetLicenseGrantsOutputArgs struct {
	// Custom filter block as described below.
	//
	// More complex filters can be expressed using one or more `filter` sub-blocks,
	// which take the following arguments:
	Filters GetLicenseGrantsFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getLicenseGrants.

func (GetLicenseGrantsOutputArgs) ElementType added in v5.32.0

func (GetLicenseGrantsOutputArgs) ElementType() reflect.Type

type GetLicenseGrantsResult added in v5.32.0

type GetLicenseGrantsResult struct {
	// List of all the license grant ARNs found.
	Arns    []string                 `pulumi:"arns"`
	Filters []GetLicenseGrantsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
}

A collection of values returned by getLicenseGrants.

func GetLicenseGrants added in v5.32.0

func GetLicenseGrants(ctx *pulumi.Context, args *GetLicenseGrantsArgs, opts ...pulumi.InvokeOption) (*GetLicenseGrantsResult, error)

This resource can be used to get a set of license grant ARNs matching a filter.

## Example Usage

The following shows getting all license grant ARNs granted to your account.

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/licensemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := aws.GetCallerIdentity(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = licensemanager.GetLicenseGrants(ctx, &licensemanager.GetLicenseGrantsArgs{
			Filters: []licensemanager.GetLicenseGrantsFilter{
				{
					Name: "GranteePrincipalARN",
					Values: []string{
						fmt.Sprintf("arn:aws:iam::%v:root", current.AccountId),
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetLicenseGrantsResultOutput added in v5.32.0

type GetLicenseGrantsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLicenseGrants.

func GetLicenseGrantsOutput added in v5.32.0

func (GetLicenseGrantsResultOutput) Arns added in v5.32.0

List of all the license grant ARNs found.

func (GetLicenseGrantsResultOutput) ElementType added in v5.32.0

func (GetLicenseGrantsResultOutput) Filters added in v5.32.0

func (GetLicenseGrantsResultOutput) Id added in v5.32.0

The provider-assigned unique ID for this managed resource.

func (GetLicenseGrantsResultOutput) ToGetLicenseGrantsResultOutput added in v5.32.0

func (o GetLicenseGrantsResultOutput) ToGetLicenseGrantsResultOutput() GetLicenseGrantsResultOutput

func (GetLicenseGrantsResultOutput) ToGetLicenseGrantsResultOutputWithContext added in v5.32.0

func (o GetLicenseGrantsResultOutput) ToGetLicenseGrantsResultOutputWithContext(ctx context.Context) GetLicenseGrantsResultOutput

type GetReceivedLicenseArgs added in v5.32.0

type GetReceivedLicenseArgs struct {
	// The ARN of the received license you want data for.
	LicenseArn string `pulumi:"licenseArn"`
}

A collection of arguments for invoking getReceivedLicense.

type GetReceivedLicenseConsumptionConfiguration added in v5.32.0

type GetReceivedLicenseConsumptionConfiguration struct {
	// Details about a borrow configuration. Detailed below
	BorrowConfigurations []GetReceivedLicenseConsumptionConfigurationBorrowConfiguration `pulumi:"borrowConfigurations"`
	// Details about a provisional configuration. Detailed below
	ProvisionalConfigurations []GetReceivedLicenseConsumptionConfigurationProvisionalConfiguration `pulumi:"provisionalConfigurations"`
	RenewType                 string                                                               `pulumi:"renewType"`
}

type GetReceivedLicenseConsumptionConfigurationArgs added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationArgs struct {
	// Details about a borrow configuration. Detailed below
	BorrowConfigurations GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayInput `pulumi:"borrowConfigurations"`
	// Details about a provisional configuration. Detailed below
	ProvisionalConfigurations GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayInput `pulumi:"provisionalConfigurations"`
	RenewType                 pulumi.StringInput                                                           `pulumi:"renewType"`
}

func (GetReceivedLicenseConsumptionConfigurationArgs) ElementType added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationArgs) ToGetReceivedLicenseConsumptionConfigurationOutput added in v5.32.0

func (i GetReceivedLicenseConsumptionConfigurationArgs) ToGetReceivedLicenseConsumptionConfigurationOutput() GetReceivedLicenseConsumptionConfigurationOutput

func (GetReceivedLicenseConsumptionConfigurationArgs) ToGetReceivedLicenseConsumptionConfigurationOutputWithContext added in v5.32.0

func (i GetReceivedLicenseConsumptionConfigurationArgs) ToGetReceivedLicenseConsumptionConfigurationOutputWithContext(ctx context.Context) GetReceivedLicenseConsumptionConfigurationOutput

type GetReceivedLicenseConsumptionConfigurationArray added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationArray []GetReceivedLicenseConsumptionConfigurationInput

func (GetReceivedLicenseConsumptionConfigurationArray) ElementType added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationArray) ToGetReceivedLicenseConsumptionConfigurationArrayOutput added in v5.32.0

func (i GetReceivedLicenseConsumptionConfigurationArray) ToGetReceivedLicenseConsumptionConfigurationArrayOutput() GetReceivedLicenseConsumptionConfigurationArrayOutput

func (GetReceivedLicenseConsumptionConfigurationArray) ToGetReceivedLicenseConsumptionConfigurationArrayOutputWithContext added in v5.32.0

func (i GetReceivedLicenseConsumptionConfigurationArray) ToGetReceivedLicenseConsumptionConfigurationArrayOutputWithContext(ctx context.Context) GetReceivedLicenseConsumptionConfigurationArrayOutput

type GetReceivedLicenseConsumptionConfigurationArrayInput added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationArrayInput interface {
	pulumi.Input

	ToGetReceivedLicenseConsumptionConfigurationArrayOutput() GetReceivedLicenseConsumptionConfigurationArrayOutput
	ToGetReceivedLicenseConsumptionConfigurationArrayOutputWithContext(context.Context) GetReceivedLicenseConsumptionConfigurationArrayOutput
}

GetReceivedLicenseConsumptionConfigurationArrayInput is an input type that accepts GetReceivedLicenseConsumptionConfigurationArray and GetReceivedLicenseConsumptionConfigurationArrayOutput values. You can construct a concrete instance of `GetReceivedLicenseConsumptionConfigurationArrayInput` via:

GetReceivedLicenseConsumptionConfigurationArray{ GetReceivedLicenseConsumptionConfigurationArgs{...} }

type GetReceivedLicenseConsumptionConfigurationArrayOutput added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetReceivedLicenseConsumptionConfigurationArrayOutput) ElementType added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationArrayOutput) Index added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationArrayOutput) ToGetReceivedLicenseConsumptionConfigurationArrayOutput added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationArrayOutput) ToGetReceivedLicenseConsumptionConfigurationArrayOutputWithContext added in v5.32.0

func (o GetReceivedLicenseConsumptionConfigurationArrayOutput) ToGetReceivedLicenseConsumptionConfigurationArrayOutputWithContext(ctx context.Context) GetReceivedLicenseConsumptionConfigurationArrayOutput

type GetReceivedLicenseConsumptionConfigurationBorrowConfiguration added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationBorrowConfiguration struct {
	// Indicates whether early check-ins are allowed.
	AllowEarlyCheckIn bool `pulumi:"allowEarlyCheckIn"`
	// Maximum time for the provisional configuration, in minutes.
	MaxTimeToLiveInMinutes int `pulumi:"maxTimeToLiveInMinutes"`
}

type GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArgs added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArgs struct {
	// Indicates whether early check-ins are allowed.
	AllowEarlyCheckIn pulumi.BoolInput `pulumi:"allowEarlyCheckIn"`
	// Maximum time for the provisional configuration, in minutes.
	MaxTimeToLiveInMinutes pulumi.IntInput `pulumi:"maxTimeToLiveInMinutes"`
}

func (GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArgs) ElementType added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArgs) ToGetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutput added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArgs) ToGetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutputWithContext added in v5.32.0

func (i GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArgs) ToGetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutputWithContext(ctx context.Context) GetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutput

type GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArray added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArray []GetReceivedLicenseConsumptionConfigurationBorrowConfigurationInput

func (GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArray) ElementType added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArray) ToGetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayOutput added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArray) ToGetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayOutputWithContext added in v5.32.0

func (i GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArray) ToGetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayOutputWithContext(ctx context.Context) GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayOutput

type GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayInput added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayInput interface {
	pulumi.Input

	ToGetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayOutput() GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayOutput
	ToGetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayOutputWithContext(context.Context) GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayOutput
}

GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayInput is an input type that accepts GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArray and GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayOutput values. You can construct a concrete instance of `GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayInput` via:

GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArray{ GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArgs{...} }

type GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayOutput added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayOutput) ElementType added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayOutput) Index added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayOutput) ToGetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayOutput added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayOutput) ToGetReceivedLicenseConsumptionConfigurationBorrowConfigurationArrayOutputWithContext added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationBorrowConfigurationInput added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationBorrowConfigurationInput interface {
	pulumi.Input

	ToGetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutput() GetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutput
	ToGetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutputWithContext(context.Context) GetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutput
}

GetReceivedLicenseConsumptionConfigurationBorrowConfigurationInput is an input type that accepts GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArgs and GetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutput values. You can construct a concrete instance of `GetReceivedLicenseConsumptionConfigurationBorrowConfigurationInput` via:

GetReceivedLicenseConsumptionConfigurationBorrowConfigurationArgs{...}

type GetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutput added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutput struct{ *pulumi.OutputState }

func (GetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutput) AllowEarlyCheckIn added in v5.32.0

Indicates whether early check-ins are allowed.

func (GetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutput) ElementType added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutput) MaxTimeToLiveInMinutes added in v5.32.0

Maximum time for the provisional configuration, in minutes.

func (GetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutput) ToGetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutput added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutput) ToGetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutputWithContext added in v5.32.0

func (o GetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutput) ToGetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutputWithContext(ctx context.Context) GetReceivedLicenseConsumptionConfigurationBorrowConfigurationOutput

type GetReceivedLicenseConsumptionConfigurationInput added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationInput interface {
	pulumi.Input

	ToGetReceivedLicenseConsumptionConfigurationOutput() GetReceivedLicenseConsumptionConfigurationOutput
	ToGetReceivedLicenseConsumptionConfigurationOutputWithContext(context.Context) GetReceivedLicenseConsumptionConfigurationOutput
}

GetReceivedLicenseConsumptionConfigurationInput is an input type that accepts GetReceivedLicenseConsumptionConfigurationArgs and GetReceivedLicenseConsumptionConfigurationOutput values. You can construct a concrete instance of `GetReceivedLicenseConsumptionConfigurationInput` via:

GetReceivedLicenseConsumptionConfigurationArgs{...}

type GetReceivedLicenseConsumptionConfigurationOutput added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationOutput struct{ *pulumi.OutputState }

func (GetReceivedLicenseConsumptionConfigurationOutput) BorrowConfigurations added in v5.32.0

Details about a borrow configuration. Detailed below

func (GetReceivedLicenseConsumptionConfigurationOutput) ElementType added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationOutput) ProvisionalConfigurations added in v5.32.0

Details about a provisional configuration. Detailed below

func (GetReceivedLicenseConsumptionConfigurationOutput) RenewType added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationOutput) ToGetReceivedLicenseConsumptionConfigurationOutput added in v5.32.0

func (o GetReceivedLicenseConsumptionConfigurationOutput) ToGetReceivedLicenseConsumptionConfigurationOutput() GetReceivedLicenseConsumptionConfigurationOutput

func (GetReceivedLicenseConsumptionConfigurationOutput) ToGetReceivedLicenseConsumptionConfigurationOutputWithContext added in v5.32.0

func (o GetReceivedLicenseConsumptionConfigurationOutput) ToGetReceivedLicenseConsumptionConfigurationOutputWithContext(ctx context.Context) GetReceivedLicenseConsumptionConfigurationOutput

type GetReceivedLicenseConsumptionConfigurationProvisionalConfiguration added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationProvisionalConfiguration struct {
	// Maximum time for the provisional configuration, in minutes.
	MaxTimeToLiveInMinutes int `pulumi:"maxTimeToLiveInMinutes"`
}

type GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArgs added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArgs struct {
	// Maximum time for the provisional configuration, in minutes.
	MaxTimeToLiveInMinutes pulumi.IntInput `pulumi:"maxTimeToLiveInMinutes"`
}

func (GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArgs) ElementType added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArgs) ToGetReceivedLicenseConsumptionConfigurationProvisionalConfigurationOutput added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArgs) ToGetReceivedLicenseConsumptionConfigurationProvisionalConfigurationOutputWithContext added in v5.32.0

func (i GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArgs) ToGetReceivedLicenseConsumptionConfigurationProvisionalConfigurationOutputWithContext(ctx context.Context) GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationOutput

type GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArray added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArray []GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationInput

func (GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArray) ElementType added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArray) ToGetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayOutput added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArray) ToGetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayOutputWithContext added in v5.32.0

func (i GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArray) ToGetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayOutputWithContext(ctx context.Context) GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayOutput

type GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayInput added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayInput interface {
	pulumi.Input

	ToGetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayOutput() GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayOutput
	ToGetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayOutputWithContext(context.Context) GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayOutput
}

GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayInput is an input type that accepts GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArray and GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayOutput values. You can construct a concrete instance of `GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayInput` via:

GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArray{ GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArgs{...} }

type GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayOutput added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayOutput) ElementType added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayOutput) Index added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayOutput) ToGetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayOutput added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayOutput) ToGetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArrayOutputWithContext added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationInput added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationInput interface {
	pulumi.Input

	ToGetReceivedLicenseConsumptionConfigurationProvisionalConfigurationOutput() GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationOutput
	ToGetReceivedLicenseConsumptionConfigurationProvisionalConfigurationOutputWithContext(context.Context) GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationOutput
}

GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationInput is an input type that accepts GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArgs and GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationOutput values. You can construct a concrete instance of `GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationInput` via:

GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationArgs{...}

type GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationOutput added in v5.32.0

type GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationOutput struct{ *pulumi.OutputState }

func (GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationOutput) ElementType added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationOutput) MaxTimeToLiveInMinutes added in v5.32.0

Maximum time for the provisional configuration, in minutes.

func (GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationOutput) ToGetReceivedLicenseConsumptionConfigurationProvisionalConfigurationOutput added in v5.32.0

func (GetReceivedLicenseConsumptionConfigurationProvisionalConfigurationOutput) ToGetReceivedLicenseConsumptionConfigurationProvisionalConfigurationOutputWithContext added in v5.32.0

type GetReceivedLicenseEntitlement added in v5.32.0

type GetReceivedLicenseEntitlement struct {
	// Indicates whether check-ins are allowed.
	AllowCheckIn bool `pulumi:"allowCheckIn"`
	// Maximum entitlement count. Use if the unit is not None.
	MaxCount int `pulumi:"maxCount"`
	// The key name.
	Name string `pulumi:"name"`
	// Entitlement unit.
	Unit string `pulumi:"unit"`
	// The value.
	Value string `pulumi:"value"`
}

type GetReceivedLicenseEntitlementArgs added in v5.32.0

type GetReceivedLicenseEntitlementArgs struct {
	// Indicates whether check-ins are allowed.
	AllowCheckIn pulumi.BoolInput `pulumi:"allowCheckIn"`
	// Maximum entitlement count. Use if the unit is not None.
	MaxCount pulumi.IntInput `pulumi:"maxCount"`
	// The key name.
	Name pulumi.StringInput `pulumi:"name"`
	// Entitlement unit.
	Unit pulumi.StringInput `pulumi:"unit"`
	// The value.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetReceivedLicenseEntitlementArgs) ElementType added in v5.32.0

func (GetReceivedLicenseEntitlementArgs) ToGetReceivedLicenseEntitlementOutput added in v5.32.0

func (i GetReceivedLicenseEntitlementArgs) ToGetReceivedLicenseEntitlementOutput() GetReceivedLicenseEntitlementOutput

func (GetReceivedLicenseEntitlementArgs) ToGetReceivedLicenseEntitlementOutputWithContext added in v5.32.0

func (i GetReceivedLicenseEntitlementArgs) ToGetReceivedLicenseEntitlementOutputWithContext(ctx context.Context) GetReceivedLicenseEntitlementOutput

type GetReceivedLicenseEntitlementArray added in v5.32.0

type GetReceivedLicenseEntitlementArray []GetReceivedLicenseEntitlementInput

func (GetReceivedLicenseEntitlementArray) ElementType added in v5.32.0

func (GetReceivedLicenseEntitlementArray) ToGetReceivedLicenseEntitlementArrayOutput added in v5.32.0

func (i GetReceivedLicenseEntitlementArray) ToGetReceivedLicenseEntitlementArrayOutput() GetReceivedLicenseEntitlementArrayOutput

func (GetReceivedLicenseEntitlementArray) ToGetReceivedLicenseEntitlementArrayOutputWithContext added in v5.32.0

func (i GetReceivedLicenseEntitlementArray) ToGetReceivedLicenseEntitlementArrayOutputWithContext(ctx context.Context) GetReceivedLicenseEntitlementArrayOutput

type GetReceivedLicenseEntitlementArrayInput added in v5.32.0

type GetReceivedLicenseEntitlementArrayInput interface {
	pulumi.Input

	ToGetReceivedLicenseEntitlementArrayOutput() GetReceivedLicenseEntitlementArrayOutput
	ToGetReceivedLicenseEntitlementArrayOutputWithContext(context.Context) GetReceivedLicenseEntitlementArrayOutput
}

GetReceivedLicenseEntitlementArrayInput is an input type that accepts GetReceivedLicenseEntitlementArray and GetReceivedLicenseEntitlementArrayOutput values. You can construct a concrete instance of `GetReceivedLicenseEntitlementArrayInput` via:

GetReceivedLicenseEntitlementArray{ GetReceivedLicenseEntitlementArgs{...} }

type GetReceivedLicenseEntitlementArrayOutput added in v5.32.0

type GetReceivedLicenseEntitlementArrayOutput struct{ *pulumi.OutputState }

func (GetReceivedLicenseEntitlementArrayOutput) ElementType added in v5.32.0

func (GetReceivedLicenseEntitlementArrayOutput) Index added in v5.32.0

func (GetReceivedLicenseEntitlementArrayOutput) ToGetReceivedLicenseEntitlementArrayOutput added in v5.32.0

func (o GetReceivedLicenseEntitlementArrayOutput) ToGetReceivedLicenseEntitlementArrayOutput() GetReceivedLicenseEntitlementArrayOutput

func (GetReceivedLicenseEntitlementArrayOutput) ToGetReceivedLicenseEntitlementArrayOutputWithContext added in v5.32.0

func (o GetReceivedLicenseEntitlementArrayOutput) ToGetReceivedLicenseEntitlementArrayOutputWithContext(ctx context.Context) GetReceivedLicenseEntitlementArrayOutput

type GetReceivedLicenseEntitlementInput added in v5.32.0

type GetReceivedLicenseEntitlementInput interface {
	pulumi.Input

	ToGetReceivedLicenseEntitlementOutput() GetReceivedLicenseEntitlementOutput
	ToGetReceivedLicenseEntitlementOutputWithContext(context.Context) GetReceivedLicenseEntitlementOutput
}

GetReceivedLicenseEntitlementInput is an input type that accepts GetReceivedLicenseEntitlementArgs and GetReceivedLicenseEntitlementOutput values. You can construct a concrete instance of `GetReceivedLicenseEntitlementInput` via:

GetReceivedLicenseEntitlementArgs{...}

type GetReceivedLicenseEntitlementOutput added in v5.32.0

type GetReceivedLicenseEntitlementOutput struct{ *pulumi.OutputState }

func (GetReceivedLicenseEntitlementOutput) AllowCheckIn added in v5.32.0

Indicates whether check-ins are allowed.

func (GetReceivedLicenseEntitlementOutput) ElementType added in v5.32.0

func (GetReceivedLicenseEntitlementOutput) MaxCount added in v5.32.0

Maximum entitlement count. Use if the unit is not None.

func (GetReceivedLicenseEntitlementOutput) Name added in v5.32.0

The key name.

func (GetReceivedLicenseEntitlementOutput) ToGetReceivedLicenseEntitlementOutput added in v5.32.0

func (o GetReceivedLicenseEntitlementOutput) ToGetReceivedLicenseEntitlementOutput() GetReceivedLicenseEntitlementOutput

func (GetReceivedLicenseEntitlementOutput) ToGetReceivedLicenseEntitlementOutputWithContext added in v5.32.0

func (o GetReceivedLicenseEntitlementOutput) ToGetReceivedLicenseEntitlementOutputWithContext(ctx context.Context) GetReceivedLicenseEntitlementOutput

func (GetReceivedLicenseEntitlementOutput) Unit added in v5.32.0

Entitlement unit.

func (GetReceivedLicenseEntitlementOutput) Value added in v5.32.0

The value.

type GetReceivedLicenseIssuer added in v5.32.0

type GetReceivedLicenseIssuer struct {
	// Issuer key fingerprint.
	KeyFingerprint string `pulumi:"keyFingerprint"`
	// The key name.
	Name string `pulumi:"name"`
	// Asymmetric KMS key from AWS Key Management Service. The KMS key must have a key usage of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm.
	SignKey string `pulumi:"signKey"`
}

type GetReceivedLicenseIssuerArgs added in v5.32.0

type GetReceivedLicenseIssuerArgs struct {
	// Issuer key fingerprint.
	KeyFingerprint pulumi.StringInput `pulumi:"keyFingerprint"`
	// The key name.
	Name pulumi.StringInput `pulumi:"name"`
	// Asymmetric KMS key from AWS Key Management Service. The KMS key must have a key usage of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm.
	SignKey pulumi.StringInput `pulumi:"signKey"`
}

func (GetReceivedLicenseIssuerArgs) ElementType added in v5.32.0

func (GetReceivedLicenseIssuerArgs) ToGetReceivedLicenseIssuerOutput added in v5.32.0

func (i GetReceivedLicenseIssuerArgs) ToGetReceivedLicenseIssuerOutput() GetReceivedLicenseIssuerOutput

func (GetReceivedLicenseIssuerArgs) ToGetReceivedLicenseIssuerOutputWithContext added in v5.32.0

func (i GetReceivedLicenseIssuerArgs) ToGetReceivedLicenseIssuerOutputWithContext(ctx context.Context) GetReceivedLicenseIssuerOutput

type GetReceivedLicenseIssuerArray added in v5.32.0

type GetReceivedLicenseIssuerArray []GetReceivedLicenseIssuerInput

func (GetReceivedLicenseIssuerArray) ElementType added in v5.32.0

func (GetReceivedLicenseIssuerArray) ToGetReceivedLicenseIssuerArrayOutput added in v5.32.0

func (i GetReceivedLicenseIssuerArray) ToGetReceivedLicenseIssuerArrayOutput() GetReceivedLicenseIssuerArrayOutput

func (GetReceivedLicenseIssuerArray) ToGetReceivedLicenseIssuerArrayOutputWithContext added in v5.32.0

func (i GetReceivedLicenseIssuerArray) ToGetReceivedLicenseIssuerArrayOutputWithContext(ctx context.Context) GetReceivedLicenseIssuerArrayOutput

type GetReceivedLicenseIssuerArrayInput added in v5.32.0

type GetReceivedLicenseIssuerArrayInput interface {
	pulumi.Input

	ToGetReceivedLicenseIssuerArrayOutput() GetReceivedLicenseIssuerArrayOutput
	ToGetReceivedLicenseIssuerArrayOutputWithContext(context.Context) GetReceivedLicenseIssuerArrayOutput
}

GetReceivedLicenseIssuerArrayInput is an input type that accepts GetReceivedLicenseIssuerArray and GetReceivedLicenseIssuerArrayOutput values. You can construct a concrete instance of `GetReceivedLicenseIssuerArrayInput` via:

GetReceivedLicenseIssuerArray{ GetReceivedLicenseIssuerArgs{...} }

type GetReceivedLicenseIssuerArrayOutput added in v5.32.0

type GetReceivedLicenseIssuerArrayOutput struct{ *pulumi.OutputState }

func (GetReceivedLicenseIssuerArrayOutput) ElementType added in v5.32.0

func (GetReceivedLicenseIssuerArrayOutput) Index added in v5.32.0

func (GetReceivedLicenseIssuerArrayOutput) ToGetReceivedLicenseIssuerArrayOutput added in v5.32.0

func (o GetReceivedLicenseIssuerArrayOutput) ToGetReceivedLicenseIssuerArrayOutput() GetReceivedLicenseIssuerArrayOutput

func (GetReceivedLicenseIssuerArrayOutput) ToGetReceivedLicenseIssuerArrayOutputWithContext added in v5.32.0

func (o GetReceivedLicenseIssuerArrayOutput) ToGetReceivedLicenseIssuerArrayOutputWithContext(ctx context.Context) GetReceivedLicenseIssuerArrayOutput

type GetReceivedLicenseIssuerInput added in v5.32.0

type GetReceivedLicenseIssuerInput interface {
	pulumi.Input

	ToGetReceivedLicenseIssuerOutput() GetReceivedLicenseIssuerOutput
	ToGetReceivedLicenseIssuerOutputWithContext(context.Context) GetReceivedLicenseIssuerOutput
}

GetReceivedLicenseIssuerInput is an input type that accepts GetReceivedLicenseIssuerArgs and GetReceivedLicenseIssuerOutput values. You can construct a concrete instance of `GetReceivedLicenseIssuerInput` via:

GetReceivedLicenseIssuerArgs{...}

type GetReceivedLicenseIssuerOutput added in v5.32.0

type GetReceivedLicenseIssuerOutput struct{ *pulumi.OutputState }

func (GetReceivedLicenseIssuerOutput) ElementType added in v5.32.0

func (GetReceivedLicenseIssuerOutput) KeyFingerprint added in v5.32.0

Issuer key fingerprint.

func (GetReceivedLicenseIssuerOutput) Name added in v5.32.0

The key name.

func (GetReceivedLicenseIssuerOutput) SignKey added in v5.32.0

Asymmetric KMS key from AWS Key Management Service. The KMS key must have a key usage of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm.

func (GetReceivedLicenseIssuerOutput) ToGetReceivedLicenseIssuerOutput added in v5.32.0

func (o GetReceivedLicenseIssuerOutput) ToGetReceivedLicenseIssuerOutput() GetReceivedLicenseIssuerOutput

func (GetReceivedLicenseIssuerOutput) ToGetReceivedLicenseIssuerOutputWithContext added in v5.32.0

func (o GetReceivedLicenseIssuerOutput) ToGetReceivedLicenseIssuerOutputWithContext(ctx context.Context) GetReceivedLicenseIssuerOutput

type GetReceivedLicenseLicenseMetadata added in v5.32.0

type GetReceivedLicenseLicenseMetadata struct {
	// The key name.
	Name string `pulumi:"name"`
	// The value.
	Value string `pulumi:"value"`
}

type GetReceivedLicenseLicenseMetadataArgs added in v5.32.0

type GetReceivedLicenseLicenseMetadataArgs struct {
	// The key name.
	Name pulumi.StringInput `pulumi:"name"`
	// The value.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetReceivedLicenseLicenseMetadataArgs) ElementType added in v5.32.0

func (GetReceivedLicenseLicenseMetadataArgs) ToGetReceivedLicenseLicenseMetadataOutput added in v5.32.0

func (i GetReceivedLicenseLicenseMetadataArgs) ToGetReceivedLicenseLicenseMetadataOutput() GetReceivedLicenseLicenseMetadataOutput

func (GetReceivedLicenseLicenseMetadataArgs) ToGetReceivedLicenseLicenseMetadataOutputWithContext added in v5.32.0

func (i GetReceivedLicenseLicenseMetadataArgs) ToGetReceivedLicenseLicenseMetadataOutputWithContext(ctx context.Context) GetReceivedLicenseLicenseMetadataOutput

type GetReceivedLicenseLicenseMetadataArray added in v5.32.0

type GetReceivedLicenseLicenseMetadataArray []GetReceivedLicenseLicenseMetadataInput

func (GetReceivedLicenseLicenseMetadataArray) ElementType added in v5.32.0

func (GetReceivedLicenseLicenseMetadataArray) ToGetReceivedLicenseLicenseMetadataArrayOutput added in v5.32.0

func (i GetReceivedLicenseLicenseMetadataArray) ToGetReceivedLicenseLicenseMetadataArrayOutput() GetReceivedLicenseLicenseMetadataArrayOutput

func (GetReceivedLicenseLicenseMetadataArray) ToGetReceivedLicenseLicenseMetadataArrayOutputWithContext added in v5.32.0

func (i GetReceivedLicenseLicenseMetadataArray) ToGetReceivedLicenseLicenseMetadataArrayOutputWithContext(ctx context.Context) GetReceivedLicenseLicenseMetadataArrayOutput

type GetReceivedLicenseLicenseMetadataArrayInput added in v5.32.0

type GetReceivedLicenseLicenseMetadataArrayInput interface {
	pulumi.Input

	ToGetReceivedLicenseLicenseMetadataArrayOutput() GetReceivedLicenseLicenseMetadataArrayOutput
	ToGetReceivedLicenseLicenseMetadataArrayOutputWithContext(context.Context) GetReceivedLicenseLicenseMetadataArrayOutput
}

GetReceivedLicenseLicenseMetadataArrayInput is an input type that accepts GetReceivedLicenseLicenseMetadataArray and GetReceivedLicenseLicenseMetadataArrayOutput values. You can construct a concrete instance of `GetReceivedLicenseLicenseMetadataArrayInput` via:

GetReceivedLicenseLicenseMetadataArray{ GetReceivedLicenseLicenseMetadataArgs{...} }

type GetReceivedLicenseLicenseMetadataArrayOutput added in v5.32.0

type GetReceivedLicenseLicenseMetadataArrayOutput struct{ *pulumi.OutputState }

func (GetReceivedLicenseLicenseMetadataArrayOutput) ElementType added in v5.32.0

func (GetReceivedLicenseLicenseMetadataArrayOutput) Index added in v5.32.0

func (GetReceivedLicenseLicenseMetadataArrayOutput) ToGetReceivedLicenseLicenseMetadataArrayOutput added in v5.32.0

func (o GetReceivedLicenseLicenseMetadataArrayOutput) ToGetReceivedLicenseLicenseMetadataArrayOutput() GetReceivedLicenseLicenseMetadataArrayOutput

func (GetReceivedLicenseLicenseMetadataArrayOutput) ToGetReceivedLicenseLicenseMetadataArrayOutputWithContext added in v5.32.0

func (o GetReceivedLicenseLicenseMetadataArrayOutput) ToGetReceivedLicenseLicenseMetadataArrayOutputWithContext(ctx context.Context) GetReceivedLicenseLicenseMetadataArrayOutput

type GetReceivedLicenseLicenseMetadataInput added in v5.32.0

type GetReceivedLicenseLicenseMetadataInput interface {
	pulumi.Input

	ToGetReceivedLicenseLicenseMetadataOutput() GetReceivedLicenseLicenseMetadataOutput
	ToGetReceivedLicenseLicenseMetadataOutputWithContext(context.Context) GetReceivedLicenseLicenseMetadataOutput
}

GetReceivedLicenseLicenseMetadataInput is an input type that accepts GetReceivedLicenseLicenseMetadataArgs and GetReceivedLicenseLicenseMetadataOutput values. You can construct a concrete instance of `GetReceivedLicenseLicenseMetadataInput` via:

GetReceivedLicenseLicenseMetadataArgs{...}

type GetReceivedLicenseLicenseMetadataOutput added in v5.32.0

type GetReceivedLicenseLicenseMetadataOutput struct{ *pulumi.OutputState }

func (GetReceivedLicenseLicenseMetadataOutput) ElementType added in v5.32.0

func (GetReceivedLicenseLicenseMetadataOutput) Name added in v5.32.0

The key name.

func (GetReceivedLicenseLicenseMetadataOutput) ToGetReceivedLicenseLicenseMetadataOutput added in v5.32.0

func (o GetReceivedLicenseLicenseMetadataOutput) ToGetReceivedLicenseLicenseMetadataOutput() GetReceivedLicenseLicenseMetadataOutput

func (GetReceivedLicenseLicenseMetadataOutput) ToGetReceivedLicenseLicenseMetadataOutputWithContext added in v5.32.0

func (o GetReceivedLicenseLicenseMetadataOutput) ToGetReceivedLicenseLicenseMetadataOutputWithContext(ctx context.Context) GetReceivedLicenseLicenseMetadataOutput

func (GetReceivedLicenseLicenseMetadataOutput) Value added in v5.32.0

The value.

type GetReceivedLicenseOutputArgs added in v5.32.0

type GetReceivedLicenseOutputArgs struct {
	// The ARN of the received license you want data for.
	LicenseArn pulumi.StringInput `pulumi:"licenseArn"`
}

A collection of arguments for invoking getReceivedLicense.

func (GetReceivedLicenseOutputArgs) ElementType added in v5.32.0

type GetReceivedLicenseReceivedMetadata added in v5.32.0

type GetReceivedLicenseReceivedMetadata struct {
	// A list of allowed operations.
	AllowedOperations []string `pulumi:"allowedOperations"`
	// Received status.
	ReceivedStatus string `pulumi:"receivedStatus"`
	// Received status reason.
	ReceivedStatusReason string `pulumi:"receivedStatusReason"`
}

type GetReceivedLicenseReceivedMetadataArgs added in v5.32.0

type GetReceivedLicenseReceivedMetadataArgs struct {
	// A list of allowed operations.
	AllowedOperations pulumi.StringArrayInput `pulumi:"allowedOperations"`
	// Received status.
	ReceivedStatus pulumi.StringInput `pulumi:"receivedStatus"`
	// Received status reason.
	ReceivedStatusReason pulumi.StringInput `pulumi:"receivedStatusReason"`
}

func (GetReceivedLicenseReceivedMetadataArgs) ElementType added in v5.32.0

func (GetReceivedLicenseReceivedMetadataArgs) ToGetReceivedLicenseReceivedMetadataOutput added in v5.32.0

func (i GetReceivedLicenseReceivedMetadataArgs) ToGetReceivedLicenseReceivedMetadataOutput() GetReceivedLicenseReceivedMetadataOutput

func (GetReceivedLicenseReceivedMetadataArgs) ToGetReceivedLicenseReceivedMetadataOutputWithContext added in v5.32.0

func (i GetReceivedLicenseReceivedMetadataArgs) ToGetReceivedLicenseReceivedMetadataOutputWithContext(ctx context.Context) GetReceivedLicenseReceivedMetadataOutput

type GetReceivedLicenseReceivedMetadataArray added in v5.32.0

type GetReceivedLicenseReceivedMetadataArray []GetReceivedLicenseReceivedMetadataInput

func (GetReceivedLicenseReceivedMetadataArray) ElementType added in v5.32.0

func (GetReceivedLicenseReceivedMetadataArray) ToGetReceivedLicenseReceivedMetadataArrayOutput added in v5.32.0

func (i GetReceivedLicenseReceivedMetadataArray) ToGetReceivedLicenseReceivedMetadataArrayOutput() GetReceivedLicenseReceivedMetadataArrayOutput

func (GetReceivedLicenseReceivedMetadataArray) ToGetReceivedLicenseReceivedMetadataArrayOutputWithContext added in v5.32.0

func (i GetReceivedLicenseReceivedMetadataArray) ToGetReceivedLicenseReceivedMetadataArrayOutputWithContext(ctx context.Context) GetReceivedLicenseReceivedMetadataArrayOutput

type GetReceivedLicenseReceivedMetadataArrayInput added in v5.32.0

type GetReceivedLicenseReceivedMetadataArrayInput interface {
	pulumi.Input

	ToGetReceivedLicenseReceivedMetadataArrayOutput() GetReceivedLicenseReceivedMetadataArrayOutput
	ToGetReceivedLicenseReceivedMetadataArrayOutputWithContext(context.Context) GetReceivedLicenseReceivedMetadataArrayOutput
}

GetReceivedLicenseReceivedMetadataArrayInput is an input type that accepts GetReceivedLicenseReceivedMetadataArray and GetReceivedLicenseReceivedMetadataArrayOutput values. You can construct a concrete instance of `GetReceivedLicenseReceivedMetadataArrayInput` via:

GetReceivedLicenseReceivedMetadataArray{ GetReceivedLicenseReceivedMetadataArgs{...} }

type GetReceivedLicenseReceivedMetadataArrayOutput added in v5.32.0

type GetReceivedLicenseReceivedMetadataArrayOutput struct{ *pulumi.OutputState }

func (GetReceivedLicenseReceivedMetadataArrayOutput) ElementType added in v5.32.0

func (GetReceivedLicenseReceivedMetadataArrayOutput) Index added in v5.32.0

func (GetReceivedLicenseReceivedMetadataArrayOutput) ToGetReceivedLicenseReceivedMetadataArrayOutput added in v5.32.0

func (o GetReceivedLicenseReceivedMetadataArrayOutput) ToGetReceivedLicenseReceivedMetadataArrayOutput() GetReceivedLicenseReceivedMetadataArrayOutput

func (GetReceivedLicenseReceivedMetadataArrayOutput) ToGetReceivedLicenseReceivedMetadataArrayOutputWithContext added in v5.32.0

func (o GetReceivedLicenseReceivedMetadataArrayOutput) ToGetReceivedLicenseReceivedMetadataArrayOutputWithContext(ctx context.Context) GetReceivedLicenseReceivedMetadataArrayOutput

type GetReceivedLicenseReceivedMetadataInput added in v5.32.0

type GetReceivedLicenseReceivedMetadataInput interface {
	pulumi.Input

	ToGetReceivedLicenseReceivedMetadataOutput() GetReceivedLicenseReceivedMetadataOutput
	ToGetReceivedLicenseReceivedMetadataOutputWithContext(context.Context) GetReceivedLicenseReceivedMetadataOutput
}

GetReceivedLicenseReceivedMetadataInput is an input type that accepts GetReceivedLicenseReceivedMetadataArgs and GetReceivedLicenseReceivedMetadataOutput values. You can construct a concrete instance of `GetReceivedLicenseReceivedMetadataInput` via:

GetReceivedLicenseReceivedMetadataArgs{...}

type GetReceivedLicenseReceivedMetadataOutput added in v5.32.0

type GetReceivedLicenseReceivedMetadataOutput struct{ *pulumi.OutputState }

func (GetReceivedLicenseReceivedMetadataOutput) AllowedOperations added in v5.32.0

A list of allowed operations.

func (GetReceivedLicenseReceivedMetadataOutput) ElementType added in v5.32.0

func (GetReceivedLicenseReceivedMetadataOutput) ReceivedStatus added in v5.32.0

Received status.

func (GetReceivedLicenseReceivedMetadataOutput) ReceivedStatusReason added in v5.32.0

Received status reason.

func (GetReceivedLicenseReceivedMetadataOutput) ToGetReceivedLicenseReceivedMetadataOutput added in v5.32.0

func (o GetReceivedLicenseReceivedMetadataOutput) ToGetReceivedLicenseReceivedMetadataOutput() GetReceivedLicenseReceivedMetadataOutput

func (GetReceivedLicenseReceivedMetadataOutput) ToGetReceivedLicenseReceivedMetadataOutputWithContext added in v5.32.0

func (o GetReceivedLicenseReceivedMetadataOutput) ToGetReceivedLicenseReceivedMetadataOutputWithContext(ctx context.Context) GetReceivedLicenseReceivedMetadataOutput

type GetReceivedLicenseResult added in v5.32.0

type GetReceivedLicenseResult struct {
	// Granted license beneficiary. This is in the form of the ARN of the root user of the account.
	Beneficiary string `pulumi:"beneficiary"`
	// Configuration for consumption of the license. Detailed below
	ConsumptionConfigurations []GetReceivedLicenseConsumptionConfiguration `pulumi:"consumptionConfigurations"`
	// Creation time of the granted license in RFC 3339 format.
	CreateTime string `pulumi:"createTime"`
	// License entitlements. Detailed below
	Entitlements []GetReceivedLicenseEntitlement `pulumi:"entitlements"`
	// Home Region of the granted license.
	HomeRegion string `pulumi:"homeRegion"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Granted license issuer. Detailed below
	Issuers []GetReceivedLicenseIssuer `pulumi:"issuers"`
	// Amazon Resource Name (ARN) of the license.
	LicenseArn string `pulumi:"licenseArn"`
	// Granted license metadata. This is in the form of a set of all meta data. Detailed below
	LicenseMetadatas []GetReceivedLicenseLicenseMetadata `pulumi:"licenseMetadatas"`
	// License name.
	LicenseName string `pulumi:"licenseName"`
	// Product name.
	// * ` productSku  ` - Product SKU.
	ProductName string `pulumi:"productName"`
	ProductSku  string `pulumi:"productSku"`
	// Granted license received metadata. Detailed below
	ReceivedMetadatas []GetReceivedLicenseReceivedMetadata `pulumi:"receivedMetadatas"`
	// Granted license status.
	Status string `pulumi:"status"`
	// Date and time range during which the granted license is valid, in ISO8601-UTC format. Detailed below
	Validities []GetReceivedLicenseValidity `pulumi:"validities"`
	// Version of the granted license.
	Version string `pulumi:"version"`
}

A collection of values returned by getReceivedLicense.

func GetReceivedLicense added in v5.32.0

func GetReceivedLicense(ctx *pulumi.Context, args *GetReceivedLicenseArgs, opts ...pulumi.InvokeOption) (*GetReceivedLicenseResult, error)

This resource can be used to get data on a received license using an ARN. This can be helpful for pulling in data on a license from the AWS marketplace and sharing that license with another account.

## Example Usage

The following shows getting the received license data using and ARN.

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/licensemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := licensemanager.GetReceivedLicense(ctx, &licensemanager.GetReceivedLicenseArgs{
			LicenseArn: "arn:aws:license-manager::111111111111:license:l-ecbaa94eb71a4830b6d7e49268fecaa0",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetReceivedLicenseResultOutput added in v5.32.0

type GetReceivedLicenseResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getReceivedLicense.

func GetReceivedLicenseOutput added in v5.32.0

func (GetReceivedLicenseResultOutput) Beneficiary added in v5.32.0

Granted license beneficiary. This is in the form of the ARN of the root user of the account.

func (GetReceivedLicenseResultOutput) ConsumptionConfigurations added in v5.32.0

Configuration for consumption of the license. Detailed below

func (GetReceivedLicenseResultOutput) CreateTime added in v5.32.0

Creation time of the granted license in RFC 3339 format.

func (GetReceivedLicenseResultOutput) ElementType added in v5.32.0

func (GetReceivedLicenseResultOutput) Entitlements added in v5.32.0

License entitlements. Detailed below

func (GetReceivedLicenseResultOutput) HomeRegion added in v5.32.0

Home Region of the granted license.

func (GetReceivedLicenseResultOutput) Id added in v5.32.0

The provider-assigned unique ID for this managed resource.

func (GetReceivedLicenseResultOutput) Issuers added in v5.32.0

Granted license issuer. Detailed below

func (GetReceivedLicenseResultOutput) LicenseArn added in v5.32.0

Amazon Resource Name (ARN) of the license.

func (GetReceivedLicenseResultOutput) LicenseMetadatas added in v5.32.0

Granted license metadata. This is in the form of a set of all meta data. Detailed below

func (GetReceivedLicenseResultOutput) LicenseName added in v5.32.0

License name.

func (GetReceivedLicenseResultOutput) ProductName added in v5.32.0

Product name. * ` productSku ` - Product SKU.

func (GetReceivedLicenseResultOutput) ProductSku added in v5.32.0

func (GetReceivedLicenseResultOutput) ReceivedMetadatas added in v5.32.0

Granted license received metadata. Detailed below

func (GetReceivedLicenseResultOutput) Status added in v5.32.0

Granted license status.

func (GetReceivedLicenseResultOutput) ToGetReceivedLicenseResultOutput added in v5.32.0

func (o GetReceivedLicenseResultOutput) ToGetReceivedLicenseResultOutput() GetReceivedLicenseResultOutput

func (GetReceivedLicenseResultOutput) ToGetReceivedLicenseResultOutputWithContext added in v5.32.0

func (o GetReceivedLicenseResultOutput) ToGetReceivedLicenseResultOutputWithContext(ctx context.Context) GetReceivedLicenseResultOutput

func (GetReceivedLicenseResultOutput) Validities added in v5.32.0

Date and time range during which the granted license is valid, in ISO8601-UTC format. Detailed below

func (GetReceivedLicenseResultOutput) Version added in v5.32.0

Version of the granted license.

type GetReceivedLicenseValidity added in v5.32.0

type GetReceivedLicenseValidity struct {
	// Start of the validity time range.
	Begin string `pulumi:"begin"`
	// End of the validity time range.
	End string `pulumi:"end"`
}

type GetReceivedLicenseValidityArgs added in v5.32.0

type GetReceivedLicenseValidityArgs struct {
	// Start of the validity time range.
	Begin pulumi.StringInput `pulumi:"begin"`
	// End of the validity time range.
	End pulumi.StringInput `pulumi:"end"`
}

func (GetReceivedLicenseValidityArgs) ElementType added in v5.32.0

func (GetReceivedLicenseValidityArgs) ToGetReceivedLicenseValidityOutput added in v5.32.0

func (i GetReceivedLicenseValidityArgs) ToGetReceivedLicenseValidityOutput() GetReceivedLicenseValidityOutput

func (GetReceivedLicenseValidityArgs) ToGetReceivedLicenseValidityOutputWithContext added in v5.32.0

func (i GetReceivedLicenseValidityArgs) ToGetReceivedLicenseValidityOutputWithContext(ctx context.Context) GetReceivedLicenseValidityOutput

type GetReceivedLicenseValidityArray added in v5.32.0

type GetReceivedLicenseValidityArray []GetReceivedLicenseValidityInput

func (GetReceivedLicenseValidityArray) ElementType added in v5.32.0

func (GetReceivedLicenseValidityArray) ToGetReceivedLicenseValidityArrayOutput added in v5.32.0

func (i GetReceivedLicenseValidityArray) ToGetReceivedLicenseValidityArrayOutput() GetReceivedLicenseValidityArrayOutput

func (GetReceivedLicenseValidityArray) ToGetReceivedLicenseValidityArrayOutputWithContext added in v5.32.0

func (i GetReceivedLicenseValidityArray) ToGetReceivedLicenseValidityArrayOutputWithContext(ctx context.Context) GetReceivedLicenseValidityArrayOutput

type GetReceivedLicenseValidityArrayInput added in v5.32.0

type GetReceivedLicenseValidityArrayInput interface {
	pulumi.Input

	ToGetReceivedLicenseValidityArrayOutput() GetReceivedLicenseValidityArrayOutput
	ToGetReceivedLicenseValidityArrayOutputWithContext(context.Context) GetReceivedLicenseValidityArrayOutput
}

GetReceivedLicenseValidityArrayInput is an input type that accepts GetReceivedLicenseValidityArray and GetReceivedLicenseValidityArrayOutput values. You can construct a concrete instance of `GetReceivedLicenseValidityArrayInput` via:

GetReceivedLicenseValidityArray{ GetReceivedLicenseValidityArgs{...} }

type GetReceivedLicenseValidityArrayOutput added in v5.32.0

type GetReceivedLicenseValidityArrayOutput struct{ *pulumi.OutputState }

func (GetReceivedLicenseValidityArrayOutput) ElementType added in v5.32.0

func (GetReceivedLicenseValidityArrayOutput) Index added in v5.32.0

func (GetReceivedLicenseValidityArrayOutput) ToGetReceivedLicenseValidityArrayOutput added in v5.32.0

func (o GetReceivedLicenseValidityArrayOutput) ToGetReceivedLicenseValidityArrayOutput() GetReceivedLicenseValidityArrayOutput

func (GetReceivedLicenseValidityArrayOutput) ToGetReceivedLicenseValidityArrayOutputWithContext added in v5.32.0

func (o GetReceivedLicenseValidityArrayOutput) ToGetReceivedLicenseValidityArrayOutputWithContext(ctx context.Context) GetReceivedLicenseValidityArrayOutput

type GetReceivedLicenseValidityInput added in v5.32.0

type GetReceivedLicenseValidityInput interface {
	pulumi.Input

	ToGetReceivedLicenseValidityOutput() GetReceivedLicenseValidityOutput
	ToGetReceivedLicenseValidityOutputWithContext(context.Context) GetReceivedLicenseValidityOutput
}

GetReceivedLicenseValidityInput is an input type that accepts GetReceivedLicenseValidityArgs and GetReceivedLicenseValidityOutput values. You can construct a concrete instance of `GetReceivedLicenseValidityInput` via:

GetReceivedLicenseValidityArgs{...}

type GetReceivedLicenseValidityOutput added in v5.32.0

type GetReceivedLicenseValidityOutput struct{ *pulumi.OutputState }

func (GetReceivedLicenseValidityOutput) Begin added in v5.32.0

Start of the validity time range.

func (GetReceivedLicenseValidityOutput) ElementType added in v5.32.0

func (GetReceivedLicenseValidityOutput) End added in v5.32.0

End of the validity time range.

func (GetReceivedLicenseValidityOutput) ToGetReceivedLicenseValidityOutput added in v5.32.0

func (o GetReceivedLicenseValidityOutput) ToGetReceivedLicenseValidityOutput() GetReceivedLicenseValidityOutput

func (GetReceivedLicenseValidityOutput) ToGetReceivedLicenseValidityOutputWithContext added in v5.32.0

func (o GetReceivedLicenseValidityOutput) ToGetReceivedLicenseValidityOutputWithContext(ctx context.Context) GetReceivedLicenseValidityOutput

type GetReceivedLicensesArgs added in v5.32.0

type GetReceivedLicensesArgs struct {
	// Custom filter block as described below.
	//
	// More complex filters can be expressed using one or more `filter` sub-blocks,
	// which take the following arguments:
	Filters []GetReceivedLicensesFilter `pulumi:"filters"`
}

A collection of arguments for invoking getReceivedLicenses.

type GetReceivedLicensesFilter added in v5.32.0

type GetReceivedLicensesFilter struct {
	// Name of the field to filter by, as defined by
	// [the underlying AWS API](https://docs.aws.amazon.com/license-manager/latest/APIReference/API_ListReceivedLicenses.html#API_ListReceivedLicenses_RequestSyntax).
	// For example, if filtering using `ProductSKU`, use:
	//
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/licensemanager"
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		_, err := licensemanager.GetReceivedLicenses(ctx, &licensemanager.GetReceivedLicensesArgs{
	// 			Filters: []licensemanager.GetReceivedLicensesFilter{
	// 				{
	// 					Name: "ProductSKU",
	// 					Values: []string{
	// 						"",
	// 					},
	// 				},
	// 			},
	// 		}, nil)
	// 		if err != nil {
	// 			return err
	// 		}
	// 		return nil
	// 	})
	// }
	// “`
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	Values []string `pulumi:"values"`
}

type GetReceivedLicensesFilterArgs added in v5.32.0

type GetReceivedLicensesFilterArgs struct {
	// Name of the field to filter by, as defined by
	// [the underlying AWS API](https://docs.aws.amazon.com/license-manager/latest/APIReference/API_ListReceivedLicenses.html#API_ListReceivedLicenses_RequestSyntax).
	// For example, if filtering using `ProductSKU`, use:
	//
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/licensemanager"
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		_, err := licensemanager.GetReceivedLicenses(ctx, &licensemanager.GetReceivedLicensesArgs{
	// 			Filters: []licensemanager.GetReceivedLicensesFilter{
	// 				{
	// 					Name: "ProductSKU",
	// 					Values: []string{
	// 						"",
	// 					},
	// 				},
	// 			},
	// 		}, nil)
	// 		if err != nil {
	// 			return err
	// 		}
	// 		return nil
	// 	})
	// }
	// “`
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetReceivedLicensesFilterArgs) ElementType added in v5.32.0

func (GetReceivedLicensesFilterArgs) ToGetReceivedLicensesFilterOutput added in v5.32.0

func (i GetReceivedLicensesFilterArgs) ToGetReceivedLicensesFilterOutput() GetReceivedLicensesFilterOutput

func (GetReceivedLicensesFilterArgs) ToGetReceivedLicensesFilterOutputWithContext added in v5.32.0

func (i GetReceivedLicensesFilterArgs) ToGetReceivedLicensesFilterOutputWithContext(ctx context.Context) GetReceivedLicensesFilterOutput

type GetReceivedLicensesFilterArray added in v5.32.0

type GetReceivedLicensesFilterArray []GetReceivedLicensesFilterInput

func (GetReceivedLicensesFilterArray) ElementType added in v5.32.0

func (GetReceivedLicensesFilterArray) ToGetReceivedLicensesFilterArrayOutput added in v5.32.0

func (i GetReceivedLicensesFilterArray) ToGetReceivedLicensesFilterArrayOutput() GetReceivedLicensesFilterArrayOutput

func (GetReceivedLicensesFilterArray) ToGetReceivedLicensesFilterArrayOutputWithContext added in v5.32.0

func (i GetReceivedLicensesFilterArray) ToGetReceivedLicensesFilterArrayOutputWithContext(ctx context.Context) GetReceivedLicensesFilterArrayOutput

type GetReceivedLicensesFilterArrayInput added in v5.32.0

type GetReceivedLicensesFilterArrayInput interface {
	pulumi.Input

	ToGetReceivedLicensesFilterArrayOutput() GetReceivedLicensesFilterArrayOutput
	ToGetReceivedLicensesFilterArrayOutputWithContext(context.Context) GetReceivedLicensesFilterArrayOutput
}

GetReceivedLicensesFilterArrayInput is an input type that accepts GetReceivedLicensesFilterArray and GetReceivedLicensesFilterArrayOutput values. You can construct a concrete instance of `GetReceivedLicensesFilterArrayInput` via:

GetReceivedLicensesFilterArray{ GetReceivedLicensesFilterArgs{...} }

type GetReceivedLicensesFilterArrayOutput added in v5.32.0

type GetReceivedLicensesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetReceivedLicensesFilterArrayOutput) ElementType added in v5.32.0

func (GetReceivedLicensesFilterArrayOutput) Index added in v5.32.0

func (GetReceivedLicensesFilterArrayOutput) ToGetReceivedLicensesFilterArrayOutput added in v5.32.0

func (o GetReceivedLicensesFilterArrayOutput) ToGetReceivedLicensesFilterArrayOutput() GetReceivedLicensesFilterArrayOutput

func (GetReceivedLicensesFilterArrayOutput) ToGetReceivedLicensesFilterArrayOutputWithContext added in v5.32.0

func (o GetReceivedLicensesFilterArrayOutput) ToGetReceivedLicensesFilterArrayOutputWithContext(ctx context.Context) GetReceivedLicensesFilterArrayOutput

type GetReceivedLicensesFilterInput added in v5.32.0

type GetReceivedLicensesFilterInput interface {
	pulumi.Input

	ToGetReceivedLicensesFilterOutput() GetReceivedLicensesFilterOutput
	ToGetReceivedLicensesFilterOutputWithContext(context.Context) GetReceivedLicensesFilterOutput
}

GetReceivedLicensesFilterInput is an input type that accepts GetReceivedLicensesFilterArgs and GetReceivedLicensesFilterOutput values. You can construct a concrete instance of `GetReceivedLicensesFilterInput` via:

GetReceivedLicensesFilterArgs{...}

type GetReceivedLicensesFilterOutput added in v5.32.0

type GetReceivedLicensesFilterOutput struct{ *pulumi.OutputState }

func (GetReceivedLicensesFilterOutput) ElementType added in v5.32.0

func (GetReceivedLicensesFilterOutput) Name added in v5.32.0

Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/license-manager/latest/APIReference/API_ListReceivedLicenses.html#API_ListReceivedLicenses_RequestSyntax). For example, if filtering using `ProductSKU`, use:

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/licensemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := licensemanager.GetReceivedLicenses(ctx, &licensemanager.GetReceivedLicensesArgs{
			Filters: []licensemanager.GetReceivedLicensesFilter{
				{
					Name: "ProductSKU",
					Values: []string{
						"",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

func (GetReceivedLicensesFilterOutput) ToGetReceivedLicensesFilterOutput added in v5.32.0

func (o GetReceivedLicensesFilterOutput) ToGetReceivedLicensesFilterOutput() GetReceivedLicensesFilterOutput

func (GetReceivedLicensesFilterOutput) ToGetReceivedLicensesFilterOutputWithContext added in v5.32.0

func (o GetReceivedLicensesFilterOutput) ToGetReceivedLicensesFilterOutputWithContext(ctx context.Context) GetReceivedLicensesFilterOutput

func (GetReceivedLicensesFilterOutput) Values added in v5.32.0

Set of values that are accepted for the given field.

type GetReceivedLicensesOutputArgs added in v5.32.0

type GetReceivedLicensesOutputArgs struct {
	// Custom filter block as described below.
	//
	// More complex filters can be expressed using one or more `filter` sub-blocks,
	// which take the following arguments:
	Filters GetReceivedLicensesFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getReceivedLicenses.

func (GetReceivedLicensesOutputArgs) ElementType added in v5.32.0

type GetReceivedLicensesResult added in v5.32.0

type GetReceivedLicensesResult struct {
	// List of all the license ARNs found.
	Arns    []string                    `pulumi:"arns"`
	Filters []GetReceivedLicensesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
}

A collection of values returned by getReceivedLicenses.

func GetReceivedLicenses added in v5.32.0

func GetReceivedLicenses(ctx *pulumi.Context, args *GetReceivedLicensesArgs, opts ...pulumi.InvokeOption) (*GetReceivedLicensesResult, error)

This resource can be used to get a set of license ARNs matching a filter.

## Example Usage

The following shows getting all license ARNs issued from the AWS marketplace. Providing no filter, would provide all license ARNs for the entire account.

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/licensemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := licensemanager.GetReceivedLicenses(ctx, &licensemanager.GetReceivedLicensesArgs{
			Filters: []licensemanager.GetReceivedLicensesFilter{
				{
					Name: "IssuerName",
					Values: []string{
						"AWS/Marketplace",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetReceivedLicensesResultOutput added in v5.32.0

type GetReceivedLicensesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getReceivedLicenses.

func GetReceivedLicensesOutput added in v5.32.0

func (GetReceivedLicensesResultOutput) Arns added in v5.32.0

List of all the license ARNs found.

func (GetReceivedLicensesResultOutput) ElementType added in v5.32.0

func (GetReceivedLicensesResultOutput) Filters added in v5.32.0

func (GetReceivedLicensesResultOutput) Id added in v5.32.0

The provider-assigned unique ID for this managed resource.

func (GetReceivedLicensesResultOutput) ToGetReceivedLicensesResultOutput added in v5.32.0

func (o GetReceivedLicensesResultOutput) ToGetReceivedLicensesResultOutput() GetReceivedLicensesResultOutput

func (GetReceivedLicensesResultOutput) ToGetReceivedLicensesResultOutputWithContext added in v5.32.0

func (o GetReceivedLicensesResultOutput) ToGetReceivedLicensesResultOutputWithContext(ctx context.Context) GetReceivedLicensesResultOutput

type LicenseConfiguration

type LicenseConfiguration struct {
	pulumi.CustomResourceState

	// The license configuration ARN.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Description of the license configuration.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Number of licenses managed by the license configuration.
	LicenseCount pulumi.IntPtrOutput `pulumi:"licenseCount"`
	// Sets the number of available licenses as a hard limit.
	LicenseCountHardLimit pulumi.BoolPtrOutput `pulumi:"licenseCountHardLimit"`
	// Dimension to use to track license inventory. Specify either `vCPU`, `Instance`, `Core` or `Socket`.
	LicenseCountingType pulumi.StringOutput `pulumi:"licenseCountingType"`
	// Array of configured License Manager rules.
	LicenseRules pulumi.StringArrayOutput `pulumi:"licenseRules"`
	// Name of the license configuration.
	Name pulumi.StringOutput `pulumi:"name"`
	// Account ID of the owner of the license configuration.
	OwnerAccountId pulumi.StringOutput `pulumi:"ownerAccountId"`
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a License Manager license configuration resource.

> **Note:** Removing the `licenseCount` attribute is not supported by the License Manager API - recreate the resource instead.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/licensemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := licensemanager.NewLicenseConfiguration(ctx, "example", &licensemanager.LicenseConfigurationArgs{
			Description:           pulumi.String("Example"),
			LicenseCount:          pulumi.Int(10),
			LicenseCountHardLimit: pulumi.Bool(true),
			LicenseCountingType:   pulumi.String("Socket"),
			LicenseRules: pulumi.StringArray{
				pulumi.String("#minimumSockets=2"),
			},
			Tags: pulumi.StringMap{
				"foo": pulumi.String("barr"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## 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`

## Import

License configurations can be imported using the `id`, e.g.,

```sh

$ pulumi import aws:licensemanager/licenseConfiguration:LicenseConfiguration example arn:aws:license-manager:eu-west-1:123456789012:license-configuration:lic-0123456789abcdef0123456789abcdef

```

func GetLicenseConfiguration

func GetLicenseConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LicenseConfigurationState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*LicenseConfiguration, error)

NewLicenseConfiguration registers a new resource with the given unique name, arguments, and options.

func (*LicenseConfiguration) ElementType

func (*LicenseConfiguration) ElementType() reflect.Type

func (*LicenseConfiguration) ToLicenseConfigurationOutput

func (i *LicenseConfiguration) ToLicenseConfigurationOutput() LicenseConfigurationOutput

func (*LicenseConfiguration) ToLicenseConfigurationOutputWithContext

func (i *LicenseConfiguration) ToLicenseConfigurationOutputWithContext(ctx context.Context) LicenseConfigurationOutput

type LicenseConfigurationArgs

type LicenseConfigurationArgs struct {
	// Description of the license configuration.
	Description pulumi.StringPtrInput
	// Number of licenses managed by the license configuration.
	LicenseCount pulumi.IntPtrInput
	// Sets the number of available licenses as a hard limit.
	LicenseCountHardLimit pulumi.BoolPtrInput
	// Dimension to use to track license inventory. Specify either `vCPU`, `Instance`, `Core` or `Socket`.
	LicenseCountingType pulumi.StringInput
	// Array of configured License Manager rules.
	LicenseRules pulumi.StringArrayInput
	// Name of the license configuration.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a LicenseConfiguration resource.

func (LicenseConfigurationArgs) ElementType

func (LicenseConfigurationArgs) ElementType() reflect.Type

type LicenseConfigurationArray

type LicenseConfigurationArray []LicenseConfigurationInput

func (LicenseConfigurationArray) ElementType

func (LicenseConfigurationArray) ElementType() reflect.Type

func (LicenseConfigurationArray) ToLicenseConfigurationArrayOutput

func (i LicenseConfigurationArray) ToLicenseConfigurationArrayOutput() LicenseConfigurationArrayOutput

func (LicenseConfigurationArray) ToLicenseConfigurationArrayOutputWithContext

func (i LicenseConfigurationArray) ToLicenseConfigurationArrayOutputWithContext(ctx context.Context) LicenseConfigurationArrayOutput

type LicenseConfigurationArrayInput

type LicenseConfigurationArrayInput interface {
	pulumi.Input

	ToLicenseConfigurationArrayOutput() LicenseConfigurationArrayOutput
	ToLicenseConfigurationArrayOutputWithContext(context.Context) LicenseConfigurationArrayOutput
}

LicenseConfigurationArrayInput is an input type that accepts LicenseConfigurationArray and LicenseConfigurationArrayOutput values. You can construct a concrete instance of `LicenseConfigurationArrayInput` via:

LicenseConfigurationArray{ LicenseConfigurationArgs{...} }

type LicenseConfigurationArrayOutput

type LicenseConfigurationArrayOutput struct{ *pulumi.OutputState }

func (LicenseConfigurationArrayOutput) ElementType

func (LicenseConfigurationArrayOutput) Index

func (LicenseConfigurationArrayOutput) ToLicenseConfigurationArrayOutput

func (o LicenseConfigurationArrayOutput) ToLicenseConfigurationArrayOutput() LicenseConfigurationArrayOutput

func (LicenseConfigurationArrayOutput) ToLicenseConfigurationArrayOutputWithContext

func (o LicenseConfigurationArrayOutput) ToLicenseConfigurationArrayOutputWithContext(ctx context.Context) LicenseConfigurationArrayOutput

type LicenseConfigurationInput

type LicenseConfigurationInput interface {
	pulumi.Input

	ToLicenseConfigurationOutput() LicenseConfigurationOutput
	ToLicenseConfigurationOutputWithContext(ctx context.Context) LicenseConfigurationOutput
}

type LicenseConfigurationMap

type LicenseConfigurationMap map[string]LicenseConfigurationInput

func (LicenseConfigurationMap) ElementType

func (LicenseConfigurationMap) ElementType() reflect.Type

func (LicenseConfigurationMap) ToLicenseConfigurationMapOutput

func (i LicenseConfigurationMap) ToLicenseConfigurationMapOutput() LicenseConfigurationMapOutput

func (LicenseConfigurationMap) ToLicenseConfigurationMapOutputWithContext

func (i LicenseConfigurationMap) ToLicenseConfigurationMapOutputWithContext(ctx context.Context) LicenseConfigurationMapOutput

type LicenseConfigurationMapInput

type LicenseConfigurationMapInput interface {
	pulumi.Input

	ToLicenseConfigurationMapOutput() LicenseConfigurationMapOutput
	ToLicenseConfigurationMapOutputWithContext(context.Context) LicenseConfigurationMapOutput
}

LicenseConfigurationMapInput is an input type that accepts LicenseConfigurationMap and LicenseConfigurationMapOutput values. You can construct a concrete instance of `LicenseConfigurationMapInput` via:

LicenseConfigurationMap{ "key": LicenseConfigurationArgs{...} }

type LicenseConfigurationMapOutput

type LicenseConfigurationMapOutput struct{ *pulumi.OutputState }

func (LicenseConfigurationMapOutput) ElementType

func (LicenseConfigurationMapOutput) MapIndex

func (LicenseConfigurationMapOutput) ToLicenseConfigurationMapOutput

func (o LicenseConfigurationMapOutput) ToLicenseConfigurationMapOutput() LicenseConfigurationMapOutput

func (LicenseConfigurationMapOutput) ToLicenseConfigurationMapOutputWithContext

func (o LicenseConfigurationMapOutput) ToLicenseConfigurationMapOutputWithContext(ctx context.Context) LicenseConfigurationMapOutput

type LicenseConfigurationOutput

type LicenseConfigurationOutput struct{ *pulumi.OutputState }

func (LicenseConfigurationOutput) Arn added in v5.4.0

The license configuration ARN.

func (LicenseConfigurationOutput) Description added in v5.4.0

Description of the license configuration.

func (LicenseConfigurationOutput) ElementType

func (LicenseConfigurationOutput) ElementType() reflect.Type

func (LicenseConfigurationOutput) LicenseCount added in v5.4.0

Number of licenses managed by the license configuration.

func (LicenseConfigurationOutput) LicenseCountHardLimit added in v5.4.0

func (o LicenseConfigurationOutput) LicenseCountHardLimit() pulumi.BoolPtrOutput

Sets the number of available licenses as a hard limit.

func (LicenseConfigurationOutput) LicenseCountingType added in v5.4.0

func (o LicenseConfigurationOutput) LicenseCountingType() pulumi.StringOutput

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

func (LicenseConfigurationOutput) LicenseRules added in v5.4.0

Array of configured License Manager rules.

func (LicenseConfigurationOutput) Name added in v5.4.0

Name of the license configuration.

func (LicenseConfigurationOutput) OwnerAccountId added in v5.4.0

func (o LicenseConfigurationOutput) OwnerAccountId() pulumi.StringOutput

Account ID of the owner of the license configuration.

func (LicenseConfigurationOutput) Tags added in v5.4.0

A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (LicenseConfigurationOutput) TagsAll added in v5.4.0

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

func (LicenseConfigurationOutput) ToLicenseConfigurationOutput

func (o LicenseConfigurationOutput) ToLicenseConfigurationOutput() LicenseConfigurationOutput

func (LicenseConfigurationOutput) ToLicenseConfigurationOutputWithContext

func (o LicenseConfigurationOutput) ToLicenseConfigurationOutputWithContext(ctx context.Context) LicenseConfigurationOutput

type LicenseConfigurationState

type LicenseConfigurationState struct {
	// The license configuration ARN.
	Arn pulumi.StringPtrInput
	// Description of the license configuration.
	Description pulumi.StringPtrInput
	// Number of licenses managed by the license configuration.
	LicenseCount pulumi.IntPtrInput
	// Sets the number of available licenses as a hard limit.
	LicenseCountHardLimit pulumi.BoolPtrInput
	// Dimension to use to track license inventory. Specify either `vCPU`, `Instance`, `Core` or `Socket`.
	LicenseCountingType pulumi.StringPtrInput
	// Array of configured License Manager rules.
	LicenseRules pulumi.StringArrayInput
	// Name of the license configuration.
	Name pulumi.StringPtrInput
	// Account ID of the owner of the license configuration.
	OwnerAccountId pulumi.StringPtrInput
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
}

func (LicenseConfigurationState) ElementType

func (LicenseConfigurationState) ElementType() reflect.Type

type LicenseGrant added in v5.32.0

type LicenseGrant struct {
	pulumi.CustomResourceState

	// A list of the allowed operations for the grant. This is a subset of the allowed operations on the license.
	AllowedOperations pulumi.StringArrayOutput `pulumi:"allowedOperations"`
	// The grant ARN.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The home region for the license.
	HomeRegion pulumi.StringOutput `pulumi:"homeRegion"`
	// The ARN of the license to grant.
	LicenseArn pulumi.StringOutput `pulumi:"licenseArn"`
	// The Name of the grant.
	Name pulumi.StringOutput `pulumi:"name"`
	// The parent ARN.
	ParentArn pulumi.StringOutput `pulumi:"parentArn"`
	// The target account for the grant in the form of the ARN for an account principal of the root user.
	Principal pulumi.StringOutput `pulumi:"principal"`
	// The grant status.
	Status pulumi.StringOutput `pulumi:"status"`
	// The grant version.
	Version pulumi.StringOutput `pulumi:"version"`
}

Provides a License Manager grant. This allows for sharing licenses with other AWS accounts.

## Import

`aws_licensemanager_grant` can be imported using the grant arn.

```sh

$ pulumi import aws:licensemanager/licenseGrant:LicenseGrant test arn:aws:license-manager::123456789011:grant:g-01d313393d9e443d8664cc054db1e089

```

func GetLicenseGrant added in v5.32.0

func GetLicenseGrant(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LicenseGrantState, opts ...pulumi.ResourceOption) (*LicenseGrant, error)

GetLicenseGrant gets an existing LicenseGrant 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 NewLicenseGrant added in v5.32.0

func NewLicenseGrant(ctx *pulumi.Context,
	name string, args *LicenseGrantArgs, opts ...pulumi.ResourceOption) (*LicenseGrant, error)

NewLicenseGrant registers a new resource with the given unique name, arguments, and options.

func (*LicenseGrant) ElementType added in v5.32.0

func (*LicenseGrant) ElementType() reflect.Type

func (*LicenseGrant) ToLicenseGrantOutput added in v5.32.0

func (i *LicenseGrant) ToLicenseGrantOutput() LicenseGrantOutput

func (*LicenseGrant) ToLicenseGrantOutputWithContext added in v5.32.0

func (i *LicenseGrant) ToLicenseGrantOutputWithContext(ctx context.Context) LicenseGrantOutput

type LicenseGrantAccepter added in v5.32.0

type LicenseGrantAccepter struct {
	pulumi.CustomResourceState

	// A list of the allowed operations for the grant.
	AllowedOperations pulumi.StringArrayOutput `pulumi:"allowedOperations"`
	// The ARN of the grant to accept.
	GrantArn pulumi.StringOutput `pulumi:"grantArn"`
	// The home region for the license.
	HomeRegion pulumi.StringOutput `pulumi:"homeRegion"`
	// The ARN of the license for the grant.
	LicenseArn pulumi.StringOutput `pulumi:"licenseArn"`
	// The Name of the grant.
	Name pulumi.StringOutput `pulumi:"name"`
	// The parent ARN.
	ParentArn pulumi.StringOutput `pulumi:"parentArn"`
	// The target account for the grant.
	Principal pulumi.StringOutput `pulumi:"principal"`
	// The grant status.
	Status pulumi.StringOutput `pulumi:"status"`
	// The grant version.
	Version pulumi.StringOutput `pulumi:"version"`
}

Accepts a License Manager grant. This allows for sharing licenses with other aws accounts.

## Import

`aws_licensemanager_grant_accepter` can be imported using the grant arn.

```sh

$ pulumi import aws:licensemanager/licenseGrantAccepter:LicenseGrantAccepter test arn:aws:license-manager::123456789012:grant:g-1cf9fba4ba2f42dcab11c686c4b4d329

```

func GetLicenseGrantAccepter added in v5.32.0

func GetLicenseGrantAccepter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LicenseGrantAccepterState, opts ...pulumi.ResourceOption) (*LicenseGrantAccepter, error)

GetLicenseGrantAccepter gets an existing LicenseGrantAccepter 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 NewLicenseGrantAccepter added in v5.32.0

func NewLicenseGrantAccepter(ctx *pulumi.Context,
	name string, args *LicenseGrantAccepterArgs, opts ...pulumi.ResourceOption) (*LicenseGrantAccepter, error)

NewLicenseGrantAccepter registers a new resource with the given unique name, arguments, and options.

func (*LicenseGrantAccepter) ElementType added in v5.32.0

func (*LicenseGrantAccepter) ElementType() reflect.Type

func (*LicenseGrantAccepter) ToLicenseGrantAccepterOutput added in v5.32.0

func (i *LicenseGrantAccepter) ToLicenseGrantAccepterOutput() LicenseGrantAccepterOutput

func (*LicenseGrantAccepter) ToLicenseGrantAccepterOutputWithContext added in v5.32.0

func (i *LicenseGrantAccepter) ToLicenseGrantAccepterOutputWithContext(ctx context.Context) LicenseGrantAccepterOutput

type LicenseGrantAccepterArgs added in v5.32.0

type LicenseGrantAccepterArgs struct {
	// The ARN of the grant to accept.
	GrantArn pulumi.StringInput
}

The set of arguments for constructing a LicenseGrantAccepter resource.

func (LicenseGrantAccepterArgs) ElementType added in v5.32.0

func (LicenseGrantAccepterArgs) ElementType() reflect.Type

type LicenseGrantAccepterArray added in v5.32.0

type LicenseGrantAccepterArray []LicenseGrantAccepterInput

func (LicenseGrantAccepterArray) ElementType added in v5.32.0

func (LicenseGrantAccepterArray) ElementType() reflect.Type

func (LicenseGrantAccepterArray) ToLicenseGrantAccepterArrayOutput added in v5.32.0

func (i LicenseGrantAccepterArray) ToLicenseGrantAccepterArrayOutput() LicenseGrantAccepterArrayOutput

func (LicenseGrantAccepterArray) ToLicenseGrantAccepterArrayOutputWithContext added in v5.32.0

func (i LicenseGrantAccepterArray) ToLicenseGrantAccepterArrayOutputWithContext(ctx context.Context) LicenseGrantAccepterArrayOutput

type LicenseGrantAccepterArrayInput added in v5.32.0

type LicenseGrantAccepterArrayInput interface {
	pulumi.Input

	ToLicenseGrantAccepterArrayOutput() LicenseGrantAccepterArrayOutput
	ToLicenseGrantAccepterArrayOutputWithContext(context.Context) LicenseGrantAccepterArrayOutput
}

LicenseGrantAccepterArrayInput is an input type that accepts LicenseGrantAccepterArray and LicenseGrantAccepterArrayOutput values. You can construct a concrete instance of `LicenseGrantAccepterArrayInput` via:

LicenseGrantAccepterArray{ LicenseGrantAccepterArgs{...} }

type LicenseGrantAccepterArrayOutput added in v5.32.0

type LicenseGrantAccepterArrayOutput struct{ *pulumi.OutputState }

func (LicenseGrantAccepterArrayOutput) ElementType added in v5.32.0

func (LicenseGrantAccepterArrayOutput) Index added in v5.32.0

func (LicenseGrantAccepterArrayOutput) ToLicenseGrantAccepterArrayOutput added in v5.32.0

func (o LicenseGrantAccepterArrayOutput) ToLicenseGrantAccepterArrayOutput() LicenseGrantAccepterArrayOutput

func (LicenseGrantAccepterArrayOutput) ToLicenseGrantAccepterArrayOutputWithContext added in v5.32.0

func (o LicenseGrantAccepterArrayOutput) ToLicenseGrantAccepterArrayOutputWithContext(ctx context.Context) LicenseGrantAccepterArrayOutput

type LicenseGrantAccepterInput added in v5.32.0

type LicenseGrantAccepterInput interface {
	pulumi.Input

	ToLicenseGrantAccepterOutput() LicenseGrantAccepterOutput
	ToLicenseGrantAccepterOutputWithContext(ctx context.Context) LicenseGrantAccepterOutput
}

type LicenseGrantAccepterMap added in v5.32.0

type LicenseGrantAccepterMap map[string]LicenseGrantAccepterInput

func (LicenseGrantAccepterMap) ElementType added in v5.32.0

func (LicenseGrantAccepterMap) ElementType() reflect.Type

func (LicenseGrantAccepterMap) ToLicenseGrantAccepterMapOutput added in v5.32.0

func (i LicenseGrantAccepterMap) ToLicenseGrantAccepterMapOutput() LicenseGrantAccepterMapOutput

func (LicenseGrantAccepterMap) ToLicenseGrantAccepterMapOutputWithContext added in v5.32.0

func (i LicenseGrantAccepterMap) ToLicenseGrantAccepterMapOutputWithContext(ctx context.Context) LicenseGrantAccepterMapOutput

type LicenseGrantAccepterMapInput added in v5.32.0

type LicenseGrantAccepterMapInput interface {
	pulumi.Input

	ToLicenseGrantAccepterMapOutput() LicenseGrantAccepterMapOutput
	ToLicenseGrantAccepterMapOutputWithContext(context.Context) LicenseGrantAccepterMapOutput
}

LicenseGrantAccepterMapInput is an input type that accepts LicenseGrantAccepterMap and LicenseGrantAccepterMapOutput values. You can construct a concrete instance of `LicenseGrantAccepterMapInput` via:

LicenseGrantAccepterMap{ "key": LicenseGrantAccepterArgs{...} }

type LicenseGrantAccepterMapOutput added in v5.32.0

type LicenseGrantAccepterMapOutput struct{ *pulumi.OutputState }

func (LicenseGrantAccepterMapOutput) ElementType added in v5.32.0

func (LicenseGrantAccepterMapOutput) MapIndex added in v5.32.0

func (LicenseGrantAccepterMapOutput) ToLicenseGrantAccepterMapOutput added in v5.32.0

func (o LicenseGrantAccepterMapOutput) ToLicenseGrantAccepterMapOutput() LicenseGrantAccepterMapOutput

func (LicenseGrantAccepterMapOutput) ToLicenseGrantAccepterMapOutputWithContext added in v5.32.0

func (o LicenseGrantAccepterMapOutput) ToLicenseGrantAccepterMapOutputWithContext(ctx context.Context) LicenseGrantAccepterMapOutput

type LicenseGrantAccepterOutput added in v5.32.0

type LicenseGrantAccepterOutput struct{ *pulumi.OutputState }

func (LicenseGrantAccepterOutput) AllowedOperations added in v5.32.0

func (o LicenseGrantAccepterOutput) AllowedOperations() pulumi.StringArrayOutput

A list of the allowed operations for the grant.

func (LicenseGrantAccepterOutput) ElementType added in v5.32.0

func (LicenseGrantAccepterOutput) ElementType() reflect.Type

func (LicenseGrantAccepterOutput) GrantArn added in v5.32.0

The ARN of the grant to accept.

func (LicenseGrantAccepterOutput) HomeRegion added in v5.32.0

The home region for the license.

func (LicenseGrantAccepterOutput) LicenseArn added in v5.32.0

The ARN of the license for the grant.

func (LicenseGrantAccepterOutput) Name added in v5.32.0

The Name of the grant.

func (LicenseGrantAccepterOutput) ParentArn added in v5.32.0

The parent ARN.

func (LicenseGrantAccepterOutput) Principal added in v5.32.0

The target account for the grant.

func (LicenseGrantAccepterOutput) Status added in v5.32.0

The grant status.

func (LicenseGrantAccepterOutput) ToLicenseGrantAccepterOutput added in v5.32.0

func (o LicenseGrantAccepterOutput) ToLicenseGrantAccepterOutput() LicenseGrantAccepterOutput

func (LicenseGrantAccepterOutput) ToLicenseGrantAccepterOutputWithContext added in v5.32.0

func (o LicenseGrantAccepterOutput) ToLicenseGrantAccepterOutputWithContext(ctx context.Context) LicenseGrantAccepterOutput

func (LicenseGrantAccepterOutput) Version added in v5.32.0

The grant version.

type LicenseGrantAccepterState added in v5.32.0

type LicenseGrantAccepterState struct {
	// A list of the allowed operations for the grant.
	AllowedOperations pulumi.StringArrayInput
	// The ARN of the grant to accept.
	GrantArn pulumi.StringPtrInput
	// The home region for the license.
	HomeRegion pulumi.StringPtrInput
	// The ARN of the license for the grant.
	LicenseArn pulumi.StringPtrInput
	// The Name of the grant.
	Name pulumi.StringPtrInput
	// The parent ARN.
	ParentArn pulumi.StringPtrInput
	// The target account for the grant.
	Principal pulumi.StringPtrInput
	// The grant status.
	Status pulumi.StringPtrInput
	// The grant version.
	Version pulumi.StringPtrInput
}

func (LicenseGrantAccepterState) ElementType added in v5.32.0

func (LicenseGrantAccepterState) ElementType() reflect.Type

type LicenseGrantArgs added in v5.32.0

type LicenseGrantArgs struct {
	// A list of the allowed operations for the grant. This is a subset of the allowed operations on the license.
	AllowedOperations pulumi.StringArrayInput
	// The ARN of the license to grant.
	LicenseArn pulumi.StringInput
	// The Name of the grant.
	Name pulumi.StringPtrInput
	// The target account for the grant in the form of the ARN for an account principal of the root user.
	Principal pulumi.StringInput
}

The set of arguments for constructing a LicenseGrant resource.

func (LicenseGrantArgs) ElementType added in v5.32.0

func (LicenseGrantArgs) ElementType() reflect.Type

type LicenseGrantArray added in v5.32.0

type LicenseGrantArray []LicenseGrantInput

func (LicenseGrantArray) ElementType added in v5.32.0

func (LicenseGrantArray) ElementType() reflect.Type

func (LicenseGrantArray) ToLicenseGrantArrayOutput added in v5.32.0

func (i LicenseGrantArray) ToLicenseGrantArrayOutput() LicenseGrantArrayOutput

func (LicenseGrantArray) ToLicenseGrantArrayOutputWithContext added in v5.32.0

func (i LicenseGrantArray) ToLicenseGrantArrayOutputWithContext(ctx context.Context) LicenseGrantArrayOutput

type LicenseGrantArrayInput added in v5.32.0

type LicenseGrantArrayInput interface {
	pulumi.Input

	ToLicenseGrantArrayOutput() LicenseGrantArrayOutput
	ToLicenseGrantArrayOutputWithContext(context.Context) LicenseGrantArrayOutput
}

LicenseGrantArrayInput is an input type that accepts LicenseGrantArray and LicenseGrantArrayOutput values. You can construct a concrete instance of `LicenseGrantArrayInput` via:

LicenseGrantArray{ LicenseGrantArgs{...} }

type LicenseGrantArrayOutput added in v5.32.0

type LicenseGrantArrayOutput struct{ *pulumi.OutputState }

func (LicenseGrantArrayOutput) ElementType added in v5.32.0

func (LicenseGrantArrayOutput) ElementType() reflect.Type

func (LicenseGrantArrayOutput) Index added in v5.32.0

func (LicenseGrantArrayOutput) ToLicenseGrantArrayOutput added in v5.32.0

func (o LicenseGrantArrayOutput) ToLicenseGrantArrayOutput() LicenseGrantArrayOutput

func (LicenseGrantArrayOutput) ToLicenseGrantArrayOutputWithContext added in v5.32.0

func (o LicenseGrantArrayOutput) ToLicenseGrantArrayOutputWithContext(ctx context.Context) LicenseGrantArrayOutput

type LicenseGrantInput added in v5.32.0

type LicenseGrantInput interface {
	pulumi.Input

	ToLicenseGrantOutput() LicenseGrantOutput
	ToLicenseGrantOutputWithContext(ctx context.Context) LicenseGrantOutput
}

type LicenseGrantMap added in v5.32.0

type LicenseGrantMap map[string]LicenseGrantInput

func (LicenseGrantMap) ElementType added in v5.32.0

func (LicenseGrantMap) ElementType() reflect.Type

func (LicenseGrantMap) ToLicenseGrantMapOutput added in v5.32.0

func (i LicenseGrantMap) ToLicenseGrantMapOutput() LicenseGrantMapOutput

func (LicenseGrantMap) ToLicenseGrantMapOutputWithContext added in v5.32.0

func (i LicenseGrantMap) ToLicenseGrantMapOutputWithContext(ctx context.Context) LicenseGrantMapOutput

type LicenseGrantMapInput added in v5.32.0

type LicenseGrantMapInput interface {
	pulumi.Input

	ToLicenseGrantMapOutput() LicenseGrantMapOutput
	ToLicenseGrantMapOutputWithContext(context.Context) LicenseGrantMapOutput
}

LicenseGrantMapInput is an input type that accepts LicenseGrantMap and LicenseGrantMapOutput values. You can construct a concrete instance of `LicenseGrantMapInput` via:

LicenseGrantMap{ "key": LicenseGrantArgs{...} }

type LicenseGrantMapOutput added in v5.32.0

type LicenseGrantMapOutput struct{ *pulumi.OutputState }

func (LicenseGrantMapOutput) ElementType added in v5.32.0

func (LicenseGrantMapOutput) ElementType() reflect.Type

func (LicenseGrantMapOutput) MapIndex added in v5.32.0

func (LicenseGrantMapOutput) ToLicenseGrantMapOutput added in v5.32.0

func (o LicenseGrantMapOutput) ToLicenseGrantMapOutput() LicenseGrantMapOutput

func (LicenseGrantMapOutput) ToLicenseGrantMapOutputWithContext added in v5.32.0

func (o LicenseGrantMapOutput) ToLicenseGrantMapOutputWithContext(ctx context.Context) LicenseGrantMapOutput

type LicenseGrantOutput added in v5.32.0

type LicenseGrantOutput struct{ *pulumi.OutputState }

func (LicenseGrantOutput) AllowedOperations added in v5.32.0

func (o LicenseGrantOutput) AllowedOperations() pulumi.StringArrayOutput

A list of the allowed operations for the grant. This is a subset of the allowed operations on the license.

func (LicenseGrantOutput) Arn added in v5.32.0

The grant ARN.

func (LicenseGrantOutput) ElementType added in v5.32.0

func (LicenseGrantOutput) ElementType() reflect.Type

func (LicenseGrantOutput) HomeRegion added in v5.32.0

func (o LicenseGrantOutput) HomeRegion() pulumi.StringOutput

The home region for the license.

func (LicenseGrantOutput) LicenseArn added in v5.32.0

func (o LicenseGrantOutput) LicenseArn() pulumi.StringOutput

The ARN of the license to grant.

func (LicenseGrantOutput) Name added in v5.32.0

The Name of the grant.

func (LicenseGrantOutput) ParentArn added in v5.32.0

func (o LicenseGrantOutput) ParentArn() pulumi.StringOutput

The parent ARN.

func (LicenseGrantOutput) Principal added in v5.32.0

func (o LicenseGrantOutput) Principal() pulumi.StringOutput

The target account for the grant in the form of the ARN for an account principal of the root user.

func (LicenseGrantOutput) Status added in v5.32.0

The grant status.

func (LicenseGrantOutput) ToLicenseGrantOutput added in v5.32.0

func (o LicenseGrantOutput) ToLicenseGrantOutput() LicenseGrantOutput

func (LicenseGrantOutput) ToLicenseGrantOutputWithContext added in v5.32.0

func (o LicenseGrantOutput) ToLicenseGrantOutputWithContext(ctx context.Context) LicenseGrantOutput

func (LicenseGrantOutput) Version added in v5.32.0

The grant version.

type LicenseGrantState added in v5.32.0

type LicenseGrantState struct {
	// A list of the allowed operations for the grant. This is a subset of the allowed operations on the license.
	AllowedOperations pulumi.StringArrayInput
	// The grant ARN.
	Arn pulumi.StringPtrInput
	// The home region for the license.
	HomeRegion pulumi.StringPtrInput
	// The ARN of the license to grant.
	LicenseArn pulumi.StringPtrInput
	// The Name of the grant.
	Name pulumi.StringPtrInput
	// The parent ARN.
	ParentArn pulumi.StringPtrInput
	// The target account for the grant in the form of the ARN for an account principal of the root user.
	Principal pulumi.StringPtrInput
	// The grant status.
	Status pulumi.StringPtrInput
	// The grant version.
	Version pulumi.StringPtrInput
}

func (LicenseGrantState) ElementType added in v5.32.0

func (LicenseGrantState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL