import * as cdk from "../../core/lib"; import * as constructs from "constructs"; import * as cfn_parse from "../../core/lib/helpers-internal"; import { ISubscriptionProviderRef, SubscriptionProviderReference } from "../../interfaces/generated/aws-licensemanagerlinuxsubscriptions-interfaces.generated"; /** * Resource Type definition for AWS::LicenseManagerLinuxSubscriptions::SubscriptionProvider. * * Registers a third-party Linux subscription provider so that License Manager can retrieve subscription details for the discovered Linux instances in an account. * * @cloudformationResource AWS::LicenseManagerLinuxSubscriptions::SubscriptionProvider * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanagerlinuxsubscriptions-subscriptionprovider.html */ export declare class CfnSubscriptionProvider extends cdk.CfnResource implements cdk.IInspectable, ISubscriptionProviderRef, cdk.ITaggableV2 { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnSubscriptionProvider from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnSubscriptionProvider; /** * Checks whether the given object is a CfnSubscriptionProvider */ static isCfnSubscriptionProvider(x: any): x is CfnSubscriptionProvider; static arnForSubscriptionProvider(resource: ISubscriptionProviderRef): string; /** * Tag Manager which manages the tags for this resource */ readonly cdkTagManager: cdk.TagManager; /** * The Amazon Resource Name (ARN) of the Secrets Manager secret that contains the access token for the third-party Linux subscription provider. */ private _secretArn; /** * The Linux subscription provider that the registration is for. */ private _subscriptionProviderSource; /** * The metadata tags assigned to the registered subscription provider. */ private _tags?; protected readonly cfnPropertyNames: Record; /** * Create a new `AWS::LicenseManagerLinuxSubscriptions::SubscriptionProvider`. * * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnSubscriptionProviderProps); get subscriptionProviderRef(): SubscriptionProviderReference; /** * The Amazon Resource Name (ARN) of the Secrets Manager secret that contains the access token for the third-party Linux subscription provider. */ get secretArn(): string; /** * The Amazon Resource Name (ARN) of the Secrets Manager secret that contains the access token for the third-party Linux subscription provider. */ set secretArn(value: string); /** * The Linux subscription provider that the registration is for. */ get subscriptionProviderSource(): string; /** * The Linux subscription provider that the registration is for. */ set subscriptionProviderSource(value: string); /** * The metadata tags assigned to the registered subscription provider. */ get tags(): Array | undefined; /** * The metadata tags assigned to the registered subscription provider. */ set tags(value: Array | undefined); /** * The timestamp from the last time that License Manager retrieved subscription details from the registered third-party Linux subscription provider. * * @cloudformationAttribute LastSuccessfulDataRetrievalTime */ get attrLastSuccessfulDataRetrievalTime(): string; /** * The Amazon Resource Name (ARN) of the Linux subscription provider resource that you registered. * * @cloudformationAttribute SubscriptionProviderArn */ get attrSubscriptionProviderArn(): string; /** * The status of the third-party subscription provider access token from the last subscription data request. * * @cloudformationAttribute SubscriptionProviderStatus */ get attrSubscriptionProviderStatus(): string; /** * A message that describes the status of the third-party subscription provider access token. * * @cloudformationAttribute SubscriptionProviderStatusMessage */ get attrSubscriptionProviderStatusMessage(): string; protected get cfnProperties(): Record; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record): Record; } /** * Properties for defining a `CfnSubscriptionProvider` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanagerlinuxsubscriptions-subscriptionprovider.html */ export interface CfnSubscriptionProviderProps { /** * The Amazon Resource Name (ARN) of the Secrets Manager secret that contains the access token for the third-party Linux subscription provider. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanagerlinuxsubscriptions-subscriptionprovider.html#cfn-licensemanagerlinuxsubscriptions-subscriptionprovider-secretarn */ readonly secretArn: string; /** * The Linux subscription provider that the registration is for. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanagerlinuxsubscriptions-subscriptionprovider.html#cfn-licensemanagerlinuxsubscriptions-subscriptionprovider-subscriptionprovidersource */ readonly subscriptionProviderSource: string; /** * The metadata tags assigned to the registered subscription provider. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanagerlinuxsubscriptions-subscriptionprovider.html#cfn-licensemanagerlinuxsubscriptions-subscriptionprovider-tags */ readonly tags?: Array; } export type { ISubscriptionProviderRef, SubscriptionProviderReference };