Class CfnDelivery

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

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:04.877Z") @Stability(Stable) public class CfnDelivery extends CfnResource implements IInspectable, ITaggableV2
This structure contains information about one delivery in your account.

A delivery is a connection between a logical delivery source and a logical delivery destination .

For more information, see CreateDelivery .

You can't update an existing delivery. You can only create and delete deliveries.

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.logs.*;
 CfnDelivery cfnDelivery = CfnDelivery.Builder.create(this, "MyCfnDelivery")
         .deliveryDestinationArn("deliveryDestinationArn")
         .deliverySourceName("deliverySourceName")
         // the properties below are optional
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .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

    • CfnDelivery

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

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

      @Stability(Stable) public CfnDelivery(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDeliveryProps props)
      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

    • 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()
      The Amazon Resource Name (ARN) that uniquely identifies this delivery.
    • getAttrDeliveryDestinationType

      @Stability(Stable) @NotNull public String getAttrDeliveryDestinationType()
      Displays whether the delivery destination associated with this delivery is CloudWatch Logs, Amazon S3, or Firehose.
    • getAttrDeliveryId

      @Stability(Stable) @NotNull public String getAttrDeliveryId()
      The unique ID that identifies this delivery in your account.
    • 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
    • getDeliveryDestinationArn

      @Stability(Stable) @NotNull public String getDeliveryDestinationArn()
      The ARN of the delivery destination that is associated with this delivery.
    • setDeliveryDestinationArn

      @Stability(Stable) public void setDeliveryDestinationArn(@NotNull String value)
      The ARN of the delivery destination that is associated with this delivery.
    • getDeliverySourceName

      @Stability(Stable) @NotNull public String getDeliverySourceName()
      The name of the delivery source that is associated with this delivery.
    • setDeliverySourceName

      @Stability(Stable) public void setDeliverySourceName(@NotNull String value)
      The name of the delivery source that is associated with this delivery.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      The tags that have been assigned to this delivery.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      The tags that have been assigned to this delivery.