Documentation ¶
Index ¶
- type Feature
- type FeatureArgs
- type FeatureArray
- type FeatureArrayInput
- type FeatureArrayOutput
- type FeatureEvaluationRule
- type FeatureEvaluationRuleArgs
- type FeatureEvaluationRuleArray
- func (FeatureEvaluationRuleArray) ElementType() reflect.Type
- func (i FeatureEvaluationRuleArray) ToFeatureEvaluationRuleArrayOutput() FeatureEvaluationRuleArrayOutput
- func (i FeatureEvaluationRuleArray) ToFeatureEvaluationRuleArrayOutputWithContext(ctx context.Context) FeatureEvaluationRuleArrayOutput
- type FeatureEvaluationRuleArrayInput
- type FeatureEvaluationRuleArrayOutput
- func (FeatureEvaluationRuleArrayOutput) ElementType() reflect.Type
- func (o FeatureEvaluationRuleArrayOutput) Index(i pulumi.IntInput) FeatureEvaluationRuleOutput
- func (o FeatureEvaluationRuleArrayOutput) ToFeatureEvaluationRuleArrayOutput() FeatureEvaluationRuleArrayOutput
- func (o FeatureEvaluationRuleArrayOutput) ToFeatureEvaluationRuleArrayOutputWithContext(ctx context.Context) FeatureEvaluationRuleArrayOutput
- type FeatureEvaluationRuleInput
- type FeatureEvaluationRuleOutput
- func (FeatureEvaluationRuleOutput) ElementType() reflect.Type
- func (o FeatureEvaluationRuleOutput) Name() pulumi.StringPtrOutput
- func (o FeatureEvaluationRuleOutput) ToFeatureEvaluationRuleOutput() FeatureEvaluationRuleOutput
- func (o FeatureEvaluationRuleOutput) ToFeatureEvaluationRuleOutputWithContext(ctx context.Context) FeatureEvaluationRuleOutput
- func (o FeatureEvaluationRuleOutput) Type() pulumi.StringPtrOutput
- type FeatureInput
- type FeatureMap
- type FeatureMapInput
- type FeatureMapOutput
- type FeatureOutput
- func (o FeatureOutput) Arn() pulumi.StringOutput
- func (o FeatureOutput) CreatedTime() pulumi.StringOutput
- func (o FeatureOutput) DefaultVariation() pulumi.StringOutput
- func (o FeatureOutput) Description() pulumi.StringPtrOutput
- func (FeatureOutput) ElementType() reflect.Type
- func (o FeatureOutput) EntityOverrides() pulumi.StringMapOutput
- func (o FeatureOutput) EvaluationRules() FeatureEvaluationRuleArrayOutput
- func (o FeatureOutput) EvaluationStrategy() pulumi.StringOutput
- func (o FeatureOutput) LastUpdatedTime() pulumi.StringOutput
- func (o FeatureOutput) Name() pulumi.StringOutput
- func (o FeatureOutput) Project() pulumi.StringOutput
- func (o FeatureOutput) Status() pulumi.StringOutput
- func (o FeatureOutput) Tags() pulumi.StringMapOutput
- func (o FeatureOutput) TagsAll() pulumi.StringMapOutput
- func (o FeatureOutput) ToFeatureOutput() FeatureOutput
- func (o FeatureOutput) ToFeatureOutputWithContext(ctx context.Context) FeatureOutput
- func (o FeatureOutput) ValueType() pulumi.StringOutput
- func (o FeatureOutput) Variations() FeatureVariationArrayOutput
- type FeatureState
- type FeatureVariation
- type FeatureVariationArgs
- type FeatureVariationArray
- type FeatureVariationArrayInput
- type FeatureVariationArrayOutput
- func (FeatureVariationArrayOutput) ElementType() reflect.Type
- func (o FeatureVariationArrayOutput) Index(i pulumi.IntInput) FeatureVariationOutput
- func (o FeatureVariationArrayOutput) ToFeatureVariationArrayOutput() FeatureVariationArrayOutput
- func (o FeatureVariationArrayOutput) ToFeatureVariationArrayOutputWithContext(ctx context.Context) FeatureVariationArrayOutput
- type FeatureVariationInput
- type FeatureVariationOutput
- func (FeatureVariationOutput) ElementType() reflect.Type
- func (o FeatureVariationOutput) Name() pulumi.StringOutput
- func (o FeatureVariationOutput) ToFeatureVariationOutput() FeatureVariationOutput
- func (o FeatureVariationOutput) ToFeatureVariationOutputWithContext(ctx context.Context) FeatureVariationOutput
- func (o FeatureVariationOutput) Value() FeatureVariationValueOutput
- type FeatureVariationValue
- type FeatureVariationValueArgs
- type FeatureVariationValueInput
- type FeatureVariationValueOutput
- func (o FeatureVariationValueOutput) BoolValue() pulumi.StringPtrOutput
- func (o FeatureVariationValueOutput) DoubleValue() pulumi.StringPtrOutput
- func (FeatureVariationValueOutput) ElementType() reflect.Type
- func (o FeatureVariationValueOutput) LongValue() pulumi.StringPtrOutput
- func (o FeatureVariationValueOutput) StringValue() pulumi.StringPtrOutput
- func (o FeatureVariationValueOutput) ToFeatureVariationValueOutput() FeatureVariationValueOutput
- func (o FeatureVariationValueOutput) ToFeatureVariationValueOutputWithContext(ctx context.Context) FeatureVariationValueOutput
- type Launch
- type LaunchArgs
- type LaunchArray
- type LaunchArrayInput
- type LaunchArrayOutput
- type LaunchExecution
- type LaunchExecutionArgs
- type LaunchExecutionArray
- type LaunchExecutionArrayInput
- type LaunchExecutionArrayOutput
- func (LaunchExecutionArrayOutput) ElementType() reflect.Type
- func (o LaunchExecutionArrayOutput) Index(i pulumi.IntInput) LaunchExecutionOutput
- func (o LaunchExecutionArrayOutput) ToLaunchExecutionArrayOutput() LaunchExecutionArrayOutput
- func (o LaunchExecutionArrayOutput) ToLaunchExecutionArrayOutputWithContext(ctx context.Context) LaunchExecutionArrayOutput
- type LaunchExecutionInput
- type LaunchExecutionOutput
- func (LaunchExecutionOutput) ElementType() reflect.Type
- func (o LaunchExecutionOutput) EndedTime() pulumi.StringPtrOutput
- func (o LaunchExecutionOutput) StartedTime() pulumi.StringPtrOutput
- func (o LaunchExecutionOutput) ToLaunchExecutionOutput() LaunchExecutionOutput
- func (o LaunchExecutionOutput) ToLaunchExecutionOutputWithContext(ctx context.Context) LaunchExecutionOutput
- type LaunchGroup
- type LaunchGroupArgs
- type LaunchGroupArray
- type LaunchGroupArrayInput
- type LaunchGroupArrayOutput
- func (LaunchGroupArrayOutput) ElementType() reflect.Type
- func (o LaunchGroupArrayOutput) Index(i pulumi.IntInput) LaunchGroupOutput
- func (o LaunchGroupArrayOutput) ToLaunchGroupArrayOutput() LaunchGroupArrayOutput
- func (o LaunchGroupArrayOutput) ToLaunchGroupArrayOutputWithContext(ctx context.Context) LaunchGroupArrayOutput
- type LaunchGroupInput
- type LaunchGroupOutput
- func (o LaunchGroupOutput) Description() pulumi.StringPtrOutput
- func (LaunchGroupOutput) ElementType() reflect.Type
- func (o LaunchGroupOutput) Feature() pulumi.StringOutput
- func (o LaunchGroupOutput) Name() pulumi.StringOutput
- func (o LaunchGroupOutput) ToLaunchGroupOutput() LaunchGroupOutput
- func (o LaunchGroupOutput) ToLaunchGroupOutputWithContext(ctx context.Context) LaunchGroupOutput
- func (o LaunchGroupOutput) Variation() pulumi.StringOutput
- type LaunchInput
- type LaunchMap
- type LaunchMapInput
- type LaunchMapOutput
- type LaunchMetricMonitor
- type LaunchMetricMonitorArgs
- type LaunchMetricMonitorArray
- type LaunchMetricMonitorArrayInput
- type LaunchMetricMonitorArrayOutput
- func (LaunchMetricMonitorArrayOutput) ElementType() reflect.Type
- func (o LaunchMetricMonitorArrayOutput) Index(i pulumi.IntInput) LaunchMetricMonitorOutput
- func (o LaunchMetricMonitorArrayOutput) ToLaunchMetricMonitorArrayOutput() LaunchMetricMonitorArrayOutput
- func (o LaunchMetricMonitorArrayOutput) ToLaunchMetricMonitorArrayOutputWithContext(ctx context.Context) LaunchMetricMonitorArrayOutput
- type LaunchMetricMonitorInput
- type LaunchMetricMonitorMetricDefinition
- type LaunchMetricMonitorMetricDefinitionArgs
- func (LaunchMetricMonitorMetricDefinitionArgs) ElementType() reflect.Type
- func (i LaunchMetricMonitorMetricDefinitionArgs) ToLaunchMetricMonitorMetricDefinitionOutput() LaunchMetricMonitorMetricDefinitionOutput
- func (i LaunchMetricMonitorMetricDefinitionArgs) ToLaunchMetricMonitorMetricDefinitionOutputWithContext(ctx context.Context) LaunchMetricMonitorMetricDefinitionOutput
- type LaunchMetricMonitorMetricDefinitionInput
- type LaunchMetricMonitorMetricDefinitionOutput
- func (LaunchMetricMonitorMetricDefinitionOutput) ElementType() reflect.Type
- func (o LaunchMetricMonitorMetricDefinitionOutput) EntityIdKey() pulumi.StringOutput
- func (o LaunchMetricMonitorMetricDefinitionOutput) EventPattern() pulumi.StringPtrOutput
- func (o LaunchMetricMonitorMetricDefinitionOutput) Name() pulumi.StringOutput
- func (o LaunchMetricMonitorMetricDefinitionOutput) ToLaunchMetricMonitorMetricDefinitionOutput() LaunchMetricMonitorMetricDefinitionOutput
- func (o LaunchMetricMonitorMetricDefinitionOutput) ToLaunchMetricMonitorMetricDefinitionOutputWithContext(ctx context.Context) LaunchMetricMonitorMetricDefinitionOutput
- func (o LaunchMetricMonitorMetricDefinitionOutput) UnitLabel() pulumi.StringPtrOutput
- func (o LaunchMetricMonitorMetricDefinitionOutput) ValueKey() pulumi.StringOutput
- type LaunchMetricMonitorOutput
- func (LaunchMetricMonitorOutput) ElementType() reflect.Type
- func (o LaunchMetricMonitorOutput) MetricDefinition() LaunchMetricMonitorMetricDefinitionOutput
- func (o LaunchMetricMonitorOutput) ToLaunchMetricMonitorOutput() LaunchMetricMonitorOutput
- func (o LaunchMetricMonitorOutput) ToLaunchMetricMonitorOutputWithContext(ctx context.Context) LaunchMetricMonitorOutput
- type LaunchOutput
- func (o LaunchOutput) Arn() pulumi.StringOutput
- func (o LaunchOutput) CreatedTime() pulumi.StringOutput
- func (o LaunchOutput) Description() pulumi.StringPtrOutput
- func (LaunchOutput) ElementType() reflect.Type
- func (o LaunchOutput) Executions() LaunchExecutionArrayOutput
- func (o LaunchOutput) Groups() LaunchGroupArrayOutput
- func (o LaunchOutput) LastUpdatedTime() pulumi.StringOutput
- func (o LaunchOutput) MetricMonitors() LaunchMetricMonitorArrayOutput
- func (o LaunchOutput) Name() pulumi.StringOutput
- func (o LaunchOutput) Project() pulumi.StringOutput
- func (o LaunchOutput) RandomizationSalt() pulumi.StringPtrOutput
- func (o LaunchOutput) ScheduledSplitsConfig() LaunchScheduledSplitsConfigPtrOutput
- func (o LaunchOutput) Status() pulumi.StringOutput
- func (o LaunchOutput) StatusReason() pulumi.StringOutput
- func (o LaunchOutput) Tags() pulumi.StringMapOutput
- func (o LaunchOutput) TagsAll() pulumi.StringMapOutput
- func (o LaunchOutput) ToLaunchOutput() LaunchOutput
- func (o LaunchOutput) ToLaunchOutputWithContext(ctx context.Context) LaunchOutput
- func (o LaunchOutput) Type() pulumi.StringOutput
- type LaunchScheduledSplitsConfig
- type LaunchScheduledSplitsConfigArgs
- func (LaunchScheduledSplitsConfigArgs) ElementType() reflect.Type
- func (i LaunchScheduledSplitsConfigArgs) ToLaunchScheduledSplitsConfigOutput() LaunchScheduledSplitsConfigOutput
- func (i LaunchScheduledSplitsConfigArgs) ToLaunchScheduledSplitsConfigOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigOutput
- func (i LaunchScheduledSplitsConfigArgs) ToLaunchScheduledSplitsConfigPtrOutput() LaunchScheduledSplitsConfigPtrOutput
- func (i LaunchScheduledSplitsConfigArgs) ToLaunchScheduledSplitsConfigPtrOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigPtrOutput
- type LaunchScheduledSplitsConfigInput
- type LaunchScheduledSplitsConfigOutput
- func (LaunchScheduledSplitsConfigOutput) ElementType() reflect.Type
- func (o LaunchScheduledSplitsConfigOutput) Steps() LaunchScheduledSplitsConfigStepArrayOutput
- func (o LaunchScheduledSplitsConfigOutput) ToLaunchScheduledSplitsConfigOutput() LaunchScheduledSplitsConfigOutput
- func (o LaunchScheduledSplitsConfigOutput) ToLaunchScheduledSplitsConfigOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigOutput
- func (o LaunchScheduledSplitsConfigOutput) ToLaunchScheduledSplitsConfigPtrOutput() LaunchScheduledSplitsConfigPtrOutput
- func (o LaunchScheduledSplitsConfigOutput) ToLaunchScheduledSplitsConfigPtrOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigPtrOutput
- type LaunchScheduledSplitsConfigPtrInput
- type LaunchScheduledSplitsConfigPtrOutput
- func (o LaunchScheduledSplitsConfigPtrOutput) Elem() LaunchScheduledSplitsConfigOutput
- func (LaunchScheduledSplitsConfigPtrOutput) ElementType() reflect.Type
- func (o LaunchScheduledSplitsConfigPtrOutput) Steps() LaunchScheduledSplitsConfigStepArrayOutput
- func (o LaunchScheduledSplitsConfigPtrOutput) ToLaunchScheduledSplitsConfigPtrOutput() LaunchScheduledSplitsConfigPtrOutput
- func (o LaunchScheduledSplitsConfigPtrOutput) ToLaunchScheduledSplitsConfigPtrOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigPtrOutput
- type LaunchScheduledSplitsConfigStep
- type LaunchScheduledSplitsConfigStepArgs
- func (LaunchScheduledSplitsConfigStepArgs) ElementType() reflect.Type
- func (i LaunchScheduledSplitsConfigStepArgs) ToLaunchScheduledSplitsConfigStepOutput() LaunchScheduledSplitsConfigStepOutput
- func (i LaunchScheduledSplitsConfigStepArgs) ToLaunchScheduledSplitsConfigStepOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigStepOutput
- type LaunchScheduledSplitsConfigStepArray
- func (LaunchScheduledSplitsConfigStepArray) ElementType() reflect.Type
- func (i LaunchScheduledSplitsConfigStepArray) ToLaunchScheduledSplitsConfigStepArrayOutput() LaunchScheduledSplitsConfigStepArrayOutput
- func (i LaunchScheduledSplitsConfigStepArray) ToLaunchScheduledSplitsConfigStepArrayOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigStepArrayOutput
- type LaunchScheduledSplitsConfigStepArrayInput
- type LaunchScheduledSplitsConfigStepArrayOutput
- func (LaunchScheduledSplitsConfigStepArrayOutput) ElementType() reflect.Type
- func (o LaunchScheduledSplitsConfigStepArrayOutput) Index(i pulumi.IntInput) LaunchScheduledSplitsConfigStepOutput
- func (o LaunchScheduledSplitsConfigStepArrayOutput) ToLaunchScheduledSplitsConfigStepArrayOutput() LaunchScheduledSplitsConfigStepArrayOutput
- func (o LaunchScheduledSplitsConfigStepArrayOutput) ToLaunchScheduledSplitsConfigStepArrayOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigStepArrayOutput
- type LaunchScheduledSplitsConfigStepInput
- type LaunchScheduledSplitsConfigStepOutput
- func (LaunchScheduledSplitsConfigStepOutput) ElementType() reflect.Type
- func (o LaunchScheduledSplitsConfigStepOutput) GroupWeights() pulumi.IntMapOutput
- func (o LaunchScheduledSplitsConfigStepOutput) SegmentOverrides() LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput
- func (o LaunchScheduledSplitsConfigStepOutput) StartTime() pulumi.StringOutput
- func (o LaunchScheduledSplitsConfigStepOutput) ToLaunchScheduledSplitsConfigStepOutput() LaunchScheduledSplitsConfigStepOutput
- func (o LaunchScheduledSplitsConfigStepOutput) ToLaunchScheduledSplitsConfigStepOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigStepOutput
- type LaunchScheduledSplitsConfigStepSegmentOverride
- type LaunchScheduledSplitsConfigStepSegmentOverrideArgs
- func (LaunchScheduledSplitsConfigStepSegmentOverrideArgs) ElementType() reflect.Type
- func (i LaunchScheduledSplitsConfigStepSegmentOverrideArgs) ToLaunchScheduledSplitsConfigStepSegmentOverrideOutput() LaunchScheduledSplitsConfigStepSegmentOverrideOutput
- func (i LaunchScheduledSplitsConfigStepSegmentOverrideArgs) ToLaunchScheduledSplitsConfigStepSegmentOverrideOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigStepSegmentOverrideOutput
- type LaunchScheduledSplitsConfigStepSegmentOverrideArray
- func (LaunchScheduledSplitsConfigStepSegmentOverrideArray) ElementType() reflect.Type
- func (i LaunchScheduledSplitsConfigStepSegmentOverrideArray) ToLaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput() LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput
- func (i LaunchScheduledSplitsConfigStepSegmentOverrideArray) ToLaunchScheduledSplitsConfigStepSegmentOverrideArrayOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput
- type LaunchScheduledSplitsConfigStepSegmentOverrideArrayInput
- type LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput
- func (LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput) ElementType() reflect.Type
- func (o LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput) Index(i pulumi.IntInput) LaunchScheduledSplitsConfigStepSegmentOverrideOutput
- func (o LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput) ToLaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput() LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput
- func (o LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput) ToLaunchScheduledSplitsConfigStepSegmentOverrideArrayOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput
- type LaunchScheduledSplitsConfigStepSegmentOverrideInput
- type LaunchScheduledSplitsConfigStepSegmentOverrideOutput
- func (LaunchScheduledSplitsConfigStepSegmentOverrideOutput) ElementType() reflect.Type
- func (o LaunchScheduledSplitsConfigStepSegmentOverrideOutput) EvaluationOrder() pulumi.IntOutput
- func (o LaunchScheduledSplitsConfigStepSegmentOverrideOutput) Segment() pulumi.StringOutput
- func (o LaunchScheduledSplitsConfigStepSegmentOverrideOutput) ToLaunchScheduledSplitsConfigStepSegmentOverrideOutput() LaunchScheduledSplitsConfigStepSegmentOverrideOutput
- func (o LaunchScheduledSplitsConfigStepSegmentOverrideOutput) ToLaunchScheduledSplitsConfigStepSegmentOverrideOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigStepSegmentOverrideOutput
- func (o LaunchScheduledSplitsConfigStepSegmentOverrideOutput) Weights() pulumi.IntMapOutput
- type LaunchState
- type Project
- type ProjectArgs
- type ProjectArray
- type ProjectArrayInput
- type ProjectArrayOutput
- type ProjectDataDelivery
- type ProjectDataDeliveryArgs
- func (ProjectDataDeliveryArgs) ElementType() reflect.Type
- func (i ProjectDataDeliveryArgs) ToProjectDataDeliveryOutput() ProjectDataDeliveryOutput
- func (i ProjectDataDeliveryArgs) ToProjectDataDeliveryOutputWithContext(ctx context.Context) ProjectDataDeliveryOutput
- func (i ProjectDataDeliveryArgs) ToProjectDataDeliveryPtrOutput() ProjectDataDeliveryPtrOutput
- func (i ProjectDataDeliveryArgs) ToProjectDataDeliveryPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryPtrOutput
- type ProjectDataDeliveryCloudwatchLogs
- type ProjectDataDeliveryCloudwatchLogsArgs
- func (ProjectDataDeliveryCloudwatchLogsArgs) ElementType() reflect.Type
- func (i ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsOutput() ProjectDataDeliveryCloudwatchLogsOutput
- func (i ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsOutput
- func (i ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsPtrOutput() ProjectDataDeliveryCloudwatchLogsPtrOutput
- func (i ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsPtrOutput
- type ProjectDataDeliveryCloudwatchLogsInput
- type ProjectDataDeliveryCloudwatchLogsOutput
- func (ProjectDataDeliveryCloudwatchLogsOutput) ElementType() reflect.Type
- func (o ProjectDataDeliveryCloudwatchLogsOutput) LogGroup() pulumi.StringPtrOutput
- func (o ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsOutput() ProjectDataDeliveryCloudwatchLogsOutput
- func (o ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsOutput
- func (o ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutput() ProjectDataDeliveryCloudwatchLogsPtrOutput
- func (o ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsPtrOutput
- type ProjectDataDeliveryCloudwatchLogsPtrInput
- type ProjectDataDeliveryCloudwatchLogsPtrOutput
- func (o ProjectDataDeliveryCloudwatchLogsPtrOutput) Elem() ProjectDataDeliveryCloudwatchLogsOutput
- func (ProjectDataDeliveryCloudwatchLogsPtrOutput) ElementType() reflect.Type
- func (o ProjectDataDeliveryCloudwatchLogsPtrOutput) LogGroup() pulumi.StringPtrOutput
- func (o ProjectDataDeliveryCloudwatchLogsPtrOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutput() ProjectDataDeliveryCloudwatchLogsPtrOutput
- func (o ProjectDataDeliveryCloudwatchLogsPtrOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsPtrOutput
- type ProjectDataDeliveryInput
- type ProjectDataDeliveryOutput
- func (o ProjectDataDeliveryOutput) CloudwatchLogs() ProjectDataDeliveryCloudwatchLogsPtrOutput
- func (ProjectDataDeliveryOutput) ElementType() reflect.Type
- func (o ProjectDataDeliveryOutput) S3Destination() ProjectDataDeliveryS3DestinationPtrOutput
- func (o ProjectDataDeliveryOutput) ToProjectDataDeliveryOutput() ProjectDataDeliveryOutput
- func (o ProjectDataDeliveryOutput) ToProjectDataDeliveryOutputWithContext(ctx context.Context) ProjectDataDeliveryOutput
- func (o ProjectDataDeliveryOutput) ToProjectDataDeliveryPtrOutput() ProjectDataDeliveryPtrOutput
- func (o ProjectDataDeliveryOutput) ToProjectDataDeliveryPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryPtrOutput
- type ProjectDataDeliveryPtrInput
- type ProjectDataDeliveryPtrOutput
- func (o ProjectDataDeliveryPtrOutput) CloudwatchLogs() ProjectDataDeliveryCloudwatchLogsPtrOutput
- func (o ProjectDataDeliveryPtrOutput) Elem() ProjectDataDeliveryOutput
- func (ProjectDataDeliveryPtrOutput) ElementType() reflect.Type
- func (o ProjectDataDeliveryPtrOutput) S3Destination() ProjectDataDeliveryS3DestinationPtrOutput
- func (o ProjectDataDeliveryPtrOutput) ToProjectDataDeliveryPtrOutput() ProjectDataDeliveryPtrOutput
- func (o ProjectDataDeliveryPtrOutput) ToProjectDataDeliveryPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryPtrOutput
- type ProjectDataDeliveryS3Destination
- type ProjectDataDeliveryS3DestinationArgs
- func (ProjectDataDeliveryS3DestinationArgs) ElementType() reflect.Type
- func (i ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationOutput() ProjectDataDeliveryS3DestinationOutput
- func (i ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationOutput
- func (i ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationPtrOutput() ProjectDataDeliveryS3DestinationPtrOutput
- func (i ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationPtrOutput
- type ProjectDataDeliveryS3DestinationInput
- type ProjectDataDeliveryS3DestinationOutput
- func (o ProjectDataDeliveryS3DestinationOutput) Bucket() pulumi.StringPtrOutput
- func (ProjectDataDeliveryS3DestinationOutput) ElementType() reflect.Type
- func (o ProjectDataDeliveryS3DestinationOutput) Prefix() pulumi.StringPtrOutput
- func (o ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationOutput() ProjectDataDeliveryS3DestinationOutput
- func (o ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationOutput
- func (o ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationPtrOutput() ProjectDataDeliveryS3DestinationPtrOutput
- func (o ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationPtrOutput
- type ProjectDataDeliveryS3DestinationPtrInput
- type ProjectDataDeliveryS3DestinationPtrOutput
- func (o ProjectDataDeliveryS3DestinationPtrOutput) Bucket() pulumi.StringPtrOutput
- func (o ProjectDataDeliveryS3DestinationPtrOutput) Elem() ProjectDataDeliveryS3DestinationOutput
- func (ProjectDataDeliveryS3DestinationPtrOutput) ElementType() reflect.Type
- func (o ProjectDataDeliveryS3DestinationPtrOutput) Prefix() pulumi.StringPtrOutput
- func (o ProjectDataDeliveryS3DestinationPtrOutput) ToProjectDataDeliveryS3DestinationPtrOutput() ProjectDataDeliveryS3DestinationPtrOutput
- func (o ProjectDataDeliveryS3DestinationPtrOutput) ToProjectDataDeliveryS3DestinationPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationPtrOutput
- type ProjectInput
- type ProjectMap
- type ProjectMapInput
- type ProjectMapOutput
- type ProjectOutput
- func (o ProjectOutput) ActiveExperimentCount() pulumi.IntOutput
- func (o ProjectOutput) ActiveLaunchCount() pulumi.IntOutput
- func (o ProjectOutput) Arn() pulumi.StringOutput
- func (o ProjectOutput) CreatedTime() pulumi.StringOutput
- func (o ProjectOutput) DataDelivery() ProjectDataDeliveryPtrOutput
- func (o ProjectOutput) Description() pulumi.StringPtrOutput
- func (ProjectOutput) ElementType() reflect.Type
- func (o ProjectOutput) ExperimentCount() pulumi.IntOutput
- func (o ProjectOutput) FeatureCount() pulumi.IntOutput
- func (o ProjectOutput) LastUpdatedTime() pulumi.StringOutput
- func (o ProjectOutput) LaunchCount() pulumi.IntOutput
- func (o ProjectOutput) Name() pulumi.StringOutput
- func (o ProjectOutput) Status() pulumi.StringOutput
- func (o ProjectOutput) Tags() pulumi.StringMapOutput
- func (o ProjectOutput) TagsAll() pulumi.StringMapOutput
- func (o ProjectOutput) ToProjectOutput() ProjectOutput
- func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
- type ProjectState
- type Segment
- type SegmentArgs
- type SegmentArray
- type SegmentArrayInput
- type SegmentArrayOutput
- type SegmentInput
- type SegmentMap
- type SegmentMapInput
- type SegmentMapOutput
- type SegmentOutput
- func (o SegmentOutput) Arn() pulumi.StringOutput
- func (o SegmentOutput) CreatedTime() pulumi.StringOutput
- func (o SegmentOutput) Description() pulumi.StringPtrOutput
- func (SegmentOutput) ElementType() reflect.Type
- func (o SegmentOutput) ExperimentCount() pulumi.IntOutput
- func (o SegmentOutput) LastUpdatedTime() pulumi.StringOutput
- func (o SegmentOutput) LaunchCount() pulumi.IntOutput
- func (o SegmentOutput) Name() pulumi.StringOutput
- func (o SegmentOutput) Pattern() pulumi.StringOutput
- func (o SegmentOutput) Tags() pulumi.StringMapOutput
- func (o SegmentOutput) TagsAll() pulumi.StringMapOutput
- func (o SegmentOutput) ToSegmentOutput() SegmentOutput
- func (o SegmentOutput) ToSegmentOutputWithContext(ctx context.Context) SegmentOutput
- type SegmentState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feature ¶ added in v5.22.0
type Feature struct { pulumi.CustomResourceState // The ARN of the feature. Arn pulumi.StringOutput `pulumi:"arn"` // The date and time that the feature is created. CreatedTime pulumi.StringOutput `pulumi:"createdTime"` // The name of the variation to use as the default variation. The default variation is served to users who are not allocated to any ongoing launches or experiments of this feature. This variation must also be listed in the `variations` structure. If you omit `defaultVariation`, the first variation listed in the `variations` structure is used as the default variation. DefaultVariation pulumi.StringOutput `pulumi:"defaultVariation"` // Specifies the description of the feature. Description pulumi.StringPtrOutput `pulumi:"description"` // Specify users that should always be served a specific variation of a feature. Each user is specified by a key-value pair . For each key, specify a user by entering their user ID, account ID, or some other identifier. For the value, specify the name of the variation that they are to be served. EntityOverrides pulumi.StringMapOutput `pulumi:"entityOverrides"` // One or more blocks that define the evaluation rules for the feature. Detailed below EvaluationRules FeatureEvaluationRuleArrayOutput `pulumi:"evaluationRules"` // Specify `ALL_RULES` to activate the traffic allocation specified by any ongoing launches or experiments. Specify `DEFAULT_VARIATION` to serve the default variation to all users instead. EvaluationStrategy pulumi.StringOutput `pulumi:"evaluationStrategy"` // The date and time that the feature was most recently updated. LastUpdatedTime pulumi.StringOutput `pulumi:"lastUpdatedTime"` // The name for the new feature. Minimum length of `1`. Maximum length of `127`. Name pulumi.StringOutput `pulumi:"name"` // The name or ARN of the project that is to contain the new feature. Project pulumi.StringOutput `pulumi:"project"` // The current state of the feature. Valid values are `AVAILABLE` and `UPDATING`. Status pulumi.StringOutput `pulumi:"status"` // Tags to apply to the feature. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Defines the type of value used to define the different feature variations. Valid Values: `STRING`, `LONG`, `DOUBLE`, `BOOLEAN`. ValueType pulumi.StringOutput `pulumi:"valueType"` // One or more blocks that contain the configuration of the feature's different variations. Detailed below Variations FeatureVariationArrayOutput `pulumi:"variations"` }
Provides a CloudWatch Evidently Feature resource.
## Example Usage ### Basic
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewFeature(ctx, "example", &evidently.FeatureArgs{ Project: pulumi.Any(aws_evidently_project.Example.Name), Description: pulumi.String("example description"), Variations: evidently.FeatureVariationArray{ &evidently.FeatureVariationArgs{ Name: pulumi.String("Variation1"), Value: &evidently.FeatureVariationValueArgs{ StringValue: pulumi.String("example"), }, }, }, Tags: pulumi.StringMap{ "Key1": pulumi.String("example Feature"), }, }) if err != nil { return err } return nil }) }
``` ### With default variation
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewFeature(ctx, "example", &evidently.FeatureArgs{ Project: pulumi.Any(aws_evidently_project.Example.Name), DefaultVariation: pulumi.String("Variation2"), Variations: evidently.FeatureVariationArray{ &evidently.FeatureVariationArgs{ Name: pulumi.String("Variation1"), Value: &evidently.FeatureVariationValueArgs{ StringValue: pulumi.String("exampleval1"), }, }, &evidently.FeatureVariationArgs{ Name: pulumi.String("Variation2"), Value: &evidently.FeatureVariationValueArgs{ StringValue: pulumi.String("exampleval2"), }, }, }, }) if err != nil { return err } return nil }) }
``` ### With entity overrides
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewFeature(ctx, "example", &evidently.FeatureArgs{ Project: pulumi.Any(aws_evidently_project.Example.Name), EntityOverrides: pulumi.StringMap{ "test1": pulumi.String("Variation1"), }, Variations: evidently.FeatureVariationArray{ &evidently.FeatureVariationArgs{ Name: pulumi.String("Variation1"), Value: &evidently.FeatureVariationValueArgs{ StringValue: pulumi.String("exampleval1"), }, }, &evidently.FeatureVariationArgs{ Name: pulumi.String("Variation2"), Value: &evidently.FeatureVariationValueArgs{ StringValue: pulumi.String("exampleval2"), }, }, }, }) if err != nil { return err } return nil }) }
``` ### With evaluation strategy
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewFeature(ctx, "example", &evidently.FeatureArgs{ Project: pulumi.Any(aws_evidently_project.Example.Name), EvaluationStrategy: pulumi.String("ALL_RULES"), EntityOverrides: pulumi.StringMap{ "test1": pulumi.String("Variation1"), }, Variations: evidently.FeatureVariationArray{ &evidently.FeatureVariationArgs{ Name: pulumi.String("Variation1"), Value: &evidently.FeatureVariationValueArgs{ StringValue: pulumi.String("exampleval1"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
CloudWatch Evidently Feature can be imported using the feature `name` and `name` or `arn` of the hosting CloudWatch Evidently Project separated by a `:`, e.g.,
```sh
$ pulumi import aws:evidently/feature:Feature example exampleFeatureName:arn:aws:evidently:us-east-1:123456789012:project/example
```
func GetFeature ¶ added in v5.22.0
func GetFeature(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FeatureState, opts ...pulumi.ResourceOption) (*Feature, error)
GetFeature gets an existing Feature resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFeature ¶ added in v5.22.0
func NewFeature(ctx *pulumi.Context, name string, args *FeatureArgs, opts ...pulumi.ResourceOption) (*Feature, error)
NewFeature registers a new resource with the given unique name, arguments, and options.
func (*Feature) ElementType ¶ added in v5.22.0
func (*Feature) ToFeatureOutput ¶ added in v5.22.0
func (i *Feature) ToFeatureOutput() FeatureOutput
func (*Feature) ToFeatureOutputWithContext ¶ added in v5.22.0
func (i *Feature) ToFeatureOutputWithContext(ctx context.Context) FeatureOutput
type FeatureArgs ¶ added in v5.22.0
type FeatureArgs struct { // The name of the variation to use as the default variation. The default variation is served to users who are not allocated to any ongoing launches or experiments of this feature. This variation must also be listed in the `variations` structure. If you omit `defaultVariation`, the first variation listed in the `variations` structure is used as the default variation. DefaultVariation pulumi.StringPtrInput // Specifies the description of the feature. Description pulumi.StringPtrInput // Specify users that should always be served a specific variation of a feature. Each user is specified by a key-value pair . For each key, specify a user by entering their user ID, account ID, or some other identifier. For the value, specify the name of the variation that they are to be served. EntityOverrides pulumi.StringMapInput // Specify `ALL_RULES` to activate the traffic allocation specified by any ongoing launches or experiments. Specify `DEFAULT_VARIATION` to serve the default variation to all users instead. EvaluationStrategy pulumi.StringPtrInput // The name for the new feature. Minimum length of `1`. Maximum length of `127`. Name pulumi.StringPtrInput // The name or ARN of the project that is to contain the new feature. Project pulumi.StringInput // Tags to apply to the feature. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // One or more blocks that contain the configuration of the feature's different variations. Detailed below Variations FeatureVariationArrayInput }
The set of arguments for constructing a Feature resource.
func (FeatureArgs) ElementType ¶ added in v5.22.0
func (FeatureArgs) ElementType() reflect.Type
type FeatureArray ¶ added in v5.22.0
type FeatureArray []FeatureInput
func (FeatureArray) ElementType ¶ added in v5.22.0
func (FeatureArray) ElementType() reflect.Type
func (FeatureArray) ToFeatureArrayOutput ¶ added in v5.22.0
func (i FeatureArray) ToFeatureArrayOutput() FeatureArrayOutput
func (FeatureArray) ToFeatureArrayOutputWithContext ¶ added in v5.22.0
func (i FeatureArray) ToFeatureArrayOutputWithContext(ctx context.Context) FeatureArrayOutput
type FeatureArrayInput ¶ added in v5.22.0
type FeatureArrayInput interface { pulumi.Input ToFeatureArrayOutput() FeatureArrayOutput ToFeatureArrayOutputWithContext(context.Context) FeatureArrayOutput }
FeatureArrayInput is an input type that accepts FeatureArray and FeatureArrayOutput values. You can construct a concrete instance of `FeatureArrayInput` via:
FeatureArray{ FeatureArgs{...} }
type FeatureArrayOutput ¶ added in v5.22.0
type FeatureArrayOutput struct{ *pulumi.OutputState }
func (FeatureArrayOutput) ElementType ¶ added in v5.22.0
func (FeatureArrayOutput) ElementType() reflect.Type
func (FeatureArrayOutput) Index ¶ added in v5.22.0
func (o FeatureArrayOutput) Index(i pulumi.IntInput) FeatureOutput
func (FeatureArrayOutput) ToFeatureArrayOutput ¶ added in v5.22.0
func (o FeatureArrayOutput) ToFeatureArrayOutput() FeatureArrayOutput
func (FeatureArrayOutput) ToFeatureArrayOutputWithContext ¶ added in v5.22.0
func (o FeatureArrayOutput) ToFeatureArrayOutputWithContext(ctx context.Context) FeatureArrayOutput
type FeatureEvaluationRule ¶ added in v5.22.0
type FeatureEvaluationRule struct { // The name for the new feature. Minimum length of `1`. Maximum length of `127`. Name *string `pulumi:"name"` // This value is `aws.evidently.splits` if this is an evaluation rule for a launch, and it is `aws.evidently.onlineab` if this is an evaluation rule for an experiment. Type *string `pulumi:"type"` }
type FeatureEvaluationRuleArgs ¶ added in v5.22.0
type FeatureEvaluationRuleArgs struct { // The name for the new feature. Minimum length of `1`. Maximum length of `127`. Name pulumi.StringPtrInput `pulumi:"name"` // This value is `aws.evidently.splits` if this is an evaluation rule for a launch, and it is `aws.evidently.onlineab` if this is an evaluation rule for an experiment. Type pulumi.StringPtrInput `pulumi:"type"` }
func (FeatureEvaluationRuleArgs) ElementType ¶ added in v5.22.0
func (FeatureEvaluationRuleArgs) ElementType() reflect.Type
func (FeatureEvaluationRuleArgs) ToFeatureEvaluationRuleOutput ¶ added in v5.22.0
func (i FeatureEvaluationRuleArgs) ToFeatureEvaluationRuleOutput() FeatureEvaluationRuleOutput
func (FeatureEvaluationRuleArgs) ToFeatureEvaluationRuleOutputWithContext ¶ added in v5.22.0
func (i FeatureEvaluationRuleArgs) ToFeatureEvaluationRuleOutputWithContext(ctx context.Context) FeatureEvaluationRuleOutput
type FeatureEvaluationRuleArray ¶ added in v5.22.0
type FeatureEvaluationRuleArray []FeatureEvaluationRuleInput
func (FeatureEvaluationRuleArray) ElementType ¶ added in v5.22.0
func (FeatureEvaluationRuleArray) ElementType() reflect.Type
func (FeatureEvaluationRuleArray) ToFeatureEvaluationRuleArrayOutput ¶ added in v5.22.0
func (i FeatureEvaluationRuleArray) ToFeatureEvaluationRuleArrayOutput() FeatureEvaluationRuleArrayOutput
func (FeatureEvaluationRuleArray) ToFeatureEvaluationRuleArrayOutputWithContext ¶ added in v5.22.0
func (i FeatureEvaluationRuleArray) ToFeatureEvaluationRuleArrayOutputWithContext(ctx context.Context) FeatureEvaluationRuleArrayOutput
type FeatureEvaluationRuleArrayInput ¶ added in v5.22.0
type FeatureEvaluationRuleArrayInput interface { pulumi.Input ToFeatureEvaluationRuleArrayOutput() FeatureEvaluationRuleArrayOutput ToFeatureEvaluationRuleArrayOutputWithContext(context.Context) FeatureEvaluationRuleArrayOutput }
FeatureEvaluationRuleArrayInput is an input type that accepts FeatureEvaluationRuleArray and FeatureEvaluationRuleArrayOutput values. You can construct a concrete instance of `FeatureEvaluationRuleArrayInput` via:
FeatureEvaluationRuleArray{ FeatureEvaluationRuleArgs{...} }
type FeatureEvaluationRuleArrayOutput ¶ added in v5.22.0
type FeatureEvaluationRuleArrayOutput struct{ *pulumi.OutputState }
func (FeatureEvaluationRuleArrayOutput) ElementType ¶ added in v5.22.0
func (FeatureEvaluationRuleArrayOutput) ElementType() reflect.Type
func (FeatureEvaluationRuleArrayOutput) Index ¶ added in v5.22.0
func (o FeatureEvaluationRuleArrayOutput) Index(i pulumi.IntInput) FeatureEvaluationRuleOutput
func (FeatureEvaluationRuleArrayOutput) ToFeatureEvaluationRuleArrayOutput ¶ added in v5.22.0
func (o FeatureEvaluationRuleArrayOutput) ToFeatureEvaluationRuleArrayOutput() FeatureEvaluationRuleArrayOutput
func (FeatureEvaluationRuleArrayOutput) ToFeatureEvaluationRuleArrayOutputWithContext ¶ added in v5.22.0
func (o FeatureEvaluationRuleArrayOutput) ToFeatureEvaluationRuleArrayOutputWithContext(ctx context.Context) FeatureEvaluationRuleArrayOutput
type FeatureEvaluationRuleInput ¶ added in v5.22.0
type FeatureEvaluationRuleInput interface { pulumi.Input ToFeatureEvaluationRuleOutput() FeatureEvaluationRuleOutput ToFeatureEvaluationRuleOutputWithContext(context.Context) FeatureEvaluationRuleOutput }
FeatureEvaluationRuleInput is an input type that accepts FeatureEvaluationRuleArgs and FeatureEvaluationRuleOutput values. You can construct a concrete instance of `FeatureEvaluationRuleInput` via:
FeatureEvaluationRuleArgs{...}
type FeatureEvaluationRuleOutput ¶ added in v5.22.0
type FeatureEvaluationRuleOutput struct{ *pulumi.OutputState }
func (FeatureEvaluationRuleOutput) ElementType ¶ added in v5.22.0
func (FeatureEvaluationRuleOutput) ElementType() reflect.Type
func (FeatureEvaluationRuleOutput) Name ¶ added in v5.22.0
func (o FeatureEvaluationRuleOutput) Name() pulumi.StringPtrOutput
The name for the new feature. Minimum length of `1`. Maximum length of `127`.
func (FeatureEvaluationRuleOutput) ToFeatureEvaluationRuleOutput ¶ added in v5.22.0
func (o FeatureEvaluationRuleOutput) ToFeatureEvaluationRuleOutput() FeatureEvaluationRuleOutput
func (FeatureEvaluationRuleOutput) ToFeatureEvaluationRuleOutputWithContext ¶ added in v5.22.0
func (o FeatureEvaluationRuleOutput) ToFeatureEvaluationRuleOutputWithContext(ctx context.Context) FeatureEvaluationRuleOutput
func (FeatureEvaluationRuleOutput) Type ¶ added in v5.22.0
func (o FeatureEvaluationRuleOutput) Type() pulumi.StringPtrOutput
This value is `aws.evidently.splits` if this is an evaluation rule for a launch, and it is `aws.evidently.onlineab` if this is an evaluation rule for an experiment.
type FeatureInput ¶ added in v5.22.0
type FeatureInput interface { pulumi.Input ToFeatureOutput() FeatureOutput ToFeatureOutputWithContext(ctx context.Context) FeatureOutput }
type FeatureMap ¶ added in v5.22.0
type FeatureMap map[string]FeatureInput
func (FeatureMap) ElementType ¶ added in v5.22.0
func (FeatureMap) ElementType() reflect.Type
func (FeatureMap) ToFeatureMapOutput ¶ added in v5.22.0
func (i FeatureMap) ToFeatureMapOutput() FeatureMapOutput
func (FeatureMap) ToFeatureMapOutputWithContext ¶ added in v5.22.0
func (i FeatureMap) ToFeatureMapOutputWithContext(ctx context.Context) FeatureMapOutput
type FeatureMapInput ¶ added in v5.22.0
type FeatureMapInput interface { pulumi.Input ToFeatureMapOutput() FeatureMapOutput ToFeatureMapOutputWithContext(context.Context) FeatureMapOutput }
FeatureMapInput is an input type that accepts FeatureMap and FeatureMapOutput values. You can construct a concrete instance of `FeatureMapInput` via:
FeatureMap{ "key": FeatureArgs{...} }
type FeatureMapOutput ¶ added in v5.22.0
type FeatureMapOutput struct{ *pulumi.OutputState }
func (FeatureMapOutput) ElementType ¶ added in v5.22.0
func (FeatureMapOutput) ElementType() reflect.Type
func (FeatureMapOutput) MapIndex ¶ added in v5.22.0
func (o FeatureMapOutput) MapIndex(k pulumi.StringInput) FeatureOutput
func (FeatureMapOutput) ToFeatureMapOutput ¶ added in v5.22.0
func (o FeatureMapOutput) ToFeatureMapOutput() FeatureMapOutput
func (FeatureMapOutput) ToFeatureMapOutputWithContext ¶ added in v5.22.0
func (o FeatureMapOutput) ToFeatureMapOutputWithContext(ctx context.Context) FeatureMapOutput
type FeatureOutput ¶ added in v5.22.0
type FeatureOutput struct{ *pulumi.OutputState }
func (FeatureOutput) Arn ¶ added in v5.22.0
func (o FeatureOutput) Arn() pulumi.StringOutput
The ARN of the feature.
func (FeatureOutput) CreatedTime ¶ added in v5.22.0
func (o FeatureOutput) CreatedTime() pulumi.StringOutput
The date and time that the feature is created.
func (FeatureOutput) DefaultVariation ¶ added in v5.22.0
func (o FeatureOutput) DefaultVariation() pulumi.StringOutput
The name of the variation to use as the default variation. The default variation is served to users who are not allocated to any ongoing launches or experiments of this feature. This variation must also be listed in the `variations` structure. If you omit `defaultVariation`, the first variation listed in the `variations` structure is used as the default variation.
func (FeatureOutput) Description ¶ added in v5.22.0
func (o FeatureOutput) Description() pulumi.StringPtrOutput
Specifies the description of the feature.
func (FeatureOutput) ElementType ¶ added in v5.22.0
func (FeatureOutput) ElementType() reflect.Type
func (FeatureOutput) EntityOverrides ¶ added in v5.22.0
func (o FeatureOutput) EntityOverrides() pulumi.StringMapOutput
Specify users that should always be served a specific variation of a feature. Each user is specified by a key-value pair . For each key, specify a user by entering their user ID, account ID, or some other identifier. For the value, specify the name of the variation that they are to be served.
func (FeatureOutput) EvaluationRules ¶ added in v5.22.0
func (o FeatureOutput) EvaluationRules() FeatureEvaluationRuleArrayOutput
One or more blocks that define the evaluation rules for the feature. Detailed below
func (FeatureOutput) EvaluationStrategy ¶ added in v5.22.0
func (o FeatureOutput) EvaluationStrategy() pulumi.StringOutput
Specify `ALL_RULES` to activate the traffic allocation specified by any ongoing launches or experiments. Specify `DEFAULT_VARIATION` to serve the default variation to all users instead.
func (FeatureOutput) LastUpdatedTime ¶ added in v5.22.0
func (o FeatureOutput) LastUpdatedTime() pulumi.StringOutput
The date and time that the feature was most recently updated.
func (FeatureOutput) Name ¶ added in v5.22.0
func (o FeatureOutput) Name() pulumi.StringOutput
The name for the new feature. Minimum length of `1`. Maximum length of `127`.
func (FeatureOutput) Project ¶ added in v5.22.0
func (o FeatureOutput) Project() pulumi.StringOutput
The name or ARN of the project that is to contain the new feature.
func (FeatureOutput) Status ¶ added in v5.22.0
func (o FeatureOutput) Status() pulumi.StringOutput
The current state of the feature. Valid values are `AVAILABLE` and `UPDATING`.
func (FeatureOutput) Tags ¶ added in v5.22.0
func (o FeatureOutput) Tags() pulumi.StringMapOutput
Tags to apply to the feature. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (FeatureOutput) TagsAll ¶ added in v5.22.0
func (o FeatureOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (FeatureOutput) ToFeatureOutput ¶ added in v5.22.0
func (o FeatureOutput) ToFeatureOutput() FeatureOutput
func (FeatureOutput) ToFeatureOutputWithContext ¶ added in v5.22.0
func (o FeatureOutput) ToFeatureOutputWithContext(ctx context.Context) FeatureOutput
func (FeatureOutput) ValueType ¶ added in v5.22.0
func (o FeatureOutput) ValueType() pulumi.StringOutput
Defines the type of value used to define the different feature variations. Valid Values: `STRING`, `LONG`, `DOUBLE`, `BOOLEAN`.
func (FeatureOutput) Variations ¶ added in v5.22.0
func (o FeatureOutput) Variations() FeatureVariationArrayOutput
One or more blocks that contain the configuration of the feature's different variations. Detailed below
type FeatureState ¶ added in v5.22.0
type FeatureState struct { // The ARN of the feature. Arn pulumi.StringPtrInput // The date and time that the feature is created. CreatedTime pulumi.StringPtrInput // The name of the variation to use as the default variation. The default variation is served to users who are not allocated to any ongoing launches or experiments of this feature. This variation must also be listed in the `variations` structure. If you omit `defaultVariation`, the first variation listed in the `variations` structure is used as the default variation. DefaultVariation pulumi.StringPtrInput // Specifies the description of the feature. Description pulumi.StringPtrInput // Specify users that should always be served a specific variation of a feature. Each user is specified by a key-value pair . For each key, specify a user by entering their user ID, account ID, or some other identifier. For the value, specify the name of the variation that they are to be served. EntityOverrides pulumi.StringMapInput // One or more blocks that define the evaluation rules for the feature. Detailed below EvaluationRules FeatureEvaluationRuleArrayInput // Specify `ALL_RULES` to activate the traffic allocation specified by any ongoing launches or experiments. Specify `DEFAULT_VARIATION` to serve the default variation to all users instead. EvaluationStrategy pulumi.StringPtrInput // The date and time that the feature was most recently updated. LastUpdatedTime pulumi.StringPtrInput // The name for the new feature. Minimum length of `1`. Maximum length of `127`. Name pulumi.StringPtrInput // The name or ARN of the project that is to contain the new feature. Project pulumi.StringPtrInput // The current state of the feature. Valid values are `AVAILABLE` and `UPDATING`. Status pulumi.StringPtrInput // Tags to apply to the feature. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput // Defines the type of value used to define the different feature variations. Valid Values: `STRING`, `LONG`, `DOUBLE`, `BOOLEAN`. ValueType pulumi.StringPtrInput // One or more blocks that contain the configuration of the feature's different variations. Detailed below Variations FeatureVariationArrayInput }
func (FeatureState) ElementType ¶ added in v5.22.0
func (FeatureState) ElementType() reflect.Type
type FeatureVariation ¶ added in v5.22.0
type FeatureVariation struct { // The name of the variation. Minimum length of `1`. Maximum length of `127`. Name string `pulumi:"name"` // A block that specifies the value assigned to this variation. Detailed below Value FeatureVariationValue `pulumi:"value"` }
type FeatureVariationArgs ¶ added in v5.22.0
type FeatureVariationArgs struct { // The name of the variation. Minimum length of `1`. Maximum length of `127`. Name pulumi.StringInput `pulumi:"name"` // A block that specifies the value assigned to this variation. Detailed below Value FeatureVariationValueInput `pulumi:"value"` }
func (FeatureVariationArgs) ElementType ¶ added in v5.22.0
func (FeatureVariationArgs) ElementType() reflect.Type
func (FeatureVariationArgs) ToFeatureVariationOutput ¶ added in v5.22.0
func (i FeatureVariationArgs) ToFeatureVariationOutput() FeatureVariationOutput
func (FeatureVariationArgs) ToFeatureVariationOutputWithContext ¶ added in v5.22.0
func (i FeatureVariationArgs) ToFeatureVariationOutputWithContext(ctx context.Context) FeatureVariationOutput
type FeatureVariationArray ¶ added in v5.22.0
type FeatureVariationArray []FeatureVariationInput
func (FeatureVariationArray) ElementType ¶ added in v5.22.0
func (FeatureVariationArray) ElementType() reflect.Type
func (FeatureVariationArray) ToFeatureVariationArrayOutput ¶ added in v5.22.0
func (i FeatureVariationArray) ToFeatureVariationArrayOutput() FeatureVariationArrayOutput
func (FeatureVariationArray) ToFeatureVariationArrayOutputWithContext ¶ added in v5.22.0
func (i FeatureVariationArray) ToFeatureVariationArrayOutputWithContext(ctx context.Context) FeatureVariationArrayOutput
type FeatureVariationArrayInput ¶ added in v5.22.0
type FeatureVariationArrayInput interface { pulumi.Input ToFeatureVariationArrayOutput() FeatureVariationArrayOutput ToFeatureVariationArrayOutputWithContext(context.Context) FeatureVariationArrayOutput }
FeatureVariationArrayInput is an input type that accepts FeatureVariationArray and FeatureVariationArrayOutput values. You can construct a concrete instance of `FeatureVariationArrayInput` via:
FeatureVariationArray{ FeatureVariationArgs{...} }
type FeatureVariationArrayOutput ¶ added in v5.22.0
type FeatureVariationArrayOutput struct{ *pulumi.OutputState }
func (FeatureVariationArrayOutput) ElementType ¶ added in v5.22.0
func (FeatureVariationArrayOutput) ElementType() reflect.Type
func (FeatureVariationArrayOutput) Index ¶ added in v5.22.0
func (o FeatureVariationArrayOutput) Index(i pulumi.IntInput) FeatureVariationOutput
func (FeatureVariationArrayOutput) ToFeatureVariationArrayOutput ¶ added in v5.22.0
func (o FeatureVariationArrayOutput) ToFeatureVariationArrayOutput() FeatureVariationArrayOutput
func (FeatureVariationArrayOutput) ToFeatureVariationArrayOutputWithContext ¶ added in v5.22.0
func (o FeatureVariationArrayOutput) ToFeatureVariationArrayOutputWithContext(ctx context.Context) FeatureVariationArrayOutput
type FeatureVariationInput ¶ added in v5.22.0
type FeatureVariationInput interface { pulumi.Input ToFeatureVariationOutput() FeatureVariationOutput ToFeatureVariationOutputWithContext(context.Context) FeatureVariationOutput }
FeatureVariationInput is an input type that accepts FeatureVariationArgs and FeatureVariationOutput values. You can construct a concrete instance of `FeatureVariationInput` via:
FeatureVariationArgs{...}
type FeatureVariationOutput ¶ added in v5.22.0
type FeatureVariationOutput struct{ *pulumi.OutputState }
func (FeatureVariationOutput) ElementType ¶ added in v5.22.0
func (FeatureVariationOutput) ElementType() reflect.Type
func (FeatureVariationOutput) Name ¶ added in v5.22.0
func (o FeatureVariationOutput) Name() pulumi.StringOutput
The name of the variation. Minimum length of `1`. Maximum length of `127`.
func (FeatureVariationOutput) ToFeatureVariationOutput ¶ added in v5.22.0
func (o FeatureVariationOutput) ToFeatureVariationOutput() FeatureVariationOutput
func (FeatureVariationOutput) ToFeatureVariationOutputWithContext ¶ added in v5.22.0
func (o FeatureVariationOutput) ToFeatureVariationOutputWithContext(ctx context.Context) FeatureVariationOutput
func (FeatureVariationOutput) Value ¶ added in v5.22.0
func (o FeatureVariationOutput) Value() FeatureVariationValueOutput
A block that specifies the value assigned to this variation. Detailed below
type FeatureVariationValue ¶ added in v5.22.0
type FeatureVariationValue struct { // If this feature uses the Boolean variation type, this field contains the Boolean value of this variation. BoolValue *string `pulumi:"boolValue"` // If this feature uses the double integer variation type, this field contains the double integer value of this variation. DoubleValue *string `pulumi:"doubleValue"` // If this feature uses the long variation type, this field contains the long value of this variation. Minimum value of `-9007199254740991`. Maximum value of `9007199254740991`. LongValue *string `pulumi:"longValue"` // If this feature uses the string variation type, this field contains the string value of this variation. Minimum length of `0`. Maximum length of `512`. StringValue *string `pulumi:"stringValue"` }
type FeatureVariationValueArgs ¶ added in v5.22.0
type FeatureVariationValueArgs struct { // If this feature uses the Boolean variation type, this field contains the Boolean value of this variation. BoolValue pulumi.StringPtrInput `pulumi:"boolValue"` // If this feature uses the double integer variation type, this field contains the double integer value of this variation. DoubleValue pulumi.StringPtrInput `pulumi:"doubleValue"` // If this feature uses the long variation type, this field contains the long value of this variation. Minimum value of `-9007199254740991`. Maximum value of `9007199254740991`. LongValue pulumi.StringPtrInput `pulumi:"longValue"` // If this feature uses the string variation type, this field contains the string value of this variation. Minimum length of `0`. Maximum length of `512`. StringValue pulumi.StringPtrInput `pulumi:"stringValue"` }
func (FeatureVariationValueArgs) ElementType ¶ added in v5.22.0
func (FeatureVariationValueArgs) ElementType() reflect.Type
func (FeatureVariationValueArgs) ToFeatureVariationValueOutput ¶ added in v5.22.0
func (i FeatureVariationValueArgs) ToFeatureVariationValueOutput() FeatureVariationValueOutput
func (FeatureVariationValueArgs) ToFeatureVariationValueOutputWithContext ¶ added in v5.22.0
func (i FeatureVariationValueArgs) ToFeatureVariationValueOutputWithContext(ctx context.Context) FeatureVariationValueOutput
type FeatureVariationValueInput ¶ added in v5.22.0
type FeatureVariationValueInput interface { pulumi.Input ToFeatureVariationValueOutput() FeatureVariationValueOutput ToFeatureVariationValueOutputWithContext(context.Context) FeatureVariationValueOutput }
FeatureVariationValueInput is an input type that accepts FeatureVariationValueArgs and FeatureVariationValueOutput values. You can construct a concrete instance of `FeatureVariationValueInput` via:
FeatureVariationValueArgs{...}
type FeatureVariationValueOutput ¶ added in v5.22.0
type FeatureVariationValueOutput struct{ *pulumi.OutputState }
func (FeatureVariationValueOutput) BoolValue ¶ added in v5.22.0
func (o FeatureVariationValueOutput) BoolValue() pulumi.StringPtrOutput
If this feature uses the Boolean variation type, this field contains the Boolean value of this variation.
func (FeatureVariationValueOutput) DoubleValue ¶ added in v5.22.0
func (o FeatureVariationValueOutput) DoubleValue() pulumi.StringPtrOutput
If this feature uses the double integer variation type, this field contains the double integer value of this variation.
func (FeatureVariationValueOutput) ElementType ¶ added in v5.22.0
func (FeatureVariationValueOutput) ElementType() reflect.Type
func (FeatureVariationValueOutput) LongValue ¶ added in v5.22.0
func (o FeatureVariationValueOutput) LongValue() pulumi.StringPtrOutput
If this feature uses the long variation type, this field contains the long value of this variation. Minimum value of `-9007199254740991`. Maximum value of `9007199254740991`.
func (FeatureVariationValueOutput) StringValue ¶ added in v5.22.0
func (o FeatureVariationValueOutput) StringValue() pulumi.StringPtrOutput
If this feature uses the string variation type, this field contains the string value of this variation. Minimum length of `0`. Maximum length of `512`.
func (FeatureVariationValueOutput) ToFeatureVariationValueOutput ¶ added in v5.22.0
func (o FeatureVariationValueOutput) ToFeatureVariationValueOutput() FeatureVariationValueOutput
func (FeatureVariationValueOutput) ToFeatureVariationValueOutputWithContext ¶ added in v5.22.0
func (o FeatureVariationValueOutput) ToFeatureVariationValueOutputWithContext(ctx context.Context) FeatureVariationValueOutput
type Launch ¶ added in v5.30.0
type Launch struct { pulumi.CustomResourceState // The ARN of the launch. Arn pulumi.StringOutput `pulumi:"arn"` // The date and time that the launch is created. CreatedTime pulumi.StringOutput `pulumi:"createdTime"` // Specifies the description of the launch. Description pulumi.StringPtrOutput `pulumi:"description"` // A block that contains information about the start and end times of the launch. Detailed below Executions LaunchExecutionArrayOutput `pulumi:"executions"` // One or up to five blocks that contain the feature and variations that are to be used for the launch. Detailed below. Groups LaunchGroupArrayOutput `pulumi:"groups"` // The date and time that the launch was most recently updated. LastUpdatedTime pulumi.StringOutput `pulumi:"lastUpdatedTime"` // One or up to three blocks that define the metrics that will be used to monitor the launch performance. Detailed below. MetricMonitors LaunchMetricMonitorArrayOutput `pulumi:"metricMonitors"` // The name for the new launch. Minimum length of `1`. Maximum length of `127`. Name pulumi.StringOutput `pulumi:"name"` // The name or ARN of the project that is to contain the new launch. Project pulumi.StringOutput `pulumi:"project"` // When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt. If you omit randomizationSalt, Evidently uses the launch name as the randomizationSalt. RandomizationSalt pulumi.StringPtrOutput `pulumi:"randomizationSalt"` // A block that defines the traffic allocation percentages among the feature variations during each step of the launch. Detailed below. ScheduledSplitsConfig LaunchScheduledSplitsConfigPtrOutput `pulumi:"scheduledSplitsConfig"` // The current state of the launch. Valid values are `CREATED`, `UPDATING`, `RUNNING`, `COMPLETED`, and `CANCELLED`. Status pulumi.StringOutput `pulumi:"status"` // If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain why it was stopped. StatusReason pulumi.StringOutput `pulumi:"statusReason"` // Tags to apply to the launch. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The type of launch. Type pulumi.StringOutput `pulumi:"type"` }
Provides a CloudWatch Evidently Launch resource.
## Example Usage ### Basic
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewLaunch(ctx, "example", &evidently.LaunchArgs{ Project: pulumi.Any(aws_evidently_project.Example.Name), Groups: evidently.LaunchGroupArray{ &evidently.LaunchGroupArgs{ Feature: pulumi.Any(aws_evidently_feature.Example.Name), Name: pulumi.String("Variation1"), Variation: pulumi.String("Variation1"), }, }, ScheduledSplitsConfig: &evidently.LaunchScheduledSplitsConfigArgs{ Steps: evidently.LaunchScheduledSplitsConfigStepArray{ &evidently.LaunchScheduledSplitsConfigStepArgs{ GroupWeights: pulumi.IntMap{ "Variation1": pulumi.Int(0), }, StartTime: pulumi.String("2024-01-07 01:43:59+00:00"), }, }, }, }) if err != nil { return err } return nil }) }
``` ### With description
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewLaunch(ctx, "example", &evidently.LaunchArgs{ Project: pulumi.Any(aws_evidently_project.Example.Name), Description: pulumi.String("example description"), Groups: evidently.LaunchGroupArray{ &evidently.LaunchGroupArgs{ Feature: pulumi.Any(aws_evidently_feature.Example.Name), Name: pulumi.String("Variation1"), Variation: pulumi.String("Variation1"), }, }, ScheduledSplitsConfig: &evidently.LaunchScheduledSplitsConfigArgs{ Steps: evidently.LaunchScheduledSplitsConfigStepArray{ &evidently.LaunchScheduledSplitsConfigStepArgs{ GroupWeights: pulumi.IntMap{ "Variation1": pulumi.Int(0), }, StartTime: pulumi.String("2024-01-07 01:43:59+00:00"), }, }, }, }) if err != nil { return err } return nil }) }
``` ### With multiple groups
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewLaunch(ctx, "example", &evidently.LaunchArgs{ Project: pulumi.Any(aws_evidently_project.Example.Name), Groups: evidently.LaunchGroupArray{ &evidently.LaunchGroupArgs{ Feature: pulumi.Any(aws_evidently_feature.Example.Name), Name: pulumi.String("Variation1"), Variation: pulumi.String("Variation1"), Description: pulumi.String("first-group"), }, &evidently.LaunchGroupArgs{ Feature: pulumi.Any(aws_evidently_feature.Example.Name), Name: pulumi.String("Variation2"), Variation: pulumi.String("Variation2"), Description: pulumi.String("second-group"), }, }, ScheduledSplitsConfig: &evidently.LaunchScheduledSplitsConfigArgs{ Steps: evidently.LaunchScheduledSplitsConfigStepArray{ &evidently.LaunchScheduledSplitsConfigStepArgs{ GroupWeights: pulumi.IntMap{ "Variation1": pulumi.Int(0), "Variation2": pulumi.Int(0), }, StartTime: pulumi.String("2024-01-07 01:43:59+00:00"), }, }, }, }) if err != nil { return err } return nil }) }
``` ### With metricMonitors
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewLaunch(ctx, "example", &evidently.LaunchArgs{ Project: pulumi.Any(aws_evidently_project.Example.Name), Groups: evidently.LaunchGroupArray{ &evidently.LaunchGroupArgs{ Feature: pulumi.Any(aws_evidently_feature.Example.Name), Name: pulumi.String("Variation1"), Variation: pulumi.String("Variation1"), }, }, MetricMonitors: evidently.LaunchMetricMonitorArray{ &evidently.LaunchMetricMonitorArgs{ MetricDefinition: &evidently.LaunchMetricMonitorMetricDefinitionArgs{ EntityIdKey: pulumi.String("entity_id_key1"), EventPattern: pulumi.String("{\"Price\":[{\"numeric\":[\">\",11,\"<=\",22]}]}"), Name: pulumi.String("name1"), UnitLabel: pulumi.String("unit_label1"), ValueKey: pulumi.String("value_key1"), }, }, &evidently.LaunchMetricMonitorArgs{ MetricDefinition: &evidently.LaunchMetricMonitorMetricDefinitionArgs{ EntityIdKey: pulumi.String("entity_id_key2"), EventPattern: pulumi.String("{\"Price\":[{\"numeric\":[\">\",9,\"<=\",19]}]}"), Name: pulumi.String("name2"), UnitLabel: pulumi.String("unit_label2"), ValueKey: pulumi.String("value_key2"), }, }, }, ScheduledSplitsConfig: &evidently.LaunchScheduledSplitsConfigArgs{ Steps: evidently.LaunchScheduledSplitsConfigStepArray{ &evidently.LaunchScheduledSplitsConfigStepArgs{ GroupWeights: pulumi.IntMap{ "Variation1": pulumi.Int(0), }, StartTime: pulumi.String("2024-01-07 01:43:59+00:00"), }, }, }, }) if err != nil { return err } return nil }) }
``` ### With randomizationSalt
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewLaunch(ctx, "example", &evidently.LaunchArgs{ Project: pulumi.Any(aws_evidently_project.Example.Name), RandomizationSalt: pulumi.String("example randomization salt"), Groups: evidently.LaunchGroupArray{ &evidently.LaunchGroupArgs{ Feature: pulumi.Any(aws_evidently_feature.Example.Name), Name: pulumi.String("Variation1"), Variation: pulumi.String("Variation1"), }, }, ScheduledSplitsConfig: &evidently.LaunchScheduledSplitsConfigArgs{ Steps: evidently.LaunchScheduledSplitsConfigStepArray{ &evidently.LaunchScheduledSplitsConfigStepArgs{ GroupWeights: pulumi.IntMap{ "Variation1": pulumi.Int(0), }, StartTime: pulumi.String("2024-01-07 01:43:59+00:00"), }, }, }, }) if err != nil { return err } return nil }) }
``` ### With multiple steps
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewLaunch(ctx, "example", &evidently.LaunchArgs{ Project: pulumi.Any(aws_evidently_project.Example.Name), Groups: evidently.LaunchGroupArray{ &evidently.LaunchGroupArgs{ Feature: pulumi.Any(aws_evidently_feature.Example.Name), Name: pulumi.String("Variation1"), Variation: pulumi.String("Variation1"), }, &evidently.LaunchGroupArgs{ Feature: pulumi.Any(aws_evidently_feature.Example.Name), Name: pulumi.String("Variation2"), Variation: pulumi.String("Variation2"), }, }, ScheduledSplitsConfig: &evidently.LaunchScheduledSplitsConfigArgs{ Steps: evidently.LaunchScheduledSplitsConfigStepArray{ &evidently.LaunchScheduledSplitsConfigStepArgs{ GroupWeights: pulumi.IntMap{ "Variation1": pulumi.Int(15), "Variation2": pulumi.Int(10), }, StartTime: pulumi.String("2024-01-07 01:43:59+00:00"), }, &evidently.LaunchScheduledSplitsConfigStepArgs{ GroupWeights: pulumi.IntMap{ "Variation1": pulumi.Int(20), "Variation2": pulumi.Int(25), }, StartTime: pulumi.String("2024-01-08 01:43:59+00:00"), }, }, }, }) if err != nil { return err } return nil }) }
``` ### With segment overrides
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewLaunch(ctx, "example", &evidently.LaunchArgs{ Project: pulumi.Any(aws_evidently_project.Example.Name), Groups: evidently.LaunchGroupArray{ &evidently.LaunchGroupArgs{ Feature: pulumi.Any(aws_evidently_feature.Example.Name), Name: pulumi.String("Variation1"), Variation: pulumi.String("Variation1"), }, &evidently.LaunchGroupArgs{ Feature: pulumi.Any(aws_evidently_feature.Example.Name), Name: pulumi.String("Variation2"), Variation: pulumi.String("Variation2"), }, }, ScheduledSplitsConfig: &evidently.LaunchScheduledSplitsConfigArgs{ Steps: evidently.LaunchScheduledSplitsConfigStepArray{ &evidently.LaunchScheduledSplitsConfigStepArgs{ GroupWeights: pulumi.IntMap{ "Variation1": pulumi.Int(0), "Variation2": pulumi.Int(0), }, SegmentOverrides: evidently.LaunchScheduledSplitsConfigStepSegmentOverrideArray{ &evidently.LaunchScheduledSplitsConfigStepSegmentOverrideArgs{ EvaluationOrder: pulumi.Int(1), Segment: pulumi.Any(aws_evidently_segment.Example.Name), Weights: pulumi.IntMap{ "Variation2": pulumi.Int(10000), }, }, &evidently.LaunchScheduledSplitsConfigStepSegmentOverrideArgs{ EvaluationOrder: pulumi.Int(2), Segment: pulumi.Any(aws_evidently_segment.Example.Name), Weights: pulumi.IntMap{ "Variation1": pulumi.Int(40000), "Variation2": pulumi.Int(30000), }, }, }, StartTime: pulumi.String("2024-01-08 01:43:59+00:00"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
CloudWatch Evidently Launch can be imported using the `name` of the launch and `name` or `arn` of the hosting CloudWatch Evidently Project separated by a `:`, e.g. with the `name` of the launch and `arn` of the project,
```sh
$ pulumi import aws:evidently/launch:Launch example exampleLaunchName:arn:aws:evidently:us-east-1:123456789012:project/exampleProjectName
```
e.g. with the `name` of the launch and `name` of the project,
```sh
$ pulumi import aws:evidently/launch:Launch example exampleLaunchName:exampleProjectName
```
func GetLaunch ¶ added in v5.30.0
func GetLaunch(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LaunchState, opts ...pulumi.ResourceOption) (*Launch, error)
GetLaunch gets an existing Launch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLaunch ¶ added in v5.30.0
func NewLaunch(ctx *pulumi.Context, name string, args *LaunchArgs, opts ...pulumi.ResourceOption) (*Launch, error)
NewLaunch registers a new resource with the given unique name, arguments, and options.
func (*Launch) ElementType ¶ added in v5.30.0
func (*Launch) ToLaunchOutput ¶ added in v5.30.0
func (i *Launch) ToLaunchOutput() LaunchOutput
func (*Launch) ToLaunchOutputWithContext ¶ added in v5.30.0
func (i *Launch) ToLaunchOutputWithContext(ctx context.Context) LaunchOutput
type LaunchArgs ¶ added in v5.30.0
type LaunchArgs struct { // Specifies the description of the launch. Description pulumi.StringPtrInput // One or up to five blocks that contain the feature and variations that are to be used for the launch. Detailed below. Groups LaunchGroupArrayInput // One or up to three blocks that define the metrics that will be used to monitor the launch performance. Detailed below. MetricMonitors LaunchMetricMonitorArrayInput // The name for the new launch. Minimum length of `1`. Maximum length of `127`. Name pulumi.StringPtrInput // The name or ARN of the project that is to contain the new launch. Project pulumi.StringInput // When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt. If you omit randomizationSalt, Evidently uses the launch name as the randomizationSalt. RandomizationSalt pulumi.StringPtrInput // A block that defines the traffic allocation percentages among the feature variations during each step of the launch. Detailed below. ScheduledSplitsConfig LaunchScheduledSplitsConfigPtrInput // Tags to apply to the launch. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a Launch resource.
func (LaunchArgs) ElementType ¶ added in v5.30.0
func (LaunchArgs) ElementType() reflect.Type
type LaunchArray ¶ added in v5.30.0
type LaunchArray []LaunchInput
func (LaunchArray) ElementType ¶ added in v5.30.0
func (LaunchArray) ElementType() reflect.Type
func (LaunchArray) ToLaunchArrayOutput ¶ added in v5.30.0
func (i LaunchArray) ToLaunchArrayOutput() LaunchArrayOutput
func (LaunchArray) ToLaunchArrayOutputWithContext ¶ added in v5.30.0
func (i LaunchArray) ToLaunchArrayOutputWithContext(ctx context.Context) LaunchArrayOutput
type LaunchArrayInput ¶ added in v5.30.0
type LaunchArrayInput interface { pulumi.Input ToLaunchArrayOutput() LaunchArrayOutput ToLaunchArrayOutputWithContext(context.Context) LaunchArrayOutput }
LaunchArrayInput is an input type that accepts LaunchArray and LaunchArrayOutput values. You can construct a concrete instance of `LaunchArrayInput` via:
LaunchArray{ LaunchArgs{...} }
type LaunchArrayOutput ¶ added in v5.30.0
type LaunchArrayOutput struct{ *pulumi.OutputState }
func (LaunchArrayOutput) ElementType ¶ added in v5.30.0
func (LaunchArrayOutput) ElementType() reflect.Type
func (LaunchArrayOutput) Index ¶ added in v5.30.0
func (o LaunchArrayOutput) Index(i pulumi.IntInput) LaunchOutput
func (LaunchArrayOutput) ToLaunchArrayOutput ¶ added in v5.30.0
func (o LaunchArrayOutput) ToLaunchArrayOutput() LaunchArrayOutput
func (LaunchArrayOutput) ToLaunchArrayOutputWithContext ¶ added in v5.30.0
func (o LaunchArrayOutput) ToLaunchArrayOutputWithContext(ctx context.Context) LaunchArrayOutput
type LaunchExecution ¶ added in v5.30.0
type LaunchExecutionArgs ¶ added in v5.30.0
type LaunchExecutionArgs struct { // The date and time that the launch ended. EndedTime pulumi.StringPtrInput `pulumi:"endedTime"` // The date and time that the launch started. StartedTime pulumi.StringPtrInput `pulumi:"startedTime"` }
func (LaunchExecutionArgs) ElementType ¶ added in v5.30.0
func (LaunchExecutionArgs) ElementType() reflect.Type
func (LaunchExecutionArgs) ToLaunchExecutionOutput ¶ added in v5.30.0
func (i LaunchExecutionArgs) ToLaunchExecutionOutput() LaunchExecutionOutput
func (LaunchExecutionArgs) ToLaunchExecutionOutputWithContext ¶ added in v5.30.0
func (i LaunchExecutionArgs) ToLaunchExecutionOutputWithContext(ctx context.Context) LaunchExecutionOutput
type LaunchExecutionArray ¶ added in v5.30.0
type LaunchExecutionArray []LaunchExecutionInput
func (LaunchExecutionArray) ElementType ¶ added in v5.30.0
func (LaunchExecutionArray) ElementType() reflect.Type
func (LaunchExecutionArray) ToLaunchExecutionArrayOutput ¶ added in v5.30.0
func (i LaunchExecutionArray) ToLaunchExecutionArrayOutput() LaunchExecutionArrayOutput
func (LaunchExecutionArray) ToLaunchExecutionArrayOutputWithContext ¶ added in v5.30.0
func (i LaunchExecutionArray) ToLaunchExecutionArrayOutputWithContext(ctx context.Context) LaunchExecutionArrayOutput
type LaunchExecutionArrayInput ¶ added in v5.30.0
type LaunchExecutionArrayInput interface { pulumi.Input ToLaunchExecutionArrayOutput() LaunchExecutionArrayOutput ToLaunchExecutionArrayOutputWithContext(context.Context) LaunchExecutionArrayOutput }
LaunchExecutionArrayInput is an input type that accepts LaunchExecutionArray and LaunchExecutionArrayOutput values. You can construct a concrete instance of `LaunchExecutionArrayInput` via:
LaunchExecutionArray{ LaunchExecutionArgs{...} }
type LaunchExecutionArrayOutput ¶ added in v5.30.0
type LaunchExecutionArrayOutput struct{ *pulumi.OutputState }
func (LaunchExecutionArrayOutput) ElementType ¶ added in v5.30.0
func (LaunchExecutionArrayOutput) ElementType() reflect.Type
func (LaunchExecutionArrayOutput) Index ¶ added in v5.30.0
func (o LaunchExecutionArrayOutput) Index(i pulumi.IntInput) LaunchExecutionOutput
func (LaunchExecutionArrayOutput) ToLaunchExecutionArrayOutput ¶ added in v5.30.0
func (o LaunchExecutionArrayOutput) ToLaunchExecutionArrayOutput() LaunchExecutionArrayOutput
func (LaunchExecutionArrayOutput) ToLaunchExecutionArrayOutputWithContext ¶ added in v5.30.0
func (o LaunchExecutionArrayOutput) ToLaunchExecutionArrayOutputWithContext(ctx context.Context) LaunchExecutionArrayOutput
type LaunchExecutionInput ¶ added in v5.30.0
type LaunchExecutionInput interface { pulumi.Input ToLaunchExecutionOutput() LaunchExecutionOutput ToLaunchExecutionOutputWithContext(context.Context) LaunchExecutionOutput }
LaunchExecutionInput is an input type that accepts LaunchExecutionArgs and LaunchExecutionOutput values. You can construct a concrete instance of `LaunchExecutionInput` via:
LaunchExecutionArgs{...}
type LaunchExecutionOutput ¶ added in v5.30.0
type LaunchExecutionOutput struct{ *pulumi.OutputState }
func (LaunchExecutionOutput) ElementType ¶ added in v5.30.0
func (LaunchExecutionOutput) ElementType() reflect.Type
func (LaunchExecutionOutput) EndedTime ¶ added in v5.30.0
func (o LaunchExecutionOutput) EndedTime() pulumi.StringPtrOutput
The date and time that the launch ended.
func (LaunchExecutionOutput) StartedTime ¶ added in v5.30.0
func (o LaunchExecutionOutput) StartedTime() pulumi.StringPtrOutput
The date and time that the launch started.
func (LaunchExecutionOutput) ToLaunchExecutionOutput ¶ added in v5.30.0
func (o LaunchExecutionOutput) ToLaunchExecutionOutput() LaunchExecutionOutput
func (LaunchExecutionOutput) ToLaunchExecutionOutputWithContext ¶ added in v5.30.0
func (o LaunchExecutionOutput) ToLaunchExecutionOutputWithContext(ctx context.Context) LaunchExecutionOutput
type LaunchGroup ¶ added in v5.30.0
type LaunchGroup struct { // Specifies the description of the launch group. Description *string `pulumi:"description"` // Specifies the name of the feature that the launch is using. Feature string `pulumi:"feature"` // Specifies the name of the lahnch group. Name string `pulumi:"name"` // Specifies the feature variation to use for this launch group. Variation string `pulumi:"variation"` }
type LaunchGroupArgs ¶ added in v5.30.0
type LaunchGroupArgs struct { // Specifies the description of the launch group. Description pulumi.StringPtrInput `pulumi:"description"` // Specifies the name of the feature that the launch is using. Feature pulumi.StringInput `pulumi:"feature"` // Specifies the name of the lahnch group. Name pulumi.StringInput `pulumi:"name"` // Specifies the feature variation to use for this launch group. Variation pulumi.StringInput `pulumi:"variation"` }
func (LaunchGroupArgs) ElementType ¶ added in v5.30.0
func (LaunchGroupArgs) ElementType() reflect.Type
func (LaunchGroupArgs) ToLaunchGroupOutput ¶ added in v5.30.0
func (i LaunchGroupArgs) ToLaunchGroupOutput() LaunchGroupOutput
func (LaunchGroupArgs) ToLaunchGroupOutputWithContext ¶ added in v5.30.0
func (i LaunchGroupArgs) ToLaunchGroupOutputWithContext(ctx context.Context) LaunchGroupOutput
type LaunchGroupArray ¶ added in v5.30.0
type LaunchGroupArray []LaunchGroupInput
func (LaunchGroupArray) ElementType ¶ added in v5.30.0
func (LaunchGroupArray) ElementType() reflect.Type
func (LaunchGroupArray) ToLaunchGroupArrayOutput ¶ added in v5.30.0
func (i LaunchGroupArray) ToLaunchGroupArrayOutput() LaunchGroupArrayOutput
func (LaunchGroupArray) ToLaunchGroupArrayOutputWithContext ¶ added in v5.30.0
func (i LaunchGroupArray) ToLaunchGroupArrayOutputWithContext(ctx context.Context) LaunchGroupArrayOutput
type LaunchGroupArrayInput ¶ added in v5.30.0
type LaunchGroupArrayInput interface { pulumi.Input ToLaunchGroupArrayOutput() LaunchGroupArrayOutput ToLaunchGroupArrayOutputWithContext(context.Context) LaunchGroupArrayOutput }
LaunchGroupArrayInput is an input type that accepts LaunchGroupArray and LaunchGroupArrayOutput values. You can construct a concrete instance of `LaunchGroupArrayInput` via:
LaunchGroupArray{ LaunchGroupArgs{...} }
type LaunchGroupArrayOutput ¶ added in v5.30.0
type LaunchGroupArrayOutput struct{ *pulumi.OutputState }
func (LaunchGroupArrayOutput) ElementType ¶ added in v5.30.0
func (LaunchGroupArrayOutput) ElementType() reflect.Type
func (LaunchGroupArrayOutput) Index ¶ added in v5.30.0
func (o LaunchGroupArrayOutput) Index(i pulumi.IntInput) LaunchGroupOutput
func (LaunchGroupArrayOutput) ToLaunchGroupArrayOutput ¶ added in v5.30.0
func (o LaunchGroupArrayOutput) ToLaunchGroupArrayOutput() LaunchGroupArrayOutput
func (LaunchGroupArrayOutput) ToLaunchGroupArrayOutputWithContext ¶ added in v5.30.0
func (o LaunchGroupArrayOutput) ToLaunchGroupArrayOutputWithContext(ctx context.Context) LaunchGroupArrayOutput
type LaunchGroupInput ¶ added in v5.30.0
type LaunchGroupInput interface { pulumi.Input ToLaunchGroupOutput() LaunchGroupOutput ToLaunchGroupOutputWithContext(context.Context) LaunchGroupOutput }
LaunchGroupInput is an input type that accepts LaunchGroupArgs and LaunchGroupOutput values. You can construct a concrete instance of `LaunchGroupInput` via:
LaunchGroupArgs{...}
type LaunchGroupOutput ¶ added in v5.30.0
type LaunchGroupOutput struct{ *pulumi.OutputState }
func (LaunchGroupOutput) Description ¶ added in v5.30.0
func (o LaunchGroupOutput) Description() pulumi.StringPtrOutput
Specifies the description of the launch group.
func (LaunchGroupOutput) ElementType ¶ added in v5.30.0
func (LaunchGroupOutput) ElementType() reflect.Type
func (LaunchGroupOutput) Feature ¶ added in v5.30.0
func (o LaunchGroupOutput) Feature() pulumi.StringOutput
Specifies the name of the feature that the launch is using.
func (LaunchGroupOutput) Name ¶ added in v5.30.0
func (o LaunchGroupOutput) Name() pulumi.StringOutput
Specifies the name of the lahnch group.
func (LaunchGroupOutput) ToLaunchGroupOutput ¶ added in v5.30.0
func (o LaunchGroupOutput) ToLaunchGroupOutput() LaunchGroupOutput
func (LaunchGroupOutput) ToLaunchGroupOutputWithContext ¶ added in v5.30.0
func (o LaunchGroupOutput) ToLaunchGroupOutputWithContext(ctx context.Context) LaunchGroupOutput
func (LaunchGroupOutput) Variation ¶ added in v5.30.0
func (o LaunchGroupOutput) Variation() pulumi.StringOutput
Specifies the feature variation to use for this launch group.
type LaunchInput ¶ added in v5.30.0
type LaunchInput interface { pulumi.Input ToLaunchOutput() LaunchOutput ToLaunchOutputWithContext(ctx context.Context) LaunchOutput }
type LaunchMap ¶ added in v5.30.0
type LaunchMap map[string]LaunchInput
func (LaunchMap) ElementType ¶ added in v5.30.0
func (LaunchMap) ToLaunchMapOutput ¶ added in v5.30.0
func (i LaunchMap) ToLaunchMapOutput() LaunchMapOutput
func (LaunchMap) ToLaunchMapOutputWithContext ¶ added in v5.30.0
func (i LaunchMap) ToLaunchMapOutputWithContext(ctx context.Context) LaunchMapOutput
type LaunchMapInput ¶ added in v5.30.0
type LaunchMapInput interface { pulumi.Input ToLaunchMapOutput() LaunchMapOutput ToLaunchMapOutputWithContext(context.Context) LaunchMapOutput }
LaunchMapInput is an input type that accepts LaunchMap and LaunchMapOutput values. You can construct a concrete instance of `LaunchMapInput` via:
LaunchMap{ "key": LaunchArgs{...} }
type LaunchMapOutput ¶ added in v5.30.0
type LaunchMapOutput struct{ *pulumi.OutputState }
func (LaunchMapOutput) ElementType ¶ added in v5.30.0
func (LaunchMapOutput) ElementType() reflect.Type
func (LaunchMapOutput) MapIndex ¶ added in v5.30.0
func (o LaunchMapOutput) MapIndex(k pulumi.StringInput) LaunchOutput
func (LaunchMapOutput) ToLaunchMapOutput ¶ added in v5.30.0
func (o LaunchMapOutput) ToLaunchMapOutput() LaunchMapOutput
func (LaunchMapOutput) ToLaunchMapOutputWithContext ¶ added in v5.30.0
func (o LaunchMapOutput) ToLaunchMapOutputWithContext(ctx context.Context) LaunchMapOutput
type LaunchMetricMonitor ¶ added in v5.30.0
type LaunchMetricMonitor struct { // A block that defines the metric. Detailed below. MetricDefinition LaunchMetricMonitorMetricDefinition `pulumi:"metricDefinition"` }
type LaunchMetricMonitorArgs ¶ added in v5.30.0
type LaunchMetricMonitorArgs struct { // A block that defines the metric. Detailed below. MetricDefinition LaunchMetricMonitorMetricDefinitionInput `pulumi:"metricDefinition"` }
func (LaunchMetricMonitorArgs) ElementType ¶ added in v5.30.0
func (LaunchMetricMonitorArgs) ElementType() reflect.Type
func (LaunchMetricMonitorArgs) ToLaunchMetricMonitorOutput ¶ added in v5.30.0
func (i LaunchMetricMonitorArgs) ToLaunchMetricMonitorOutput() LaunchMetricMonitorOutput
func (LaunchMetricMonitorArgs) ToLaunchMetricMonitorOutputWithContext ¶ added in v5.30.0
func (i LaunchMetricMonitorArgs) ToLaunchMetricMonitorOutputWithContext(ctx context.Context) LaunchMetricMonitorOutput
type LaunchMetricMonitorArray ¶ added in v5.30.0
type LaunchMetricMonitorArray []LaunchMetricMonitorInput
func (LaunchMetricMonitorArray) ElementType ¶ added in v5.30.0
func (LaunchMetricMonitorArray) ElementType() reflect.Type
func (LaunchMetricMonitorArray) ToLaunchMetricMonitorArrayOutput ¶ added in v5.30.0
func (i LaunchMetricMonitorArray) ToLaunchMetricMonitorArrayOutput() LaunchMetricMonitorArrayOutput
func (LaunchMetricMonitorArray) ToLaunchMetricMonitorArrayOutputWithContext ¶ added in v5.30.0
func (i LaunchMetricMonitorArray) ToLaunchMetricMonitorArrayOutputWithContext(ctx context.Context) LaunchMetricMonitorArrayOutput
type LaunchMetricMonitorArrayInput ¶ added in v5.30.0
type LaunchMetricMonitorArrayInput interface { pulumi.Input ToLaunchMetricMonitorArrayOutput() LaunchMetricMonitorArrayOutput ToLaunchMetricMonitorArrayOutputWithContext(context.Context) LaunchMetricMonitorArrayOutput }
LaunchMetricMonitorArrayInput is an input type that accepts LaunchMetricMonitorArray and LaunchMetricMonitorArrayOutput values. You can construct a concrete instance of `LaunchMetricMonitorArrayInput` via:
LaunchMetricMonitorArray{ LaunchMetricMonitorArgs{...} }
type LaunchMetricMonitorArrayOutput ¶ added in v5.30.0
type LaunchMetricMonitorArrayOutput struct{ *pulumi.OutputState }
func (LaunchMetricMonitorArrayOutput) ElementType ¶ added in v5.30.0
func (LaunchMetricMonitorArrayOutput) ElementType() reflect.Type
func (LaunchMetricMonitorArrayOutput) Index ¶ added in v5.30.0
func (o LaunchMetricMonitorArrayOutput) Index(i pulumi.IntInput) LaunchMetricMonitorOutput
func (LaunchMetricMonitorArrayOutput) ToLaunchMetricMonitorArrayOutput ¶ added in v5.30.0
func (o LaunchMetricMonitorArrayOutput) ToLaunchMetricMonitorArrayOutput() LaunchMetricMonitorArrayOutput
func (LaunchMetricMonitorArrayOutput) ToLaunchMetricMonitorArrayOutputWithContext ¶ added in v5.30.0
func (o LaunchMetricMonitorArrayOutput) ToLaunchMetricMonitorArrayOutputWithContext(ctx context.Context) LaunchMetricMonitorArrayOutput
type LaunchMetricMonitorInput ¶ added in v5.30.0
type LaunchMetricMonitorInput interface { pulumi.Input ToLaunchMetricMonitorOutput() LaunchMetricMonitorOutput ToLaunchMetricMonitorOutputWithContext(context.Context) LaunchMetricMonitorOutput }
LaunchMetricMonitorInput is an input type that accepts LaunchMetricMonitorArgs and LaunchMetricMonitorOutput values. You can construct a concrete instance of `LaunchMetricMonitorInput` via:
LaunchMetricMonitorArgs{...}
type LaunchMetricMonitorMetricDefinition ¶ added in v5.30.0
type LaunchMetricMonitorMetricDefinition struct { // Specifies the entity, such as a user or session, that does an action that causes a metric value to be recorded. An example is `userDetails.userID`. EntityIdKey string `pulumi:"entityIdKey"` // Specifies The EventBridge event pattern that defines how the metric is recorded. EventPattern *string `pulumi:"eventPattern"` // Specifies the name for the metric. Name string `pulumi:"name"` // Specifies a label for the units that the metric is measuring. UnitLabel *string `pulumi:"unitLabel"` // Specifies the value that is tracked to produce the metric. ValueKey string `pulumi:"valueKey"` }
type LaunchMetricMonitorMetricDefinitionArgs ¶ added in v5.30.0
type LaunchMetricMonitorMetricDefinitionArgs struct { // Specifies the entity, such as a user or session, that does an action that causes a metric value to be recorded. An example is `userDetails.userID`. EntityIdKey pulumi.StringInput `pulumi:"entityIdKey"` // Specifies The EventBridge event pattern that defines how the metric is recorded. EventPattern pulumi.StringPtrInput `pulumi:"eventPattern"` // Specifies the name for the metric. Name pulumi.StringInput `pulumi:"name"` // Specifies a label for the units that the metric is measuring. UnitLabel pulumi.StringPtrInput `pulumi:"unitLabel"` // Specifies the value that is tracked to produce the metric. ValueKey pulumi.StringInput `pulumi:"valueKey"` }
func (LaunchMetricMonitorMetricDefinitionArgs) ElementType ¶ added in v5.30.0
func (LaunchMetricMonitorMetricDefinitionArgs) ElementType() reflect.Type
func (LaunchMetricMonitorMetricDefinitionArgs) ToLaunchMetricMonitorMetricDefinitionOutput ¶ added in v5.30.0
func (i LaunchMetricMonitorMetricDefinitionArgs) ToLaunchMetricMonitorMetricDefinitionOutput() LaunchMetricMonitorMetricDefinitionOutput
func (LaunchMetricMonitorMetricDefinitionArgs) ToLaunchMetricMonitorMetricDefinitionOutputWithContext ¶ added in v5.30.0
func (i LaunchMetricMonitorMetricDefinitionArgs) ToLaunchMetricMonitorMetricDefinitionOutputWithContext(ctx context.Context) LaunchMetricMonitorMetricDefinitionOutput
type LaunchMetricMonitorMetricDefinitionInput ¶ added in v5.30.0
type LaunchMetricMonitorMetricDefinitionInput interface { pulumi.Input ToLaunchMetricMonitorMetricDefinitionOutput() LaunchMetricMonitorMetricDefinitionOutput ToLaunchMetricMonitorMetricDefinitionOutputWithContext(context.Context) LaunchMetricMonitorMetricDefinitionOutput }
LaunchMetricMonitorMetricDefinitionInput is an input type that accepts LaunchMetricMonitorMetricDefinitionArgs and LaunchMetricMonitorMetricDefinitionOutput values. You can construct a concrete instance of `LaunchMetricMonitorMetricDefinitionInput` via:
LaunchMetricMonitorMetricDefinitionArgs{...}
type LaunchMetricMonitorMetricDefinitionOutput ¶ added in v5.30.0
type LaunchMetricMonitorMetricDefinitionOutput struct{ *pulumi.OutputState }
func (LaunchMetricMonitorMetricDefinitionOutput) ElementType ¶ added in v5.30.0
func (LaunchMetricMonitorMetricDefinitionOutput) ElementType() reflect.Type
func (LaunchMetricMonitorMetricDefinitionOutput) EntityIdKey ¶ added in v5.30.0
func (o LaunchMetricMonitorMetricDefinitionOutput) EntityIdKey() pulumi.StringOutput
Specifies the entity, such as a user or session, that does an action that causes a metric value to be recorded. An example is `userDetails.userID`.
func (LaunchMetricMonitorMetricDefinitionOutput) EventPattern ¶ added in v5.30.0
func (o LaunchMetricMonitorMetricDefinitionOutput) EventPattern() pulumi.StringPtrOutput
Specifies The EventBridge event pattern that defines how the metric is recorded.
func (LaunchMetricMonitorMetricDefinitionOutput) Name ¶ added in v5.30.0
func (o LaunchMetricMonitorMetricDefinitionOutput) Name() pulumi.StringOutput
Specifies the name for the metric.
func (LaunchMetricMonitorMetricDefinitionOutput) ToLaunchMetricMonitorMetricDefinitionOutput ¶ added in v5.30.0
func (o LaunchMetricMonitorMetricDefinitionOutput) ToLaunchMetricMonitorMetricDefinitionOutput() LaunchMetricMonitorMetricDefinitionOutput
func (LaunchMetricMonitorMetricDefinitionOutput) ToLaunchMetricMonitorMetricDefinitionOutputWithContext ¶ added in v5.30.0
func (o LaunchMetricMonitorMetricDefinitionOutput) ToLaunchMetricMonitorMetricDefinitionOutputWithContext(ctx context.Context) LaunchMetricMonitorMetricDefinitionOutput
func (LaunchMetricMonitorMetricDefinitionOutput) UnitLabel ¶ added in v5.30.0
func (o LaunchMetricMonitorMetricDefinitionOutput) UnitLabel() pulumi.StringPtrOutput
Specifies a label for the units that the metric is measuring.
func (LaunchMetricMonitorMetricDefinitionOutput) ValueKey ¶ added in v5.30.0
func (o LaunchMetricMonitorMetricDefinitionOutput) ValueKey() pulumi.StringOutput
Specifies the value that is tracked to produce the metric.
type LaunchMetricMonitorOutput ¶ added in v5.30.0
type LaunchMetricMonitorOutput struct{ *pulumi.OutputState }
func (LaunchMetricMonitorOutput) ElementType ¶ added in v5.30.0
func (LaunchMetricMonitorOutput) ElementType() reflect.Type
func (LaunchMetricMonitorOutput) MetricDefinition ¶ added in v5.30.0
func (o LaunchMetricMonitorOutput) MetricDefinition() LaunchMetricMonitorMetricDefinitionOutput
A block that defines the metric. Detailed below.
func (LaunchMetricMonitorOutput) ToLaunchMetricMonitorOutput ¶ added in v5.30.0
func (o LaunchMetricMonitorOutput) ToLaunchMetricMonitorOutput() LaunchMetricMonitorOutput
func (LaunchMetricMonitorOutput) ToLaunchMetricMonitorOutputWithContext ¶ added in v5.30.0
func (o LaunchMetricMonitorOutput) ToLaunchMetricMonitorOutputWithContext(ctx context.Context) LaunchMetricMonitorOutput
type LaunchOutput ¶ added in v5.30.0
type LaunchOutput struct{ *pulumi.OutputState }
func (LaunchOutput) Arn ¶ added in v5.30.0
func (o LaunchOutput) Arn() pulumi.StringOutput
The ARN of the launch.
func (LaunchOutput) CreatedTime ¶ added in v5.30.0
func (o LaunchOutput) CreatedTime() pulumi.StringOutput
The date and time that the launch is created.
func (LaunchOutput) Description ¶ added in v5.30.0
func (o LaunchOutput) Description() pulumi.StringPtrOutput
Specifies the description of the launch.
func (LaunchOutput) ElementType ¶ added in v5.30.0
func (LaunchOutput) ElementType() reflect.Type
func (LaunchOutput) Executions ¶ added in v5.30.0
func (o LaunchOutput) Executions() LaunchExecutionArrayOutput
A block that contains information about the start and end times of the launch. Detailed below
func (LaunchOutput) Groups ¶ added in v5.30.0
func (o LaunchOutput) Groups() LaunchGroupArrayOutput
One or up to five blocks that contain the feature and variations that are to be used for the launch. Detailed below.
func (LaunchOutput) LastUpdatedTime ¶ added in v5.30.0
func (o LaunchOutput) LastUpdatedTime() pulumi.StringOutput
The date and time that the launch was most recently updated.
func (LaunchOutput) MetricMonitors ¶ added in v5.30.0
func (o LaunchOutput) MetricMonitors() LaunchMetricMonitorArrayOutput
One or up to three blocks that define the metrics that will be used to monitor the launch performance. Detailed below.
func (LaunchOutput) Name ¶ added in v5.30.0
func (o LaunchOutput) Name() pulumi.StringOutput
The name for the new launch. Minimum length of `1`. Maximum length of `127`.
func (LaunchOutput) Project ¶ added in v5.30.0
func (o LaunchOutput) Project() pulumi.StringOutput
The name or ARN of the project that is to contain the new launch.
func (LaunchOutput) RandomizationSalt ¶ added in v5.30.0
func (o LaunchOutput) RandomizationSalt() pulumi.StringPtrOutput
When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt. If you omit randomizationSalt, Evidently uses the launch name as the randomizationSalt.
func (LaunchOutput) ScheduledSplitsConfig ¶ added in v5.30.0
func (o LaunchOutput) ScheduledSplitsConfig() LaunchScheduledSplitsConfigPtrOutput
A block that defines the traffic allocation percentages among the feature variations during each step of the launch. Detailed below.
func (LaunchOutput) Status ¶ added in v5.30.0
func (o LaunchOutput) Status() pulumi.StringOutput
The current state of the launch. Valid values are `CREATED`, `UPDATING`, `RUNNING`, `COMPLETED`, and `CANCELLED`.
func (LaunchOutput) StatusReason ¶ added in v5.30.0
func (o LaunchOutput) StatusReason() pulumi.StringOutput
If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain why it was stopped.
func (LaunchOutput) Tags ¶ added in v5.30.0
func (o LaunchOutput) Tags() pulumi.StringMapOutput
Tags to apply to the launch. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (LaunchOutput) TagsAll ¶ added in v5.30.0
func (o LaunchOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (LaunchOutput) ToLaunchOutput ¶ added in v5.30.0
func (o LaunchOutput) ToLaunchOutput() LaunchOutput
func (LaunchOutput) ToLaunchOutputWithContext ¶ added in v5.30.0
func (o LaunchOutput) ToLaunchOutputWithContext(ctx context.Context) LaunchOutput
func (LaunchOutput) Type ¶ added in v5.30.0
func (o LaunchOutput) Type() pulumi.StringOutput
The type of launch.
type LaunchScheduledSplitsConfig ¶ added in v5.30.0
type LaunchScheduledSplitsConfig struct { // One or up to six blocks that define the traffic allocation percentages among the feature variations during each step of the launch. This also defines the start time of each step. Detailed below. Steps []LaunchScheduledSplitsConfigStep `pulumi:"steps"` }
type LaunchScheduledSplitsConfigArgs ¶ added in v5.30.0
type LaunchScheduledSplitsConfigArgs struct { // One or up to six blocks that define the traffic allocation percentages among the feature variations during each step of the launch. This also defines the start time of each step. Detailed below. Steps LaunchScheduledSplitsConfigStepArrayInput `pulumi:"steps"` }
func (LaunchScheduledSplitsConfigArgs) ElementType ¶ added in v5.30.0
func (LaunchScheduledSplitsConfigArgs) ElementType() reflect.Type
func (LaunchScheduledSplitsConfigArgs) ToLaunchScheduledSplitsConfigOutput ¶ added in v5.30.0
func (i LaunchScheduledSplitsConfigArgs) ToLaunchScheduledSplitsConfigOutput() LaunchScheduledSplitsConfigOutput
func (LaunchScheduledSplitsConfigArgs) ToLaunchScheduledSplitsConfigOutputWithContext ¶ added in v5.30.0
func (i LaunchScheduledSplitsConfigArgs) ToLaunchScheduledSplitsConfigOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigOutput
func (LaunchScheduledSplitsConfigArgs) ToLaunchScheduledSplitsConfigPtrOutput ¶ added in v5.30.0
func (i LaunchScheduledSplitsConfigArgs) ToLaunchScheduledSplitsConfigPtrOutput() LaunchScheduledSplitsConfigPtrOutput
func (LaunchScheduledSplitsConfigArgs) ToLaunchScheduledSplitsConfigPtrOutputWithContext ¶ added in v5.30.0
func (i LaunchScheduledSplitsConfigArgs) ToLaunchScheduledSplitsConfigPtrOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigPtrOutput
type LaunchScheduledSplitsConfigInput ¶ added in v5.30.0
type LaunchScheduledSplitsConfigInput interface { pulumi.Input ToLaunchScheduledSplitsConfigOutput() LaunchScheduledSplitsConfigOutput ToLaunchScheduledSplitsConfigOutputWithContext(context.Context) LaunchScheduledSplitsConfigOutput }
LaunchScheduledSplitsConfigInput is an input type that accepts LaunchScheduledSplitsConfigArgs and LaunchScheduledSplitsConfigOutput values. You can construct a concrete instance of `LaunchScheduledSplitsConfigInput` via:
LaunchScheduledSplitsConfigArgs{...}
type LaunchScheduledSplitsConfigOutput ¶ added in v5.30.0
type LaunchScheduledSplitsConfigOutput struct{ *pulumi.OutputState }
func (LaunchScheduledSplitsConfigOutput) ElementType ¶ added in v5.30.0
func (LaunchScheduledSplitsConfigOutput) ElementType() reflect.Type
func (LaunchScheduledSplitsConfigOutput) Steps ¶ added in v5.30.0
One or up to six blocks that define the traffic allocation percentages among the feature variations during each step of the launch. This also defines the start time of each step. Detailed below.
func (LaunchScheduledSplitsConfigOutput) ToLaunchScheduledSplitsConfigOutput ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigOutput) ToLaunchScheduledSplitsConfigOutput() LaunchScheduledSplitsConfigOutput
func (LaunchScheduledSplitsConfigOutput) ToLaunchScheduledSplitsConfigOutputWithContext ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigOutput) ToLaunchScheduledSplitsConfigOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigOutput
func (LaunchScheduledSplitsConfigOutput) ToLaunchScheduledSplitsConfigPtrOutput ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigOutput) ToLaunchScheduledSplitsConfigPtrOutput() LaunchScheduledSplitsConfigPtrOutput
func (LaunchScheduledSplitsConfigOutput) ToLaunchScheduledSplitsConfigPtrOutputWithContext ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigOutput) ToLaunchScheduledSplitsConfigPtrOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigPtrOutput
type LaunchScheduledSplitsConfigPtrInput ¶ added in v5.30.0
type LaunchScheduledSplitsConfigPtrInput interface { pulumi.Input ToLaunchScheduledSplitsConfigPtrOutput() LaunchScheduledSplitsConfigPtrOutput ToLaunchScheduledSplitsConfigPtrOutputWithContext(context.Context) LaunchScheduledSplitsConfigPtrOutput }
LaunchScheduledSplitsConfigPtrInput is an input type that accepts LaunchScheduledSplitsConfigArgs, LaunchScheduledSplitsConfigPtr and LaunchScheduledSplitsConfigPtrOutput values. You can construct a concrete instance of `LaunchScheduledSplitsConfigPtrInput` via:
LaunchScheduledSplitsConfigArgs{...} or: nil
func LaunchScheduledSplitsConfigPtr ¶ added in v5.30.0
func LaunchScheduledSplitsConfigPtr(v *LaunchScheduledSplitsConfigArgs) LaunchScheduledSplitsConfigPtrInput
type LaunchScheduledSplitsConfigPtrOutput ¶ added in v5.30.0
type LaunchScheduledSplitsConfigPtrOutput struct{ *pulumi.OutputState }
func (LaunchScheduledSplitsConfigPtrOutput) ElementType ¶ added in v5.30.0
func (LaunchScheduledSplitsConfigPtrOutput) ElementType() reflect.Type
func (LaunchScheduledSplitsConfigPtrOutput) Steps ¶ added in v5.30.0
One or up to six blocks that define the traffic allocation percentages among the feature variations during each step of the launch. This also defines the start time of each step. Detailed below.
func (LaunchScheduledSplitsConfigPtrOutput) ToLaunchScheduledSplitsConfigPtrOutput ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigPtrOutput) ToLaunchScheduledSplitsConfigPtrOutput() LaunchScheduledSplitsConfigPtrOutput
func (LaunchScheduledSplitsConfigPtrOutput) ToLaunchScheduledSplitsConfigPtrOutputWithContext ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigPtrOutput) ToLaunchScheduledSplitsConfigPtrOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigPtrOutput
type LaunchScheduledSplitsConfigStep ¶ added in v5.30.0
type LaunchScheduledSplitsConfigStep struct { // The traffic allocation percentages among the feature variations during one step of a launch. This is a set of key-value pairs. The keys are variation names. The values represent the percentage of traffic to allocate to that variation during this step. For more information, refer to the [AWS documentation for ScheduledSplitConfig groupWeights](https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ScheduledSplitConfig.html). GroupWeights map[string]int `pulumi:"groupWeights"` // One or up to six blocks that specify different traffic splits for one or more audience segments. A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age. Detailed below. SegmentOverrides []LaunchScheduledSplitsConfigStepSegmentOverride `pulumi:"segmentOverrides"` // Specifies the date and time that this step of the launch starts. StartTime string `pulumi:"startTime"` }
type LaunchScheduledSplitsConfigStepArgs ¶ added in v5.30.0
type LaunchScheduledSplitsConfigStepArgs struct { // The traffic allocation percentages among the feature variations during one step of a launch. This is a set of key-value pairs. The keys are variation names. The values represent the percentage of traffic to allocate to that variation during this step. For more information, refer to the [AWS documentation for ScheduledSplitConfig groupWeights](https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ScheduledSplitConfig.html). GroupWeights pulumi.IntMapInput `pulumi:"groupWeights"` // One or up to six blocks that specify different traffic splits for one or more audience segments. A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age. Detailed below. SegmentOverrides LaunchScheduledSplitsConfigStepSegmentOverrideArrayInput `pulumi:"segmentOverrides"` // Specifies the date and time that this step of the launch starts. StartTime pulumi.StringInput `pulumi:"startTime"` }
func (LaunchScheduledSplitsConfigStepArgs) ElementType ¶ added in v5.30.0
func (LaunchScheduledSplitsConfigStepArgs) ElementType() reflect.Type
func (LaunchScheduledSplitsConfigStepArgs) ToLaunchScheduledSplitsConfigStepOutput ¶ added in v5.30.0
func (i LaunchScheduledSplitsConfigStepArgs) ToLaunchScheduledSplitsConfigStepOutput() LaunchScheduledSplitsConfigStepOutput
func (LaunchScheduledSplitsConfigStepArgs) ToLaunchScheduledSplitsConfigStepOutputWithContext ¶ added in v5.30.0
func (i LaunchScheduledSplitsConfigStepArgs) ToLaunchScheduledSplitsConfigStepOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigStepOutput
type LaunchScheduledSplitsConfigStepArray ¶ added in v5.30.0
type LaunchScheduledSplitsConfigStepArray []LaunchScheduledSplitsConfigStepInput
func (LaunchScheduledSplitsConfigStepArray) ElementType ¶ added in v5.30.0
func (LaunchScheduledSplitsConfigStepArray) ElementType() reflect.Type
func (LaunchScheduledSplitsConfigStepArray) ToLaunchScheduledSplitsConfigStepArrayOutput ¶ added in v5.30.0
func (i LaunchScheduledSplitsConfigStepArray) ToLaunchScheduledSplitsConfigStepArrayOutput() LaunchScheduledSplitsConfigStepArrayOutput
func (LaunchScheduledSplitsConfigStepArray) ToLaunchScheduledSplitsConfigStepArrayOutputWithContext ¶ added in v5.30.0
func (i LaunchScheduledSplitsConfigStepArray) ToLaunchScheduledSplitsConfigStepArrayOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigStepArrayOutput
type LaunchScheduledSplitsConfigStepArrayInput ¶ added in v5.30.0
type LaunchScheduledSplitsConfigStepArrayInput interface { pulumi.Input ToLaunchScheduledSplitsConfigStepArrayOutput() LaunchScheduledSplitsConfigStepArrayOutput ToLaunchScheduledSplitsConfigStepArrayOutputWithContext(context.Context) LaunchScheduledSplitsConfigStepArrayOutput }
LaunchScheduledSplitsConfigStepArrayInput is an input type that accepts LaunchScheduledSplitsConfigStepArray and LaunchScheduledSplitsConfigStepArrayOutput values. You can construct a concrete instance of `LaunchScheduledSplitsConfigStepArrayInput` via:
LaunchScheduledSplitsConfigStepArray{ LaunchScheduledSplitsConfigStepArgs{...} }
type LaunchScheduledSplitsConfigStepArrayOutput ¶ added in v5.30.0
type LaunchScheduledSplitsConfigStepArrayOutput struct{ *pulumi.OutputState }
func (LaunchScheduledSplitsConfigStepArrayOutput) ElementType ¶ added in v5.30.0
func (LaunchScheduledSplitsConfigStepArrayOutput) ElementType() reflect.Type
func (LaunchScheduledSplitsConfigStepArrayOutput) ToLaunchScheduledSplitsConfigStepArrayOutput ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigStepArrayOutput) ToLaunchScheduledSplitsConfigStepArrayOutput() LaunchScheduledSplitsConfigStepArrayOutput
func (LaunchScheduledSplitsConfigStepArrayOutput) ToLaunchScheduledSplitsConfigStepArrayOutputWithContext ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigStepArrayOutput) ToLaunchScheduledSplitsConfigStepArrayOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigStepArrayOutput
type LaunchScheduledSplitsConfigStepInput ¶ added in v5.30.0
type LaunchScheduledSplitsConfigStepInput interface { pulumi.Input ToLaunchScheduledSplitsConfigStepOutput() LaunchScheduledSplitsConfigStepOutput ToLaunchScheduledSplitsConfigStepOutputWithContext(context.Context) LaunchScheduledSplitsConfigStepOutput }
LaunchScheduledSplitsConfigStepInput is an input type that accepts LaunchScheduledSplitsConfigStepArgs and LaunchScheduledSplitsConfigStepOutput values. You can construct a concrete instance of `LaunchScheduledSplitsConfigStepInput` via:
LaunchScheduledSplitsConfigStepArgs{...}
type LaunchScheduledSplitsConfigStepOutput ¶ added in v5.30.0
type LaunchScheduledSplitsConfigStepOutput struct{ *pulumi.OutputState }
func (LaunchScheduledSplitsConfigStepOutput) ElementType ¶ added in v5.30.0
func (LaunchScheduledSplitsConfigStepOutput) ElementType() reflect.Type
func (LaunchScheduledSplitsConfigStepOutput) GroupWeights ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigStepOutput) GroupWeights() pulumi.IntMapOutput
The traffic allocation percentages among the feature variations during one step of a launch. This is a set of key-value pairs. The keys are variation names. The values represent the percentage of traffic to allocate to that variation during this step. For more information, refer to the [AWS documentation for ScheduledSplitConfig groupWeights](https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ScheduledSplitConfig.html).
func (LaunchScheduledSplitsConfigStepOutput) SegmentOverrides ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigStepOutput) SegmentOverrides() LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput
One or up to six blocks that specify different traffic splits for one or more audience segments. A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age. Detailed below.
func (LaunchScheduledSplitsConfigStepOutput) StartTime ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigStepOutput) StartTime() pulumi.StringOutput
Specifies the date and time that this step of the launch starts.
func (LaunchScheduledSplitsConfigStepOutput) ToLaunchScheduledSplitsConfigStepOutput ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigStepOutput) ToLaunchScheduledSplitsConfigStepOutput() LaunchScheduledSplitsConfigStepOutput
func (LaunchScheduledSplitsConfigStepOutput) ToLaunchScheduledSplitsConfigStepOutputWithContext ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigStepOutput) ToLaunchScheduledSplitsConfigStepOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigStepOutput
type LaunchScheduledSplitsConfigStepSegmentOverride ¶ added in v5.30.0
type LaunchScheduledSplitsConfigStepSegmentOverride struct { // Specifies a number indicating the order to use to evaluate segment overrides, if there are more than one. Segment overrides with lower numbers are evaluated first. EvaluationOrder int `pulumi:"evaluationOrder"` // The name or ARN of the segment to use. Segment string `pulumi:"segment"` // The traffic allocation percentages among the feature variations to assign to this segment. This is a set of key-value pairs. The keys are variation names. The values represent the amount of traffic to allocate to that variation for this segment. This is expressed in thousandths of a percent, so a weight of 50000 represents 50% of traffic. Weights map[string]int `pulumi:"weights"` }
type LaunchScheduledSplitsConfigStepSegmentOverrideArgs ¶ added in v5.30.0
type LaunchScheduledSplitsConfigStepSegmentOverrideArgs struct { // Specifies a number indicating the order to use to evaluate segment overrides, if there are more than one. Segment overrides with lower numbers are evaluated first. EvaluationOrder pulumi.IntInput `pulumi:"evaluationOrder"` // The name or ARN of the segment to use. Segment pulumi.StringInput `pulumi:"segment"` // The traffic allocation percentages among the feature variations to assign to this segment. This is a set of key-value pairs. The keys are variation names. The values represent the amount of traffic to allocate to that variation for this segment. This is expressed in thousandths of a percent, so a weight of 50000 represents 50% of traffic. Weights pulumi.IntMapInput `pulumi:"weights"` }
func (LaunchScheduledSplitsConfigStepSegmentOverrideArgs) ElementType ¶ added in v5.30.0
func (LaunchScheduledSplitsConfigStepSegmentOverrideArgs) ElementType() reflect.Type
func (LaunchScheduledSplitsConfigStepSegmentOverrideArgs) ToLaunchScheduledSplitsConfigStepSegmentOverrideOutput ¶ added in v5.30.0
func (i LaunchScheduledSplitsConfigStepSegmentOverrideArgs) ToLaunchScheduledSplitsConfigStepSegmentOverrideOutput() LaunchScheduledSplitsConfigStepSegmentOverrideOutput
func (LaunchScheduledSplitsConfigStepSegmentOverrideArgs) ToLaunchScheduledSplitsConfigStepSegmentOverrideOutputWithContext ¶ added in v5.30.0
func (i LaunchScheduledSplitsConfigStepSegmentOverrideArgs) ToLaunchScheduledSplitsConfigStepSegmentOverrideOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigStepSegmentOverrideOutput
type LaunchScheduledSplitsConfigStepSegmentOverrideArray ¶ added in v5.30.0
type LaunchScheduledSplitsConfigStepSegmentOverrideArray []LaunchScheduledSplitsConfigStepSegmentOverrideInput
func (LaunchScheduledSplitsConfigStepSegmentOverrideArray) ElementType ¶ added in v5.30.0
func (LaunchScheduledSplitsConfigStepSegmentOverrideArray) ElementType() reflect.Type
func (LaunchScheduledSplitsConfigStepSegmentOverrideArray) ToLaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput ¶ added in v5.30.0
func (i LaunchScheduledSplitsConfigStepSegmentOverrideArray) ToLaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput() LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput
func (LaunchScheduledSplitsConfigStepSegmentOverrideArray) ToLaunchScheduledSplitsConfigStepSegmentOverrideArrayOutputWithContext ¶ added in v5.30.0
func (i LaunchScheduledSplitsConfigStepSegmentOverrideArray) ToLaunchScheduledSplitsConfigStepSegmentOverrideArrayOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput
type LaunchScheduledSplitsConfigStepSegmentOverrideArrayInput ¶ added in v5.30.0
type LaunchScheduledSplitsConfigStepSegmentOverrideArrayInput interface { pulumi.Input ToLaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput() LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput ToLaunchScheduledSplitsConfigStepSegmentOverrideArrayOutputWithContext(context.Context) LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput }
LaunchScheduledSplitsConfigStepSegmentOverrideArrayInput is an input type that accepts LaunchScheduledSplitsConfigStepSegmentOverrideArray and LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput values. You can construct a concrete instance of `LaunchScheduledSplitsConfigStepSegmentOverrideArrayInput` via:
LaunchScheduledSplitsConfigStepSegmentOverrideArray{ LaunchScheduledSplitsConfigStepSegmentOverrideArgs{...} }
type LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput ¶ added in v5.30.0
type LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput struct{ *pulumi.OutputState }
func (LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput) ElementType ¶ added in v5.30.0
func (LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput) ElementType() reflect.Type
func (LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput) ToLaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput) ToLaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput() LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput
func (LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput) ToLaunchScheduledSplitsConfigStepSegmentOverrideArrayOutputWithContext ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput) ToLaunchScheduledSplitsConfigStepSegmentOverrideArrayOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigStepSegmentOverrideArrayOutput
type LaunchScheduledSplitsConfigStepSegmentOverrideInput ¶ added in v5.30.0
type LaunchScheduledSplitsConfigStepSegmentOverrideInput interface { pulumi.Input ToLaunchScheduledSplitsConfigStepSegmentOverrideOutput() LaunchScheduledSplitsConfigStepSegmentOverrideOutput ToLaunchScheduledSplitsConfigStepSegmentOverrideOutputWithContext(context.Context) LaunchScheduledSplitsConfigStepSegmentOverrideOutput }
LaunchScheduledSplitsConfigStepSegmentOverrideInput is an input type that accepts LaunchScheduledSplitsConfigStepSegmentOverrideArgs and LaunchScheduledSplitsConfigStepSegmentOverrideOutput values. You can construct a concrete instance of `LaunchScheduledSplitsConfigStepSegmentOverrideInput` via:
LaunchScheduledSplitsConfigStepSegmentOverrideArgs{...}
type LaunchScheduledSplitsConfigStepSegmentOverrideOutput ¶ added in v5.30.0
type LaunchScheduledSplitsConfigStepSegmentOverrideOutput struct{ *pulumi.OutputState }
func (LaunchScheduledSplitsConfigStepSegmentOverrideOutput) ElementType ¶ added in v5.30.0
func (LaunchScheduledSplitsConfigStepSegmentOverrideOutput) ElementType() reflect.Type
func (LaunchScheduledSplitsConfigStepSegmentOverrideOutput) EvaluationOrder ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigStepSegmentOverrideOutput) EvaluationOrder() pulumi.IntOutput
Specifies a number indicating the order to use to evaluate segment overrides, if there are more than one. Segment overrides with lower numbers are evaluated first.
func (LaunchScheduledSplitsConfigStepSegmentOverrideOutput) Segment ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigStepSegmentOverrideOutput) Segment() pulumi.StringOutput
The name or ARN of the segment to use.
func (LaunchScheduledSplitsConfigStepSegmentOverrideOutput) ToLaunchScheduledSplitsConfigStepSegmentOverrideOutput ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigStepSegmentOverrideOutput) ToLaunchScheduledSplitsConfigStepSegmentOverrideOutput() LaunchScheduledSplitsConfigStepSegmentOverrideOutput
func (LaunchScheduledSplitsConfigStepSegmentOverrideOutput) ToLaunchScheduledSplitsConfigStepSegmentOverrideOutputWithContext ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigStepSegmentOverrideOutput) ToLaunchScheduledSplitsConfigStepSegmentOverrideOutputWithContext(ctx context.Context) LaunchScheduledSplitsConfigStepSegmentOverrideOutput
func (LaunchScheduledSplitsConfigStepSegmentOverrideOutput) Weights ¶ added in v5.30.0
func (o LaunchScheduledSplitsConfigStepSegmentOverrideOutput) Weights() pulumi.IntMapOutput
The traffic allocation percentages among the feature variations to assign to this segment. This is a set of key-value pairs. The keys are variation names. The values represent the amount of traffic to allocate to that variation for this segment. This is expressed in thousandths of a percent, so a weight of 50000 represents 50% of traffic.
type LaunchState ¶ added in v5.30.0
type LaunchState struct { // The ARN of the launch. Arn pulumi.StringPtrInput // The date and time that the launch is created. CreatedTime pulumi.StringPtrInput // Specifies the description of the launch. Description pulumi.StringPtrInput // A block that contains information about the start and end times of the launch. Detailed below Executions LaunchExecutionArrayInput // One or up to five blocks that contain the feature and variations that are to be used for the launch. Detailed below. Groups LaunchGroupArrayInput // The date and time that the launch was most recently updated. LastUpdatedTime pulumi.StringPtrInput // One or up to three blocks that define the metrics that will be used to monitor the launch performance. Detailed below. MetricMonitors LaunchMetricMonitorArrayInput // The name for the new launch. Minimum length of `1`. Maximum length of `127`. Name pulumi.StringPtrInput // The name or ARN of the project that is to contain the new launch. Project pulumi.StringPtrInput // When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt. If you omit randomizationSalt, Evidently uses the launch name as the randomizationSalt. RandomizationSalt pulumi.StringPtrInput // A block that defines the traffic allocation percentages among the feature variations during each step of the launch. Detailed below. ScheduledSplitsConfig LaunchScheduledSplitsConfigPtrInput // The current state of the launch. Valid values are `CREATED`, `UPDATING`, `RUNNING`, `COMPLETED`, and `CANCELLED`. Status pulumi.StringPtrInput // If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain why it was stopped. StatusReason pulumi.StringPtrInput // Tags to apply to the launch. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput // The type of launch. Type pulumi.StringPtrInput }
func (LaunchState) ElementType ¶ added in v5.30.0
func (LaunchState) ElementType() reflect.Type
type Project ¶
type Project struct { pulumi.CustomResourceState // The number of ongoing experiments currently in the project. ActiveExperimentCount pulumi.IntOutput `pulumi:"activeExperimentCount"` // The number of ongoing launches currently in the project. ActiveLaunchCount pulumi.IntOutput `pulumi:"activeLaunchCount"` // The ARN of the project. Arn pulumi.StringOutput `pulumi:"arn"` // The date and time that the project is created. CreatedTime pulumi.StringOutput `pulumi:"createdTime"` // A block that contains information about where Evidently is to store evaluation events for longer term storage, if you choose to do so. If you choose not to store these events, Evidently deletes them after using them to produce metrics and other experiment results that you can view. See below. DataDelivery ProjectDataDeliveryPtrOutput `pulumi:"dataDelivery"` // Specifies the description of the project. Description pulumi.StringPtrOutput `pulumi:"description"` // The number of experiments currently in the project. This includes all experiments that have been created and not deleted, whether they are ongoing or not. ExperimentCount pulumi.IntOutput `pulumi:"experimentCount"` // The number of features currently in the project. FeatureCount pulumi.IntOutput `pulumi:"featureCount"` // The date and time that the project was most recently updated. LastUpdatedTime pulumi.StringOutput `pulumi:"lastUpdatedTime"` // The number of launches currently in the project. This includes all launches that have been created and not deleted, whether they are ongoing or not. LaunchCount pulumi.IntOutput `pulumi:"launchCount"` // A name for the project. Name pulumi.StringOutput `pulumi:"name"` // The current state of the project. Valid values are `AVAILABLE` and `UPDATING`. Status pulumi.StringOutput `pulumi:"status"` // Tags to apply to the project. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a CloudWatch Evidently Project resource.
## Example Usage ### Basic
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewProject(ctx, "example", &evidently.ProjectArgs{ Description: pulumi.String("Example Description"), Tags: pulumi.StringMap{ "Key1": pulumi.String("example Project"), }, }) if err != nil { return err } return nil }) }
``` ### Store evaluation events in a CloudWatch Log Group
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewProject(ctx, "example", &evidently.ProjectArgs{ DataDelivery: &evidently.ProjectDataDeliveryArgs{ CloudwatchLogs: &evidently.ProjectDataDeliveryCloudwatchLogsArgs{ LogGroup: pulumi.String("example-log-group-name"), }, }, Description: pulumi.String("Example Description"), Tags: pulumi.StringMap{ "Key1": pulumi.String("example Project"), }, }) if err != nil { return err } return nil }) }
``` ### Store evaluation events in an S3 bucket
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewProject(ctx, "example", &evidently.ProjectArgs{ DataDelivery: &evidently.ProjectDataDeliveryArgs{ S3Destination: &evidently.ProjectDataDeliveryS3DestinationArgs{ Bucket: pulumi.String("example-bucket-name"), Prefix: pulumi.String("example"), }, }, Description: pulumi.String("Example Description"), Tags: pulumi.StringMap{ "Key1": pulumi.String("example Project"), }, }) if err != nil { return err } return nil }) }
```
## Import
CloudWatch Evidently Project can be imported using the `arn`, e.g.,
```sh
$ pulumi import aws:evidently/project:Project example arn:aws:evidently:us-east-1:123456789012:segment/example
```
func GetProject ¶
func GetProject(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)
GetProject gets an existing Project resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProject ¶
func NewProject(ctx *pulumi.Context, name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)
NewProject registers a new resource with the given unique name, arguments, and options.
func (*Project) ElementType ¶
func (*Project) ToProjectOutput ¶
func (i *Project) ToProjectOutput() ProjectOutput
func (*Project) ToProjectOutputWithContext ¶
func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
type ProjectArgs ¶
type ProjectArgs struct { // A block that contains information about where Evidently is to store evaluation events for longer term storage, if you choose to do so. If you choose not to store these events, Evidently deletes them after using them to produce metrics and other experiment results that you can view. See below. DataDelivery ProjectDataDeliveryPtrInput // Specifies the description of the project. Description pulumi.StringPtrInput // A name for the project. Name pulumi.StringPtrInput // Tags to apply to the project. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a Project resource.
func (ProjectArgs) ElementType ¶
func (ProjectArgs) ElementType() reflect.Type
type ProjectArray ¶
type ProjectArray []ProjectInput
func (ProjectArray) ElementType ¶
func (ProjectArray) ElementType() reflect.Type
func (ProjectArray) ToProjectArrayOutput ¶
func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput
func (ProjectArray) ToProjectArrayOutputWithContext ¶
func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput
type ProjectArrayInput ¶
type ProjectArrayInput interface { pulumi.Input ToProjectArrayOutput() ProjectArrayOutput ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput }
ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:
ProjectArray{ ProjectArgs{...} }
type ProjectArrayOutput ¶
type ProjectArrayOutput struct{ *pulumi.OutputState }
func (ProjectArrayOutput) ElementType ¶
func (ProjectArrayOutput) ElementType() reflect.Type
func (ProjectArrayOutput) Index ¶
func (o ProjectArrayOutput) Index(i pulumi.IntInput) ProjectOutput
func (ProjectArrayOutput) ToProjectArrayOutput ¶
func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput
func (ProjectArrayOutput) ToProjectArrayOutputWithContext ¶
func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput
type ProjectDataDelivery ¶
type ProjectDataDelivery struct { // A block that defines the CloudWatch Log Group that stores the evaluation events. See below. CloudwatchLogs *ProjectDataDeliveryCloudwatchLogs `pulumi:"cloudwatchLogs"` // A block that defines the S3 bucket and prefix that stores the evaluation events. See below. S3Destination *ProjectDataDeliveryS3Destination `pulumi:"s3Destination"` }
type ProjectDataDeliveryArgs ¶
type ProjectDataDeliveryArgs struct { // A block that defines the CloudWatch Log Group that stores the evaluation events. See below. CloudwatchLogs ProjectDataDeliveryCloudwatchLogsPtrInput `pulumi:"cloudwatchLogs"` // A block that defines the S3 bucket and prefix that stores the evaluation events. See below. S3Destination ProjectDataDeliveryS3DestinationPtrInput `pulumi:"s3Destination"` }
func (ProjectDataDeliveryArgs) ElementType ¶
func (ProjectDataDeliveryArgs) ElementType() reflect.Type
func (ProjectDataDeliveryArgs) ToProjectDataDeliveryOutput ¶
func (i ProjectDataDeliveryArgs) ToProjectDataDeliveryOutput() ProjectDataDeliveryOutput
func (ProjectDataDeliveryArgs) ToProjectDataDeliveryOutputWithContext ¶
func (i ProjectDataDeliveryArgs) ToProjectDataDeliveryOutputWithContext(ctx context.Context) ProjectDataDeliveryOutput
func (ProjectDataDeliveryArgs) ToProjectDataDeliveryPtrOutput ¶
func (i ProjectDataDeliveryArgs) ToProjectDataDeliveryPtrOutput() ProjectDataDeliveryPtrOutput
func (ProjectDataDeliveryArgs) ToProjectDataDeliveryPtrOutputWithContext ¶
func (i ProjectDataDeliveryArgs) ToProjectDataDeliveryPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryPtrOutput
type ProjectDataDeliveryCloudwatchLogs ¶
type ProjectDataDeliveryCloudwatchLogs struct { // The name of the log group where the project stores evaluation events. LogGroup *string `pulumi:"logGroup"` }
type ProjectDataDeliveryCloudwatchLogsArgs ¶
type ProjectDataDeliveryCloudwatchLogsArgs struct { // The name of the log group where the project stores evaluation events. LogGroup pulumi.StringPtrInput `pulumi:"logGroup"` }
func (ProjectDataDeliveryCloudwatchLogsArgs) ElementType ¶
func (ProjectDataDeliveryCloudwatchLogsArgs) ElementType() reflect.Type
func (ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsOutput ¶
func (i ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsOutput() ProjectDataDeliveryCloudwatchLogsOutput
func (ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsOutputWithContext ¶
func (i ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsOutput
func (ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsPtrOutput ¶
func (i ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsPtrOutput() ProjectDataDeliveryCloudwatchLogsPtrOutput
func (ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext ¶
func (i ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsPtrOutput
type ProjectDataDeliveryCloudwatchLogsInput ¶
type ProjectDataDeliveryCloudwatchLogsInput interface { pulumi.Input ToProjectDataDeliveryCloudwatchLogsOutput() ProjectDataDeliveryCloudwatchLogsOutput ToProjectDataDeliveryCloudwatchLogsOutputWithContext(context.Context) ProjectDataDeliveryCloudwatchLogsOutput }
ProjectDataDeliveryCloudwatchLogsInput is an input type that accepts ProjectDataDeliveryCloudwatchLogsArgs and ProjectDataDeliveryCloudwatchLogsOutput values. You can construct a concrete instance of `ProjectDataDeliveryCloudwatchLogsInput` via:
ProjectDataDeliveryCloudwatchLogsArgs{...}
type ProjectDataDeliveryCloudwatchLogsOutput ¶
type ProjectDataDeliveryCloudwatchLogsOutput struct{ *pulumi.OutputState }
func (ProjectDataDeliveryCloudwatchLogsOutput) ElementType ¶
func (ProjectDataDeliveryCloudwatchLogsOutput) ElementType() reflect.Type
func (ProjectDataDeliveryCloudwatchLogsOutput) LogGroup ¶
func (o ProjectDataDeliveryCloudwatchLogsOutput) LogGroup() pulumi.StringPtrOutput
The name of the log group where the project stores evaluation events.
func (ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsOutput ¶
func (o ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsOutput() ProjectDataDeliveryCloudwatchLogsOutput
func (ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsOutputWithContext ¶
func (o ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsOutput
func (ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutput ¶
func (o ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutput() ProjectDataDeliveryCloudwatchLogsPtrOutput
func (ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext ¶
func (o ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsPtrOutput
type ProjectDataDeliveryCloudwatchLogsPtrInput ¶
type ProjectDataDeliveryCloudwatchLogsPtrInput interface { pulumi.Input ToProjectDataDeliveryCloudwatchLogsPtrOutput() ProjectDataDeliveryCloudwatchLogsPtrOutput ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext(context.Context) ProjectDataDeliveryCloudwatchLogsPtrOutput }
ProjectDataDeliveryCloudwatchLogsPtrInput is an input type that accepts ProjectDataDeliveryCloudwatchLogsArgs, ProjectDataDeliveryCloudwatchLogsPtr and ProjectDataDeliveryCloudwatchLogsPtrOutput values. You can construct a concrete instance of `ProjectDataDeliveryCloudwatchLogsPtrInput` via:
ProjectDataDeliveryCloudwatchLogsArgs{...} or: nil
func ProjectDataDeliveryCloudwatchLogsPtr ¶
func ProjectDataDeliveryCloudwatchLogsPtr(v *ProjectDataDeliveryCloudwatchLogsArgs) ProjectDataDeliveryCloudwatchLogsPtrInput
type ProjectDataDeliveryCloudwatchLogsPtrOutput ¶
type ProjectDataDeliveryCloudwatchLogsPtrOutput struct{ *pulumi.OutputState }
func (ProjectDataDeliveryCloudwatchLogsPtrOutput) ElementType ¶
func (ProjectDataDeliveryCloudwatchLogsPtrOutput) ElementType() reflect.Type
func (ProjectDataDeliveryCloudwatchLogsPtrOutput) LogGroup ¶
func (o ProjectDataDeliveryCloudwatchLogsPtrOutput) LogGroup() pulumi.StringPtrOutput
The name of the log group where the project stores evaluation events.
func (ProjectDataDeliveryCloudwatchLogsPtrOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutput ¶
func (o ProjectDataDeliveryCloudwatchLogsPtrOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutput() ProjectDataDeliveryCloudwatchLogsPtrOutput
func (ProjectDataDeliveryCloudwatchLogsPtrOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext ¶
func (o ProjectDataDeliveryCloudwatchLogsPtrOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsPtrOutput
type ProjectDataDeliveryInput ¶
type ProjectDataDeliveryInput interface { pulumi.Input ToProjectDataDeliveryOutput() ProjectDataDeliveryOutput ToProjectDataDeliveryOutputWithContext(context.Context) ProjectDataDeliveryOutput }
ProjectDataDeliveryInput is an input type that accepts ProjectDataDeliveryArgs and ProjectDataDeliveryOutput values. You can construct a concrete instance of `ProjectDataDeliveryInput` via:
ProjectDataDeliveryArgs{...}
type ProjectDataDeliveryOutput ¶
type ProjectDataDeliveryOutput struct{ *pulumi.OutputState }
func (ProjectDataDeliveryOutput) CloudwatchLogs ¶
func (o ProjectDataDeliveryOutput) CloudwatchLogs() ProjectDataDeliveryCloudwatchLogsPtrOutput
A block that defines the CloudWatch Log Group that stores the evaluation events. See below.
func (ProjectDataDeliveryOutput) ElementType ¶
func (ProjectDataDeliveryOutput) ElementType() reflect.Type
func (ProjectDataDeliveryOutput) S3Destination ¶
func (o ProjectDataDeliveryOutput) S3Destination() ProjectDataDeliveryS3DestinationPtrOutput
A block that defines the S3 bucket and prefix that stores the evaluation events. See below.
func (ProjectDataDeliveryOutput) ToProjectDataDeliveryOutput ¶
func (o ProjectDataDeliveryOutput) ToProjectDataDeliveryOutput() ProjectDataDeliveryOutput
func (ProjectDataDeliveryOutput) ToProjectDataDeliveryOutputWithContext ¶
func (o ProjectDataDeliveryOutput) ToProjectDataDeliveryOutputWithContext(ctx context.Context) ProjectDataDeliveryOutput
func (ProjectDataDeliveryOutput) ToProjectDataDeliveryPtrOutput ¶
func (o ProjectDataDeliveryOutput) ToProjectDataDeliveryPtrOutput() ProjectDataDeliveryPtrOutput
func (ProjectDataDeliveryOutput) ToProjectDataDeliveryPtrOutputWithContext ¶
func (o ProjectDataDeliveryOutput) ToProjectDataDeliveryPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryPtrOutput
type ProjectDataDeliveryPtrInput ¶
type ProjectDataDeliveryPtrInput interface { pulumi.Input ToProjectDataDeliveryPtrOutput() ProjectDataDeliveryPtrOutput ToProjectDataDeliveryPtrOutputWithContext(context.Context) ProjectDataDeliveryPtrOutput }
ProjectDataDeliveryPtrInput is an input type that accepts ProjectDataDeliveryArgs, ProjectDataDeliveryPtr and ProjectDataDeliveryPtrOutput values. You can construct a concrete instance of `ProjectDataDeliveryPtrInput` via:
ProjectDataDeliveryArgs{...} or: nil
func ProjectDataDeliveryPtr ¶
func ProjectDataDeliveryPtr(v *ProjectDataDeliveryArgs) ProjectDataDeliveryPtrInput
type ProjectDataDeliveryPtrOutput ¶
type ProjectDataDeliveryPtrOutput struct{ *pulumi.OutputState }
func (ProjectDataDeliveryPtrOutput) CloudwatchLogs ¶
func (o ProjectDataDeliveryPtrOutput) CloudwatchLogs() ProjectDataDeliveryCloudwatchLogsPtrOutput
A block that defines the CloudWatch Log Group that stores the evaluation events. See below.
func (ProjectDataDeliveryPtrOutput) Elem ¶
func (o ProjectDataDeliveryPtrOutput) Elem() ProjectDataDeliveryOutput
func (ProjectDataDeliveryPtrOutput) ElementType ¶
func (ProjectDataDeliveryPtrOutput) ElementType() reflect.Type
func (ProjectDataDeliveryPtrOutput) S3Destination ¶
func (o ProjectDataDeliveryPtrOutput) S3Destination() ProjectDataDeliveryS3DestinationPtrOutput
A block that defines the S3 bucket and prefix that stores the evaluation events. See below.
func (ProjectDataDeliveryPtrOutput) ToProjectDataDeliveryPtrOutput ¶
func (o ProjectDataDeliveryPtrOutput) ToProjectDataDeliveryPtrOutput() ProjectDataDeliveryPtrOutput
func (ProjectDataDeliveryPtrOutput) ToProjectDataDeliveryPtrOutputWithContext ¶
func (o ProjectDataDeliveryPtrOutput) ToProjectDataDeliveryPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryPtrOutput
type ProjectDataDeliveryS3DestinationArgs ¶
type ProjectDataDeliveryS3DestinationArgs struct { // The name of the bucket in which Evidently stores evaluation events. Bucket pulumi.StringPtrInput `pulumi:"bucket"` // The bucket prefix in which Evidently stores evaluation events. Prefix pulumi.StringPtrInput `pulumi:"prefix"` }
func (ProjectDataDeliveryS3DestinationArgs) ElementType ¶
func (ProjectDataDeliveryS3DestinationArgs) ElementType() reflect.Type
func (ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationOutput ¶
func (i ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationOutput() ProjectDataDeliveryS3DestinationOutput
func (ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationOutputWithContext ¶
func (i ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationOutput
func (ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationPtrOutput ¶
func (i ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationPtrOutput() ProjectDataDeliveryS3DestinationPtrOutput
func (ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationPtrOutputWithContext ¶
func (i ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationPtrOutput
type ProjectDataDeliveryS3DestinationInput ¶
type ProjectDataDeliveryS3DestinationInput interface { pulumi.Input ToProjectDataDeliveryS3DestinationOutput() ProjectDataDeliveryS3DestinationOutput ToProjectDataDeliveryS3DestinationOutputWithContext(context.Context) ProjectDataDeliveryS3DestinationOutput }
ProjectDataDeliveryS3DestinationInput is an input type that accepts ProjectDataDeliveryS3DestinationArgs and ProjectDataDeliveryS3DestinationOutput values. You can construct a concrete instance of `ProjectDataDeliveryS3DestinationInput` via:
ProjectDataDeliveryS3DestinationArgs{...}
type ProjectDataDeliveryS3DestinationOutput ¶
type ProjectDataDeliveryS3DestinationOutput struct{ *pulumi.OutputState }
func (ProjectDataDeliveryS3DestinationOutput) Bucket ¶
func (o ProjectDataDeliveryS3DestinationOutput) Bucket() pulumi.StringPtrOutput
The name of the bucket in which Evidently stores evaluation events.
func (ProjectDataDeliveryS3DestinationOutput) ElementType ¶
func (ProjectDataDeliveryS3DestinationOutput) ElementType() reflect.Type
func (ProjectDataDeliveryS3DestinationOutput) Prefix ¶
func (o ProjectDataDeliveryS3DestinationOutput) Prefix() pulumi.StringPtrOutput
The bucket prefix in which Evidently stores evaluation events.
func (ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationOutput ¶
func (o ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationOutput() ProjectDataDeliveryS3DestinationOutput
func (ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationOutputWithContext ¶
func (o ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationOutput
func (ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationPtrOutput ¶
func (o ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationPtrOutput() ProjectDataDeliveryS3DestinationPtrOutput
func (ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationPtrOutputWithContext ¶
func (o ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationPtrOutput
type ProjectDataDeliveryS3DestinationPtrInput ¶
type ProjectDataDeliveryS3DestinationPtrInput interface { pulumi.Input ToProjectDataDeliveryS3DestinationPtrOutput() ProjectDataDeliveryS3DestinationPtrOutput ToProjectDataDeliveryS3DestinationPtrOutputWithContext(context.Context) ProjectDataDeliveryS3DestinationPtrOutput }
ProjectDataDeliveryS3DestinationPtrInput is an input type that accepts ProjectDataDeliveryS3DestinationArgs, ProjectDataDeliveryS3DestinationPtr and ProjectDataDeliveryS3DestinationPtrOutput values. You can construct a concrete instance of `ProjectDataDeliveryS3DestinationPtrInput` via:
ProjectDataDeliveryS3DestinationArgs{...} or: nil
func ProjectDataDeliveryS3DestinationPtr ¶
func ProjectDataDeliveryS3DestinationPtr(v *ProjectDataDeliveryS3DestinationArgs) ProjectDataDeliveryS3DestinationPtrInput
type ProjectDataDeliveryS3DestinationPtrOutput ¶
type ProjectDataDeliveryS3DestinationPtrOutput struct{ *pulumi.OutputState }
func (ProjectDataDeliveryS3DestinationPtrOutput) Bucket ¶
func (o ProjectDataDeliveryS3DestinationPtrOutput) Bucket() pulumi.StringPtrOutput
The name of the bucket in which Evidently stores evaluation events.
func (ProjectDataDeliveryS3DestinationPtrOutput) ElementType ¶
func (ProjectDataDeliveryS3DestinationPtrOutput) ElementType() reflect.Type
func (ProjectDataDeliveryS3DestinationPtrOutput) Prefix ¶
func (o ProjectDataDeliveryS3DestinationPtrOutput) Prefix() pulumi.StringPtrOutput
The bucket prefix in which Evidently stores evaluation events.
func (ProjectDataDeliveryS3DestinationPtrOutput) ToProjectDataDeliveryS3DestinationPtrOutput ¶
func (o ProjectDataDeliveryS3DestinationPtrOutput) ToProjectDataDeliveryS3DestinationPtrOutput() ProjectDataDeliveryS3DestinationPtrOutput
func (ProjectDataDeliveryS3DestinationPtrOutput) ToProjectDataDeliveryS3DestinationPtrOutputWithContext ¶
func (o ProjectDataDeliveryS3DestinationPtrOutput) ToProjectDataDeliveryS3DestinationPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationPtrOutput
type ProjectInput ¶
type ProjectInput interface { pulumi.Input ToProjectOutput() ProjectOutput ToProjectOutputWithContext(ctx context.Context) ProjectOutput }
type ProjectMap ¶
type ProjectMap map[string]ProjectInput
func (ProjectMap) ElementType ¶
func (ProjectMap) ElementType() reflect.Type
func (ProjectMap) ToProjectMapOutput ¶
func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput
func (ProjectMap) ToProjectMapOutputWithContext ¶
func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput
type ProjectMapInput ¶
type ProjectMapInput interface { pulumi.Input ToProjectMapOutput() ProjectMapOutput ToProjectMapOutputWithContext(context.Context) ProjectMapOutput }
ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:
ProjectMap{ "key": ProjectArgs{...} }
type ProjectMapOutput ¶
type ProjectMapOutput struct{ *pulumi.OutputState }
func (ProjectMapOutput) ElementType ¶
func (ProjectMapOutput) ElementType() reflect.Type
func (ProjectMapOutput) MapIndex ¶
func (o ProjectMapOutput) MapIndex(k pulumi.StringInput) ProjectOutput
func (ProjectMapOutput) ToProjectMapOutput ¶
func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput
func (ProjectMapOutput) ToProjectMapOutputWithContext ¶
func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput
type ProjectOutput ¶
type ProjectOutput struct{ *pulumi.OutputState }
func (ProjectOutput) ActiveExperimentCount ¶
func (o ProjectOutput) ActiveExperimentCount() pulumi.IntOutput
The number of ongoing experiments currently in the project.
func (ProjectOutput) ActiveLaunchCount ¶
func (o ProjectOutput) ActiveLaunchCount() pulumi.IntOutput
The number of ongoing launches currently in the project.
func (ProjectOutput) CreatedTime ¶
func (o ProjectOutput) CreatedTime() pulumi.StringOutput
The date and time that the project is created.
func (ProjectOutput) DataDelivery ¶
func (o ProjectOutput) DataDelivery() ProjectDataDeliveryPtrOutput
A block that contains information about where Evidently is to store evaluation events for longer term storage, if you choose to do so. If you choose not to store these events, Evidently deletes them after using them to produce metrics and other experiment results that you can view. See below.
func (ProjectOutput) Description ¶
func (o ProjectOutput) Description() pulumi.StringPtrOutput
Specifies the description of the project.
func (ProjectOutput) ElementType ¶
func (ProjectOutput) ElementType() reflect.Type
func (ProjectOutput) ExperimentCount ¶
func (o ProjectOutput) ExperimentCount() pulumi.IntOutput
The number of experiments currently in the project. This includes all experiments that have been created and not deleted, whether they are ongoing or not.
func (ProjectOutput) FeatureCount ¶
func (o ProjectOutput) FeatureCount() pulumi.IntOutput
The number of features currently in the project.
func (ProjectOutput) LastUpdatedTime ¶
func (o ProjectOutput) LastUpdatedTime() pulumi.StringOutput
The date and time that the project was most recently updated.
func (ProjectOutput) LaunchCount ¶
func (o ProjectOutput) LaunchCount() pulumi.IntOutput
The number of launches currently in the project. This includes all launches that have been created and not deleted, whether they are ongoing or not.
func (ProjectOutput) Name ¶
func (o ProjectOutput) Name() pulumi.StringOutput
A name for the project.
func (ProjectOutput) Status ¶
func (o ProjectOutput) Status() pulumi.StringOutput
The current state of the project. Valid values are `AVAILABLE` and `UPDATING`.
func (ProjectOutput) Tags ¶
func (o ProjectOutput) Tags() pulumi.StringMapOutput
Tags to apply to the project. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ProjectOutput) TagsAll ¶
func (o ProjectOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (ProjectOutput) ToProjectOutput ¶
func (o ProjectOutput) ToProjectOutput() ProjectOutput
func (ProjectOutput) ToProjectOutputWithContext ¶
func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
type ProjectState ¶
type ProjectState struct { // The number of ongoing experiments currently in the project. ActiveExperimentCount pulumi.IntPtrInput // The number of ongoing launches currently in the project. ActiveLaunchCount pulumi.IntPtrInput // The ARN of the project. Arn pulumi.StringPtrInput // The date and time that the project is created. CreatedTime pulumi.StringPtrInput // A block that contains information about where Evidently is to store evaluation events for longer term storage, if you choose to do so. If you choose not to store these events, Evidently deletes them after using them to produce metrics and other experiment results that you can view. See below. DataDelivery ProjectDataDeliveryPtrInput // Specifies the description of the project. Description pulumi.StringPtrInput // The number of experiments currently in the project. This includes all experiments that have been created and not deleted, whether they are ongoing or not. ExperimentCount pulumi.IntPtrInput // The number of features currently in the project. FeatureCount pulumi.IntPtrInput // The date and time that the project was most recently updated. LastUpdatedTime pulumi.StringPtrInput // The number of launches currently in the project. This includes all launches that have been created and not deleted, whether they are ongoing or not. LaunchCount pulumi.IntPtrInput // A name for the project. Name pulumi.StringPtrInput // The current state of the project. Valid values are `AVAILABLE` and `UPDATING`. Status pulumi.StringPtrInput // Tags to apply to the project. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput }
func (ProjectState) ElementType ¶
func (ProjectState) ElementType() reflect.Type
type Segment ¶ added in v5.20.0
type Segment struct { pulumi.CustomResourceState // The ARN of the segment. Arn pulumi.StringOutput `pulumi:"arn"` // The date and time that the segment is created. CreatedTime pulumi.StringOutput `pulumi:"createdTime"` // Specifies the description of the segment. Description pulumi.StringPtrOutput `pulumi:"description"` // The number of experiments that this segment is used in. This count includes all current experiments, not just those that are currently running. ExperimentCount pulumi.IntOutput `pulumi:"experimentCount"` // The date and time that this segment was most recently updated. LastUpdatedTime pulumi.StringOutput `pulumi:"lastUpdatedTime"` // The number of launches that this segment is used in. This count includes all current launches, not just those that are currently running. LaunchCount pulumi.IntOutput `pulumi:"launchCount"` // A name for the segment. Name pulumi.StringOutput `pulumi:"name"` // The pattern to use for the segment. For more information about pattern syntax, see [Segment rule pattern syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html). Pattern pulumi.StringOutput `pulumi:"pattern"` // Tags to apply to the segment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a CloudWatch Evidently Segment resource.
## Example Usage ### Basic
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewSegment(ctx, "example", &evidently.SegmentArgs{ Pattern: pulumi.String("{\"Price\":[{\"numeric\":[\">\",10,\"<=\",20]}]}"), Tags: pulumi.StringMap{ "Key1": pulumi.String("example Segment"), }, }) if err != nil { return err } return nil }) }
``` ### With JSON object in pattern
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewSegment(ctx, "example", &evidently.SegmentArgs{ Pattern: pulumi.String(" {\n \"Price\": [\n {\n \"numeric\": [\">\",10,\"<=\",20]\n }\n ]\n }\n \n"), Tags: pulumi.StringMap{ "Key1": pulumi.String("example Segment"), }, }) if err != nil { return err } return nil }) }
``` ### With Description
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewSegment(ctx, "example", &evidently.SegmentArgs{ Description: pulumi.String("example"), Pattern: pulumi.String("{\"Price\":[{\"numeric\":[\">\",10,\"<=\",20]}]}"), }) if err != nil { return err } return nil }) }
```
## Import
CloudWatch Evidently Segment can be imported using the `arn`, e.g.,
```sh
$ pulumi import aws:evidently/segment:Segment example arn:aws:evidently:us-west-2:123456789012:segment/example
```
func GetSegment ¶ added in v5.20.0
func GetSegment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SegmentState, opts ...pulumi.ResourceOption) (*Segment, error)
GetSegment gets an existing Segment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSegment ¶ added in v5.20.0
func NewSegment(ctx *pulumi.Context, name string, args *SegmentArgs, opts ...pulumi.ResourceOption) (*Segment, error)
NewSegment registers a new resource with the given unique name, arguments, and options.
func (*Segment) ElementType ¶ added in v5.20.0
func (*Segment) ToSegmentOutput ¶ added in v5.20.0
func (i *Segment) ToSegmentOutput() SegmentOutput
func (*Segment) ToSegmentOutputWithContext ¶ added in v5.20.0
func (i *Segment) ToSegmentOutputWithContext(ctx context.Context) SegmentOutput
type SegmentArgs ¶ added in v5.20.0
type SegmentArgs struct { // Specifies the description of the segment. Description pulumi.StringPtrInput // A name for the segment. Name pulumi.StringPtrInput // The pattern to use for the segment. For more information about pattern syntax, see [Segment rule pattern syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html). Pattern pulumi.StringInput // Tags to apply to the segment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a Segment resource.
func (SegmentArgs) ElementType ¶ added in v5.20.0
func (SegmentArgs) ElementType() reflect.Type
type SegmentArray ¶ added in v5.20.0
type SegmentArray []SegmentInput
func (SegmentArray) ElementType ¶ added in v5.20.0
func (SegmentArray) ElementType() reflect.Type
func (SegmentArray) ToSegmentArrayOutput ¶ added in v5.20.0
func (i SegmentArray) ToSegmentArrayOutput() SegmentArrayOutput
func (SegmentArray) ToSegmentArrayOutputWithContext ¶ added in v5.20.0
func (i SegmentArray) ToSegmentArrayOutputWithContext(ctx context.Context) SegmentArrayOutput
type SegmentArrayInput ¶ added in v5.20.0
type SegmentArrayInput interface { pulumi.Input ToSegmentArrayOutput() SegmentArrayOutput ToSegmentArrayOutputWithContext(context.Context) SegmentArrayOutput }
SegmentArrayInput is an input type that accepts SegmentArray and SegmentArrayOutput values. You can construct a concrete instance of `SegmentArrayInput` via:
SegmentArray{ SegmentArgs{...} }
type SegmentArrayOutput ¶ added in v5.20.0
type SegmentArrayOutput struct{ *pulumi.OutputState }
func (SegmentArrayOutput) ElementType ¶ added in v5.20.0
func (SegmentArrayOutput) ElementType() reflect.Type
func (SegmentArrayOutput) Index ¶ added in v5.20.0
func (o SegmentArrayOutput) Index(i pulumi.IntInput) SegmentOutput
func (SegmentArrayOutput) ToSegmentArrayOutput ¶ added in v5.20.0
func (o SegmentArrayOutput) ToSegmentArrayOutput() SegmentArrayOutput
func (SegmentArrayOutput) ToSegmentArrayOutputWithContext ¶ added in v5.20.0
func (o SegmentArrayOutput) ToSegmentArrayOutputWithContext(ctx context.Context) SegmentArrayOutput
type SegmentInput ¶ added in v5.20.0
type SegmentInput interface { pulumi.Input ToSegmentOutput() SegmentOutput ToSegmentOutputWithContext(ctx context.Context) SegmentOutput }
type SegmentMap ¶ added in v5.20.0
type SegmentMap map[string]SegmentInput
func (SegmentMap) ElementType ¶ added in v5.20.0
func (SegmentMap) ElementType() reflect.Type
func (SegmentMap) ToSegmentMapOutput ¶ added in v5.20.0
func (i SegmentMap) ToSegmentMapOutput() SegmentMapOutput
func (SegmentMap) ToSegmentMapOutputWithContext ¶ added in v5.20.0
func (i SegmentMap) ToSegmentMapOutputWithContext(ctx context.Context) SegmentMapOutput
type SegmentMapInput ¶ added in v5.20.0
type SegmentMapInput interface { pulumi.Input ToSegmentMapOutput() SegmentMapOutput ToSegmentMapOutputWithContext(context.Context) SegmentMapOutput }
SegmentMapInput is an input type that accepts SegmentMap and SegmentMapOutput values. You can construct a concrete instance of `SegmentMapInput` via:
SegmentMap{ "key": SegmentArgs{...} }
type SegmentMapOutput ¶ added in v5.20.0
type SegmentMapOutput struct{ *pulumi.OutputState }
func (SegmentMapOutput) ElementType ¶ added in v5.20.0
func (SegmentMapOutput) ElementType() reflect.Type
func (SegmentMapOutput) MapIndex ¶ added in v5.20.0
func (o SegmentMapOutput) MapIndex(k pulumi.StringInput) SegmentOutput
func (SegmentMapOutput) ToSegmentMapOutput ¶ added in v5.20.0
func (o SegmentMapOutput) ToSegmentMapOutput() SegmentMapOutput
func (SegmentMapOutput) ToSegmentMapOutputWithContext ¶ added in v5.20.0
func (o SegmentMapOutput) ToSegmentMapOutputWithContext(ctx context.Context) SegmentMapOutput
type SegmentOutput ¶ added in v5.20.0
type SegmentOutput struct{ *pulumi.OutputState }
func (SegmentOutput) Arn ¶ added in v5.20.0
func (o SegmentOutput) Arn() pulumi.StringOutput
The ARN of the segment.
func (SegmentOutput) CreatedTime ¶ added in v5.20.0
func (o SegmentOutput) CreatedTime() pulumi.StringOutput
The date and time that the segment is created.
func (SegmentOutput) Description ¶ added in v5.20.0
func (o SegmentOutput) Description() pulumi.StringPtrOutput
Specifies the description of the segment.
func (SegmentOutput) ElementType ¶ added in v5.20.0
func (SegmentOutput) ElementType() reflect.Type
func (SegmentOutput) ExperimentCount ¶ added in v5.20.0
func (o SegmentOutput) ExperimentCount() pulumi.IntOutput
The number of experiments that this segment is used in. This count includes all current experiments, not just those that are currently running.
func (SegmentOutput) LastUpdatedTime ¶ added in v5.20.0
func (o SegmentOutput) LastUpdatedTime() pulumi.StringOutput
The date and time that this segment was most recently updated.
func (SegmentOutput) LaunchCount ¶ added in v5.20.0
func (o SegmentOutput) LaunchCount() pulumi.IntOutput
The number of launches that this segment is used in. This count includes all current launches, not just those that are currently running.
func (SegmentOutput) Name ¶ added in v5.20.0
func (o SegmentOutput) Name() pulumi.StringOutput
A name for the segment.
func (SegmentOutput) Pattern ¶ added in v5.20.0
func (o SegmentOutput) Pattern() pulumi.StringOutput
The pattern to use for the segment. For more information about pattern syntax, see [Segment rule pattern syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html).
func (SegmentOutput) Tags ¶ added in v5.20.0
func (o SegmentOutput) Tags() pulumi.StringMapOutput
Tags to apply to the segment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (SegmentOutput) TagsAll ¶ added in v5.20.0
func (o SegmentOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (SegmentOutput) ToSegmentOutput ¶ added in v5.20.0
func (o SegmentOutput) ToSegmentOutput() SegmentOutput
func (SegmentOutput) ToSegmentOutputWithContext ¶ added in v5.20.0
func (o SegmentOutput) ToSegmentOutputWithContext(ctx context.Context) SegmentOutput
type SegmentState ¶ added in v5.20.0
type SegmentState struct { // The ARN of the segment. Arn pulumi.StringPtrInput // The date and time that the segment is created. CreatedTime pulumi.StringPtrInput // Specifies the description of the segment. Description pulumi.StringPtrInput // The number of experiments that this segment is used in. This count includes all current experiments, not just those that are currently running. ExperimentCount pulumi.IntPtrInput // The date and time that this segment was most recently updated. LastUpdatedTime pulumi.StringPtrInput // The number of launches that this segment is used in. This count includes all current launches, not just those that are currently running. LaunchCount pulumi.IntPtrInput // A name for the segment. Name pulumi.StringPtrInput // The pattern to use for the segment. For more information about pattern syntax, see [Segment rule pattern syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html). Pattern pulumi.StringPtrInput // Tags to apply to the segment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput }
func (SegmentState) ElementType ¶ added in v5.20.0
func (SegmentState) ElementType() reflect.Type