@aws-cdk/aws-mediaconnect-alpha 2.263.0-alpha.0 → 2.265.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/flow.d.ts CHANGED
@@ -135,7 +135,31 @@ export interface IFlow extends IResource, IFlowRef {
135
135
  /**
136
136
  * Add an output to this flow
137
137
  */
138
- addOutput(id: string, outputConfig: OutputConfiguration): IFlowOutput;
138
+ addOutput(id: string, options: AddFlowOutputOptions): IFlowOutput;
139
+ }
140
+ /**
141
+ * Options for adding an output to a flow.
142
+ */
143
+ export interface AddFlowOutputOptions {
144
+ /**
145
+ * The output configuration.
146
+ */
147
+ readonly output: OutputConfiguration;
148
+ /**
149
+ * The name of the flow output.
150
+ * @default - auto-generated
151
+ */
152
+ readonly flowOutputName?: string;
153
+ /**
154
+ * A description of the output.
155
+ * @default - no description
156
+ */
157
+ readonly description?: string;
158
+ /**
159
+ * Whether the output is enabled.
160
+ * @default State.ENABLED
161
+ */
162
+ readonly outputStatus?: State;
139
163
  }
140
164
  /**
141
165
  * Options for Flow Size
@@ -171,17 +195,13 @@ export declare class FlowSize {
171
195
  toString(): string;
172
196
  }
173
197
  /**
174
- * Maintenance Window configuration for MediaConnect Flow.
198
+ * Configuration for scheduled maintenance windows.
175
199
  */
176
200
  export interface MaintenanceWindow {
177
- /**
178
- * A day of a week when the maintenance will happen.
179
- */
180
- readonly maintenanceDay: MaintenanceDay;
181
- /**
182
- * UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00.
183
- */
184
- readonly maintenanceStartHour: string;
201
+ /** A day of a week when the maintenance will happen. */
202
+ readonly day: MaintenanceDay;
203
+ /** The maintenance start time in UTC, 24-hour HH:MM format. Minutes must be 00 (e.g., '02:00', '13:00'). */
204
+ readonly time: string;
185
205
  }
186
206
  /**
187
207
  * Options for merge-mode source failover.
@@ -676,7 +696,7 @@ export interface FlowProps {
676
696
  *
677
697
  * @default - chosen by MediaConnect
678
698
  */
679
- readonly maintenance?: MaintenanceWindow;
699
+ readonly maintenanceConfiguration?: MaintenanceWindow;
680
700
  /**
681
701
  * The media streams that are associated with the flow. After you associate a media stream with a source, you can also associate it with outputs on the flow.
682
702
  *
@@ -717,9 +737,6 @@ export interface FlowProps {
717
737
  readonly sourceMonitoringConfig?: SourceMonitoringConfig;
718
738
  /**
719
739
  * The VPC Interfaces for this flow.
720
- *
721
- * Use this instead of the FlowVpcInterface construct.
722
- *
723
740
  * @default No VPC Interface configuration applied
724
741
  */
725
742
  readonly vpcInterfaces?: VpcInterfaceConfig[];
@@ -823,7 +840,7 @@ declare abstract class FlowBase extends Resource implements IFlow {
823
840
  /**
824
841
  * Add an output to this flow
825
842
  */
826
- addOutput(id: string, outputConfig: OutputConfiguration): IFlowOutput;
843
+ addOutput(id: string, options: AddFlowOutputOptions): IFlowOutput;
827
844
  /**
828
845
  * Create a CloudWatch metric for this flow.
829
846
  */