import * as cdk from "../../core/lib"; import * as constructs from "constructs"; import * as cfn_parse from "../../core/lib/helpers-internal"; import { AppAuthorizationReference, IAppAuthorizationRef, IIngestionDestinationRef, IngestionDestinationReference } from "../../interfaces/generated/aws-appfabric-interfaces.generated"; /** * Creates an app authorization within an app bundle, which allows AppFabric to connect to an application. * * @cloudformationResource AWS::AppFabric::AppAuthorization * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appfabric-appauthorization.html */ export declare class CfnAppAuthorization extends cdk.CfnResource implements cdk.IInspectable, IAppAuthorizationRef, cdk.ITaggableV2 { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnAppAuthorization 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): CfnAppAuthorization; /** * Checks whether the given object is a CfnAppAuthorization */ static isCfnAppAuthorization(x: any): x is CfnAppAuthorization; static arnForAppAuthorization(resource: IAppAuthorizationRef): string; /** * The name of the application. */ private _app; /** * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request. */ private _appBundleIdentifier; /** * The authorization type. */ private _authType; /** * Tag Manager which manages the tags for this resource */ readonly cdkTagManager: cdk.TagManager; /** * Contains credential information for the application. */ private _credential?; /** * Tags to apply to the app authorization. */ private _tags?; /** * Contains information about an application tenant. */ private _tenant; protected readonly cfnPropertyNames: Record; /** * Create a new `AWS::AppFabric::AppAuthorization`. * * @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: CfnAppAuthorizationProps); get appAuthorizationRef(): AppAuthorizationReference; /** * The name of the application. */ get app(): string; /** * The name of the application. */ set app(value: string); /** * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request. */ get appBundleIdentifier(): string; /** * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request. */ set appBundleIdentifier(value: string); /** * The authorization type. */ get authType(): string; /** * The authorization type. */ set authType(value: string); /** * Contains credential information for the application. */ get credential(): CfnAppAuthorization.CredentialProperty | cdk.IResolvable | undefined; /** * Contains credential information for the application. */ set credential(value: CfnAppAuthorization.CredentialProperty | cdk.IResolvable | undefined); /** * Tags to apply to the app authorization. */ get tags(): Array | undefined; /** * Tags to apply to the app authorization. */ set tags(value: Array | undefined); /** * Contains information about an application tenant. */ get tenant(): cdk.IResolvable | CfnAppAuthorization.TenantProperty; /** * Contains information about an application tenant. */ set tenant(value: cdk.IResolvable | CfnAppAuthorization.TenantProperty); /** * The Amazon Resource Name (ARN) of the app authorization. * * @cloudformationAttribute AppAuthorizationArn */ get attrAppAuthorizationArn(): string; /** * The unique identifier of the app authorization. * * @cloudformationAttribute AppAuthorizationIdentifier */ get attrAppAuthorizationIdentifier(): string; /** * The Amazon Resource Name (ARN) of the app bundle for the app authorization. * * @cloudformationAttribute AppBundleArn */ get attrAppBundleArn(): string; /** * The timestamp of when the app authorization was created. * * @cloudformationAttribute CreatedAt */ get attrCreatedAt(): string; /** * The user persona of the app authorization. * * @cloudformationAttribute Persona */ get attrPersona(): string; /** * The state of the app authorization. * * @cloudformationAttribute Status */ get attrStatus(): string; /** * The timestamp of when the app authorization was last updated. * * @cloudformationAttribute UpdatedAt */ get attrUpdatedAt(): 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; } export declare namespace CfnAppAuthorization { /** * Contains credential information for the application. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-appauthorization-credential.html */ interface CredentialProperty { /** * Contains API key credential information. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-appauthorization-credential.html#cfn-appfabric-appauthorization-credential-apikeycredential */ readonly apiKeyCredential?: CfnAppAuthorization.ApiKeyCredentialProperty | cdk.IResolvable; /** * Contains OAuth2 client credential information. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-appauthorization-credential.html#cfn-appfabric-appauthorization-credential-oauth2credential */ readonly oauth2Credential?: cdk.IResolvable | CfnAppAuthorization.Oauth2CredentialProperty; } /** * Contains OAuth2 client credential information. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-appauthorization-oauth2credential.html */ interface Oauth2CredentialProperty { /** * The client ID of the client application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-appauthorization-oauth2credential.html#cfn-appfabric-appauthorization-oauth2credential-clientid */ readonly clientId: string; /** * The client secret of the client application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-appauthorization-oauth2credential.html#cfn-appfabric-appauthorization-oauth2credential-clientsecret */ readonly clientSecret: string; } /** * Contains API key credential information. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-appauthorization-apikeycredential.html */ interface ApiKeyCredentialProperty { /** * An API key for an application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-appauthorization-apikeycredential.html#cfn-appfabric-appauthorization-apikeycredential-apikey */ readonly apiKey: string; } /** * Contains information about an application tenant. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-appauthorization-tenant.html */ interface TenantProperty { /** * The display name of the tenant. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-appauthorization-tenant.html#cfn-appfabric-appauthorization-tenant-tenantdisplayname */ readonly tenantDisplayName: string; /** * The ID of the application tenant. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-appauthorization-tenant.html#cfn-appfabric-appauthorization-tenant-tenantidentifier */ readonly tenantIdentifier: string; } } /** * Properties for defining a `CfnAppAuthorization` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appfabric-appauthorization.html */ export interface CfnAppAuthorizationProps { /** * The name of the application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appfabric-appauthorization.html#cfn-appfabric-appauthorization-app */ readonly app: string; /** * The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appfabric-appauthorization.html#cfn-appfabric-appauthorization-appbundleidentifier */ readonly appBundleIdentifier: string; /** * The authorization type. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appfabric-appauthorization.html#cfn-appfabric-appauthorization-authtype */ readonly authType: string; /** * Contains credential information for the application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appfabric-appauthorization.html#cfn-appfabric-appauthorization-credential */ readonly credential?: CfnAppAuthorization.CredentialProperty | cdk.IResolvable; /** * Tags to apply to the app authorization. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appfabric-appauthorization.html#cfn-appfabric-appauthorization-tags */ readonly tags?: Array; /** * Contains information about an application tenant. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appfabric-appauthorization.html#cfn-appfabric-appauthorization-tenant */ readonly tenant: cdk.IResolvable | CfnAppAuthorization.TenantProperty; } /** * Creates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered. * * @cloudformationResource AWS::AppFabric::IngestionDestination * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appfabric-ingestiondestination.html */ export declare class CfnIngestionDestination extends cdk.CfnResource implements cdk.IInspectable, IIngestionDestinationRef, cdk.ITaggableV2 { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnIngestionDestination 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): CfnIngestionDestination; /** * Checks whether the given object is a CfnIngestionDestination */ static isCfnIngestionDestination(x: any): x is CfnIngestionDestination; static arnForIngestionDestination(resource: IIngestionDestinationRef): string; /** * The Amazon Resource Name (ARN) of the app bundle. */ private _appBundleArn; /** * Tag Manager which manages the tags for this resource */ readonly cdkTagManager: cdk.TagManager; /** * Contains information about the destination of ingested data. */ private _destinationConfiguration; /** * The Amazon Resource Name (ARN) of the ingestion. */ private _ingestionArn; /** * Contains information about how ingested data is processed. */ private _processingConfiguration; /** * A map of the key-value pairs of the tag or tags to assign to the resource. */ private _tags?; protected readonly cfnPropertyNames: Record; /** * Create a new `AWS::AppFabric::IngestionDestination`. * * @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: CfnIngestionDestinationProps); get ingestionDestinationRef(): IngestionDestinationReference; /** * The Amazon Resource Name (ARN) of the app bundle. */ get appBundleArn(): string; /** * The Amazon Resource Name (ARN) of the app bundle. */ set appBundleArn(value: string); /** * Contains information about the destination of ingested data. */ get destinationConfiguration(): CfnIngestionDestination.DestinationConfigurationProperty | cdk.IResolvable; /** * Contains information about the destination of ingested data. */ set destinationConfiguration(value: CfnIngestionDestination.DestinationConfigurationProperty | cdk.IResolvable); /** * The Amazon Resource Name (ARN) of the ingestion. */ get ingestionArn(): string; /** * The Amazon Resource Name (ARN) of the ingestion. */ set ingestionArn(value: string); /** * Contains information about how ingested data is processed. */ get processingConfiguration(): cdk.IResolvable | CfnIngestionDestination.ProcessingConfigurationProperty; /** * Contains information about how ingested data is processed. */ set processingConfiguration(value: cdk.IResolvable | CfnIngestionDestination.ProcessingConfigurationProperty); /** * A map of the key-value pairs of the tag or tags to assign to the resource. */ get tags(): Array | undefined; /** * A map of the key-value pairs of the tag or tags to assign to the resource. */ set tags(value: Array | undefined); /** * The Amazon Resource Name (ARN) of the ingestion destination. * * @cloudformationAttribute Arn */ get attrArn(): string; /** * The timestamp of when the ingestion destination was created. * * @cloudformationAttribute CreatedAt */ get attrCreatedAt(): string; /** * The state of the ingestion destination. * * @cloudformationAttribute Status */ get attrStatus(): string; /** * The timestamp of when the ingestion destination was last updated. * * @cloudformationAttribute UpdatedAt */ get attrUpdatedAt(): 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; } export declare namespace CfnIngestionDestination { /** * Contains information about how ingested data is processed. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-ingestiondestination-processingconfiguration.html */ interface ProcessingConfigurationProperty { /** * Contains information about an audit log processing configuration. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-ingestiondestination-processingconfiguration.html#cfn-appfabric-ingestiondestination-processingconfiguration-auditlog */ readonly auditLog: CfnIngestionDestination.AuditLogProcessingConfigurationProperty | cdk.IResolvable; } /** * Contains information about an audit log processing configuration. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-ingestiondestination-auditlogprocessingconfiguration.html */ interface AuditLogProcessingConfigurationProperty { /** * The format in which the audit logs need to be formatted. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-ingestiondestination-auditlogprocessingconfiguration.html#cfn-appfabric-ingestiondestination-auditlogprocessingconfiguration-format */ readonly format: string; /** * The event schema in which the audit logs need to be formatted. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-ingestiondestination-auditlogprocessingconfiguration.html#cfn-appfabric-ingestiondestination-auditlogprocessingconfiguration-schema */ readonly schema: string; } /** * Contains information about the destination of ingested data. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-ingestiondestination-destinationconfiguration.html */ interface DestinationConfigurationProperty { /** * Contains information about an audit log destination configuration. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-ingestiondestination-destinationconfiguration.html#cfn-appfabric-ingestiondestination-destinationconfiguration-auditlog */ readonly auditLog: CfnIngestionDestination.AuditLogDestinationConfigurationProperty | cdk.IResolvable; } /** * Contains information about an audit log destination configuration. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-ingestiondestination-auditlogdestinationconfiguration.html */ interface AuditLogDestinationConfigurationProperty { /** * Contains information about an audit log destination. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-ingestiondestination-auditlogdestinationconfiguration.html#cfn-appfabric-ingestiondestination-auditlogdestinationconfiguration-destination */ readonly destination: CfnIngestionDestination.DestinationProperty | cdk.IResolvable; } /** * Contains information about an audit log destination. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-ingestiondestination-destination.html */ interface DestinationProperty { /** * Contains information about an Amazon Kinesis Data Firehose delivery stream. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-ingestiondestination-destination.html#cfn-appfabric-ingestiondestination-destination-firehosestream */ readonly firehoseStream?: CfnIngestionDestination.FirehoseStreamProperty | cdk.IResolvable; /** * Contains information about an Amazon S3 bucket. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-ingestiondestination-destination.html#cfn-appfabric-ingestiondestination-destination-s3bucket */ readonly s3Bucket?: cdk.IResolvable | CfnIngestionDestination.S3BucketProperty; } /** * Contains information about an Amazon S3 bucket. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-ingestiondestination-s3bucket.html */ interface S3BucketProperty { /** * The name of the Amazon S3 bucket. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-ingestiondestination-s3bucket.html#cfn-appfabric-ingestiondestination-s3bucket-bucketname */ readonly bucketName: string; /** * The object key to use. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-ingestiondestination-s3bucket.html#cfn-appfabric-ingestiondestination-s3bucket-prefix */ readonly prefix?: string; } /** * Contains information about an Amazon Kinesis Data Firehose delivery stream. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-ingestiondestination-firehosestream.html */ interface FirehoseStreamProperty { /** * The name of the Amazon Kinesis Data Firehose delivery stream. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appfabric-ingestiondestination-firehosestream.html#cfn-appfabric-ingestiondestination-firehosestream-streamname */ readonly streamName: string; } } /** * Properties for defining a `CfnIngestionDestination` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appfabric-ingestiondestination.html */ export interface CfnIngestionDestinationProps { /** * The Amazon Resource Name (ARN) of the app bundle. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appfabric-ingestiondestination.html#cfn-appfabric-ingestiondestination-appbundlearn */ readonly appBundleArn: string; /** * Contains information about the destination of ingested data. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appfabric-ingestiondestination.html#cfn-appfabric-ingestiondestination-destinationconfiguration */ readonly destinationConfiguration: CfnIngestionDestination.DestinationConfigurationProperty | cdk.IResolvable; /** * The Amazon Resource Name (ARN) of the ingestion. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appfabric-ingestiondestination.html#cfn-appfabric-ingestiondestination-ingestionarn */ readonly ingestionArn: string; /** * Contains information about how ingested data is processed. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appfabric-ingestiondestination.html#cfn-appfabric-ingestiondestination-processingconfiguration */ readonly processingConfiguration: cdk.IResolvable | CfnIngestionDestination.ProcessingConfigurationProperty; /** * A map of the key-value pairs of the tag or tags to assign to the resource. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appfabric-ingestiondestination.html#cfn-appfabric-ingestiondestination-tags */ readonly tags?: Array; } export type { IAppAuthorizationRef, AppAuthorizationReference }; export type { IIngestionDestinationRef, IngestionDestinationReference };