149 lines
6.3 KiB
TypeScript
149 lines
6.3 KiB
TypeScript
import * as cdk from "../../core/lib";
|
|
import * as constructs from "constructs";
|
|
import * as cfn_parse from "../../core/lib/helpers-internal";
|
|
import { FeedReference, IFeedRef } from "../../interfaces/generated/aws-elementalinference-interfaces.generated";
|
|
/**
|
|
* Represents a feed that receives media for inference processing.
|
|
*
|
|
* @cloudformationResource AWS::ElementalInference::Feed
|
|
* @stability external
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elementalinference-feed.html
|
|
*/
|
|
export declare class CfnFeed extends cdk.CfnResource implements cdk.IInspectable, IFeedRef, cdk.ITaggableV2 {
|
|
/**
|
|
* The CloudFormation resource type name for this resource class.
|
|
*/
|
|
static readonly CFN_RESOURCE_TYPE_NAME: string;
|
|
/**
|
|
* Build a CfnFeed 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): CfnFeed;
|
|
/**
|
|
* Checks whether the given object is a CfnFeed
|
|
*/
|
|
static isCfnFeed(x: any): x is CfnFeed;
|
|
static arnForFeed(resource: IFeedRef): string;
|
|
/**
|
|
* Tag Manager which manages the tags for this resource
|
|
*/
|
|
readonly cdkTagManager: cdk.TagManager;
|
|
private _name;
|
|
private _outputs;
|
|
private _tags?;
|
|
protected readonly cfnPropertyNames: Record<string, string>;
|
|
/**
|
|
* Create a new `AWS::ElementalInference::Feed`.
|
|
*
|
|
* @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: CfnFeedProps);
|
|
get feedRef(): FeedReference;
|
|
get name(): string;
|
|
set name(value: string);
|
|
get outputs(): Array<CfnFeed.GetOutputProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
set outputs(value: Array<CfnFeed.GetOutputProperty | cdk.IResolvable> | cdk.IResolvable);
|
|
get tags(): Record<string, string> | undefined;
|
|
set tags(value: Record<string, string> | undefined);
|
|
/**
|
|
* @cloudformationAttribute Arn
|
|
*/
|
|
get attrArn(): string;
|
|
/**
|
|
* @cloudformationAttribute DataEndpoints
|
|
*/
|
|
get attrDataEndpoints(): Array<string>;
|
|
/**
|
|
* @cloudformationAttribute Id
|
|
*/
|
|
get attrId(): string;
|
|
protected get cfnProperties(): Record<string, any>;
|
|
/**
|
|
* 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<string, any>): Record<string, any>;
|
|
}
|
|
export declare namespace CfnFeed {
|
|
/**
|
|
* @struct
|
|
* @stability external
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-getoutput.html
|
|
*/
|
|
interface GetOutputProperty {
|
|
/**
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-getoutput.html#cfn-elementalinference-feed-getoutput-description
|
|
*/
|
|
readonly description?: string;
|
|
/**
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-getoutput.html#cfn-elementalinference-feed-getoutput-name
|
|
*/
|
|
readonly name: string;
|
|
/**
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-getoutput.html#cfn-elementalinference-feed-getoutput-outputconfig
|
|
*/
|
|
readonly outputConfig: cdk.IResolvable | CfnFeed.OutputConfigProperty;
|
|
/**
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-getoutput.html#cfn-elementalinference-feed-getoutput-status
|
|
*/
|
|
readonly status: string;
|
|
}
|
|
/**
|
|
* @struct
|
|
* @stability external
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-outputconfig.html
|
|
*/
|
|
interface OutputConfigProperty {
|
|
/**
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-outputconfig.html#cfn-elementalinference-feed-outputconfig-clipping
|
|
*/
|
|
readonly clipping?: CfnFeed.ClippingConfigProperty | cdk.IResolvable;
|
|
/**
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-outputconfig.html#cfn-elementalinference-feed-outputconfig-cropping
|
|
*/
|
|
readonly cropping?: any | cdk.IResolvable;
|
|
}
|
|
/**
|
|
* @struct
|
|
* @stability external
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-clippingconfig.html
|
|
*/
|
|
interface ClippingConfigProperty {
|
|
/**
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elementalinference-feed-clippingconfig.html#cfn-elementalinference-feed-clippingconfig-callbackmetadata
|
|
*/
|
|
readonly callbackMetadata?: string;
|
|
}
|
|
}
|
|
/**
|
|
* Properties for defining a `CfnFeed`
|
|
*
|
|
* @struct
|
|
* @stability external
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elementalinference-feed.html
|
|
*/
|
|
export interface CfnFeedProps {
|
|
/**
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elementalinference-feed.html#cfn-elementalinference-feed-name
|
|
*/
|
|
readonly name: string;
|
|
/**
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elementalinference-feed.html#cfn-elementalinference-feed-outputs
|
|
*/
|
|
readonly outputs: Array<CfnFeed.GetOutputProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
/**
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elementalinference-feed.html#cfn-elementalinference-feed-tags
|
|
*/
|
|
readonly tags?: Record<string, string>;
|
|
}
|
|
export type { IFeedRef, FeedReference };
|