java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IFeedRef, IEnvironmentAware, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-27T13:11:59.947Z") @Stability(Stable) public class CfnFeed extends CfnResource implements IInspectable, IFeedRef, ITaggableV2
Represents a feed that receives media for inference processing.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.elementalinference.*;
 Object cropping;
 CfnFeed cfnFeed = CfnFeed.Builder.create(this, "MyCfnFeed")
         .name("name")
         .outputs(List.of(GetOutputProperty.builder()
                 .name("name")
                 .outputConfig(OutputConfigProperty.builder()
                         .clipping(ClippingConfigProperty.builder()
                                 .callbackMetadata("callbackMetadata")
                                 .build())
                         .cropping(cropping)
                         .build())
                 .status("status")
                 // the properties below are optional
                 .description("description")
                 .build()))
         // the properties below are optional
         .tags(Map.of(
                 "tagsKey", "tags"))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnFeed

      protected CfnFeed(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnFeed

      protected CfnFeed(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnFeed

      @Stability(Stable) public CfnFeed(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnFeedProps props)
      Create a new AWS::ElementalInference::Feed.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • arnForFeed

      @Stability(Stable) @NotNull public static String arnForFeed(@NotNull IFeedRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnFeed

      @Stability(Stable) @NotNull public static Boolean isCfnFeed(@NotNull Object x)
      Checks whether the given object is a CfnFeed.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
    • getAttrDataEndpoints

      @Stability(Stable) @NotNull public List<String> getAttrDataEndpoints()
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getFeedRef

      @Stability(Stable) @NotNull public FeedReference getFeedRef()
      A reference to a Feed resource.
      Specified by:
      getFeedRef in interface IFeedRef
    • getName

      @Stability(Stable) @NotNull public String getName()
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
    • getOutputs

      @Stability(Stable) @NotNull public Object getOutputs()
      Returns union: either IResolvable or Listinvalid input: '<'either IResolvable or CfnFeed.GetOutputProperty>
    • setOutputs

      @Stability(Stable) public void setOutputs(@NotNull IResolvable value)
    • setOutputs

      @Stability(Stable) public void setOutputs(@NotNull List<Object> value)
    • getTags

      @Stability(Stable) @Nullable public Map<String,String> getTags()
    • setTags

      @Stability(Stable) public void setTags(@Nullable Map<String,String> value)