Documentation ¶
Index ¶
- type ComputeEnvironment
- type ComputeEnvironmentArgs
- type ComputeEnvironmentArray
- type ComputeEnvironmentArrayInput
- type ComputeEnvironmentArrayOutput
- func (ComputeEnvironmentArrayOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentArrayOutput) Index(i pulumi.IntInput) ComputeEnvironmentOutput
- func (o ComputeEnvironmentArrayOutput) ToComputeEnvironmentArrayOutput() ComputeEnvironmentArrayOutput
- func (o ComputeEnvironmentArrayOutput) ToComputeEnvironmentArrayOutputWithContext(ctx context.Context) ComputeEnvironmentArrayOutput
- type ComputeEnvironmentComputeResources
- type ComputeEnvironmentComputeResourcesArgs
- func (ComputeEnvironmentComputeResourcesArgs) ElementType() reflect.Type
- func (i ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesOutput() ComputeEnvironmentComputeResourcesOutput
- func (i ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesOutput
- func (i ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesPtrOutput() ComputeEnvironmentComputeResourcesPtrOutput
- func (i ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesPtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesPtrOutput
- type ComputeEnvironmentComputeResourcesEc2Configuration
- type ComputeEnvironmentComputeResourcesEc2ConfigurationArgs
- func (ComputeEnvironmentComputeResourcesEc2ConfigurationArgs) ElementType() reflect.Type
- func (i ComputeEnvironmentComputeResourcesEc2ConfigurationArgs) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutput() ComputeEnvironmentComputeResourcesEc2ConfigurationOutput
- func (i ComputeEnvironmentComputeResourcesEc2ConfigurationArgs) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesEc2ConfigurationOutput
- type ComputeEnvironmentComputeResourcesEc2ConfigurationArray
- func (ComputeEnvironmentComputeResourcesEc2ConfigurationArray) ElementType() reflect.Type
- func (i ComputeEnvironmentComputeResourcesEc2ConfigurationArray) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput() ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput
- func (i ComputeEnvironmentComputeResourcesEc2ConfigurationArray) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput
- type ComputeEnvironmentComputeResourcesEc2ConfigurationArrayInput
- type ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput
- func (ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput) Index(i pulumi.IntInput) ComputeEnvironmentComputeResourcesEc2ConfigurationOutput
- func (o ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput() ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput
- func (o ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput
- type ComputeEnvironmentComputeResourcesEc2ConfigurationInput
- type ComputeEnvironmentComputeResourcesEc2ConfigurationOutput
- func (ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ImageIdOverride() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ImageType() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutput() ComputeEnvironmentComputeResourcesEc2ConfigurationOutput
- func (o ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesEc2ConfigurationOutput
- type ComputeEnvironmentComputeResourcesInput
- type ComputeEnvironmentComputeResourcesLaunchTemplate
- type ComputeEnvironmentComputeResourcesLaunchTemplateArgs
- func (ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ElementType() reflect.Type
- func (i ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplateOutput() ComputeEnvironmentComputeResourcesLaunchTemplateOutput
- func (i ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplateOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesLaunchTemplateOutput
- func (i ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput() ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
- func (i ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
- type ComputeEnvironmentComputeResourcesLaunchTemplateInput
- type ComputeEnvironmentComputeResourcesLaunchTemplateOutput
- func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentComputeResourcesLaunchTemplateOutput) LaunchTemplateId() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesLaunchTemplateOutput) LaunchTemplateName() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplateOutput() ComputeEnvironmentComputeResourcesLaunchTemplateOutput
- func (o ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplateOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesLaunchTemplateOutput
- func (o ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput() ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
- func (o ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
- func (o ComputeEnvironmentComputeResourcesLaunchTemplateOutput) Version() pulumi.StringPtrOutput
- type ComputeEnvironmentComputeResourcesLaunchTemplatePtrInput
- type ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
- func (o ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) Elem() ComputeEnvironmentComputeResourcesLaunchTemplateOutput
- func (ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) LaunchTemplateId() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) LaunchTemplateName() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput() ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
- func (o ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
- func (o ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) Version() pulumi.StringPtrOutput
- type ComputeEnvironmentComputeResourcesOutput
- func (o ComputeEnvironmentComputeResourcesOutput) AllocationStrategy() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesOutput) BidPercentage() pulumi.IntPtrOutput
- func (o ComputeEnvironmentComputeResourcesOutput) DesiredVcpus() pulumi.IntPtrOutput
- func (o ComputeEnvironmentComputeResourcesOutput) Ec2Configurations() ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput
- func (o ComputeEnvironmentComputeResourcesOutput) Ec2KeyPair() pulumi.StringPtrOutput
- func (ComputeEnvironmentComputeResourcesOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentComputeResourcesOutput) ImageId() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesOutput) InstanceRole() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesOutput) InstanceTypes() pulumi.StringArrayOutput
- func (o ComputeEnvironmentComputeResourcesOutput) LaunchTemplate() ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
- func (o ComputeEnvironmentComputeResourcesOutput) MaxVcpus() pulumi.IntOutput
- func (o ComputeEnvironmentComputeResourcesOutput) MinVcpus() pulumi.IntPtrOutput
- func (o ComputeEnvironmentComputeResourcesOutput) PlacementGroup() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o ComputeEnvironmentComputeResourcesOutput) SpotIamFleetRole() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesOutput) Subnets() pulumi.StringArrayOutput
- func (o ComputeEnvironmentComputeResourcesOutput) Tags() pulumi.StringMapOutput
- func (o ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesOutput() ComputeEnvironmentComputeResourcesOutput
- func (o ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesOutput
- func (o ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesPtrOutput() ComputeEnvironmentComputeResourcesPtrOutput
- func (o ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesPtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesPtrOutput
- func (o ComputeEnvironmentComputeResourcesOutput) Type() pulumi.StringOutput
- type ComputeEnvironmentComputeResourcesPtrInput
- type ComputeEnvironmentComputeResourcesPtrOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) AllocationStrategy() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) BidPercentage() pulumi.IntPtrOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) DesiredVcpus() pulumi.IntPtrOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) Ec2Configurations() ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) Ec2KeyPair() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) Elem() ComputeEnvironmentComputeResourcesOutput
- func (ComputeEnvironmentComputeResourcesPtrOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentComputeResourcesPtrOutput) ImageId() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) InstanceRole() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) InstanceTypes() pulumi.StringArrayOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) LaunchTemplate() ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) MaxVcpus() pulumi.IntPtrOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) MinVcpus() pulumi.IntPtrOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) PlacementGroup() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) SpotIamFleetRole() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) Subnets() pulumi.StringArrayOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) Tags() pulumi.StringMapOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) ToComputeEnvironmentComputeResourcesPtrOutput() ComputeEnvironmentComputeResourcesPtrOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) ToComputeEnvironmentComputeResourcesPtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesPtrOutput
- func (o ComputeEnvironmentComputeResourcesPtrOutput) Type() pulumi.StringPtrOutput
- type ComputeEnvironmentEksConfiguration
- type ComputeEnvironmentEksConfigurationArgs
- func (ComputeEnvironmentEksConfigurationArgs) ElementType() reflect.Type
- func (i ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationOutput() ComputeEnvironmentEksConfigurationOutput
- func (i ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationOutput
- func (i ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationPtrOutput() ComputeEnvironmentEksConfigurationPtrOutput
- func (i ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationPtrOutput
- type ComputeEnvironmentEksConfigurationInput
- type ComputeEnvironmentEksConfigurationOutput
- func (o ComputeEnvironmentEksConfigurationOutput) EksClusterArn() pulumi.StringOutput
- func (ComputeEnvironmentEksConfigurationOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentEksConfigurationOutput) KubernetesNamespace() pulumi.StringOutput
- func (o ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationOutput() ComputeEnvironmentEksConfigurationOutput
- func (o ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationOutput
- func (o ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationPtrOutput() ComputeEnvironmentEksConfigurationPtrOutput
- func (o ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationPtrOutput
- type ComputeEnvironmentEksConfigurationPtrInput
- type ComputeEnvironmentEksConfigurationPtrOutput
- func (o ComputeEnvironmentEksConfigurationPtrOutput) EksClusterArn() pulumi.StringPtrOutput
- func (o ComputeEnvironmentEksConfigurationPtrOutput) Elem() ComputeEnvironmentEksConfigurationOutput
- func (ComputeEnvironmentEksConfigurationPtrOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentEksConfigurationPtrOutput) KubernetesNamespace() pulumi.StringPtrOutput
- func (o ComputeEnvironmentEksConfigurationPtrOutput) ToComputeEnvironmentEksConfigurationPtrOutput() ComputeEnvironmentEksConfigurationPtrOutput
- func (o ComputeEnvironmentEksConfigurationPtrOutput) ToComputeEnvironmentEksConfigurationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationPtrOutput
- type ComputeEnvironmentInput
- type ComputeEnvironmentMap
- type ComputeEnvironmentMapInput
- type ComputeEnvironmentMapOutput
- func (ComputeEnvironmentMapOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentMapOutput) MapIndex(k pulumi.StringInput) ComputeEnvironmentOutput
- func (o ComputeEnvironmentMapOutput) ToComputeEnvironmentMapOutput() ComputeEnvironmentMapOutput
- func (o ComputeEnvironmentMapOutput) ToComputeEnvironmentMapOutputWithContext(ctx context.Context) ComputeEnvironmentMapOutput
- type ComputeEnvironmentOutput
- func (o ComputeEnvironmentOutput) Arn() pulumi.StringOutput
- func (o ComputeEnvironmentOutput) ComputeEnvironmentName() pulumi.StringOutput
- func (o ComputeEnvironmentOutput) ComputeEnvironmentNamePrefix() pulumi.StringOutput
- func (o ComputeEnvironmentOutput) ComputeResources() ComputeEnvironmentComputeResourcesPtrOutput
- func (o ComputeEnvironmentOutput) EcsClusterArn() pulumi.StringOutput
- func (o ComputeEnvironmentOutput) EksConfiguration() ComputeEnvironmentEksConfigurationPtrOutput
- func (ComputeEnvironmentOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentOutput) ServiceRole() pulumi.StringOutput
- func (o ComputeEnvironmentOutput) State() pulumi.StringPtrOutput
- func (o ComputeEnvironmentOutput) Status() pulumi.StringOutput
- func (o ComputeEnvironmentOutput) StatusReason() pulumi.StringOutput
- func (o ComputeEnvironmentOutput) Tags() pulumi.StringMapOutput
- func (o ComputeEnvironmentOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o ComputeEnvironmentOutput) ToComputeEnvironmentOutput() ComputeEnvironmentOutput
- func (o ComputeEnvironmentOutput) ToComputeEnvironmentOutputWithContext(ctx context.Context) ComputeEnvironmentOutput
- func (o ComputeEnvironmentOutput) Type() pulumi.StringOutput
- type ComputeEnvironmentState
- type GetJobQueueComputeEnvironmentOrder
- type GetJobQueueComputeEnvironmentOrderArgs
- func (GetJobQueueComputeEnvironmentOrderArgs) ElementType() reflect.Type
- func (i GetJobQueueComputeEnvironmentOrderArgs) ToGetJobQueueComputeEnvironmentOrderOutput() GetJobQueueComputeEnvironmentOrderOutput
- func (i GetJobQueueComputeEnvironmentOrderArgs) ToGetJobQueueComputeEnvironmentOrderOutputWithContext(ctx context.Context) GetJobQueueComputeEnvironmentOrderOutput
- type GetJobQueueComputeEnvironmentOrderArray
- func (GetJobQueueComputeEnvironmentOrderArray) ElementType() reflect.Type
- func (i GetJobQueueComputeEnvironmentOrderArray) ToGetJobQueueComputeEnvironmentOrderArrayOutput() GetJobQueueComputeEnvironmentOrderArrayOutput
- func (i GetJobQueueComputeEnvironmentOrderArray) ToGetJobQueueComputeEnvironmentOrderArrayOutputWithContext(ctx context.Context) GetJobQueueComputeEnvironmentOrderArrayOutput
- type GetJobQueueComputeEnvironmentOrderArrayInput
- type GetJobQueueComputeEnvironmentOrderArrayOutput
- func (GetJobQueueComputeEnvironmentOrderArrayOutput) ElementType() reflect.Type
- func (o GetJobQueueComputeEnvironmentOrderArrayOutput) Index(i pulumi.IntInput) GetJobQueueComputeEnvironmentOrderOutput
- func (o GetJobQueueComputeEnvironmentOrderArrayOutput) ToGetJobQueueComputeEnvironmentOrderArrayOutput() GetJobQueueComputeEnvironmentOrderArrayOutput
- func (o GetJobQueueComputeEnvironmentOrderArrayOutput) ToGetJobQueueComputeEnvironmentOrderArrayOutputWithContext(ctx context.Context) GetJobQueueComputeEnvironmentOrderArrayOutput
- type GetJobQueueComputeEnvironmentOrderInput
- type GetJobQueueComputeEnvironmentOrderOutput
- func (o GetJobQueueComputeEnvironmentOrderOutput) ComputeEnvironment() pulumi.StringOutput
- func (GetJobQueueComputeEnvironmentOrderOutput) ElementType() reflect.Type
- func (o GetJobQueueComputeEnvironmentOrderOutput) Order() pulumi.IntOutput
- func (o GetJobQueueComputeEnvironmentOrderOutput) ToGetJobQueueComputeEnvironmentOrderOutput() GetJobQueueComputeEnvironmentOrderOutput
- func (o GetJobQueueComputeEnvironmentOrderOutput) ToGetJobQueueComputeEnvironmentOrderOutputWithContext(ctx context.Context) GetJobQueueComputeEnvironmentOrderOutput
- type GetSchedulingPolicyFairSharePolicy
- type GetSchedulingPolicyFairSharePolicyArgs
- func (GetSchedulingPolicyFairSharePolicyArgs) ElementType() reflect.Type
- func (i GetSchedulingPolicyFairSharePolicyArgs) ToGetSchedulingPolicyFairSharePolicyOutput() GetSchedulingPolicyFairSharePolicyOutput
- func (i GetSchedulingPolicyFairSharePolicyArgs) ToGetSchedulingPolicyFairSharePolicyOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyOutput
- type GetSchedulingPolicyFairSharePolicyArray
- func (GetSchedulingPolicyFairSharePolicyArray) ElementType() reflect.Type
- func (i GetSchedulingPolicyFairSharePolicyArray) ToGetSchedulingPolicyFairSharePolicyArrayOutput() GetSchedulingPolicyFairSharePolicyArrayOutput
- func (i GetSchedulingPolicyFairSharePolicyArray) ToGetSchedulingPolicyFairSharePolicyArrayOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyArrayOutput
- type GetSchedulingPolicyFairSharePolicyArrayInput
- type GetSchedulingPolicyFairSharePolicyArrayOutput
- func (GetSchedulingPolicyFairSharePolicyArrayOutput) ElementType() reflect.Type
- func (o GetSchedulingPolicyFairSharePolicyArrayOutput) Index(i pulumi.IntInput) GetSchedulingPolicyFairSharePolicyOutput
- func (o GetSchedulingPolicyFairSharePolicyArrayOutput) ToGetSchedulingPolicyFairSharePolicyArrayOutput() GetSchedulingPolicyFairSharePolicyArrayOutput
- func (o GetSchedulingPolicyFairSharePolicyArrayOutput) ToGetSchedulingPolicyFairSharePolicyArrayOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyArrayOutput
- type GetSchedulingPolicyFairSharePolicyInput
- type GetSchedulingPolicyFairSharePolicyOutput
- func (o GetSchedulingPolicyFairSharePolicyOutput) ComputeReservation() pulumi.IntOutput
- func (GetSchedulingPolicyFairSharePolicyOutput) ElementType() reflect.Type
- func (o GetSchedulingPolicyFairSharePolicyOutput) ShareDecaySeconds() pulumi.IntOutput
- func (o GetSchedulingPolicyFairSharePolicyOutput) ShareDistributions() GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput
- func (o GetSchedulingPolicyFairSharePolicyOutput) ToGetSchedulingPolicyFairSharePolicyOutput() GetSchedulingPolicyFairSharePolicyOutput
- func (o GetSchedulingPolicyFairSharePolicyOutput) ToGetSchedulingPolicyFairSharePolicyOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyOutput
- type GetSchedulingPolicyFairSharePolicyShareDistribution
- type GetSchedulingPolicyFairSharePolicyShareDistributionArgs
- func (GetSchedulingPolicyFairSharePolicyShareDistributionArgs) ElementType() reflect.Type
- func (i GetSchedulingPolicyFairSharePolicyShareDistributionArgs) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutput() GetSchedulingPolicyFairSharePolicyShareDistributionOutput
- func (i GetSchedulingPolicyFairSharePolicyShareDistributionArgs) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyShareDistributionOutput
- type GetSchedulingPolicyFairSharePolicyShareDistributionArray
- func (GetSchedulingPolicyFairSharePolicyShareDistributionArray) ElementType() reflect.Type
- func (i GetSchedulingPolicyFairSharePolicyShareDistributionArray) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput() GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput
- func (i GetSchedulingPolicyFairSharePolicyShareDistributionArray) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput
- type GetSchedulingPolicyFairSharePolicyShareDistributionArrayInput
- type GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput
- func (GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ElementType() reflect.Type
- func (o GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput) Index(i pulumi.IntInput) GetSchedulingPolicyFairSharePolicyShareDistributionOutput
- func (o GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput() GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput
- func (o GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput
- type GetSchedulingPolicyFairSharePolicyShareDistributionInput
- type GetSchedulingPolicyFairSharePolicyShareDistributionOutput
- func (GetSchedulingPolicyFairSharePolicyShareDistributionOutput) ElementType() reflect.Type
- func (o GetSchedulingPolicyFairSharePolicyShareDistributionOutput) ShareIdentifier() pulumi.StringOutput
- func (o GetSchedulingPolicyFairSharePolicyShareDistributionOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutput() GetSchedulingPolicyFairSharePolicyShareDistributionOutput
- func (o GetSchedulingPolicyFairSharePolicyShareDistributionOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyShareDistributionOutput
- func (o GetSchedulingPolicyFairSharePolicyShareDistributionOutput) WeightFactor() pulumi.Float64Output
- type JobDefinition
- type JobDefinitionArgs
- type JobDefinitionArray
- type JobDefinitionArrayInput
- type JobDefinitionArrayOutput
- func (JobDefinitionArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionArrayOutput) Index(i pulumi.IntInput) JobDefinitionOutput
- func (o JobDefinitionArrayOutput) ToJobDefinitionArrayOutput() JobDefinitionArrayOutput
- func (o JobDefinitionArrayOutput) ToJobDefinitionArrayOutputWithContext(ctx context.Context) JobDefinitionArrayOutput
- type JobDefinitionInput
- type JobDefinitionMap
- type JobDefinitionMapInput
- type JobDefinitionMapOutput
- func (JobDefinitionMapOutput) ElementType() reflect.Type
- func (o JobDefinitionMapOutput) MapIndex(k pulumi.StringInput) JobDefinitionOutput
- func (o JobDefinitionMapOutput) ToJobDefinitionMapOutput() JobDefinitionMapOutput
- func (o JobDefinitionMapOutput) ToJobDefinitionMapOutputWithContext(ctx context.Context) JobDefinitionMapOutput
- type JobDefinitionOutput
- func (o JobDefinitionOutput) Arn() pulumi.StringOutput
- func (o JobDefinitionOutput) ContainerProperties() pulumi.StringPtrOutput
- func (JobDefinitionOutput) ElementType() reflect.Type
- func (o JobDefinitionOutput) Name() pulumi.StringOutput
- func (o JobDefinitionOutput) NodeProperties() pulumi.StringPtrOutput
- func (o JobDefinitionOutput) Parameters() pulumi.StringMapOutput
- func (o JobDefinitionOutput) PlatformCapabilities() pulumi.StringArrayOutput
- func (o JobDefinitionOutput) PropagateTags() pulumi.BoolPtrOutput
- func (o JobDefinitionOutput) RetryStrategy() JobDefinitionRetryStrategyPtrOutput
- func (o JobDefinitionOutput) Revision() pulumi.IntOutput
- func (o JobDefinitionOutput) Tags() pulumi.StringMapOutput
- func (o JobDefinitionOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o JobDefinitionOutput) Timeout() JobDefinitionTimeoutPtrOutput
- func (o JobDefinitionOutput) ToJobDefinitionOutput() JobDefinitionOutput
- func (o JobDefinitionOutput) ToJobDefinitionOutputWithContext(ctx context.Context) JobDefinitionOutput
- func (o JobDefinitionOutput) Type() pulumi.StringOutput
- type JobDefinitionRetryStrategy
- type JobDefinitionRetryStrategyArgs
- func (JobDefinitionRetryStrategyArgs) ElementType() reflect.Type
- func (i JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyOutput() JobDefinitionRetryStrategyOutput
- func (i JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyOutput
- func (i JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyPtrOutput() JobDefinitionRetryStrategyPtrOutput
- func (i JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyPtrOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyPtrOutput
- type JobDefinitionRetryStrategyEvaluateOnExit
- type JobDefinitionRetryStrategyEvaluateOnExitArgs
- func (JobDefinitionRetryStrategyEvaluateOnExitArgs) ElementType() reflect.Type
- func (i JobDefinitionRetryStrategyEvaluateOnExitArgs) ToJobDefinitionRetryStrategyEvaluateOnExitOutput() JobDefinitionRetryStrategyEvaluateOnExitOutput
- func (i JobDefinitionRetryStrategyEvaluateOnExitArgs) ToJobDefinitionRetryStrategyEvaluateOnExitOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyEvaluateOnExitOutput
- type JobDefinitionRetryStrategyEvaluateOnExitArray
- func (JobDefinitionRetryStrategyEvaluateOnExitArray) ElementType() reflect.Type
- func (i JobDefinitionRetryStrategyEvaluateOnExitArray) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutput() JobDefinitionRetryStrategyEvaluateOnExitArrayOutput
- func (i JobDefinitionRetryStrategyEvaluateOnExitArray) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyEvaluateOnExitArrayOutput
- type JobDefinitionRetryStrategyEvaluateOnExitArrayInput
- type JobDefinitionRetryStrategyEvaluateOnExitArrayOutput
- func (JobDefinitionRetryStrategyEvaluateOnExitArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionRetryStrategyEvaluateOnExitArrayOutput) Index(i pulumi.IntInput) JobDefinitionRetryStrategyEvaluateOnExitOutput
- func (o JobDefinitionRetryStrategyEvaluateOnExitArrayOutput) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutput() JobDefinitionRetryStrategyEvaluateOnExitArrayOutput
- func (o JobDefinitionRetryStrategyEvaluateOnExitArrayOutput) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyEvaluateOnExitArrayOutput
- type JobDefinitionRetryStrategyEvaluateOnExitInput
- type JobDefinitionRetryStrategyEvaluateOnExitOutput
- func (o JobDefinitionRetryStrategyEvaluateOnExitOutput) Action() pulumi.StringOutput
- func (JobDefinitionRetryStrategyEvaluateOnExitOutput) ElementType() reflect.Type
- func (o JobDefinitionRetryStrategyEvaluateOnExitOutput) OnExitCode() pulumi.StringPtrOutput
- func (o JobDefinitionRetryStrategyEvaluateOnExitOutput) OnReason() pulumi.StringPtrOutput
- func (o JobDefinitionRetryStrategyEvaluateOnExitOutput) OnStatusReason() pulumi.StringPtrOutput
- func (o JobDefinitionRetryStrategyEvaluateOnExitOutput) ToJobDefinitionRetryStrategyEvaluateOnExitOutput() JobDefinitionRetryStrategyEvaluateOnExitOutput
- func (o JobDefinitionRetryStrategyEvaluateOnExitOutput) ToJobDefinitionRetryStrategyEvaluateOnExitOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyEvaluateOnExitOutput
- type JobDefinitionRetryStrategyInput
- type JobDefinitionRetryStrategyOutput
- func (o JobDefinitionRetryStrategyOutput) Attempts() pulumi.IntPtrOutput
- func (JobDefinitionRetryStrategyOutput) ElementType() reflect.Type
- func (o JobDefinitionRetryStrategyOutput) EvaluateOnExits() JobDefinitionRetryStrategyEvaluateOnExitArrayOutput
- func (o JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyOutput() JobDefinitionRetryStrategyOutput
- func (o JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyOutput
- func (o JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyPtrOutput() JobDefinitionRetryStrategyPtrOutput
- func (o JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyPtrOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyPtrOutput
- type JobDefinitionRetryStrategyPtrInput
- type JobDefinitionRetryStrategyPtrOutput
- func (o JobDefinitionRetryStrategyPtrOutput) Attempts() pulumi.IntPtrOutput
- func (o JobDefinitionRetryStrategyPtrOutput) Elem() JobDefinitionRetryStrategyOutput
- func (JobDefinitionRetryStrategyPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionRetryStrategyPtrOutput) EvaluateOnExits() JobDefinitionRetryStrategyEvaluateOnExitArrayOutput
- func (o JobDefinitionRetryStrategyPtrOutput) ToJobDefinitionRetryStrategyPtrOutput() JobDefinitionRetryStrategyPtrOutput
- func (o JobDefinitionRetryStrategyPtrOutput) ToJobDefinitionRetryStrategyPtrOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyPtrOutput
- type JobDefinitionState
- type JobDefinitionTimeout
- type JobDefinitionTimeoutArgs
- func (JobDefinitionTimeoutArgs) ElementType() reflect.Type
- func (i JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutOutput() JobDefinitionTimeoutOutput
- func (i JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutOutputWithContext(ctx context.Context) JobDefinitionTimeoutOutput
- func (i JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutPtrOutput() JobDefinitionTimeoutPtrOutput
- func (i JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutPtrOutputWithContext(ctx context.Context) JobDefinitionTimeoutPtrOutput
- type JobDefinitionTimeoutInput
- type JobDefinitionTimeoutOutput
- func (o JobDefinitionTimeoutOutput) AttemptDurationSeconds() pulumi.IntPtrOutput
- func (JobDefinitionTimeoutOutput) ElementType() reflect.Type
- func (o JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutOutput() JobDefinitionTimeoutOutput
- func (o JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutOutputWithContext(ctx context.Context) JobDefinitionTimeoutOutput
- func (o JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutPtrOutput() JobDefinitionTimeoutPtrOutput
- func (o JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutPtrOutputWithContext(ctx context.Context) JobDefinitionTimeoutPtrOutput
- type JobDefinitionTimeoutPtrInput
- type JobDefinitionTimeoutPtrOutput
- func (o JobDefinitionTimeoutPtrOutput) AttemptDurationSeconds() pulumi.IntPtrOutput
- func (o JobDefinitionTimeoutPtrOutput) Elem() JobDefinitionTimeoutOutput
- func (JobDefinitionTimeoutPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionTimeoutPtrOutput) ToJobDefinitionTimeoutPtrOutput() JobDefinitionTimeoutPtrOutput
- func (o JobDefinitionTimeoutPtrOutput) ToJobDefinitionTimeoutPtrOutputWithContext(ctx context.Context) JobDefinitionTimeoutPtrOutput
- type JobQueue
- type JobQueueArgs
- type JobQueueArray
- type JobQueueArrayInput
- type JobQueueArrayOutput
- type JobQueueInput
- type JobQueueMap
- type JobQueueMapInput
- type JobQueueMapOutput
- type JobQueueOutput
- func (o JobQueueOutput) Arn() pulumi.StringOutput
- func (o JobQueueOutput) ComputeEnvironments() pulumi.StringArrayOutput
- func (JobQueueOutput) ElementType() reflect.Type
- func (o JobQueueOutput) Name() pulumi.StringOutput
- func (o JobQueueOutput) Priority() pulumi.IntOutput
- func (o JobQueueOutput) SchedulingPolicyArn() pulumi.StringPtrOutput
- func (o JobQueueOutput) State() pulumi.StringOutput
- func (o JobQueueOutput) Tags() pulumi.StringMapOutput
- func (o JobQueueOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o JobQueueOutput) Timeouts() JobQueueTimeoutsPtrOutput
- func (o JobQueueOutput) ToJobQueueOutput() JobQueueOutput
- func (o JobQueueOutput) ToJobQueueOutputWithContext(ctx context.Context) JobQueueOutput
- type JobQueueState
- type JobQueueTimeouts
- type JobQueueTimeoutsArgs
- func (JobQueueTimeoutsArgs) ElementType() reflect.Type
- func (i JobQueueTimeoutsArgs) ToJobQueueTimeoutsOutput() JobQueueTimeoutsOutput
- func (i JobQueueTimeoutsArgs) ToJobQueueTimeoutsOutputWithContext(ctx context.Context) JobQueueTimeoutsOutput
- func (i JobQueueTimeoutsArgs) ToJobQueueTimeoutsPtrOutput() JobQueueTimeoutsPtrOutput
- func (i JobQueueTimeoutsArgs) ToJobQueueTimeoutsPtrOutputWithContext(ctx context.Context) JobQueueTimeoutsPtrOutput
- type JobQueueTimeoutsInput
- type JobQueueTimeoutsOutput
- func (o JobQueueTimeoutsOutput) Create() pulumi.StringPtrOutput
- func (o JobQueueTimeoutsOutput) Delete() pulumi.StringPtrOutput
- func (JobQueueTimeoutsOutput) ElementType() reflect.Type
- func (o JobQueueTimeoutsOutput) ToJobQueueTimeoutsOutput() JobQueueTimeoutsOutput
- func (o JobQueueTimeoutsOutput) ToJobQueueTimeoutsOutputWithContext(ctx context.Context) JobQueueTimeoutsOutput
- func (o JobQueueTimeoutsOutput) ToJobQueueTimeoutsPtrOutput() JobQueueTimeoutsPtrOutput
- func (o JobQueueTimeoutsOutput) ToJobQueueTimeoutsPtrOutputWithContext(ctx context.Context) JobQueueTimeoutsPtrOutput
- func (o JobQueueTimeoutsOutput) Update() pulumi.StringPtrOutput
- type JobQueueTimeoutsPtrInput
- type JobQueueTimeoutsPtrOutput
- func (o JobQueueTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
- func (o JobQueueTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput
- func (o JobQueueTimeoutsPtrOutput) Elem() JobQueueTimeoutsOutput
- func (JobQueueTimeoutsPtrOutput) ElementType() reflect.Type
- func (o JobQueueTimeoutsPtrOutput) ToJobQueueTimeoutsPtrOutput() JobQueueTimeoutsPtrOutput
- func (o JobQueueTimeoutsPtrOutput) ToJobQueueTimeoutsPtrOutputWithContext(ctx context.Context) JobQueueTimeoutsPtrOutput
- func (o JobQueueTimeoutsPtrOutput) Update() pulumi.StringPtrOutput
- type LookupComputeEnvironmentArgs
- type LookupComputeEnvironmentOutputArgs
- type LookupComputeEnvironmentResult
- type LookupComputeEnvironmentResultOutput
- func (o LookupComputeEnvironmentResultOutput) Arn() pulumi.StringOutput
- func (o LookupComputeEnvironmentResultOutput) ComputeEnvironmentName() pulumi.StringOutput
- func (o LookupComputeEnvironmentResultOutput) EcsClusterArn() pulumi.StringOutput
- func (LookupComputeEnvironmentResultOutput) ElementType() reflect.Type
- func (o LookupComputeEnvironmentResultOutput) Id() pulumi.StringOutput
- func (o LookupComputeEnvironmentResultOutput) ServiceRole() pulumi.StringOutput
- func (o LookupComputeEnvironmentResultOutput) State() pulumi.StringOutput
- func (o LookupComputeEnvironmentResultOutput) Status() pulumi.StringOutput
- func (o LookupComputeEnvironmentResultOutput) StatusReason() pulumi.StringOutput
- func (o LookupComputeEnvironmentResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupComputeEnvironmentResultOutput) ToLookupComputeEnvironmentResultOutput() LookupComputeEnvironmentResultOutput
- func (o LookupComputeEnvironmentResultOutput) ToLookupComputeEnvironmentResultOutputWithContext(ctx context.Context) LookupComputeEnvironmentResultOutput
- func (o LookupComputeEnvironmentResultOutput) Type() pulumi.StringOutput
- type LookupJobQueueArgs
- type LookupJobQueueOutputArgs
- type LookupJobQueueResult
- type LookupJobQueueResultOutput
- func (o LookupJobQueueResultOutput) Arn() pulumi.StringOutput
- func (o LookupJobQueueResultOutput) ComputeEnvironmentOrders() GetJobQueueComputeEnvironmentOrderArrayOutput
- func (LookupJobQueueResultOutput) ElementType() reflect.Type
- func (o LookupJobQueueResultOutput) Id() pulumi.StringOutput
- func (o LookupJobQueueResultOutput) Name() pulumi.StringOutput
- func (o LookupJobQueueResultOutput) Priority() pulumi.IntOutput
- func (o LookupJobQueueResultOutput) SchedulingPolicyArn() pulumi.StringOutput
- func (o LookupJobQueueResultOutput) State() pulumi.StringOutput
- func (o LookupJobQueueResultOutput) Status() pulumi.StringOutput
- func (o LookupJobQueueResultOutput) StatusReason() pulumi.StringOutput
- func (o LookupJobQueueResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupJobQueueResultOutput) ToLookupJobQueueResultOutput() LookupJobQueueResultOutput
- func (o LookupJobQueueResultOutput) ToLookupJobQueueResultOutputWithContext(ctx context.Context) LookupJobQueueResultOutput
- type LookupSchedulingPolicyArgs
- type LookupSchedulingPolicyOutputArgs
- type LookupSchedulingPolicyResult
- type LookupSchedulingPolicyResultOutput
- func (o LookupSchedulingPolicyResultOutput) Arn() pulumi.StringOutput
- func (LookupSchedulingPolicyResultOutput) ElementType() reflect.Type
- func (o LookupSchedulingPolicyResultOutput) FairSharePolicies() GetSchedulingPolicyFairSharePolicyArrayOutput
- func (o LookupSchedulingPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupSchedulingPolicyResultOutput) Name() pulumi.StringOutput
- func (o LookupSchedulingPolicyResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupSchedulingPolicyResultOutput) ToLookupSchedulingPolicyResultOutput() LookupSchedulingPolicyResultOutput
- func (o LookupSchedulingPolicyResultOutput) ToLookupSchedulingPolicyResultOutputWithContext(ctx context.Context) LookupSchedulingPolicyResultOutput
- type SchedulingPolicy
- type SchedulingPolicyArgs
- type SchedulingPolicyArray
- type SchedulingPolicyArrayInput
- type SchedulingPolicyArrayOutput
- func (SchedulingPolicyArrayOutput) ElementType() reflect.Type
- func (o SchedulingPolicyArrayOutput) Index(i pulumi.IntInput) SchedulingPolicyOutput
- func (o SchedulingPolicyArrayOutput) ToSchedulingPolicyArrayOutput() SchedulingPolicyArrayOutput
- func (o SchedulingPolicyArrayOutput) ToSchedulingPolicyArrayOutputWithContext(ctx context.Context) SchedulingPolicyArrayOutput
- type SchedulingPolicyFairSharePolicy
- type SchedulingPolicyFairSharePolicyArgs
- func (SchedulingPolicyFairSharePolicyArgs) ElementType() reflect.Type
- func (i SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyOutput() SchedulingPolicyFairSharePolicyOutput
- func (i SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyOutput
- func (i SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyPtrOutput() SchedulingPolicyFairSharePolicyPtrOutput
- func (i SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyPtrOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyPtrOutput
- type SchedulingPolicyFairSharePolicyInput
- type SchedulingPolicyFairSharePolicyOutput
- func (o SchedulingPolicyFairSharePolicyOutput) ComputeReservation() pulumi.IntPtrOutput
- func (SchedulingPolicyFairSharePolicyOutput) ElementType() reflect.Type
- func (o SchedulingPolicyFairSharePolicyOutput) ShareDecaySeconds() pulumi.IntPtrOutput
- func (o SchedulingPolicyFairSharePolicyOutput) ShareDistributions() SchedulingPolicyFairSharePolicyShareDistributionArrayOutput
- func (o SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyOutput() SchedulingPolicyFairSharePolicyOutput
- func (o SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyOutput
- func (o SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyPtrOutput() SchedulingPolicyFairSharePolicyPtrOutput
- func (o SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyPtrOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyPtrOutput
- type SchedulingPolicyFairSharePolicyPtrInput
- type SchedulingPolicyFairSharePolicyPtrOutput
- func (o SchedulingPolicyFairSharePolicyPtrOutput) ComputeReservation() pulumi.IntPtrOutput
- func (o SchedulingPolicyFairSharePolicyPtrOutput) Elem() SchedulingPolicyFairSharePolicyOutput
- func (SchedulingPolicyFairSharePolicyPtrOutput) ElementType() reflect.Type
- func (o SchedulingPolicyFairSharePolicyPtrOutput) ShareDecaySeconds() pulumi.IntPtrOutput
- func (o SchedulingPolicyFairSharePolicyPtrOutput) ShareDistributions() SchedulingPolicyFairSharePolicyShareDistributionArrayOutput
- func (o SchedulingPolicyFairSharePolicyPtrOutput) ToSchedulingPolicyFairSharePolicyPtrOutput() SchedulingPolicyFairSharePolicyPtrOutput
- func (o SchedulingPolicyFairSharePolicyPtrOutput) ToSchedulingPolicyFairSharePolicyPtrOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyPtrOutput
- type SchedulingPolicyFairSharePolicyShareDistribution
- type SchedulingPolicyFairSharePolicyShareDistributionArgs
- func (SchedulingPolicyFairSharePolicyShareDistributionArgs) ElementType() reflect.Type
- func (i SchedulingPolicyFairSharePolicyShareDistributionArgs) ToSchedulingPolicyFairSharePolicyShareDistributionOutput() SchedulingPolicyFairSharePolicyShareDistributionOutput
- func (i SchedulingPolicyFairSharePolicyShareDistributionArgs) ToSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyShareDistributionOutput
- type SchedulingPolicyFairSharePolicyShareDistributionArray
- func (SchedulingPolicyFairSharePolicyShareDistributionArray) ElementType() reflect.Type
- func (i SchedulingPolicyFairSharePolicyShareDistributionArray) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutput() SchedulingPolicyFairSharePolicyShareDistributionArrayOutput
- func (i SchedulingPolicyFairSharePolicyShareDistributionArray) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyShareDistributionArrayOutput
- type SchedulingPolicyFairSharePolicyShareDistributionArrayInput
- type SchedulingPolicyFairSharePolicyShareDistributionArrayOutput
- func (SchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ElementType() reflect.Type
- func (o SchedulingPolicyFairSharePolicyShareDistributionArrayOutput) Index(i pulumi.IntInput) SchedulingPolicyFairSharePolicyShareDistributionOutput
- func (o SchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutput() SchedulingPolicyFairSharePolicyShareDistributionArrayOutput
- func (o SchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyShareDistributionArrayOutput
- type SchedulingPolicyFairSharePolicyShareDistributionInput
- type SchedulingPolicyFairSharePolicyShareDistributionOutput
- func (SchedulingPolicyFairSharePolicyShareDistributionOutput) ElementType() reflect.Type
- func (o SchedulingPolicyFairSharePolicyShareDistributionOutput) ShareIdentifier() pulumi.StringOutput
- func (o SchedulingPolicyFairSharePolicyShareDistributionOutput) ToSchedulingPolicyFairSharePolicyShareDistributionOutput() SchedulingPolicyFairSharePolicyShareDistributionOutput
- func (o SchedulingPolicyFairSharePolicyShareDistributionOutput) ToSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyShareDistributionOutput
- func (o SchedulingPolicyFairSharePolicyShareDistributionOutput) WeightFactor() pulumi.Float64PtrOutput
- type SchedulingPolicyInput
- type SchedulingPolicyMap
- type SchedulingPolicyMapInput
- type SchedulingPolicyMapOutput
- func (SchedulingPolicyMapOutput) ElementType() reflect.Type
- func (o SchedulingPolicyMapOutput) MapIndex(k pulumi.StringInput) SchedulingPolicyOutput
- func (o SchedulingPolicyMapOutput) ToSchedulingPolicyMapOutput() SchedulingPolicyMapOutput
- func (o SchedulingPolicyMapOutput) ToSchedulingPolicyMapOutputWithContext(ctx context.Context) SchedulingPolicyMapOutput
- type SchedulingPolicyOutput
- func (o SchedulingPolicyOutput) Arn() pulumi.StringOutput
- func (SchedulingPolicyOutput) ElementType() reflect.Type
- func (o SchedulingPolicyOutput) FairSharePolicy() SchedulingPolicyFairSharePolicyPtrOutput
- func (o SchedulingPolicyOutput) Name() pulumi.StringOutput
- func (o SchedulingPolicyOutput) Tags() pulumi.StringMapOutput
- func (o SchedulingPolicyOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o SchedulingPolicyOutput) ToSchedulingPolicyOutput() SchedulingPolicyOutput
- func (o SchedulingPolicyOutput) ToSchedulingPolicyOutputWithContext(ctx context.Context) SchedulingPolicyOutput
- type SchedulingPolicyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComputeEnvironment ¶
type ComputeEnvironment struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) of the compute environment. Arn pulumi.StringOutput `pulumi:"arn"` // The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed. If omitted, the provider will assign a random, unique name. ComputeEnvironmentName pulumi.StringOutput `pulumi:"computeEnvironmentName"` // Creates a unique compute environment name beginning with the specified prefix. Conflicts with `computeEnvironmentName`. ComputeEnvironmentNamePrefix pulumi.StringOutput `pulumi:"computeEnvironmentNamePrefix"` // Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. See details below. ComputeResources ComputeEnvironmentComputeResourcesPtrOutput `pulumi:"computeResources"` // The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment. EcsClusterArn pulumi.StringOutput `pulumi:"ecsClusterArn"` // Details for the Amazon EKS cluster that supports the compute environment. See details below. EksConfiguration ComputeEnvironmentEksConfigurationPtrOutput `pulumi:"eksConfiguration"` // The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. ServiceRole pulumi.StringOutput `pulumi:"serviceRole"` // The state of the compute environment. If the state is `ENABLED`, then the compute environment accepts jobs from a queue and can scale out automatically based on queues. Valid items are `ENABLED` or `DISABLED`. Defaults to `ENABLED`. State pulumi.StringPtrOutput `pulumi:"state"` // The current status of the compute environment (for example, CREATING or VALID). Status pulumi.StringOutput `pulumi:"status"` // A short, human-readable string to provide additional details about the current status of the compute environment. StatusReason pulumi.StringOutput `pulumi:"statusReason"` // Key-value map of resource tags. 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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The type of the compute environment. Valid items are `MANAGED` or `UNMANAGED`. Type pulumi.StringOutput `pulumi:"type"` }
Creates a AWS Batch compute environment. Compute environments contain the Amazon ECS container instances that are used to run containerized batch jobs.
For information about AWS Batch, see [What is AWS Batch?](http://docs.aws.amazon.com/batch/latest/userguide/what-is-batch.html) . For information about compute environment, see [Compute Environments](http://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) .
> **Note:** To prevent a race condition during environment deletion, make sure to set `dependsOn` to the related `iam.RolePolicyAttachment`; otherwise, the policy may be destroyed too soon and the compute environment will then get stuck in the `DELETING` state, see [Troubleshooting AWS Batch](http://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html) .
## Example Usage ### EC2 Type
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ec2AssumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: pulumi.StringRef("Allow"), Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Type: "Service", Identifiers: []string{ "ec2.amazonaws.com", }, }, }, Actions: []string{ "sts:AssumeRole", }, }, }, }, nil) if err != nil { return err } ecsInstanceRoleRole, err := iam.NewRole(ctx, "ecsInstanceRoleRole", &iam.RoleArgs{ AssumeRolePolicy: *pulumi.String(ec2AssumeRole.Json), }) if err != nil { return err } _, err = iam.NewRolePolicyAttachment(ctx, "ecsInstanceRoleRolePolicyAttachment", &iam.RolePolicyAttachmentArgs{ Role: ecsInstanceRoleRole.Name, PolicyArn: pulumi.String("arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceforEC2Role"), }) if err != nil { return err } ecsInstanceRoleInstanceProfile, err := iam.NewInstanceProfile(ctx, "ecsInstanceRoleInstanceProfile", &iam.InstanceProfileArgs{ Role: ecsInstanceRoleRole.Name, }) if err != nil { return err } batchAssumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: pulumi.StringRef("Allow"), Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Type: "Service", Identifiers: []string{ "batch.amazonaws.com", }, }, }, Actions: []string{ "sts:AssumeRole", }, }, }, }, nil) if err != nil { return err } awsBatchServiceRoleRole, err := iam.NewRole(ctx, "awsBatchServiceRoleRole", &iam.RoleArgs{ AssumeRolePolicy: *pulumi.String(batchAssumeRole.Json), }) if err != nil { return err } awsBatchServiceRoleRolePolicyAttachment, err := iam.NewRolePolicyAttachment(ctx, "awsBatchServiceRoleRolePolicyAttachment", &iam.RolePolicyAttachmentArgs{ Role: awsBatchServiceRoleRole.Name, PolicyArn: pulumi.String("arn:aws:iam::aws:policy/service-role/AWSBatchServiceRole"), }) if err != nil { return err } sampleSecurityGroup, err := ec2.NewSecurityGroup(ctx, "sampleSecurityGroup", &ec2.SecurityGroupArgs{ Egress: ec2.SecurityGroupEgressArray{ &ec2.SecurityGroupEgressArgs{ FromPort: pulumi.Int(0), ToPort: pulumi.Int(0), Protocol: pulumi.String("-1"), CidrBlocks: pulumi.StringArray{ pulumi.String("0.0.0.0/0"), }, }, }, }) if err != nil { return err } sampleVpc, err := ec2.NewVpc(ctx, "sampleVpc", &ec2.VpcArgs{ CidrBlock: pulumi.String("10.1.0.0/16"), }) if err != nil { return err } sampleSubnet, err := ec2.NewSubnet(ctx, "sampleSubnet", &ec2.SubnetArgs{ VpcId: sampleVpc.ID(), CidrBlock: pulumi.String("10.1.1.0/24"), }) if err != nil { return err } samplePlacementGroup, err := ec2.NewPlacementGroup(ctx, "samplePlacementGroup", &ec2.PlacementGroupArgs{ Strategy: pulumi.String("cluster"), }) if err != nil { return err } _, err = batch.NewComputeEnvironment(ctx, "sampleComputeEnvironment", &batch.ComputeEnvironmentArgs{ ComputeEnvironmentName: pulumi.String("sample"), ComputeResources: &batch.ComputeEnvironmentComputeResourcesArgs{ InstanceRole: ecsInstanceRoleInstanceProfile.Arn, InstanceTypes: pulumi.StringArray{ pulumi.String("c4.large"), }, MaxVcpus: pulumi.Int(16), MinVcpus: pulumi.Int(0), PlacementGroup: samplePlacementGroup.Name, SecurityGroupIds: pulumi.StringArray{ sampleSecurityGroup.ID(), }, Subnets: pulumi.StringArray{ sampleSubnet.ID(), }, Type: pulumi.String("EC2"), }, ServiceRole: awsBatchServiceRoleRole.Arn, Type: pulumi.String("MANAGED"), }, pulumi.DependsOn([]pulumi.Resource{ awsBatchServiceRoleRolePolicyAttachment, })) if err != nil { return err } return nil }) }
``` ### Fargate Type
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := batch.NewComputeEnvironment(ctx, "sample", &batch.ComputeEnvironmentArgs{ ComputeEnvironmentName: pulumi.String("sample"), ComputeResources: &batch.ComputeEnvironmentComputeResourcesArgs{ MaxVcpus: pulumi.Int(16), SecurityGroupIds: pulumi.StringArray{ aws_security_group.Sample.Id, }, Subnets: pulumi.StringArray{ aws_subnet.Sample.Id, }, Type: pulumi.String("FARGATE"), }, ServiceRole: pulumi.Any(aws_iam_role.Aws_batch_service_role.Arn), Type: pulumi.String("MANAGED"), }, pulumi.DependsOn([]pulumi.Resource{ aws_iam_role_policy_attachment.Aws_batch_service_role, })) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import AWS Batch compute using the `compute_environment_name`. For example:
```sh
$ pulumi import aws:batch/computeEnvironment:ComputeEnvironment sample sample
```
func GetComputeEnvironment ¶
func GetComputeEnvironment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ComputeEnvironmentState, opts ...pulumi.ResourceOption) (*ComputeEnvironment, error)
GetComputeEnvironment gets an existing ComputeEnvironment 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 NewComputeEnvironment ¶
func NewComputeEnvironment(ctx *pulumi.Context, name string, args *ComputeEnvironmentArgs, opts ...pulumi.ResourceOption) (*ComputeEnvironment, error)
NewComputeEnvironment registers a new resource with the given unique name, arguments, and options.
func (*ComputeEnvironment) ElementType ¶
func (*ComputeEnvironment) ElementType() reflect.Type
func (*ComputeEnvironment) ToComputeEnvironmentOutput ¶
func (i *ComputeEnvironment) ToComputeEnvironmentOutput() ComputeEnvironmentOutput
func (*ComputeEnvironment) ToComputeEnvironmentOutputWithContext ¶
func (i *ComputeEnvironment) ToComputeEnvironmentOutputWithContext(ctx context.Context) ComputeEnvironmentOutput
type ComputeEnvironmentArgs ¶
type ComputeEnvironmentArgs struct { // The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed. If omitted, the provider will assign a random, unique name. ComputeEnvironmentName pulumi.StringPtrInput // Creates a unique compute environment name beginning with the specified prefix. Conflicts with `computeEnvironmentName`. ComputeEnvironmentNamePrefix pulumi.StringPtrInput // Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. See details below. ComputeResources ComputeEnvironmentComputeResourcesPtrInput // Details for the Amazon EKS cluster that supports the compute environment. See details below. EksConfiguration ComputeEnvironmentEksConfigurationPtrInput // The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. ServiceRole pulumi.StringPtrInput // The state of the compute environment. If the state is `ENABLED`, then the compute environment accepts jobs from a queue and can scale out automatically based on queues. Valid items are `ENABLED` or `DISABLED`. Defaults to `ENABLED`. State pulumi.StringPtrInput // Key-value map of resource tags. 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 type of the compute environment. Valid items are `MANAGED` or `UNMANAGED`. Type pulumi.StringInput }
The set of arguments for constructing a ComputeEnvironment resource.
func (ComputeEnvironmentArgs) ElementType ¶
func (ComputeEnvironmentArgs) ElementType() reflect.Type
type ComputeEnvironmentArray ¶
type ComputeEnvironmentArray []ComputeEnvironmentInput
func (ComputeEnvironmentArray) ElementType ¶
func (ComputeEnvironmentArray) ElementType() reflect.Type
func (ComputeEnvironmentArray) ToComputeEnvironmentArrayOutput ¶
func (i ComputeEnvironmentArray) ToComputeEnvironmentArrayOutput() ComputeEnvironmentArrayOutput
func (ComputeEnvironmentArray) ToComputeEnvironmentArrayOutputWithContext ¶
func (i ComputeEnvironmentArray) ToComputeEnvironmentArrayOutputWithContext(ctx context.Context) ComputeEnvironmentArrayOutput
type ComputeEnvironmentArrayInput ¶
type ComputeEnvironmentArrayInput interface { pulumi.Input ToComputeEnvironmentArrayOutput() ComputeEnvironmentArrayOutput ToComputeEnvironmentArrayOutputWithContext(context.Context) ComputeEnvironmentArrayOutput }
ComputeEnvironmentArrayInput is an input type that accepts ComputeEnvironmentArray and ComputeEnvironmentArrayOutput values. You can construct a concrete instance of `ComputeEnvironmentArrayInput` via:
ComputeEnvironmentArray{ ComputeEnvironmentArgs{...} }
type ComputeEnvironmentArrayOutput ¶
type ComputeEnvironmentArrayOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentArrayOutput) ElementType ¶
func (ComputeEnvironmentArrayOutput) ElementType() reflect.Type
func (ComputeEnvironmentArrayOutput) Index ¶
func (o ComputeEnvironmentArrayOutput) Index(i pulumi.IntInput) ComputeEnvironmentOutput
func (ComputeEnvironmentArrayOutput) ToComputeEnvironmentArrayOutput ¶
func (o ComputeEnvironmentArrayOutput) ToComputeEnvironmentArrayOutput() ComputeEnvironmentArrayOutput
func (ComputeEnvironmentArrayOutput) ToComputeEnvironmentArrayOutputWithContext ¶
func (o ComputeEnvironmentArrayOutput) ToComputeEnvironmentArrayOutputWithContext(ctx context.Context) ComputeEnvironmentArrayOutput
type ComputeEnvironmentComputeResources ¶
type ComputeEnvironmentComputeResources struct { // The allocation strategy to use for the compute resource in case not enough instances of the best fitting instance type can be allocated. Valid items are `BEST_FIT_PROGRESSIVE`, `SPOT_CAPACITY_OPTIMIZED` or `BEST_FIT`. Defaults to `BEST_FIT`. See [AWS docs](https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html) for details. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. AllocationStrategy *string `pulumi:"allocationStrategy"` // Integer of maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your bid percentage is 20% (`20`), then the Spot price must be below 20% of the current On-Demand price for that EC2 instance. If you leave this field empty, the default value is 100% of the On-Demand price. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. BidPercentage *int `pulumi:"bidPercentage"` // The desired number of EC2 vCPUS in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. DesiredVcpus *int `pulumi:"desiredVcpus"` // Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment. If Ec2Configuration isn't specified, the default is ECS_AL2. This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified. Ec2Configurations []ComputeEnvironmentComputeResourcesEc2Configuration `pulumi:"ec2Configurations"` // The EC2 key pair that is used for instances launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. Ec2KeyPair *string `pulumi:"ec2KeyPair"` // The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. (Deprecated, use `ec2Configuration` `imageIdOverride` instead) ImageId *string `pulumi:"imageId"` // The Amazon ECS instance role applied to Amazon EC2 instances in a compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. InstanceRole *string `pulumi:"instanceRole"` // A list of instance types that may be launched. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. InstanceTypes []string `pulumi:"instanceTypes"` // The launch template to use for your compute resources. See details below. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. LaunchTemplate *ComputeEnvironmentComputeResourcesLaunchTemplate `pulumi:"launchTemplate"` // The maximum number of EC2 vCPUs that an environment can reach. MaxVcpus int `pulumi:"maxVcpus"` // The minimum number of EC2 vCPUs that an environment should maintain. For `EC2` or `SPOT` compute environments, if the parameter is not explicitly defined, a `0` default value will be set. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. MinVcpus *int `pulumi:"minVcpus"` // The Amazon EC2 placement group to associate with your compute resources. PlacementGroup *string `pulumi:"placementGroup"` // A list of EC2 security group that are associated with instances launched in the compute environment. This parameter is required for Fargate compute environments. SecurityGroupIds []string `pulumi:"securityGroupIds"` // The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment. This parameter is required for SPOT compute environments. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. SpotIamFleetRole *string `pulumi:"spotIamFleetRole"` // A list of VPC subnets into which the compute resources are launched. Subnets []string `pulumi:"subnets"` // Key-value pair tags to be applied to resources that are launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. Tags map[string]string `pulumi:"tags"` // The type of compute environment. Valid items are `EC2`, `SPOT`, `FARGATE` or `FARGATE_SPOT`. Type string `pulumi:"type"` }
type ComputeEnvironmentComputeResourcesArgs ¶
type ComputeEnvironmentComputeResourcesArgs struct { // The allocation strategy to use for the compute resource in case not enough instances of the best fitting instance type can be allocated. Valid items are `BEST_FIT_PROGRESSIVE`, `SPOT_CAPACITY_OPTIMIZED` or `BEST_FIT`. Defaults to `BEST_FIT`. See [AWS docs](https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html) for details. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. AllocationStrategy pulumi.StringPtrInput `pulumi:"allocationStrategy"` // Integer of maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your bid percentage is 20% (`20`), then the Spot price must be below 20% of the current On-Demand price for that EC2 instance. If you leave this field empty, the default value is 100% of the On-Demand price. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. BidPercentage pulumi.IntPtrInput `pulumi:"bidPercentage"` // The desired number of EC2 vCPUS in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. DesiredVcpus pulumi.IntPtrInput `pulumi:"desiredVcpus"` // Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment. If Ec2Configuration isn't specified, the default is ECS_AL2. This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified. Ec2Configurations ComputeEnvironmentComputeResourcesEc2ConfigurationArrayInput `pulumi:"ec2Configurations"` // The EC2 key pair that is used for instances launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. Ec2KeyPair pulumi.StringPtrInput `pulumi:"ec2KeyPair"` // The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. (Deprecated, use `ec2Configuration` `imageIdOverride` instead) ImageId pulumi.StringPtrInput `pulumi:"imageId"` // The Amazon ECS instance role applied to Amazon EC2 instances in a compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. InstanceRole pulumi.StringPtrInput `pulumi:"instanceRole"` // A list of instance types that may be launched. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. InstanceTypes pulumi.StringArrayInput `pulumi:"instanceTypes"` // The launch template to use for your compute resources. See details below. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. LaunchTemplate ComputeEnvironmentComputeResourcesLaunchTemplatePtrInput `pulumi:"launchTemplate"` // The maximum number of EC2 vCPUs that an environment can reach. MaxVcpus pulumi.IntInput `pulumi:"maxVcpus"` // The minimum number of EC2 vCPUs that an environment should maintain. For `EC2` or `SPOT` compute environments, if the parameter is not explicitly defined, a `0` default value will be set. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. MinVcpus pulumi.IntPtrInput `pulumi:"minVcpus"` // The Amazon EC2 placement group to associate with your compute resources. PlacementGroup pulumi.StringPtrInput `pulumi:"placementGroup"` // A list of EC2 security group that are associated with instances launched in the compute environment. This parameter is required for Fargate compute environments. SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` // The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment. This parameter is required for SPOT compute environments. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. SpotIamFleetRole pulumi.StringPtrInput `pulumi:"spotIamFleetRole"` // A list of VPC subnets into which the compute resources are launched. Subnets pulumi.StringArrayInput `pulumi:"subnets"` // Key-value pair tags to be applied to resources that are launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. Tags pulumi.StringMapInput `pulumi:"tags"` // The type of compute environment. Valid items are `EC2`, `SPOT`, `FARGATE` or `FARGATE_SPOT`. Type pulumi.StringInput `pulumi:"type"` }
func (ComputeEnvironmentComputeResourcesArgs) ElementType ¶
func (ComputeEnvironmentComputeResourcesArgs) ElementType() reflect.Type
func (ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesOutput ¶
func (i ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesOutput() ComputeEnvironmentComputeResourcesOutput
func (ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesOutputWithContext ¶
func (i ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesOutput
func (ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesPtrOutput ¶
func (i ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesPtrOutput() ComputeEnvironmentComputeResourcesPtrOutput
func (ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesPtrOutputWithContext ¶
func (i ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesPtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesPtrOutput
type ComputeEnvironmentComputeResourcesEc2Configuration ¶
type ComputeEnvironmentComputeResourcesEc2Configuration struct { // The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the `imageId` argument in the `computeResources` block. ImageIdOverride *string `pulumi:"imageIdOverride"` // The image type to match with the instance type to select an AMI. If the `imageIdOverride` parameter isn't specified, then a recent [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami) (`ECS_AL2`) is used. ImageType *string `pulumi:"imageType"` }
type ComputeEnvironmentComputeResourcesEc2ConfigurationArgs ¶
type ComputeEnvironmentComputeResourcesEc2ConfigurationArgs struct { // The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the `imageId` argument in the `computeResources` block. ImageIdOverride pulumi.StringPtrInput `pulumi:"imageIdOverride"` // The image type to match with the instance type to select an AMI. If the `imageIdOverride` parameter isn't specified, then a recent [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami) (`ECS_AL2`) is used. ImageType pulumi.StringPtrInput `pulumi:"imageType"` }
func (ComputeEnvironmentComputeResourcesEc2ConfigurationArgs) ElementType ¶
func (ComputeEnvironmentComputeResourcesEc2ConfigurationArgs) ElementType() reflect.Type
func (ComputeEnvironmentComputeResourcesEc2ConfigurationArgs) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutput ¶
func (i ComputeEnvironmentComputeResourcesEc2ConfigurationArgs) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutput() ComputeEnvironmentComputeResourcesEc2ConfigurationOutput
func (ComputeEnvironmentComputeResourcesEc2ConfigurationArgs) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutputWithContext ¶
func (i ComputeEnvironmentComputeResourcesEc2ConfigurationArgs) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesEc2ConfigurationOutput
type ComputeEnvironmentComputeResourcesEc2ConfigurationArray ¶
type ComputeEnvironmentComputeResourcesEc2ConfigurationArray []ComputeEnvironmentComputeResourcesEc2ConfigurationInput
func (ComputeEnvironmentComputeResourcesEc2ConfigurationArray) ElementType ¶
func (ComputeEnvironmentComputeResourcesEc2ConfigurationArray) ElementType() reflect.Type
func (ComputeEnvironmentComputeResourcesEc2ConfigurationArray) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput ¶
func (i ComputeEnvironmentComputeResourcesEc2ConfigurationArray) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput() ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput
func (ComputeEnvironmentComputeResourcesEc2ConfigurationArray) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutputWithContext ¶
func (i ComputeEnvironmentComputeResourcesEc2ConfigurationArray) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput
type ComputeEnvironmentComputeResourcesEc2ConfigurationArrayInput ¶
type ComputeEnvironmentComputeResourcesEc2ConfigurationArrayInput interface { pulumi.Input ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput() ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutputWithContext(context.Context) ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput }
ComputeEnvironmentComputeResourcesEc2ConfigurationArrayInput is an input type that accepts ComputeEnvironmentComputeResourcesEc2ConfigurationArray and ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput values. You can construct a concrete instance of `ComputeEnvironmentComputeResourcesEc2ConfigurationArrayInput` via:
ComputeEnvironmentComputeResourcesEc2ConfigurationArray{ ComputeEnvironmentComputeResourcesEc2ConfigurationArgs{...} }
type ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput ¶
type ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput) ElementType ¶
func (ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput) ElementType() reflect.Type
func (ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput ¶
func (o ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput() ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput
func (ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutputWithContext ¶
func (o ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput
type ComputeEnvironmentComputeResourcesEc2ConfigurationInput ¶
type ComputeEnvironmentComputeResourcesEc2ConfigurationInput interface { pulumi.Input ToComputeEnvironmentComputeResourcesEc2ConfigurationOutput() ComputeEnvironmentComputeResourcesEc2ConfigurationOutput ToComputeEnvironmentComputeResourcesEc2ConfigurationOutputWithContext(context.Context) ComputeEnvironmentComputeResourcesEc2ConfigurationOutput }
ComputeEnvironmentComputeResourcesEc2ConfigurationInput is an input type that accepts ComputeEnvironmentComputeResourcesEc2ConfigurationArgs and ComputeEnvironmentComputeResourcesEc2ConfigurationOutput values. You can construct a concrete instance of `ComputeEnvironmentComputeResourcesEc2ConfigurationInput` via:
ComputeEnvironmentComputeResourcesEc2ConfigurationArgs{...}
type ComputeEnvironmentComputeResourcesEc2ConfigurationOutput ¶
type ComputeEnvironmentComputeResourcesEc2ConfigurationOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ElementType ¶
func (ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ElementType() reflect.Type
func (ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ImageIdOverride ¶
func (o ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ImageIdOverride() pulumi.StringPtrOutput
The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the `imageId` argument in the `computeResources` block.
func (ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ImageType ¶
func (o ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ImageType() pulumi.StringPtrOutput
The image type to match with the instance type to select an AMI. If the `imageIdOverride` parameter isn't specified, then a recent [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami) (`ECS_AL2`) is used.
func (ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutput ¶
func (o ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutput() ComputeEnvironmentComputeResourcesEc2ConfigurationOutput
func (ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutputWithContext ¶
func (o ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesEc2ConfigurationOutput
type ComputeEnvironmentComputeResourcesInput ¶
type ComputeEnvironmentComputeResourcesInput interface { pulumi.Input ToComputeEnvironmentComputeResourcesOutput() ComputeEnvironmentComputeResourcesOutput ToComputeEnvironmentComputeResourcesOutputWithContext(context.Context) ComputeEnvironmentComputeResourcesOutput }
ComputeEnvironmentComputeResourcesInput is an input type that accepts ComputeEnvironmentComputeResourcesArgs and ComputeEnvironmentComputeResourcesOutput values. You can construct a concrete instance of `ComputeEnvironmentComputeResourcesInput` via:
ComputeEnvironmentComputeResourcesArgs{...}
type ComputeEnvironmentComputeResourcesLaunchTemplate ¶
type ComputeEnvironmentComputeResourcesLaunchTemplate struct { // ID of the launch template. You must specify either the launch template ID or launch template name in the request, but not both. LaunchTemplateId *string `pulumi:"launchTemplateId"` // Name of the launch template. LaunchTemplateName *string `pulumi:"launchTemplateName"` // The version number of the launch template. Default: The default version of the launch template. Version *string `pulumi:"version"` }
type ComputeEnvironmentComputeResourcesLaunchTemplateArgs ¶
type ComputeEnvironmentComputeResourcesLaunchTemplateArgs struct { // ID of the launch template. You must specify either the launch template ID or launch template name in the request, but not both. LaunchTemplateId pulumi.StringPtrInput `pulumi:"launchTemplateId"` // Name of the launch template. LaunchTemplateName pulumi.StringPtrInput `pulumi:"launchTemplateName"` // The version number of the launch template. Default: The default version of the launch template. Version pulumi.StringPtrInput `pulumi:"version"` }
func (ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ElementType ¶
func (ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ElementType() reflect.Type
func (ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplateOutput ¶
func (i ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplateOutput() ComputeEnvironmentComputeResourcesLaunchTemplateOutput
func (ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplateOutputWithContext ¶
func (i ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplateOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesLaunchTemplateOutput
func (ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput ¶
func (i ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput() ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
func (ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutputWithContext ¶
func (i ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
type ComputeEnvironmentComputeResourcesLaunchTemplateInput ¶
type ComputeEnvironmentComputeResourcesLaunchTemplateInput interface { pulumi.Input ToComputeEnvironmentComputeResourcesLaunchTemplateOutput() ComputeEnvironmentComputeResourcesLaunchTemplateOutput ToComputeEnvironmentComputeResourcesLaunchTemplateOutputWithContext(context.Context) ComputeEnvironmentComputeResourcesLaunchTemplateOutput }
ComputeEnvironmentComputeResourcesLaunchTemplateInput is an input type that accepts ComputeEnvironmentComputeResourcesLaunchTemplateArgs and ComputeEnvironmentComputeResourcesLaunchTemplateOutput values. You can construct a concrete instance of `ComputeEnvironmentComputeResourcesLaunchTemplateInput` via:
ComputeEnvironmentComputeResourcesLaunchTemplateArgs{...}
type ComputeEnvironmentComputeResourcesLaunchTemplateOutput ¶
type ComputeEnvironmentComputeResourcesLaunchTemplateOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ElementType ¶
func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ElementType() reflect.Type
func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) LaunchTemplateId ¶
func (o ComputeEnvironmentComputeResourcesLaunchTemplateOutput) LaunchTemplateId() pulumi.StringPtrOutput
ID of the launch template. You must specify either the launch template ID or launch template name in the request, but not both.
func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) LaunchTemplateName ¶
func (o ComputeEnvironmentComputeResourcesLaunchTemplateOutput) LaunchTemplateName() pulumi.StringPtrOutput
Name of the launch template.
func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplateOutput ¶
func (o ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplateOutput() ComputeEnvironmentComputeResourcesLaunchTemplateOutput
func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplateOutputWithContext ¶
func (o ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplateOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesLaunchTemplateOutput
func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput ¶
func (o ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput() ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutputWithContext ¶
func (o ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) Version ¶
func (o ComputeEnvironmentComputeResourcesLaunchTemplateOutput) Version() pulumi.StringPtrOutput
The version number of the launch template. Default: The default version of the launch template.
type ComputeEnvironmentComputeResourcesLaunchTemplatePtrInput ¶
type ComputeEnvironmentComputeResourcesLaunchTemplatePtrInput interface { pulumi.Input ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput() ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutputWithContext(context.Context) ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput }
ComputeEnvironmentComputeResourcesLaunchTemplatePtrInput is an input type that accepts ComputeEnvironmentComputeResourcesLaunchTemplateArgs, ComputeEnvironmentComputeResourcesLaunchTemplatePtr and ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput values. You can construct a concrete instance of `ComputeEnvironmentComputeResourcesLaunchTemplatePtrInput` via:
ComputeEnvironmentComputeResourcesLaunchTemplateArgs{...} or: nil
func ComputeEnvironmentComputeResourcesLaunchTemplatePtr ¶
func ComputeEnvironmentComputeResourcesLaunchTemplatePtr(v *ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ComputeEnvironmentComputeResourcesLaunchTemplatePtrInput
type ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput ¶
type ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) ElementType ¶
func (ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) ElementType() reflect.Type
func (ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) LaunchTemplateId ¶
func (o ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) LaunchTemplateId() pulumi.StringPtrOutput
ID of the launch template. You must specify either the launch template ID or launch template name in the request, but not both.
func (ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) LaunchTemplateName ¶
func (o ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) LaunchTemplateName() pulumi.StringPtrOutput
Name of the launch template.
func (ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput ¶
func (o ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput() ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
func (ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutputWithContext ¶
func (o ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
func (ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) Version ¶
func (o ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) Version() pulumi.StringPtrOutput
The version number of the launch template. Default: The default version of the launch template.
type ComputeEnvironmentComputeResourcesOutput ¶
type ComputeEnvironmentComputeResourcesOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentComputeResourcesOutput) AllocationStrategy ¶
func (o ComputeEnvironmentComputeResourcesOutput) AllocationStrategy() pulumi.StringPtrOutput
The allocation strategy to use for the compute resource in case not enough instances of the best fitting instance type can be allocated. Valid items are `BEST_FIT_PROGRESSIVE`, `SPOT_CAPACITY_OPTIMIZED` or `BEST_FIT`. Defaults to `BEST_FIT`. See [AWS docs](https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html) for details. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesOutput) BidPercentage ¶
func (o ComputeEnvironmentComputeResourcesOutput) BidPercentage() pulumi.IntPtrOutput
Integer of maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your bid percentage is 20% (`20`), then the Spot price must be below 20% of the current On-Demand price for that EC2 instance. If you leave this field empty, the default value is 100% of the On-Demand price. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesOutput) DesiredVcpus ¶
func (o ComputeEnvironmentComputeResourcesOutput) DesiredVcpus() pulumi.IntPtrOutput
The desired number of EC2 vCPUS in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesOutput) Ec2Configurations ¶
func (o ComputeEnvironmentComputeResourcesOutput) Ec2Configurations() ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput
Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment. If Ec2Configuration isn't specified, the default is ECS_AL2. This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesOutput) Ec2KeyPair ¶
func (o ComputeEnvironmentComputeResourcesOutput) Ec2KeyPair() pulumi.StringPtrOutput
The EC2 key pair that is used for instances launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesOutput) ElementType ¶
func (ComputeEnvironmentComputeResourcesOutput) ElementType() reflect.Type
func (ComputeEnvironmentComputeResourcesOutput) ImageId ¶
func (o ComputeEnvironmentComputeResourcesOutput) ImageId() pulumi.StringPtrOutput
The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. (Deprecated, use `ec2Configuration` `imageIdOverride` instead)
func (ComputeEnvironmentComputeResourcesOutput) InstanceRole ¶
func (o ComputeEnvironmentComputeResourcesOutput) InstanceRole() pulumi.StringPtrOutput
The Amazon ECS instance role applied to Amazon EC2 instances in a compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesOutput) InstanceTypes ¶
func (o ComputeEnvironmentComputeResourcesOutput) InstanceTypes() pulumi.StringArrayOutput
A list of instance types that may be launched. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesOutput) LaunchTemplate ¶
func (o ComputeEnvironmentComputeResourcesOutput) LaunchTemplate() ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
The launch template to use for your compute resources. See details below. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesOutput) MaxVcpus ¶
func (o ComputeEnvironmentComputeResourcesOutput) MaxVcpus() pulumi.IntOutput
The maximum number of EC2 vCPUs that an environment can reach.
func (ComputeEnvironmentComputeResourcesOutput) MinVcpus ¶
func (o ComputeEnvironmentComputeResourcesOutput) MinVcpus() pulumi.IntPtrOutput
The minimum number of EC2 vCPUs that an environment should maintain. For `EC2` or `SPOT` compute environments, if the parameter is not explicitly defined, a `0` default value will be set. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesOutput) PlacementGroup ¶
func (o ComputeEnvironmentComputeResourcesOutput) PlacementGroup() pulumi.StringPtrOutput
The Amazon EC2 placement group to associate with your compute resources.
func (ComputeEnvironmentComputeResourcesOutput) SecurityGroupIds ¶
func (o ComputeEnvironmentComputeResourcesOutput) SecurityGroupIds() pulumi.StringArrayOutput
A list of EC2 security group that are associated with instances launched in the compute environment. This parameter is required for Fargate compute environments.
func (ComputeEnvironmentComputeResourcesOutput) SpotIamFleetRole ¶
func (o ComputeEnvironmentComputeResourcesOutput) SpotIamFleetRole() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment. This parameter is required for SPOT compute environments. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesOutput) Subnets ¶
func (o ComputeEnvironmentComputeResourcesOutput) Subnets() pulumi.StringArrayOutput
A list of VPC subnets into which the compute resources are launched.
func (ComputeEnvironmentComputeResourcesOutput) Tags ¶
func (o ComputeEnvironmentComputeResourcesOutput) Tags() pulumi.StringMapOutput
Key-value pair tags to be applied to resources that are launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesOutput ¶
func (o ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesOutput() ComputeEnvironmentComputeResourcesOutput
func (ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesOutputWithContext ¶
func (o ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesOutput
func (ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesPtrOutput ¶
func (o ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesPtrOutput() ComputeEnvironmentComputeResourcesPtrOutput
func (ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesPtrOutputWithContext ¶
func (o ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesPtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesPtrOutput
func (ComputeEnvironmentComputeResourcesOutput) Type ¶
func (o ComputeEnvironmentComputeResourcesOutput) Type() pulumi.StringOutput
The type of compute environment. Valid items are `EC2`, `SPOT`, `FARGATE` or `FARGATE_SPOT`.
type ComputeEnvironmentComputeResourcesPtrInput ¶
type ComputeEnvironmentComputeResourcesPtrInput interface { pulumi.Input ToComputeEnvironmentComputeResourcesPtrOutput() ComputeEnvironmentComputeResourcesPtrOutput ToComputeEnvironmentComputeResourcesPtrOutputWithContext(context.Context) ComputeEnvironmentComputeResourcesPtrOutput }
ComputeEnvironmentComputeResourcesPtrInput is an input type that accepts ComputeEnvironmentComputeResourcesArgs, ComputeEnvironmentComputeResourcesPtr and ComputeEnvironmentComputeResourcesPtrOutput values. You can construct a concrete instance of `ComputeEnvironmentComputeResourcesPtrInput` via:
ComputeEnvironmentComputeResourcesArgs{...} or: nil
func ComputeEnvironmentComputeResourcesPtr ¶
func ComputeEnvironmentComputeResourcesPtr(v *ComputeEnvironmentComputeResourcesArgs) ComputeEnvironmentComputeResourcesPtrInput
type ComputeEnvironmentComputeResourcesPtrOutput ¶
type ComputeEnvironmentComputeResourcesPtrOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentComputeResourcesPtrOutput) AllocationStrategy ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) AllocationStrategy() pulumi.StringPtrOutput
The allocation strategy to use for the compute resource in case not enough instances of the best fitting instance type can be allocated. Valid items are `BEST_FIT_PROGRESSIVE`, `SPOT_CAPACITY_OPTIMIZED` or `BEST_FIT`. Defaults to `BEST_FIT`. See [AWS docs](https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html) for details. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesPtrOutput) BidPercentage ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) BidPercentage() pulumi.IntPtrOutput
Integer of maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your bid percentage is 20% (`20`), then the Spot price must be below 20% of the current On-Demand price for that EC2 instance. If you leave this field empty, the default value is 100% of the On-Demand price. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesPtrOutput) DesiredVcpus ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) DesiredVcpus() pulumi.IntPtrOutput
The desired number of EC2 vCPUS in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesPtrOutput) Ec2Configurations ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) Ec2Configurations() ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput
Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment. If Ec2Configuration isn't specified, the default is ECS_AL2. This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesPtrOutput) Ec2KeyPair ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) Ec2KeyPair() pulumi.StringPtrOutput
The EC2 key pair that is used for instances launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesPtrOutput) ElementType ¶
func (ComputeEnvironmentComputeResourcesPtrOutput) ElementType() reflect.Type
func (ComputeEnvironmentComputeResourcesPtrOutput) ImageId ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) ImageId() pulumi.StringPtrOutput
The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. (Deprecated, use `ec2Configuration` `imageIdOverride` instead)
func (ComputeEnvironmentComputeResourcesPtrOutput) InstanceRole ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) InstanceRole() pulumi.StringPtrOutput
The Amazon ECS instance role applied to Amazon EC2 instances in a compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesPtrOutput) InstanceTypes ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) InstanceTypes() pulumi.StringArrayOutput
A list of instance types that may be launched. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesPtrOutput) LaunchTemplate ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) LaunchTemplate() ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
The launch template to use for your compute resources. See details below. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesPtrOutput) MaxVcpus ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) MaxVcpus() pulumi.IntPtrOutput
The maximum number of EC2 vCPUs that an environment can reach.
func (ComputeEnvironmentComputeResourcesPtrOutput) MinVcpus ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) MinVcpus() pulumi.IntPtrOutput
The minimum number of EC2 vCPUs that an environment should maintain. For `EC2` or `SPOT` compute environments, if the parameter is not explicitly defined, a `0` default value will be set. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesPtrOutput) PlacementGroup ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) PlacementGroup() pulumi.StringPtrOutput
The Amazon EC2 placement group to associate with your compute resources.
func (ComputeEnvironmentComputeResourcesPtrOutput) SecurityGroupIds ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput
A list of EC2 security group that are associated with instances launched in the compute environment. This parameter is required for Fargate compute environments.
func (ComputeEnvironmentComputeResourcesPtrOutput) SpotIamFleetRole ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) SpotIamFleetRole() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment. This parameter is required for SPOT compute environments. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesPtrOutput) Subnets ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) Subnets() pulumi.StringArrayOutput
A list of VPC subnets into which the compute resources are launched.
func (ComputeEnvironmentComputeResourcesPtrOutput) Tags ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) Tags() pulumi.StringMapOutput
Key-value pair tags to be applied to resources that are launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
func (ComputeEnvironmentComputeResourcesPtrOutput) ToComputeEnvironmentComputeResourcesPtrOutput ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) ToComputeEnvironmentComputeResourcesPtrOutput() ComputeEnvironmentComputeResourcesPtrOutput
func (ComputeEnvironmentComputeResourcesPtrOutput) ToComputeEnvironmentComputeResourcesPtrOutputWithContext ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) ToComputeEnvironmentComputeResourcesPtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesPtrOutput
func (ComputeEnvironmentComputeResourcesPtrOutput) Type ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) Type() pulumi.StringPtrOutput
The type of compute environment. Valid items are `EC2`, `SPOT`, `FARGATE` or `FARGATE_SPOT`.
type ComputeEnvironmentEksConfiguration ¶
type ComputeEnvironmentEksConfiguration struct { // The Amazon Resource Name (ARN) of the Amazon EKS cluster. EksClusterArn string `pulumi:"eksClusterArn"` // The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace. KubernetesNamespace string `pulumi:"kubernetesNamespace"` }
type ComputeEnvironmentEksConfigurationArgs ¶
type ComputeEnvironmentEksConfigurationArgs struct { // The Amazon Resource Name (ARN) of the Amazon EKS cluster. EksClusterArn pulumi.StringInput `pulumi:"eksClusterArn"` // The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace. KubernetesNamespace pulumi.StringInput `pulumi:"kubernetesNamespace"` }
func (ComputeEnvironmentEksConfigurationArgs) ElementType ¶
func (ComputeEnvironmentEksConfigurationArgs) ElementType() reflect.Type
func (ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationOutput ¶
func (i ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationOutput() ComputeEnvironmentEksConfigurationOutput
func (ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationOutputWithContext ¶
func (i ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationOutput
func (ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationPtrOutput ¶
func (i ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationPtrOutput() ComputeEnvironmentEksConfigurationPtrOutput
func (ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationPtrOutputWithContext ¶
func (i ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationPtrOutput
type ComputeEnvironmentEksConfigurationInput ¶
type ComputeEnvironmentEksConfigurationInput interface { pulumi.Input ToComputeEnvironmentEksConfigurationOutput() ComputeEnvironmentEksConfigurationOutput ToComputeEnvironmentEksConfigurationOutputWithContext(context.Context) ComputeEnvironmentEksConfigurationOutput }
ComputeEnvironmentEksConfigurationInput is an input type that accepts ComputeEnvironmentEksConfigurationArgs and ComputeEnvironmentEksConfigurationOutput values. You can construct a concrete instance of `ComputeEnvironmentEksConfigurationInput` via:
ComputeEnvironmentEksConfigurationArgs{...}
type ComputeEnvironmentEksConfigurationOutput ¶
type ComputeEnvironmentEksConfigurationOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentEksConfigurationOutput) EksClusterArn ¶
func (o ComputeEnvironmentEksConfigurationOutput) EksClusterArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the Amazon EKS cluster.
func (ComputeEnvironmentEksConfigurationOutput) ElementType ¶
func (ComputeEnvironmentEksConfigurationOutput) ElementType() reflect.Type
func (ComputeEnvironmentEksConfigurationOutput) KubernetesNamespace ¶
func (o ComputeEnvironmentEksConfigurationOutput) KubernetesNamespace() pulumi.StringOutput
The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace.
func (ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationOutput ¶
func (o ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationOutput() ComputeEnvironmentEksConfigurationOutput
func (ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationOutputWithContext ¶
func (o ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationOutput
func (ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationPtrOutput ¶
func (o ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationPtrOutput() ComputeEnvironmentEksConfigurationPtrOutput
func (ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationPtrOutputWithContext ¶
func (o ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationPtrOutput
type ComputeEnvironmentEksConfigurationPtrInput ¶
type ComputeEnvironmentEksConfigurationPtrInput interface { pulumi.Input ToComputeEnvironmentEksConfigurationPtrOutput() ComputeEnvironmentEksConfigurationPtrOutput ToComputeEnvironmentEksConfigurationPtrOutputWithContext(context.Context) ComputeEnvironmentEksConfigurationPtrOutput }
ComputeEnvironmentEksConfigurationPtrInput is an input type that accepts ComputeEnvironmentEksConfigurationArgs, ComputeEnvironmentEksConfigurationPtr and ComputeEnvironmentEksConfigurationPtrOutput values. You can construct a concrete instance of `ComputeEnvironmentEksConfigurationPtrInput` via:
ComputeEnvironmentEksConfigurationArgs{...} or: nil
func ComputeEnvironmentEksConfigurationPtr ¶
func ComputeEnvironmentEksConfigurationPtr(v *ComputeEnvironmentEksConfigurationArgs) ComputeEnvironmentEksConfigurationPtrInput
type ComputeEnvironmentEksConfigurationPtrOutput ¶
type ComputeEnvironmentEksConfigurationPtrOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentEksConfigurationPtrOutput) EksClusterArn ¶
func (o ComputeEnvironmentEksConfigurationPtrOutput) EksClusterArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the Amazon EKS cluster.
func (ComputeEnvironmentEksConfigurationPtrOutput) ElementType ¶
func (ComputeEnvironmentEksConfigurationPtrOutput) ElementType() reflect.Type
func (ComputeEnvironmentEksConfigurationPtrOutput) KubernetesNamespace ¶
func (o ComputeEnvironmentEksConfigurationPtrOutput) KubernetesNamespace() pulumi.StringPtrOutput
The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace.
func (ComputeEnvironmentEksConfigurationPtrOutput) ToComputeEnvironmentEksConfigurationPtrOutput ¶
func (o ComputeEnvironmentEksConfigurationPtrOutput) ToComputeEnvironmentEksConfigurationPtrOutput() ComputeEnvironmentEksConfigurationPtrOutput
func (ComputeEnvironmentEksConfigurationPtrOutput) ToComputeEnvironmentEksConfigurationPtrOutputWithContext ¶
func (o ComputeEnvironmentEksConfigurationPtrOutput) ToComputeEnvironmentEksConfigurationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationPtrOutput
type ComputeEnvironmentInput ¶
type ComputeEnvironmentInput interface { pulumi.Input ToComputeEnvironmentOutput() ComputeEnvironmentOutput ToComputeEnvironmentOutputWithContext(ctx context.Context) ComputeEnvironmentOutput }
type ComputeEnvironmentMap ¶
type ComputeEnvironmentMap map[string]ComputeEnvironmentInput
func (ComputeEnvironmentMap) ElementType ¶
func (ComputeEnvironmentMap) ElementType() reflect.Type
func (ComputeEnvironmentMap) ToComputeEnvironmentMapOutput ¶
func (i ComputeEnvironmentMap) ToComputeEnvironmentMapOutput() ComputeEnvironmentMapOutput
func (ComputeEnvironmentMap) ToComputeEnvironmentMapOutputWithContext ¶
func (i ComputeEnvironmentMap) ToComputeEnvironmentMapOutputWithContext(ctx context.Context) ComputeEnvironmentMapOutput
type ComputeEnvironmentMapInput ¶
type ComputeEnvironmentMapInput interface { pulumi.Input ToComputeEnvironmentMapOutput() ComputeEnvironmentMapOutput ToComputeEnvironmentMapOutputWithContext(context.Context) ComputeEnvironmentMapOutput }
ComputeEnvironmentMapInput is an input type that accepts ComputeEnvironmentMap and ComputeEnvironmentMapOutput values. You can construct a concrete instance of `ComputeEnvironmentMapInput` via:
ComputeEnvironmentMap{ "key": ComputeEnvironmentArgs{...} }
type ComputeEnvironmentMapOutput ¶
type ComputeEnvironmentMapOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentMapOutput) ElementType ¶
func (ComputeEnvironmentMapOutput) ElementType() reflect.Type
func (ComputeEnvironmentMapOutput) MapIndex ¶
func (o ComputeEnvironmentMapOutput) MapIndex(k pulumi.StringInput) ComputeEnvironmentOutput
func (ComputeEnvironmentMapOutput) ToComputeEnvironmentMapOutput ¶
func (o ComputeEnvironmentMapOutput) ToComputeEnvironmentMapOutput() ComputeEnvironmentMapOutput
func (ComputeEnvironmentMapOutput) ToComputeEnvironmentMapOutputWithContext ¶
func (o ComputeEnvironmentMapOutput) ToComputeEnvironmentMapOutputWithContext(ctx context.Context) ComputeEnvironmentMapOutput
type ComputeEnvironmentOutput ¶
type ComputeEnvironmentOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentOutput) Arn ¶
func (o ComputeEnvironmentOutput) Arn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the compute environment.
func (ComputeEnvironmentOutput) ComputeEnvironmentName ¶
func (o ComputeEnvironmentOutput) ComputeEnvironmentName() pulumi.StringOutput
The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed. If omitted, the provider will assign a random, unique name.
func (ComputeEnvironmentOutput) ComputeEnvironmentNamePrefix ¶
func (o ComputeEnvironmentOutput) ComputeEnvironmentNamePrefix() pulumi.StringOutput
Creates a unique compute environment name beginning with the specified prefix. Conflicts with `computeEnvironmentName`.
func (ComputeEnvironmentOutput) ComputeResources ¶
func (o ComputeEnvironmentOutput) ComputeResources() ComputeEnvironmentComputeResourcesPtrOutput
Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. See details below.
func (ComputeEnvironmentOutput) EcsClusterArn ¶
func (o ComputeEnvironmentOutput) EcsClusterArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.
func (ComputeEnvironmentOutput) EksConfiguration ¶
func (o ComputeEnvironmentOutput) EksConfiguration() ComputeEnvironmentEksConfigurationPtrOutput
Details for the Amazon EKS cluster that supports the compute environment. See details below.
func (ComputeEnvironmentOutput) ElementType ¶
func (ComputeEnvironmentOutput) ElementType() reflect.Type
func (ComputeEnvironmentOutput) ServiceRole ¶
func (o ComputeEnvironmentOutput) ServiceRole() pulumi.StringOutput
The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.
func (ComputeEnvironmentOutput) State ¶
func (o ComputeEnvironmentOutput) State() pulumi.StringPtrOutput
The state of the compute environment. If the state is `ENABLED`, then the compute environment accepts jobs from a queue and can scale out automatically based on queues. Valid items are `ENABLED` or `DISABLED`. Defaults to `ENABLED`.
func (ComputeEnvironmentOutput) Status ¶
func (o ComputeEnvironmentOutput) Status() pulumi.StringOutput
The current status of the compute environment (for example, CREATING or VALID).
func (ComputeEnvironmentOutput) StatusReason ¶
func (o ComputeEnvironmentOutput) StatusReason() pulumi.StringOutput
A short, human-readable string to provide additional details about the current status of the compute environment.
func (ComputeEnvironmentOutput) Tags ¶
func (o ComputeEnvironmentOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ComputeEnvironmentOutput) TagsAll
deprecated
func (o ComputeEnvironmentOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (ComputeEnvironmentOutput) ToComputeEnvironmentOutput ¶
func (o ComputeEnvironmentOutput) ToComputeEnvironmentOutput() ComputeEnvironmentOutput
func (ComputeEnvironmentOutput) ToComputeEnvironmentOutputWithContext ¶
func (o ComputeEnvironmentOutput) ToComputeEnvironmentOutputWithContext(ctx context.Context) ComputeEnvironmentOutput
func (ComputeEnvironmentOutput) Type ¶
func (o ComputeEnvironmentOutput) Type() pulumi.StringOutput
The type of the compute environment. Valid items are `MANAGED` or `UNMANAGED`.
type ComputeEnvironmentState ¶
type ComputeEnvironmentState struct { // The Amazon Resource Name (ARN) of the compute environment. Arn pulumi.StringPtrInput // The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed. If omitted, the provider will assign a random, unique name. ComputeEnvironmentName pulumi.StringPtrInput // Creates a unique compute environment name beginning with the specified prefix. Conflicts with `computeEnvironmentName`. ComputeEnvironmentNamePrefix pulumi.StringPtrInput // Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. See details below. ComputeResources ComputeEnvironmentComputeResourcesPtrInput // The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment. EcsClusterArn pulumi.StringPtrInput // Details for the Amazon EKS cluster that supports the compute environment. See details below. EksConfiguration ComputeEnvironmentEksConfigurationPtrInput // The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. ServiceRole pulumi.StringPtrInput // The state of the compute environment. If the state is `ENABLED`, then the compute environment accepts jobs from a queue and can scale out automatically based on queues. Valid items are `ENABLED` or `DISABLED`. Defaults to `ENABLED`. State pulumi.StringPtrInput // The current status of the compute environment (for example, CREATING or VALID). Status pulumi.StringPtrInput // A short, human-readable string to provide additional details about the current status of the compute environment. StatusReason pulumi.StringPtrInput // Key-value map of resource tags. 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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // The type of the compute environment. Valid items are `MANAGED` or `UNMANAGED`. Type pulumi.StringPtrInput }
func (ComputeEnvironmentState) ElementType ¶
func (ComputeEnvironmentState) ElementType() reflect.Type
type GetJobQueueComputeEnvironmentOrderArgs ¶
type GetJobQueueComputeEnvironmentOrderArgs struct { ComputeEnvironment pulumi.StringInput `pulumi:"computeEnvironment"` Order pulumi.IntInput `pulumi:"order"` }
func (GetJobQueueComputeEnvironmentOrderArgs) ElementType ¶
func (GetJobQueueComputeEnvironmentOrderArgs) ElementType() reflect.Type
func (GetJobQueueComputeEnvironmentOrderArgs) ToGetJobQueueComputeEnvironmentOrderOutput ¶
func (i GetJobQueueComputeEnvironmentOrderArgs) ToGetJobQueueComputeEnvironmentOrderOutput() GetJobQueueComputeEnvironmentOrderOutput
func (GetJobQueueComputeEnvironmentOrderArgs) ToGetJobQueueComputeEnvironmentOrderOutputWithContext ¶
func (i GetJobQueueComputeEnvironmentOrderArgs) ToGetJobQueueComputeEnvironmentOrderOutputWithContext(ctx context.Context) GetJobQueueComputeEnvironmentOrderOutput
type GetJobQueueComputeEnvironmentOrderArray ¶
type GetJobQueueComputeEnvironmentOrderArray []GetJobQueueComputeEnvironmentOrderInput
func (GetJobQueueComputeEnvironmentOrderArray) ElementType ¶
func (GetJobQueueComputeEnvironmentOrderArray) ElementType() reflect.Type
func (GetJobQueueComputeEnvironmentOrderArray) ToGetJobQueueComputeEnvironmentOrderArrayOutput ¶
func (i GetJobQueueComputeEnvironmentOrderArray) ToGetJobQueueComputeEnvironmentOrderArrayOutput() GetJobQueueComputeEnvironmentOrderArrayOutput
func (GetJobQueueComputeEnvironmentOrderArray) ToGetJobQueueComputeEnvironmentOrderArrayOutputWithContext ¶
func (i GetJobQueueComputeEnvironmentOrderArray) ToGetJobQueueComputeEnvironmentOrderArrayOutputWithContext(ctx context.Context) GetJobQueueComputeEnvironmentOrderArrayOutput
type GetJobQueueComputeEnvironmentOrderArrayInput ¶
type GetJobQueueComputeEnvironmentOrderArrayInput interface { pulumi.Input ToGetJobQueueComputeEnvironmentOrderArrayOutput() GetJobQueueComputeEnvironmentOrderArrayOutput ToGetJobQueueComputeEnvironmentOrderArrayOutputWithContext(context.Context) GetJobQueueComputeEnvironmentOrderArrayOutput }
GetJobQueueComputeEnvironmentOrderArrayInput is an input type that accepts GetJobQueueComputeEnvironmentOrderArray and GetJobQueueComputeEnvironmentOrderArrayOutput values. You can construct a concrete instance of `GetJobQueueComputeEnvironmentOrderArrayInput` via:
GetJobQueueComputeEnvironmentOrderArray{ GetJobQueueComputeEnvironmentOrderArgs{...} }
type GetJobQueueComputeEnvironmentOrderArrayOutput ¶
type GetJobQueueComputeEnvironmentOrderArrayOutput struct{ *pulumi.OutputState }
func (GetJobQueueComputeEnvironmentOrderArrayOutput) ElementType ¶
func (GetJobQueueComputeEnvironmentOrderArrayOutput) ElementType() reflect.Type
func (GetJobQueueComputeEnvironmentOrderArrayOutput) ToGetJobQueueComputeEnvironmentOrderArrayOutput ¶
func (o GetJobQueueComputeEnvironmentOrderArrayOutput) ToGetJobQueueComputeEnvironmentOrderArrayOutput() GetJobQueueComputeEnvironmentOrderArrayOutput
func (GetJobQueueComputeEnvironmentOrderArrayOutput) ToGetJobQueueComputeEnvironmentOrderArrayOutputWithContext ¶
func (o GetJobQueueComputeEnvironmentOrderArrayOutput) ToGetJobQueueComputeEnvironmentOrderArrayOutputWithContext(ctx context.Context) GetJobQueueComputeEnvironmentOrderArrayOutput
type GetJobQueueComputeEnvironmentOrderInput ¶
type GetJobQueueComputeEnvironmentOrderInput interface { pulumi.Input ToGetJobQueueComputeEnvironmentOrderOutput() GetJobQueueComputeEnvironmentOrderOutput ToGetJobQueueComputeEnvironmentOrderOutputWithContext(context.Context) GetJobQueueComputeEnvironmentOrderOutput }
GetJobQueueComputeEnvironmentOrderInput is an input type that accepts GetJobQueueComputeEnvironmentOrderArgs and GetJobQueueComputeEnvironmentOrderOutput values. You can construct a concrete instance of `GetJobQueueComputeEnvironmentOrderInput` via:
GetJobQueueComputeEnvironmentOrderArgs{...}
type GetJobQueueComputeEnvironmentOrderOutput ¶
type GetJobQueueComputeEnvironmentOrderOutput struct{ *pulumi.OutputState }
func (GetJobQueueComputeEnvironmentOrderOutput) ComputeEnvironment ¶
func (o GetJobQueueComputeEnvironmentOrderOutput) ComputeEnvironment() pulumi.StringOutput
func (GetJobQueueComputeEnvironmentOrderOutput) ElementType ¶
func (GetJobQueueComputeEnvironmentOrderOutput) ElementType() reflect.Type
func (GetJobQueueComputeEnvironmentOrderOutput) Order ¶
func (o GetJobQueueComputeEnvironmentOrderOutput) Order() pulumi.IntOutput
func (GetJobQueueComputeEnvironmentOrderOutput) ToGetJobQueueComputeEnvironmentOrderOutput ¶
func (o GetJobQueueComputeEnvironmentOrderOutput) ToGetJobQueueComputeEnvironmentOrderOutput() GetJobQueueComputeEnvironmentOrderOutput
func (GetJobQueueComputeEnvironmentOrderOutput) ToGetJobQueueComputeEnvironmentOrderOutputWithContext ¶
func (o GetJobQueueComputeEnvironmentOrderOutput) ToGetJobQueueComputeEnvironmentOrderOutputWithContext(ctx context.Context) GetJobQueueComputeEnvironmentOrderOutput
type GetSchedulingPolicyFairSharePolicy ¶
type GetSchedulingPolicyFairSharePolicy struct { // Value used to reserve some of the available maximum vCPU for fair share identifiers that have not yet been used. For more information, see [FairsharePolicy](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html). ShareDistributions []GetSchedulingPolicyFairSharePolicyShareDistribution `pulumi:"shareDistributions"` }
type GetSchedulingPolicyFairSharePolicyArgs ¶
type GetSchedulingPolicyFairSharePolicyArgs struct { // Value used to reserve some of the available maximum vCPU for fair share identifiers that have not yet been used. For more information, see [FairsharePolicy](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html). ShareDistributions GetSchedulingPolicyFairSharePolicyShareDistributionArrayInput `pulumi:"shareDistributions"` }
func (GetSchedulingPolicyFairSharePolicyArgs) ElementType ¶
func (GetSchedulingPolicyFairSharePolicyArgs) ElementType() reflect.Type
func (GetSchedulingPolicyFairSharePolicyArgs) ToGetSchedulingPolicyFairSharePolicyOutput ¶
func (i GetSchedulingPolicyFairSharePolicyArgs) ToGetSchedulingPolicyFairSharePolicyOutput() GetSchedulingPolicyFairSharePolicyOutput
func (GetSchedulingPolicyFairSharePolicyArgs) ToGetSchedulingPolicyFairSharePolicyOutputWithContext ¶
func (i GetSchedulingPolicyFairSharePolicyArgs) ToGetSchedulingPolicyFairSharePolicyOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyOutput
type GetSchedulingPolicyFairSharePolicyArray ¶
type GetSchedulingPolicyFairSharePolicyArray []GetSchedulingPolicyFairSharePolicyInput
func (GetSchedulingPolicyFairSharePolicyArray) ElementType ¶
func (GetSchedulingPolicyFairSharePolicyArray) ElementType() reflect.Type
func (GetSchedulingPolicyFairSharePolicyArray) ToGetSchedulingPolicyFairSharePolicyArrayOutput ¶
func (i GetSchedulingPolicyFairSharePolicyArray) ToGetSchedulingPolicyFairSharePolicyArrayOutput() GetSchedulingPolicyFairSharePolicyArrayOutput
func (GetSchedulingPolicyFairSharePolicyArray) ToGetSchedulingPolicyFairSharePolicyArrayOutputWithContext ¶
func (i GetSchedulingPolicyFairSharePolicyArray) ToGetSchedulingPolicyFairSharePolicyArrayOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyArrayOutput
type GetSchedulingPolicyFairSharePolicyArrayInput ¶
GetSchedulingPolicyFairSharePolicyArrayInput is an input type that accepts GetSchedulingPolicyFairSharePolicyArray and GetSchedulingPolicyFairSharePolicyArrayOutput values. You can construct a concrete instance of `GetSchedulingPolicyFairSharePolicyArrayInput` via:
GetSchedulingPolicyFairSharePolicyArray{ GetSchedulingPolicyFairSharePolicyArgs{...} }
type GetSchedulingPolicyFairSharePolicyArrayOutput ¶
func (GetSchedulingPolicyFairSharePolicyArrayOutput) ElementType ¶
func (GetSchedulingPolicyFairSharePolicyArrayOutput) ElementType() reflect.Type
func (GetSchedulingPolicyFairSharePolicyArrayOutput) ToGetSchedulingPolicyFairSharePolicyArrayOutput ¶
func (o GetSchedulingPolicyFairSharePolicyArrayOutput) ToGetSchedulingPolicyFairSharePolicyArrayOutput() GetSchedulingPolicyFairSharePolicyArrayOutput
func (GetSchedulingPolicyFairSharePolicyArrayOutput) ToGetSchedulingPolicyFairSharePolicyArrayOutputWithContext ¶
func (o GetSchedulingPolicyFairSharePolicyArrayOutput) ToGetSchedulingPolicyFairSharePolicyArrayOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyArrayOutput
type GetSchedulingPolicyFairSharePolicyInput ¶
GetSchedulingPolicyFairSharePolicyInput is an input type that accepts GetSchedulingPolicyFairSharePolicyArgs and GetSchedulingPolicyFairSharePolicyOutput values. You can construct a concrete instance of `GetSchedulingPolicyFairSharePolicyInput` via:
GetSchedulingPolicyFairSharePolicyArgs{...}
type GetSchedulingPolicyFairSharePolicyOutput ¶
func (GetSchedulingPolicyFairSharePolicyOutput) ComputeReservation ¶
func (o GetSchedulingPolicyFairSharePolicyOutput) ComputeReservation() pulumi.IntOutput
Value used to reserve some of the available maximum vCPU for fair share identifiers that have not yet been used. For more information, see [FairsharePolicy](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html).
func (GetSchedulingPolicyFairSharePolicyOutput) ElementType ¶
func (GetSchedulingPolicyFairSharePolicyOutput) ElementType() reflect.Type
func (GetSchedulingPolicyFairSharePolicyOutput) ShareDecaySeconds ¶
func (o GetSchedulingPolicyFairSharePolicyOutput) ShareDecaySeconds() pulumi.IntOutput
func (GetSchedulingPolicyFairSharePolicyOutput) ShareDistributions ¶
func (o GetSchedulingPolicyFairSharePolicyOutput) ShareDistributions() GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput
One or more share distribution blocks which define the weights for the fair share identifiers for the fair share policy. For more information, see [FairsharePolicy](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html). The `shareDistribution` block is documented below.
func (GetSchedulingPolicyFairSharePolicyOutput) ToGetSchedulingPolicyFairSharePolicyOutput ¶
func (o GetSchedulingPolicyFairSharePolicyOutput) ToGetSchedulingPolicyFairSharePolicyOutput() GetSchedulingPolicyFairSharePolicyOutput
func (GetSchedulingPolicyFairSharePolicyOutput) ToGetSchedulingPolicyFairSharePolicyOutputWithContext ¶
func (o GetSchedulingPolicyFairSharePolicyOutput) ToGetSchedulingPolicyFairSharePolicyOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyOutput
type GetSchedulingPolicyFairSharePolicyShareDistributionArgs ¶
type GetSchedulingPolicyFairSharePolicyShareDistributionArgs struct { pulumi.StringInput `pulumi:"shareIdentifier"` WeightFactor pulumi.Float64Input `pulumi:"weightFactor"` }ShareIdentifier
func (GetSchedulingPolicyFairSharePolicyShareDistributionArgs) ElementType ¶
func (GetSchedulingPolicyFairSharePolicyShareDistributionArgs) ElementType() reflect.Type
func (GetSchedulingPolicyFairSharePolicyShareDistributionArgs) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutput ¶
func (i GetSchedulingPolicyFairSharePolicyShareDistributionArgs) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutput() GetSchedulingPolicyFairSharePolicyShareDistributionOutput
func (GetSchedulingPolicyFairSharePolicyShareDistributionArgs) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext ¶
func (i GetSchedulingPolicyFairSharePolicyShareDistributionArgs) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyShareDistributionOutput
type GetSchedulingPolicyFairSharePolicyShareDistributionArray ¶
type GetSchedulingPolicyFairSharePolicyShareDistributionArray []GetSchedulingPolicyFairSharePolicyShareDistributionInput
func (GetSchedulingPolicyFairSharePolicyShareDistributionArray) ElementType ¶
func (GetSchedulingPolicyFairSharePolicyShareDistributionArray) ElementType() reflect.Type
func (GetSchedulingPolicyFairSharePolicyShareDistributionArray) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput ¶
func (i GetSchedulingPolicyFairSharePolicyShareDistributionArray) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput() GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput
func (GetSchedulingPolicyFairSharePolicyShareDistributionArray) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext ¶
func (i GetSchedulingPolicyFairSharePolicyShareDistributionArray) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput
type GetSchedulingPolicyFairSharePolicyShareDistributionArrayInput ¶
GetSchedulingPolicyFairSharePolicyShareDistributionArrayInput is an input type that accepts GetSchedulingPolicyFairSharePolicyShareDistributionArray and GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput values. You can construct a concrete instance of `GetSchedulingPolicyFairSharePolicyShareDistributionArrayInput` via:
GetSchedulingPolicyFairSharePolicyShareDistributionArray{ GetSchedulingPolicyFairSharePolicyShareDistributionArgs{...} }
type GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput ¶
func (GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ElementType ¶
func (GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ElementType() reflect.Type
func (GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput ¶
func (o GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput() GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput
func (GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext ¶
func (o GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput
type GetSchedulingPolicyFairSharePolicyShareDistributionInput ¶
GetSchedulingPolicyFairSharePolicyShareDistributionInput is an input type that accepts GetSchedulingPolicyFairSharePolicyShareDistributionArgs and GetSchedulingPolicyFairSharePolicyShareDistributionOutput values. You can construct a concrete instance of `GetSchedulingPolicyFairSharePolicyShareDistributionInput` via:
GetSchedulingPolicyFairSharePolicyShareDistributionArgs{...}
type GetSchedulingPolicyFairSharePolicyShareDistributionOutput ¶
func (GetSchedulingPolicyFairSharePolicyShareDistributionOutput) ElementType ¶
func (GetSchedulingPolicyFairSharePolicyShareDistributionOutput) ElementType() reflect.Type
func (GetSchedulingPolicyFairSharePolicyShareDistributionOutput) ShareIdentifier ¶
func (o GetSchedulingPolicyFairSharePolicyShareDistributionOutput) ShareIdentifier() pulumi.StringOutput
Fair share identifier or fair share identifier prefix. For more information, see [ShareAttributes](https://docs.aws.amazon.com/batch/latest/APIReference/API_ShareAttributes.html).
func (GetSchedulingPolicyFairSharePolicyShareDistributionOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutput ¶
func (o GetSchedulingPolicyFairSharePolicyShareDistributionOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutput() GetSchedulingPolicyFairSharePolicyShareDistributionOutput
func (GetSchedulingPolicyFairSharePolicyShareDistributionOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext ¶
func (o GetSchedulingPolicyFairSharePolicyShareDistributionOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyShareDistributionOutput
func (GetSchedulingPolicyFairSharePolicyShareDistributionOutput) WeightFactor ¶
func (o GetSchedulingPolicyFairSharePolicyShareDistributionOutput) WeightFactor() pulumi.Float64Output
Weight factor for the fair share identifier. For more information, see [ShareAttributes](https://docs.aws.amazon.com/batch/latest/APIReference/API_ShareAttributes.html).
type JobDefinition ¶
type JobDefinition struct { pulumi.CustomResourceState // The Amazon Resource Name of the job definition. Arn pulumi.StringOutput `pulumi:"arn"` // A valid [container properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html) // provided as a single valid JSON document. This parameter is required if the `type` parameter is `container`. ContainerProperties pulumi.StringPtrOutput `pulumi:"containerProperties"` // Specifies the name of the job definition. Name pulumi.StringOutput `pulumi:"name"` // A valid [node properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html) // provided as a single valid JSON document. This parameter is required if the `type` parameter is `multinode`. NodeProperties pulumi.StringPtrOutput `pulumi:"nodeProperties"` // Specifies the parameter substitution placeholders to set in the job definition. Parameters pulumi.StringMapOutput `pulumi:"parameters"` // The platform capabilities required by the job definition. If no value is specified, it defaults to `EC2`. To run the job on Fargate resources, specify `FARGATE`. PlatformCapabilities pulumi.StringArrayOutput `pulumi:"platformCapabilities"` // Specifies whether to propagate the tags from the job definition to the corresponding Amazon ECS task. Default is `false`. PropagateTags pulumi.BoolPtrOutput `pulumi:"propagateTags"` // Specifies the retry strategy to use for failed jobs that are submitted with this job definition. // Maximum number of `retryStrategy` is `1`. Defined below. RetryStrategy JobDefinitionRetryStrategyPtrOutput `pulumi:"retryStrategy"` // The revision of the job definition. Revision pulumi.IntOutput `pulumi:"revision"` // Key-value map of resource tags. .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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Specifies the timeout for jobs so that if a job runs longer, AWS Batch terminates the job. Maximum number of `timeout` is `1`. Defined below. Timeout JobDefinitionTimeoutPtrOutput `pulumi:"timeout"` // The type of job definition. Must be `container` or `multinode`. // // The following arguments are optional: Type pulumi.StringOutput `pulumi:"type"` }
Provides a Batch Job Definition resource.
## Example Usage ### Job definition of type container
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { tmpJSON0, err := json.Marshal(map[string]interface{}{ "command": []string{ "ls", "-la", }, "image": "busybox", "resourceRequirements": []map[string]interface{}{ map[string]interface{}{ "type": "VCPU", "value": "0.25", }, map[string]interface{}{ "type": "MEMORY", "value": "512", }, }, "volumes": []map[string]interface{}{ map[string]interface{}{ "host": map[string]interface{}{ "sourcePath": "/tmp", }, "name": "tmp", }, }, "environment": []map[string]interface{}{ map[string]interface{}{ "name": "VARNAME", "value": "VARVAL", }, }, "mountPoints": []map[string]interface{}{ map[string]interface{}{ "sourceVolume": "tmp", "containerPath": "/tmp", "readOnly": false, }, }, "ulimits": []map[string]interface{}{ map[string]interface{}{ "hardLimit": 1024, "name": "nofile", "softLimit": 1024, }, }, }) if err != nil { return err } json0 := string(tmpJSON0) _, err = batch.NewJobDefinition(ctx, "test", &batch.JobDefinitionArgs{ Type: pulumi.String("container"), ContainerProperties: pulumi.String(json0), }) if err != nil { return err } return nil }) }
``` ### Job definition of type multinode
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { tmpJSON0, err := json.Marshal(map[string]interface{}{ "mainNode": 0, "nodeRangeProperties": []map[string]interface{}{ map[string]interface{}{ "container": map[string]interface{}{ "command": []string{ "ls", "-la", }, "image": "busybox", "memory": 128, "vcpus": 1, }, "targetNodes": "0:", }, map[string]interface{}{ "container": map[string]interface{}{ "command": []string{ "echo", "test", }, "image": "busybox", "memory": 128, "vcpus": 1, }, "targetNodes": "1:", }, }, "numNodes": 2, }) if err != nil { return err } json0 := string(tmpJSON0) _, err = batch.NewJobDefinition(ctx, "test", &batch.JobDefinitionArgs{ Type: pulumi.String("multinode"), NodeProperties: pulumi.String(json0), }) if err != nil { return err } return nil }) }
``` ### Fargate Platform Capability
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { assumeRolePolicy, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Actions: []string{ "sts:AssumeRole", }, Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Type: "Service", Identifiers: []string{ "ecs-tasks.amazonaws.com", }, }, }, }, }, }, nil) if err != nil { return err } ecsTaskExecutionRole, err := iam.NewRole(ctx, "ecsTaskExecutionRole", &iam.RoleArgs{ AssumeRolePolicy: *pulumi.String(assumeRolePolicy.Json), }) if err != nil { return err } _, err = iam.NewRolePolicyAttachment(ctx, "ecsTaskExecutionRolePolicy", &iam.RolePolicyAttachmentArgs{ Role: ecsTaskExecutionRole.Name, PolicyArn: pulumi.String("arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy"), }) if err != nil { return err } _, err = batch.NewJobDefinition(ctx, "test", &batch.JobDefinitionArgs{ Type: pulumi.String("container"), PlatformCapabilities: pulumi.StringArray{ pulumi.String("FARGATE"), }, ContainerProperties: ecsTaskExecutionRole.Arn.ApplyT(func(arn string) (pulumi.String, error) { var _zero pulumi.String tmpJSON0, err := json.Marshal(map[string]interface{}{ "command": []string{ "echo", "test", }, "image": "busybox", "jobRoleArn": "arn:aws:iam::123456789012:role/AWSBatchS3ReadOnly", "fargatePlatformConfiguration": map[string]interface{}{ "platformVersion": "LATEST", }, "resourceRequirements": []map[string]interface{}{ map[string]interface{}{ "type": "VCPU", "value": "0.25", }, map[string]interface{}{ "type": "MEMORY", "value": "512", }, }, "executionRoleArn": arn, }) if err != nil { return _zero, err } json0 := string(tmpJSON0) return pulumi.String(json0), nil }).(pulumi.StringOutput), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Batch Job Definition using the `arn`. For example:
```sh
$ pulumi import aws:batch/jobDefinition:JobDefinition test arn:aws:batch:us-east-1:123456789012:job-definition/sample
```
func GetJobDefinition ¶
func GetJobDefinition(ctx *pulumi.Context, name string, id pulumi.IDInput, state *JobDefinitionState, opts ...pulumi.ResourceOption) (*JobDefinition, error)
GetJobDefinition gets an existing JobDefinition 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 NewJobDefinition ¶
func NewJobDefinition(ctx *pulumi.Context, name string, args *JobDefinitionArgs, opts ...pulumi.ResourceOption) (*JobDefinition, error)
NewJobDefinition registers a new resource with the given unique name, arguments, and options.
func (*JobDefinition) ElementType ¶
func (*JobDefinition) ElementType() reflect.Type
func (*JobDefinition) ToJobDefinitionOutput ¶
func (i *JobDefinition) ToJobDefinitionOutput() JobDefinitionOutput
func (*JobDefinition) ToJobDefinitionOutputWithContext ¶
func (i *JobDefinition) ToJobDefinitionOutputWithContext(ctx context.Context) JobDefinitionOutput
type JobDefinitionArgs ¶
type JobDefinitionArgs struct { // A valid [container properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html) // provided as a single valid JSON document. This parameter is required if the `type` parameter is `container`. ContainerProperties pulumi.StringPtrInput // Specifies the name of the job definition. Name pulumi.StringPtrInput // A valid [node properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html) // provided as a single valid JSON document. This parameter is required if the `type` parameter is `multinode`. NodeProperties pulumi.StringPtrInput // Specifies the parameter substitution placeholders to set in the job definition. Parameters pulumi.StringMapInput // The platform capabilities required by the job definition. If no value is specified, it defaults to `EC2`. To run the job on Fargate resources, specify `FARGATE`. PlatformCapabilities pulumi.StringArrayInput // Specifies whether to propagate the tags from the job definition to the corresponding Amazon ECS task. Default is `false`. PropagateTags pulumi.BoolPtrInput // Specifies the retry strategy to use for failed jobs that are submitted with this job definition. // Maximum number of `retryStrategy` is `1`. Defined below. RetryStrategy JobDefinitionRetryStrategyPtrInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // Specifies the timeout for jobs so that if a job runs longer, AWS Batch terminates the job. Maximum number of `timeout` is `1`. Defined below. Timeout JobDefinitionTimeoutPtrInput // The type of job definition. Must be `container` or `multinode`. // // The following arguments are optional: Type pulumi.StringInput }
The set of arguments for constructing a JobDefinition resource.
func (JobDefinitionArgs) ElementType ¶
func (JobDefinitionArgs) ElementType() reflect.Type
type JobDefinitionArray ¶
type JobDefinitionArray []JobDefinitionInput
func (JobDefinitionArray) ElementType ¶
func (JobDefinitionArray) ElementType() reflect.Type
func (JobDefinitionArray) ToJobDefinitionArrayOutput ¶
func (i JobDefinitionArray) ToJobDefinitionArrayOutput() JobDefinitionArrayOutput
func (JobDefinitionArray) ToJobDefinitionArrayOutputWithContext ¶
func (i JobDefinitionArray) ToJobDefinitionArrayOutputWithContext(ctx context.Context) JobDefinitionArrayOutput
type JobDefinitionArrayInput ¶
type JobDefinitionArrayInput interface { pulumi.Input ToJobDefinitionArrayOutput() JobDefinitionArrayOutput ToJobDefinitionArrayOutputWithContext(context.Context) JobDefinitionArrayOutput }
JobDefinitionArrayInput is an input type that accepts JobDefinitionArray and JobDefinitionArrayOutput values. You can construct a concrete instance of `JobDefinitionArrayInput` via:
JobDefinitionArray{ JobDefinitionArgs{...} }
type JobDefinitionArrayOutput ¶
type JobDefinitionArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionArrayOutput) ElementType ¶
func (JobDefinitionArrayOutput) ElementType() reflect.Type
func (JobDefinitionArrayOutput) Index ¶
func (o JobDefinitionArrayOutput) Index(i pulumi.IntInput) JobDefinitionOutput
func (JobDefinitionArrayOutput) ToJobDefinitionArrayOutput ¶
func (o JobDefinitionArrayOutput) ToJobDefinitionArrayOutput() JobDefinitionArrayOutput
func (JobDefinitionArrayOutput) ToJobDefinitionArrayOutputWithContext ¶
func (o JobDefinitionArrayOutput) ToJobDefinitionArrayOutputWithContext(ctx context.Context) JobDefinitionArrayOutput
type JobDefinitionInput ¶
type JobDefinitionInput interface { pulumi.Input ToJobDefinitionOutput() JobDefinitionOutput ToJobDefinitionOutputWithContext(ctx context.Context) JobDefinitionOutput }
type JobDefinitionMap ¶
type JobDefinitionMap map[string]JobDefinitionInput
func (JobDefinitionMap) ElementType ¶
func (JobDefinitionMap) ElementType() reflect.Type
func (JobDefinitionMap) ToJobDefinitionMapOutput ¶
func (i JobDefinitionMap) ToJobDefinitionMapOutput() JobDefinitionMapOutput
func (JobDefinitionMap) ToJobDefinitionMapOutputWithContext ¶
func (i JobDefinitionMap) ToJobDefinitionMapOutputWithContext(ctx context.Context) JobDefinitionMapOutput
type JobDefinitionMapInput ¶
type JobDefinitionMapInput interface { pulumi.Input ToJobDefinitionMapOutput() JobDefinitionMapOutput ToJobDefinitionMapOutputWithContext(context.Context) JobDefinitionMapOutput }
JobDefinitionMapInput is an input type that accepts JobDefinitionMap and JobDefinitionMapOutput values. You can construct a concrete instance of `JobDefinitionMapInput` via:
JobDefinitionMap{ "key": JobDefinitionArgs{...} }
type JobDefinitionMapOutput ¶
type JobDefinitionMapOutput struct{ *pulumi.OutputState }
func (JobDefinitionMapOutput) ElementType ¶
func (JobDefinitionMapOutput) ElementType() reflect.Type
func (JobDefinitionMapOutput) MapIndex ¶
func (o JobDefinitionMapOutput) MapIndex(k pulumi.StringInput) JobDefinitionOutput
func (JobDefinitionMapOutput) ToJobDefinitionMapOutput ¶
func (o JobDefinitionMapOutput) ToJobDefinitionMapOutput() JobDefinitionMapOutput
func (JobDefinitionMapOutput) ToJobDefinitionMapOutputWithContext ¶
func (o JobDefinitionMapOutput) ToJobDefinitionMapOutputWithContext(ctx context.Context) JobDefinitionMapOutput
type JobDefinitionOutput ¶
type JobDefinitionOutput struct{ *pulumi.OutputState }
func (JobDefinitionOutput) Arn ¶
func (o JobDefinitionOutput) Arn() pulumi.StringOutput
The Amazon Resource Name of the job definition.
func (JobDefinitionOutput) ContainerProperties ¶
func (o JobDefinitionOutput) ContainerProperties() pulumi.StringPtrOutput
A valid [container properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html) provided as a single valid JSON document. This parameter is required if the `type` parameter is `container`.
func (JobDefinitionOutput) ElementType ¶
func (JobDefinitionOutput) ElementType() reflect.Type
func (JobDefinitionOutput) Name ¶
func (o JobDefinitionOutput) Name() pulumi.StringOutput
Specifies the name of the job definition.
func (JobDefinitionOutput) NodeProperties ¶ added in v6.8.0
func (o JobDefinitionOutput) NodeProperties() pulumi.StringPtrOutput
A valid [node properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html) provided as a single valid JSON document. This parameter is required if the `type` parameter is `multinode`.
func (JobDefinitionOutput) Parameters ¶
func (o JobDefinitionOutput) Parameters() pulumi.StringMapOutput
Specifies the parameter substitution placeholders to set in the job definition.
func (JobDefinitionOutput) PlatformCapabilities ¶
func (o JobDefinitionOutput) PlatformCapabilities() pulumi.StringArrayOutput
The platform capabilities required by the job definition. If no value is specified, it defaults to `EC2`. To run the job on Fargate resources, specify `FARGATE`.
func (JobDefinitionOutput) PropagateTags ¶
func (o JobDefinitionOutput) PropagateTags() pulumi.BoolPtrOutput
Specifies whether to propagate the tags from the job definition to the corresponding Amazon ECS task. Default is `false`.
func (JobDefinitionOutput) RetryStrategy ¶
func (o JobDefinitionOutput) RetryStrategy() JobDefinitionRetryStrategyPtrOutput
Specifies the retry strategy to use for failed jobs that are submitted with this job definition. Maximum number of `retryStrategy` is `1`. Defined below.
func (JobDefinitionOutput) Revision ¶
func (o JobDefinitionOutput) Revision() pulumi.IntOutput
The revision of the job definition.
func (JobDefinitionOutput) Tags ¶
func (o JobDefinitionOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (JobDefinitionOutput) TagsAll
deprecated
func (o JobDefinitionOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (JobDefinitionOutput) Timeout ¶
func (o JobDefinitionOutput) Timeout() JobDefinitionTimeoutPtrOutput
Specifies the timeout for jobs so that if a job runs longer, AWS Batch terminates the job. Maximum number of `timeout` is `1`. Defined below.
func (JobDefinitionOutput) ToJobDefinitionOutput ¶
func (o JobDefinitionOutput) ToJobDefinitionOutput() JobDefinitionOutput
func (JobDefinitionOutput) ToJobDefinitionOutputWithContext ¶
func (o JobDefinitionOutput) ToJobDefinitionOutputWithContext(ctx context.Context) JobDefinitionOutput
func (JobDefinitionOutput) Type ¶
func (o JobDefinitionOutput) Type() pulumi.StringOutput
The type of job definition. Must be `container` or `multinode`.
The following arguments are optional:
type JobDefinitionRetryStrategy ¶
type JobDefinitionRetryStrategy struct { // The number of times to move a job to the `RUNNABLE` status. You may specify between `1` and `10` attempts. Attempts *int `pulumi:"attempts"` // The evaluate on exit conditions under which the job should be retried or failed. If this parameter is specified, then the `attempts` parameter must also be specified. You may specify up to 5 configuration blocks. EvaluateOnExits []JobDefinitionRetryStrategyEvaluateOnExit `pulumi:"evaluateOnExits"` }
type JobDefinitionRetryStrategyArgs ¶
type JobDefinitionRetryStrategyArgs struct { // The number of times to move a job to the `RUNNABLE` status. You may specify between `1` and `10` attempts. Attempts pulumi.IntPtrInput `pulumi:"attempts"` // The evaluate on exit conditions under which the job should be retried or failed. If this parameter is specified, then the `attempts` parameter must also be specified. You may specify up to 5 configuration blocks. EvaluateOnExits JobDefinitionRetryStrategyEvaluateOnExitArrayInput `pulumi:"evaluateOnExits"` }
func (JobDefinitionRetryStrategyArgs) ElementType ¶
func (JobDefinitionRetryStrategyArgs) ElementType() reflect.Type
func (JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyOutput ¶
func (i JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyOutput() JobDefinitionRetryStrategyOutput
func (JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyOutputWithContext ¶
func (i JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyOutput
func (JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyPtrOutput ¶
func (i JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyPtrOutput() JobDefinitionRetryStrategyPtrOutput
func (JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyPtrOutputWithContext ¶
func (i JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyPtrOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyPtrOutput
type JobDefinitionRetryStrategyEvaluateOnExit ¶
type JobDefinitionRetryStrategyEvaluateOnExit struct { // Specifies the action to take if all of the specified conditions are met. The values are not case sensitive. Valid values: `RETRY`, `EXIT`. Action string `pulumi:"action"` // A glob pattern to match against the decimal representation of the exit code returned for a job. OnExitCode *string `pulumi:"onExitCode"` // A glob pattern to match against the reason returned for a job. OnReason *string `pulumi:"onReason"` // A glob pattern to match against the status reason returned for a job. OnStatusReason *string `pulumi:"onStatusReason"` }
type JobDefinitionRetryStrategyEvaluateOnExitArgs ¶
type JobDefinitionRetryStrategyEvaluateOnExitArgs struct { // Specifies the action to take if all of the specified conditions are met. The values are not case sensitive. Valid values: `RETRY`, `EXIT`. Action pulumi.StringInput `pulumi:"action"` // A glob pattern to match against the decimal representation of the exit code returned for a job. OnExitCode pulumi.StringPtrInput `pulumi:"onExitCode"` // A glob pattern to match against the reason returned for a job. OnReason pulumi.StringPtrInput `pulumi:"onReason"` // A glob pattern to match against the status reason returned for a job. OnStatusReason pulumi.StringPtrInput `pulumi:"onStatusReason"` }
func (JobDefinitionRetryStrategyEvaluateOnExitArgs) ElementType ¶
func (JobDefinitionRetryStrategyEvaluateOnExitArgs) ElementType() reflect.Type
func (JobDefinitionRetryStrategyEvaluateOnExitArgs) ToJobDefinitionRetryStrategyEvaluateOnExitOutput ¶
func (i JobDefinitionRetryStrategyEvaluateOnExitArgs) ToJobDefinitionRetryStrategyEvaluateOnExitOutput() JobDefinitionRetryStrategyEvaluateOnExitOutput
func (JobDefinitionRetryStrategyEvaluateOnExitArgs) ToJobDefinitionRetryStrategyEvaluateOnExitOutputWithContext ¶
func (i JobDefinitionRetryStrategyEvaluateOnExitArgs) ToJobDefinitionRetryStrategyEvaluateOnExitOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyEvaluateOnExitOutput
type JobDefinitionRetryStrategyEvaluateOnExitArray ¶
type JobDefinitionRetryStrategyEvaluateOnExitArray []JobDefinitionRetryStrategyEvaluateOnExitInput
func (JobDefinitionRetryStrategyEvaluateOnExitArray) ElementType ¶
func (JobDefinitionRetryStrategyEvaluateOnExitArray) ElementType() reflect.Type
func (JobDefinitionRetryStrategyEvaluateOnExitArray) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutput ¶
func (i JobDefinitionRetryStrategyEvaluateOnExitArray) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutput() JobDefinitionRetryStrategyEvaluateOnExitArrayOutput
func (JobDefinitionRetryStrategyEvaluateOnExitArray) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutputWithContext ¶
func (i JobDefinitionRetryStrategyEvaluateOnExitArray) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyEvaluateOnExitArrayOutput
type JobDefinitionRetryStrategyEvaluateOnExitArrayInput ¶
type JobDefinitionRetryStrategyEvaluateOnExitArrayInput interface { pulumi.Input ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutput() JobDefinitionRetryStrategyEvaluateOnExitArrayOutput ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutputWithContext(context.Context) JobDefinitionRetryStrategyEvaluateOnExitArrayOutput }
JobDefinitionRetryStrategyEvaluateOnExitArrayInput is an input type that accepts JobDefinitionRetryStrategyEvaluateOnExitArray and JobDefinitionRetryStrategyEvaluateOnExitArrayOutput values. You can construct a concrete instance of `JobDefinitionRetryStrategyEvaluateOnExitArrayInput` via:
JobDefinitionRetryStrategyEvaluateOnExitArray{ JobDefinitionRetryStrategyEvaluateOnExitArgs{...} }
type JobDefinitionRetryStrategyEvaluateOnExitArrayOutput ¶
type JobDefinitionRetryStrategyEvaluateOnExitArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionRetryStrategyEvaluateOnExitArrayOutput) ElementType ¶
func (JobDefinitionRetryStrategyEvaluateOnExitArrayOutput) ElementType() reflect.Type
func (JobDefinitionRetryStrategyEvaluateOnExitArrayOutput) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutput ¶
func (o JobDefinitionRetryStrategyEvaluateOnExitArrayOutput) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutput() JobDefinitionRetryStrategyEvaluateOnExitArrayOutput
func (JobDefinitionRetryStrategyEvaluateOnExitArrayOutput) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutputWithContext ¶
func (o JobDefinitionRetryStrategyEvaluateOnExitArrayOutput) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyEvaluateOnExitArrayOutput
type JobDefinitionRetryStrategyEvaluateOnExitInput ¶
type JobDefinitionRetryStrategyEvaluateOnExitInput interface { pulumi.Input ToJobDefinitionRetryStrategyEvaluateOnExitOutput() JobDefinitionRetryStrategyEvaluateOnExitOutput ToJobDefinitionRetryStrategyEvaluateOnExitOutputWithContext(context.Context) JobDefinitionRetryStrategyEvaluateOnExitOutput }
JobDefinitionRetryStrategyEvaluateOnExitInput is an input type that accepts JobDefinitionRetryStrategyEvaluateOnExitArgs and JobDefinitionRetryStrategyEvaluateOnExitOutput values. You can construct a concrete instance of `JobDefinitionRetryStrategyEvaluateOnExitInput` via:
JobDefinitionRetryStrategyEvaluateOnExitArgs{...}
type JobDefinitionRetryStrategyEvaluateOnExitOutput ¶
type JobDefinitionRetryStrategyEvaluateOnExitOutput struct{ *pulumi.OutputState }
func (JobDefinitionRetryStrategyEvaluateOnExitOutput) Action ¶
func (o JobDefinitionRetryStrategyEvaluateOnExitOutput) Action() pulumi.StringOutput
Specifies the action to take if all of the specified conditions are met. The values are not case sensitive. Valid values: `RETRY`, `EXIT`.
func (JobDefinitionRetryStrategyEvaluateOnExitOutput) ElementType ¶
func (JobDefinitionRetryStrategyEvaluateOnExitOutput) ElementType() reflect.Type
func (JobDefinitionRetryStrategyEvaluateOnExitOutput) OnExitCode ¶
func (o JobDefinitionRetryStrategyEvaluateOnExitOutput) OnExitCode() pulumi.StringPtrOutput
A glob pattern to match against the decimal representation of the exit code returned for a job.
func (JobDefinitionRetryStrategyEvaluateOnExitOutput) OnReason ¶
func (o JobDefinitionRetryStrategyEvaluateOnExitOutput) OnReason() pulumi.StringPtrOutput
A glob pattern to match against the reason returned for a job.
func (JobDefinitionRetryStrategyEvaluateOnExitOutput) OnStatusReason ¶
func (o JobDefinitionRetryStrategyEvaluateOnExitOutput) OnStatusReason() pulumi.StringPtrOutput
A glob pattern to match against the status reason returned for a job.
func (JobDefinitionRetryStrategyEvaluateOnExitOutput) ToJobDefinitionRetryStrategyEvaluateOnExitOutput ¶
func (o JobDefinitionRetryStrategyEvaluateOnExitOutput) ToJobDefinitionRetryStrategyEvaluateOnExitOutput() JobDefinitionRetryStrategyEvaluateOnExitOutput
func (JobDefinitionRetryStrategyEvaluateOnExitOutput) ToJobDefinitionRetryStrategyEvaluateOnExitOutputWithContext ¶
func (o JobDefinitionRetryStrategyEvaluateOnExitOutput) ToJobDefinitionRetryStrategyEvaluateOnExitOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyEvaluateOnExitOutput
type JobDefinitionRetryStrategyInput ¶
type JobDefinitionRetryStrategyInput interface { pulumi.Input ToJobDefinitionRetryStrategyOutput() JobDefinitionRetryStrategyOutput ToJobDefinitionRetryStrategyOutputWithContext(context.Context) JobDefinitionRetryStrategyOutput }
JobDefinitionRetryStrategyInput is an input type that accepts JobDefinitionRetryStrategyArgs and JobDefinitionRetryStrategyOutput values. You can construct a concrete instance of `JobDefinitionRetryStrategyInput` via:
JobDefinitionRetryStrategyArgs{...}
type JobDefinitionRetryStrategyOutput ¶
type JobDefinitionRetryStrategyOutput struct{ *pulumi.OutputState }
func (JobDefinitionRetryStrategyOutput) Attempts ¶
func (o JobDefinitionRetryStrategyOutput) Attempts() pulumi.IntPtrOutput
The number of times to move a job to the `RUNNABLE` status. You may specify between `1` and `10` attempts.
func (JobDefinitionRetryStrategyOutput) ElementType ¶
func (JobDefinitionRetryStrategyOutput) ElementType() reflect.Type
func (JobDefinitionRetryStrategyOutput) EvaluateOnExits ¶
func (o JobDefinitionRetryStrategyOutput) EvaluateOnExits() JobDefinitionRetryStrategyEvaluateOnExitArrayOutput
The evaluate on exit conditions under which the job should be retried or failed. If this parameter is specified, then the `attempts` parameter must also be specified. You may specify up to 5 configuration blocks.
func (JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyOutput ¶
func (o JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyOutput() JobDefinitionRetryStrategyOutput
func (JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyOutputWithContext ¶
func (o JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyOutput
func (JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyPtrOutput ¶
func (o JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyPtrOutput() JobDefinitionRetryStrategyPtrOutput
func (JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyPtrOutputWithContext ¶
func (o JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyPtrOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyPtrOutput
type JobDefinitionRetryStrategyPtrInput ¶
type JobDefinitionRetryStrategyPtrInput interface { pulumi.Input ToJobDefinitionRetryStrategyPtrOutput() JobDefinitionRetryStrategyPtrOutput ToJobDefinitionRetryStrategyPtrOutputWithContext(context.Context) JobDefinitionRetryStrategyPtrOutput }
JobDefinitionRetryStrategyPtrInput is an input type that accepts JobDefinitionRetryStrategyArgs, JobDefinitionRetryStrategyPtr and JobDefinitionRetryStrategyPtrOutput values. You can construct a concrete instance of `JobDefinitionRetryStrategyPtrInput` via:
JobDefinitionRetryStrategyArgs{...} or: nil
func JobDefinitionRetryStrategyPtr ¶
func JobDefinitionRetryStrategyPtr(v *JobDefinitionRetryStrategyArgs) JobDefinitionRetryStrategyPtrInput
type JobDefinitionRetryStrategyPtrOutput ¶
type JobDefinitionRetryStrategyPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionRetryStrategyPtrOutput) Attempts ¶
func (o JobDefinitionRetryStrategyPtrOutput) Attempts() pulumi.IntPtrOutput
The number of times to move a job to the `RUNNABLE` status. You may specify between `1` and `10` attempts.
func (JobDefinitionRetryStrategyPtrOutput) Elem ¶
func (o JobDefinitionRetryStrategyPtrOutput) Elem() JobDefinitionRetryStrategyOutput
func (JobDefinitionRetryStrategyPtrOutput) ElementType ¶
func (JobDefinitionRetryStrategyPtrOutput) ElementType() reflect.Type
func (JobDefinitionRetryStrategyPtrOutput) EvaluateOnExits ¶
func (o JobDefinitionRetryStrategyPtrOutput) EvaluateOnExits() JobDefinitionRetryStrategyEvaluateOnExitArrayOutput
The evaluate on exit conditions under which the job should be retried or failed. If this parameter is specified, then the `attempts` parameter must also be specified. You may specify up to 5 configuration blocks.
func (JobDefinitionRetryStrategyPtrOutput) ToJobDefinitionRetryStrategyPtrOutput ¶
func (o JobDefinitionRetryStrategyPtrOutput) ToJobDefinitionRetryStrategyPtrOutput() JobDefinitionRetryStrategyPtrOutput
func (JobDefinitionRetryStrategyPtrOutput) ToJobDefinitionRetryStrategyPtrOutputWithContext ¶
func (o JobDefinitionRetryStrategyPtrOutput) ToJobDefinitionRetryStrategyPtrOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyPtrOutput
type JobDefinitionState ¶
type JobDefinitionState struct { // The Amazon Resource Name of the job definition. Arn pulumi.StringPtrInput // A valid [container properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html) // provided as a single valid JSON document. This parameter is required if the `type` parameter is `container`. ContainerProperties pulumi.StringPtrInput // Specifies the name of the job definition. Name pulumi.StringPtrInput // A valid [node properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html) // provided as a single valid JSON document. This parameter is required if the `type` parameter is `multinode`. NodeProperties pulumi.StringPtrInput // Specifies the parameter substitution placeholders to set in the job definition. Parameters pulumi.StringMapInput // The platform capabilities required by the job definition. If no value is specified, it defaults to `EC2`. To run the job on Fargate resources, specify `FARGATE`. PlatformCapabilities pulumi.StringArrayInput // Specifies whether to propagate the tags from the job definition to the corresponding Amazon ECS task. Default is `false`. PropagateTags pulumi.BoolPtrInput // Specifies the retry strategy to use for failed jobs that are submitted with this job definition. // Maximum number of `retryStrategy` is `1`. Defined below. RetryStrategy JobDefinitionRetryStrategyPtrInput // The revision of the job definition. Revision pulumi.IntPtrInput // Key-value map of resource tags. .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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // Specifies the timeout for jobs so that if a job runs longer, AWS Batch terminates the job. Maximum number of `timeout` is `1`. Defined below. Timeout JobDefinitionTimeoutPtrInput // The type of job definition. Must be `container` or `multinode`. // // The following arguments are optional: Type pulumi.StringPtrInput }
func (JobDefinitionState) ElementType ¶
func (JobDefinitionState) ElementType() reflect.Type
type JobDefinitionTimeout ¶
type JobDefinitionTimeout struct { // The time duration in seconds after which AWS Batch terminates your jobs if they have not finished. The minimum value for the timeout is `60` seconds. AttemptDurationSeconds *int `pulumi:"attemptDurationSeconds"` }
type JobDefinitionTimeoutArgs ¶
type JobDefinitionTimeoutArgs struct { // The time duration in seconds after which AWS Batch terminates your jobs if they have not finished. The minimum value for the timeout is `60` seconds. AttemptDurationSeconds pulumi.IntPtrInput `pulumi:"attemptDurationSeconds"` }
func (JobDefinitionTimeoutArgs) ElementType ¶
func (JobDefinitionTimeoutArgs) ElementType() reflect.Type
func (JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutOutput ¶
func (i JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutOutput() JobDefinitionTimeoutOutput
func (JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutOutputWithContext ¶
func (i JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutOutputWithContext(ctx context.Context) JobDefinitionTimeoutOutput
func (JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutPtrOutput ¶
func (i JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutPtrOutput() JobDefinitionTimeoutPtrOutput
func (JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutPtrOutputWithContext ¶
func (i JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutPtrOutputWithContext(ctx context.Context) JobDefinitionTimeoutPtrOutput
type JobDefinitionTimeoutInput ¶
type JobDefinitionTimeoutInput interface { pulumi.Input ToJobDefinitionTimeoutOutput() JobDefinitionTimeoutOutput ToJobDefinitionTimeoutOutputWithContext(context.Context) JobDefinitionTimeoutOutput }
JobDefinitionTimeoutInput is an input type that accepts JobDefinitionTimeoutArgs and JobDefinitionTimeoutOutput values. You can construct a concrete instance of `JobDefinitionTimeoutInput` via:
JobDefinitionTimeoutArgs{...}
type JobDefinitionTimeoutOutput ¶
type JobDefinitionTimeoutOutput struct{ *pulumi.OutputState }
func (JobDefinitionTimeoutOutput) AttemptDurationSeconds ¶
func (o JobDefinitionTimeoutOutput) AttemptDurationSeconds() pulumi.IntPtrOutput
The time duration in seconds after which AWS Batch terminates your jobs if they have not finished. The minimum value for the timeout is `60` seconds.
func (JobDefinitionTimeoutOutput) ElementType ¶
func (JobDefinitionTimeoutOutput) ElementType() reflect.Type
func (JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutOutput ¶
func (o JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutOutput() JobDefinitionTimeoutOutput
func (JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutOutputWithContext ¶
func (o JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutOutputWithContext(ctx context.Context) JobDefinitionTimeoutOutput
func (JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutPtrOutput ¶
func (o JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutPtrOutput() JobDefinitionTimeoutPtrOutput
func (JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutPtrOutputWithContext ¶
func (o JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutPtrOutputWithContext(ctx context.Context) JobDefinitionTimeoutPtrOutput
type JobDefinitionTimeoutPtrInput ¶
type JobDefinitionTimeoutPtrInput interface { pulumi.Input ToJobDefinitionTimeoutPtrOutput() JobDefinitionTimeoutPtrOutput ToJobDefinitionTimeoutPtrOutputWithContext(context.Context) JobDefinitionTimeoutPtrOutput }
JobDefinitionTimeoutPtrInput is an input type that accepts JobDefinitionTimeoutArgs, JobDefinitionTimeoutPtr and JobDefinitionTimeoutPtrOutput values. You can construct a concrete instance of `JobDefinitionTimeoutPtrInput` via:
JobDefinitionTimeoutArgs{...} or: nil
func JobDefinitionTimeoutPtr ¶
func JobDefinitionTimeoutPtr(v *JobDefinitionTimeoutArgs) JobDefinitionTimeoutPtrInput
type JobDefinitionTimeoutPtrOutput ¶
type JobDefinitionTimeoutPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionTimeoutPtrOutput) AttemptDurationSeconds ¶
func (o JobDefinitionTimeoutPtrOutput) AttemptDurationSeconds() pulumi.IntPtrOutput
The time duration in seconds after which AWS Batch terminates your jobs if they have not finished. The minimum value for the timeout is `60` seconds.
func (JobDefinitionTimeoutPtrOutput) Elem ¶
func (o JobDefinitionTimeoutPtrOutput) Elem() JobDefinitionTimeoutOutput
func (JobDefinitionTimeoutPtrOutput) ElementType ¶
func (JobDefinitionTimeoutPtrOutput) ElementType() reflect.Type
func (JobDefinitionTimeoutPtrOutput) ToJobDefinitionTimeoutPtrOutput ¶
func (o JobDefinitionTimeoutPtrOutput) ToJobDefinitionTimeoutPtrOutput() JobDefinitionTimeoutPtrOutput
func (JobDefinitionTimeoutPtrOutput) ToJobDefinitionTimeoutPtrOutputWithContext ¶
func (o JobDefinitionTimeoutPtrOutput) ToJobDefinitionTimeoutPtrOutputWithContext(ctx context.Context) JobDefinitionTimeoutPtrOutput
type JobQueue ¶
type JobQueue struct { pulumi.CustomResourceState // The Amazon Resource Name of the job queue. Arn pulumi.StringOutput `pulumi:"arn"` // List of compute environment ARNs mapped to a job queue. // The position of the compute environments in the list will dictate the order. ComputeEnvironments pulumi.StringArrayOutput `pulumi:"computeEnvironments"` // Specifies the name of the job queue. Name pulumi.StringOutput `pulumi:"name"` // The priority of the job queue. Job queues with a higher priority // are evaluated first when associated with the same compute environment. Priority pulumi.IntOutput `pulumi:"priority"` // The ARN of the fair share scheduling policy. If this parameter is specified, the job queue uses a fair share scheduling policy. If this parameter isn't specified, the job queue uses a first in, first out (FIFO) scheduling policy. After a job queue is created, you can replace but can't remove the fair share scheduling policy. SchedulingPolicyArn pulumi.StringPtrOutput `pulumi:"schedulingPolicyArn"` // The state of the job queue. Must be one of: `ENABLED` or `DISABLED` State pulumi.StringOutput `pulumi:"state"` // Key-value map of resource tags. .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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` Timeouts JobQueueTimeoutsPtrOutput `pulumi:"timeouts"` }
Provides a Batch Job Queue resource.
## Example Usage ### Basic Job Queue
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := batch.NewJobQueue(ctx, "testQueue", &batch.JobQueueArgs{ State: pulumi.String("ENABLED"), Priority: pulumi.Int(1), ComputeEnvironments: pulumi.StringArray{ aws_batch_compute_environment.Test_environment_1.Arn, aws_batch_compute_environment.Test_environment_2.Arn, }, }) if err != nil { return err } return nil }) }
``` ### Job Queue with a fair share scheduling policy
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleSchedulingPolicy, err := batch.NewSchedulingPolicy(ctx, "exampleSchedulingPolicy", &batch.SchedulingPolicyArgs{ FairSharePolicy: &batch.SchedulingPolicyFairSharePolicyArgs{ ComputeReservation: pulumi.Int(1), ShareDecaySeconds: pulumi.Int(3600), ShareDistributions: batch.SchedulingPolicyFairSharePolicyShareDistributionArray{ &batch.SchedulingPolicyFairSharePolicyShareDistributionArgs{ ShareIdentifier: pulumi.String("A1*"), WeightFactor: pulumi.Float64(0.1), }, }, }, }) if err != nil { return err } _, err = batch.NewJobQueue(ctx, "exampleJobQueue", &batch.JobQueueArgs{ SchedulingPolicyArn: exampleSchedulingPolicy.Arn, State: pulumi.String("ENABLED"), Priority: pulumi.Int(1), ComputeEnvironments: pulumi.StringArray{ aws_batch_compute_environment.Test_environment_1.Arn, aws_batch_compute_environment.Test_environment_2.Arn, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Batch Job Queue using the `arn`. For example:
```sh
$ pulumi import aws:batch/jobQueue:JobQueue test_queue arn:aws:batch:us-east-1:123456789012:job-queue/sample
```
func GetJobQueue ¶
func GetJobQueue(ctx *pulumi.Context, name string, id pulumi.IDInput, state *JobQueueState, opts ...pulumi.ResourceOption) (*JobQueue, error)
GetJobQueue gets an existing JobQueue 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 NewJobQueue ¶
func NewJobQueue(ctx *pulumi.Context, name string, args *JobQueueArgs, opts ...pulumi.ResourceOption) (*JobQueue, error)
NewJobQueue registers a new resource with the given unique name, arguments, and options.
func (*JobQueue) ElementType ¶
func (*JobQueue) ToJobQueueOutput ¶
func (i *JobQueue) ToJobQueueOutput() JobQueueOutput
func (*JobQueue) ToJobQueueOutputWithContext ¶
func (i *JobQueue) ToJobQueueOutputWithContext(ctx context.Context) JobQueueOutput
type JobQueueArgs ¶
type JobQueueArgs struct { // List of compute environment ARNs mapped to a job queue. // The position of the compute environments in the list will dictate the order. ComputeEnvironments pulumi.StringArrayInput // Specifies the name of the job queue. Name pulumi.StringPtrInput // The priority of the job queue. Job queues with a higher priority // are evaluated first when associated with the same compute environment. Priority pulumi.IntInput // The ARN of the fair share scheduling policy. If this parameter is specified, the job queue uses a fair share scheduling policy. If this parameter isn't specified, the job queue uses a first in, first out (FIFO) scheduling policy. After a job queue is created, you can replace but can't remove the fair share scheduling policy. SchedulingPolicyArn pulumi.StringPtrInput // The state of the job queue. Must be one of: `ENABLED` or `DISABLED` State pulumi.StringInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput Timeouts JobQueueTimeoutsPtrInput }
The set of arguments for constructing a JobQueue resource.
func (JobQueueArgs) ElementType ¶
func (JobQueueArgs) ElementType() reflect.Type
type JobQueueArray ¶
type JobQueueArray []JobQueueInput
func (JobQueueArray) ElementType ¶
func (JobQueueArray) ElementType() reflect.Type
func (JobQueueArray) ToJobQueueArrayOutput ¶
func (i JobQueueArray) ToJobQueueArrayOutput() JobQueueArrayOutput
func (JobQueueArray) ToJobQueueArrayOutputWithContext ¶
func (i JobQueueArray) ToJobQueueArrayOutputWithContext(ctx context.Context) JobQueueArrayOutput
type JobQueueArrayInput ¶
type JobQueueArrayInput interface { pulumi.Input ToJobQueueArrayOutput() JobQueueArrayOutput ToJobQueueArrayOutputWithContext(context.Context) JobQueueArrayOutput }
JobQueueArrayInput is an input type that accepts JobQueueArray and JobQueueArrayOutput values. You can construct a concrete instance of `JobQueueArrayInput` via:
JobQueueArray{ JobQueueArgs{...} }
type JobQueueArrayOutput ¶
type JobQueueArrayOutput struct{ *pulumi.OutputState }
func (JobQueueArrayOutput) ElementType ¶
func (JobQueueArrayOutput) ElementType() reflect.Type
func (JobQueueArrayOutput) Index ¶
func (o JobQueueArrayOutput) Index(i pulumi.IntInput) JobQueueOutput
func (JobQueueArrayOutput) ToJobQueueArrayOutput ¶
func (o JobQueueArrayOutput) ToJobQueueArrayOutput() JobQueueArrayOutput
func (JobQueueArrayOutput) ToJobQueueArrayOutputWithContext ¶
func (o JobQueueArrayOutput) ToJobQueueArrayOutputWithContext(ctx context.Context) JobQueueArrayOutput
type JobQueueInput ¶
type JobQueueInput interface { pulumi.Input ToJobQueueOutput() JobQueueOutput ToJobQueueOutputWithContext(ctx context.Context) JobQueueOutput }
type JobQueueMap ¶
type JobQueueMap map[string]JobQueueInput
func (JobQueueMap) ElementType ¶
func (JobQueueMap) ElementType() reflect.Type
func (JobQueueMap) ToJobQueueMapOutput ¶
func (i JobQueueMap) ToJobQueueMapOutput() JobQueueMapOutput
func (JobQueueMap) ToJobQueueMapOutputWithContext ¶
func (i JobQueueMap) ToJobQueueMapOutputWithContext(ctx context.Context) JobQueueMapOutput
type JobQueueMapInput ¶
type JobQueueMapInput interface { pulumi.Input ToJobQueueMapOutput() JobQueueMapOutput ToJobQueueMapOutputWithContext(context.Context) JobQueueMapOutput }
JobQueueMapInput is an input type that accepts JobQueueMap and JobQueueMapOutput values. You can construct a concrete instance of `JobQueueMapInput` via:
JobQueueMap{ "key": JobQueueArgs{...} }
type JobQueueMapOutput ¶
type JobQueueMapOutput struct{ *pulumi.OutputState }
func (JobQueueMapOutput) ElementType ¶
func (JobQueueMapOutput) ElementType() reflect.Type
func (JobQueueMapOutput) MapIndex ¶
func (o JobQueueMapOutput) MapIndex(k pulumi.StringInput) JobQueueOutput
func (JobQueueMapOutput) ToJobQueueMapOutput ¶
func (o JobQueueMapOutput) ToJobQueueMapOutput() JobQueueMapOutput
func (JobQueueMapOutput) ToJobQueueMapOutputWithContext ¶
func (o JobQueueMapOutput) ToJobQueueMapOutputWithContext(ctx context.Context) JobQueueMapOutput
type JobQueueOutput ¶
type JobQueueOutput struct{ *pulumi.OutputState }
func (JobQueueOutput) Arn ¶
func (o JobQueueOutput) Arn() pulumi.StringOutput
The Amazon Resource Name of the job queue.
func (JobQueueOutput) ComputeEnvironments ¶
func (o JobQueueOutput) ComputeEnvironments() pulumi.StringArrayOutput
List of compute environment ARNs mapped to a job queue. The position of the compute environments in the list will dictate the order.
func (JobQueueOutput) ElementType ¶
func (JobQueueOutput) ElementType() reflect.Type
func (JobQueueOutput) Name ¶
func (o JobQueueOutput) Name() pulumi.StringOutput
Specifies the name of the job queue.
func (JobQueueOutput) Priority ¶
func (o JobQueueOutput) Priority() pulumi.IntOutput
The priority of the job queue. Job queues with a higher priority are evaluated first when associated with the same compute environment.
func (JobQueueOutput) SchedulingPolicyArn ¶
func (o JobQueueOutput) SchedulingPolicyArn() pulumi.StringPtrOutput
The ARN of the fair share scheduling policy. If this parameter is specified, the job queue uses a fair share scheduling policy. If this parameter isn't specified, the job queue uses a first in, first out (FIFO) scheduling policy. After a job queue is created, you can replace but can't remove the fair share scheduling policy.
func (JobQueueOutput) State ¶
func (o JobQueueOutput) State() pulumi.StringOutput
The state of the job queue. Must be one of: `ENABLED` or `DISABLED`
func (JobQueueOutput) Tags ¶
func (o JobQueueOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (JobQueueOutput) TagsAll
deprecated
func (o JobQueueOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (JobQueueOutput) Timeouts ¶ added in v6.1.0
func (o JobQueueOutput) Timeouts() JobQueueTimeoutsPtrOutput
func (JobQueueOutput) ToJobQueueOutput ¶
func (o JobQueueOutput) ToJobQueueOutput() JobQueueOutput
func (JobQueueOutput) ToJobQueueOutputWithContext ¶
func (o JobQueueOutput) ToJobQueueOutputWithContext(ctx context.Context) JobQueueOutput
type JobQueueState ¶
type JobQueueState struct { // The Amazon Resource Name of the job queue. Arn pulumi.StringPtrInput // List of compute environment ARNs mapped to a job queue. // The position of the compute environments in the list will dictate the order. ComputeEnvironments pulumi.StringArrayInput // Specifies the name of the job queue. Name pulumi.StringPtrInput // The priority of the job queue. Job queues with a higher priority // are evaluated first when associated with the same compute environment. Priority pulumi.IntPtrInput // The ARN of the fair share scheduling policy. If this parameter is specified, the job queue uses a fair share scheduling policy. If this parameter isn't specified, the job queue uses a first in, first out (FIFO) scheduling policy. After a job queue is created, you can replace but can't remove the fair share scheduling policy. SchedulingPolicyArn pulumi.StringPtrInput // The state of the job queue. Must be one of: `ENABLED` or `DISABLED` State pulumi.StringPtrInput // Key-value map of resource tags. .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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput Timeouts JobQueueTimeoutsPtrInput }
func (JobQueueState) ElementType ¶
func (JobQueueState) ElementType() reflect.Type
type JobQueueTimeouts ¶ added in v6.1.0
type JobQueueTimeoutsArgs ¶ added in v6.1.0
type JobQueueTimeoutsArgs struct { Create pulumi.StringPtrInput `pulumi:"create"` Delete pulumi.StringPtrInput `pulumi:"delete"` Update pulumi.StringPtrInput `pulumi:"update"` }
func (JobQueueTimeoutsArgs) ElementType ¶ added in v6.1.0
func (JobQueueTimeoutsArgs) ElementType() reflect.Type
func (JobQueueTimeoutsArgs) ToJobQueueTimeoutsOutput ¶ added in v6.1.0
func (i JobQueueTimeoutsArgs) ToJobQueueTimeoutsOutput() JobQueueTimeoutsOutput
func (JobQueueTimeoutsArgs) ToJobQueueTimeoutsOutputWithContext ¶ added in v6.1.0
func (i JobQueueTimeoutsArgs) ToJobQueueTimeoutsOutputWithContext(ctx context.Context) JobQueueTimeoutsOutput
func (JobQueueTimeoutsArgs) ToJobQueueTimeoutsPtrOutput ¶ added in v6.1.0
func (i JobQueueTimeoutsArgs) ToJobQueueTimeoutsPtrOutput() JobQueueTimeoutsPtrOutput
func (JobQueueTimeoutsArgs) ToJobQueueTimeoutsPtrOutputWithContext ¶ added in v6.1.0
func (i JobQueueTimeoutsArgs) ToJobQueueTimeoutsPtrOutputWithContext(ctx context.Context) JobQueueTimeoutsPtrOutput
type JobQueueTimeoutsInput ¶ added in v6.1.0
type JobQueueTimeoutsInput interface { pulumi.Input ToJobQueueTimeoutsOutput() JobQueueTimeoutsOutput ToJobQueueTimeoutsOutputWithContext(context.Context) JobQueueTimeoutsOutput }
JobQueueTimeoutsInput is an input type that accepts JobQueueTimeoutsArgs and JobQueueTimeoutsOutput values. You can construct a concrete instance of `JobQueueTimeoutsInput` via:
JobQueueTimeoutsArgs{...}
type JobQueueTimeoutsOutput ¶ added in v6.1.0
type JobQueueTimeoutsOutput struct{ *pulumi.OutputState }
func (JobQueueTimeoutsOutput) Create ¶ added in v6.1.0
func (o JobQueueTimeoutsOutput) Create() pulumi.StringPtrOutput
func (JobQueueTimeoutsOutput) Delete ¶ added in v6.1.0
func (o JobQueueTimeoutsOutput) Delete() pulumi.StringPtrOutput
func (JobQueueTimeoutsOutput) ElementType ¶ added in v6.1.0
func (JobQueueTimeoutsOutput) ElementType() reflect.Type
func (JobQueueTimeoutsOutput) ToJobQueueTimeoutsOutput ¶ added in v6.1.0
func (o JobQueueTimeoutsOutput) ToJobQueueTimeoutsOutput() JobQueueTimeoutsOutput
func (JobQueueTimeoutsOutput) ToJobQueueTimeoutsOutputWithContext ¶ added in v6.1.0
func (o JobQueueTimeoutsOutput) ToJobQueueTimeoutsOutputWithContext(ctx context.Context) JobQueueTimeoutsOutput
func (JobQueueTimeoutsOutput) ToJobQueueTimeoutsPtrOutput ¶ added in v6.1.0
func (o JobQueueTimeoutsOutput) ToJobQueueTimeoutsPtrOutput() JobQueueTimeoutsPtrOutput
func (JobQueueTimeoutsOutput) ToJobQueueTimeoutsPtrOutputWithContext ¶ added in v6.1.0
func (o JobQueueTimeoutsOutput) ToJobQueueTimeoutsPtrOutputWithContext(ctx context.Context) JobQueueTimeoutsPtrOutput
func (JobQueueTimeoutsOutput) Update ¶ added in v6.1.0
func (o JobQueueTimeoutsOutput) Update() pulumi.StringPtrOutput
type JobQueueTimeoutsPtrInput ¶ added in v6.1.0
type JobQueueTimeoutsPtrInput interface { pulumi.Input ToJobQueueTimeoutsPtrOutput() JobQueueTimeoutsPtrOutput ToJobQueueTimeoutsPtrOutputWithContext(context.Context) JobQueueTimeoutsPtrOutput }
JobQueueTimeoutsPtrInput is an input type that accepts JobQueueTimeoutsArgs, JobQueueTimeoutsPtr and JobQueueTimeoutsPtrOutput values. You can construct a concrete instance of `JobQueueTimeoutsPtrInput` via:
JobQueueTimeoutsArgs{...} or: nil
func JobQueueTimeoutsPtr ¶ added in v6.1.0
func JobQueueTimeoutsPtr(v *JobQueueTimeoutsArgs) JobQueueTimeoutsPtrInput
type JobQueueTimeoutsPtrOutput ¶ added in v6.1.0
type JobQueueTimeoutsPtrOutput struct{ *pulumi.OutputState }
func (JobQueueTimeoutsPtrOutput) Create ¶ added in v6.1.0
func (o JobQueueTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
func (JobQueueTimeoutsPtrOutput) Delete ¶ added in v6.1.0
func (o JobQueueTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput
func (JobQueueTimeoutsPtrOutput) Elem ¶ added in v6.1.0
func (o JobQueueTimeoutsPtrOutput) Elem() JobQueueTimeoutsOutput
func (JobQueueTimeoutsPtrOutput) ElementType ¶ added in v6.1.0
func (JobQueueTimeoutsPtrOutput) ElementType() reflect.Type
func (JobQueueTimeoutsPtrOutput) ToJobQueueTimeoutsPtrOutput ¶ added in v6.1.0
func (o JobQueueTimeoutsPtrOutput) ToJobQueueTimeoutsPtrOutput() JobQueueTimeoutsPtrOutput
func (JobQueueTimeoutsPtrOutput) ToJobQueueTimeoutsPtrOutputWithContext ¶ added in v6.1.0
func (o JobQueueTimeoutsPtrOutput) ToJobQueueTimeoutsPtrOutputWithContext(ctx context.Context) JobQueueTimeoutsPtrOutput
func (JobQueueTimeoutsPtrOutput) Update ¶ added in v6.1.0
func (o JobQueueTimeoutsPtrOutput) Update() pulumi.StringPtrOutput
type LookupComputeEnvironmentArgs ¶
type LookupComputeEnvironmentArgs struct { // Name of the Batch Compute Environment ComputeEnvironmentName string `pulumi:"computeEnvironmentName"` // Key-value map of resource tags Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getComputeEnvironment.
type LookupComputeEnvironmentOutputArgs ¶
type LookupComputeEnvironmentOutputArgs struct { // Name of the Batch Compute Environment ComputeEnvironmentName pulumi.StringInput `pulumi:"computeEnvironmentName"` // Key-value map of resource tags Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getComputeEnvironment.
func (LookupComputeEnvironmentOutputArgs) ElementType ¶
func (LookupComputeEnvironmentOutputArgs) ElementType() reflect.Type
type LookupComputeEnvironmentResult ¶
type LookupComputeEnvironmentResult struct { // ARN of the compute environment. Arn string `pulumi:"arn"` ComputeEnvironmentName string `pulumi:"computeEnvironmentName"` // ARN of the underlying Amazon ECS cluster used by the compute environment. EcsClusterArn string `pulumi:"ecsClusterArn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // ARN of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. ServiceRole string `pulumi:"serviceRole"` // State of the compute environment (for example, `ENABLED` or `DISABLED`). If the state is `ENABLED`, then the compute environment accepts jobs from a queue and can scale out automatically based on queues. State string `pulumi:"state"` // Current status of the compute environment (for example, `CREATING` or `VALID`). Status string `pulumi:"status"` // Short, human-readable string to provide additional details about the current status of the compute environment. StatusReason string `pulumi:"statusReason"` // Key-value map of resource tags Tags map[string]string `pulumi:"tags"` // Type of the compute environment (for example, `MANAGED` or `UNMANAGED`). Type string `pulumi:"type"` }
A collection of values returned by getComputeEnvironment.
func LookupComputeEnvironment ¶
func LookupComputeEnvironment(ctx *pulumi.Context, args *LookupComputeEnvironmentArgs, opts ...pulumi.InvokeOption) (*LookupComputeEnvironmentResult, error)
The Batch Compute Environment data source allows access to details of a specific compute environment within AWS Batch.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := batch.LookupComputeEnvironment(ctx, &batch.LookupComputeEnvironmentArgs{ ComputeEnvironmentName: "batch-mongo-production", }, nil) if err != nil { return err } return nil }) }
```
type LookupComputeEnvironmentResultOutput ¶
type LookupComputeEnvironmentResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getComputeEnvironment.
func LookupComputeEnvironmentOutput ¶
func LookupComputeEnvironmentOutput(ctx *pulumi.Context, args LookupComputeEnvironmentOutputArgs, opts ...pulumi.InvokeOption) LookupComputeEnvironmentResultOutput
func (LookupComputeEnvironmentResultOutput) Arn ¶
func (o LookupComputeEnvironmentResultOutput) Arn() pulumi.StringOutput
ARN of the compute environment.
func (LookupComputeEnvironmentResultOutput) ComputeEnvironmentName ¶
func (o LookupComputeEnvironmentResultOutput) ComputeEnvironmentName() pulumi.StringOutput
func (LookupComputeEnvironmentResultOutput) EcsClusterArn ¶
func (o LookupComputeEnvironmentResultOutput) EcsClusterArn() pulumi.StringOutput
ARN of the underlying Amazon ECS cluster used by the compute environment.
func (LookupComputeEnvironmentResultOutput) ElementType ¶
func (LookupComputeEnvironmentResultOutput) ElementType() reflect.Type
func (LookupComputeEnvironmentResultOutput) Id ¶
func (o LookupComputeEnvironmentResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupComputeEnvironmentResultOutput) ServiceRole ¶
func (o LookupComputeEnvironmentResultOutput) ServiceRole() pulumi.StringOutput
ARN of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.
func (LookupComputeEnvironmentResultOutput) State ¶
func (o LookupComputeEnvironmentResultOutput) State() pulumi.StringOutput
State of the compute environment (for example, `ENABLED` or `DISABLED`). If the state is `ENABLED`, then the compute environment accepts jobs from a queue and can scale out automatically based on queues.
func (LookupComputeEnvironmentResultOutput) Status ¶
func (o LookupComputeEnvironmentResultOutput) Status() pulumi.StringOutput
Current status of the compute environment (for example, `CREATING` or `VALID`).
func (LookupComputeEnvironmentResultOutput) StatusReason ¶
func (o LookupComputeEnvironmentResultOutput) StatusReason() pulumi.StringOutput
Short, human-readable string to provide additional details about the current status of the compute environment.
func (LookupComputeEnvironmentResultOutput) Tags ¶
func (o LookupComputeEnvironmentResultOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags
func (LookupComputeEnvironmentResultOutput) ToLookupComputeEnvironmentResultOutput ¶
func (o LookupComputeEnvironmentResultOutput) ToLookupComputeEnvironmentResultOutput() LookupComputeEnvironmentResultOutput
func (LookupComputeEnvironmentResultOutput) ToLookupComputeEnvironmentResultOutputWithContext ¶
func (o LookupComputeEnvironmentResultOutput) ToLookupComputeEnvironmentResultOutputWithContext(ctx context.Context) LookupComputeEnvironmentResultOutput
func (LookupComputeEnvironmentResultOutput) Type ¶
func (o LookupComputeEnvironmentResultOutput) Type() pulumi.StringOutput
Type of the compute environment (for example, `MANAGED` or `UNMANAGED`).
type LookupJobQueueArgs ¶
type LookupJobQueueArgs struct { // Name of the job queue. Name string `pulumi:"name"` // Key-value map of resource tags Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getJobQueue.
type LookupJobQueueOutputArgs ¶
type LookupJobQueueOutputArgs struct { // Name of the job queue. Name pulumi.StringInput `pulumi:"name"` // Key-value map of resource tags Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getJobQueue.
func (LookupJobQueueOutputArgs) ElementType ¶
func (LookupJobQueueOutputArgs) ElementType() reflect.Type
type LookupJobQueueResult ¶
type LookupJobQueueResult struct { // ARN of the job queue. Arn string `pulumi:"arn"` // The compute environments that are attached to the job queue and the order in // which job placement is preferred. Compute environments are selected for job placement in ascending order. // * `compute_environment_order.#.order` - The order of the compute environment. // * `compute_environment_order.#.compute_environment` - The ARN of the compute environment. ComputeEnvironmentOrders []GetJobQueueComputeEnvironmentOrder `pulumi:"computeEnvironmentOrders"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // Priority of the job queue. Job queues with a higher priority are evaluated first when // associated with the same compute environment. Priority int `pulumi:"priority"` // The ARN of the fair share scheduling policy. If this attribute has a value, the job queue uses a fair share scheduling policy. If this attribute does not have a value, the job queue uses a first in, first out (FIFO) scheduling policy. SchedulingPolicyArn string `pulumi:"schedulingPolicyArn"` // Describes the ability of the queue to accept new jobs (for example, `ENABLED` or `DISABLED`). State string `pulumi:"state"` // Current status of the job queue (for example, `CREATING` or `VALID`). Status string `pulumi:"status"` // Short, human-readable string to provide additional details about the current status // of the job queue. StatusReason string `pulumi:"statusReason"` // Key-value map of resource tags Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getJobQueue.
func LookupJobQueue ¶
func LookupJobQueue(ctx *pulumi.Context, args *LookupJobQueueArgs, opts ...pulumi.InvokeOption) (*LookupJobQueueResult, error)
The Batch Job Queue data source allows access to details of a specific job queue within AWS Batch.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := batch.LookupJobQueue(ctx, &batch.LookupJobQueueArgs{ Name: "tf-test-batch-job-queue", }, nil) if err != nil { return err } return nil }) }
```
type LookupJobQueueResultOutput ¶
type LookupJobQueueResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getJobQueue.
func LookupJobQueueOutput ¶
func LookupJobQueueOutput(ctx *pulumi.Context, args LookupJobQueueOutputArgs, opts ...pulumi.InvokeOption) LookupJobQueueResultOutput
func (LookupJobQueueResultOutput) Arn ¶
func (o LookupJobQueueResultOutput) Arn() pulumi.StringOutput
ARN of the job queue.
func (LookupJobQueueResultOutput) ComputeEnvironmentOrders ¶
func (o LookupJobQueueResultOutput) ComputeEnvironmentOrders() GetJobQueueComputeEnvironmentOrderArrayOutput
The compute environments that are attached to the job queue and the order in which job placement is preferred. Compute environments are selected for job placement in ascending order. * `compute_environment_order.#.order` - The order of the compute environment. * `compute_environment_order.#.compute_environment` - The ARN of the compute environment.
func (LookupJobQueueResultOutput) ElementType ¶
func (LookupJobQueueResultOutput) ElementType() reflect.Type
func (LookupJobQueueResultOutput) Id ¶
func (o LookupJobQueueResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupJobQueueResultOutput) Name ¶
func (o LookupJobQueueResultOutput) Name() pulumi.StringOutput
func (LookupJobQueueResultOutput) Priority ¶
func (o LookupJobQueueResultOutput) Priority() pulumi.IntOutput
Priority of the job queue. Job queues with a higher priority are evaluated first when associated with the same compute environment.
func (LookupJobQueueResultOutput) SchedulingPolicyArn ¶
func (o LookupJobQueueResultOutput) SchedulingPolicyArn() pulumi.StringOutput
The ARN of the fair share scheduling policy. If this attribute has a value, the job queue uses a fair share scheduling policy. If this attribute does not have a value, the job queue uses a first in, first out (FIFO) scheduling policy.
func (LookupJobQueueResultOutput) State ¶
func (o LookupJobQueueResultOutput) State() pulumi.StringOutput
Describes the ability of the queue to accept new jobs (for example, `ENABLED` or `DISABLED`).
func (LookupJobQueueResultOutput) Status ¶
func (o LookupJobQueueResultOutput) Status() pulumi.StringOutput
Current status of the job queue (for example, `CREATING` or `VALID`).
func (LookupJobQueueResultOutput) StatusReason ¶
func (o LookupJobQueueResultOutput) StatusReason() pulumi.StringOutput
Short, human-readable string to provide additional details about the current status of the job queue.
func (LookupJobQueueResultOutput) Tags ¶
func (o LookupJobQueueResultOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags
func (LookupJobQueueResultOutput) ToLookupJobQueueResultOutput ¶
func (o LookupJobQueueResultOutput) ToLookupJobQueueResultOutput() LookupJobQueueResultOutput
func (LookupJobQueueResultOutput) ToLookupJobQueueResultOutputWithContext ¶
func (o LookupJobQueueResultOutput) ToLookupJobQueueResultOutputWithContext(ctx context.Context) LookupJobQueueResultOutput
type LookupSchedulingPolicyArgs ¶
type LookupSchedulingPolicyArgs struct { // ARN of the scheduling policy. Arn string `pulumi:"arn"` // Key-value map of resource tags Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getSchedulingPolicy.
type LookupSchedulingPolicyOutputArgs ¶
type LookupSchedulingPolicyOutputArgs struct { // ARN of the scheduling policy. Arn pulumi.StringInput `pulumi:"arn"` // Key-value map of resource tags Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getSchedulingPolicy.
func (LookupSchedulingPolicyOutputArgs) ElementType ¶
func (LookupSchedulingPolicyOutputArgs) ElementType() reflect.Type
type LookupSchedulingPolicyResult ¶
type LookupSchedulingPolicyResult struct { Arn string `pulumi:"arn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Name of the scheduling policy. Name string `pulumi:"name"` // Key-value map of resource tags Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getSchedulingPolicy.
func LookupSchedulingPolicy ¶
func LookupSchedulingPolicy(ctx *pulumi.Context, args *LookupSchedulingPolicyArgs, opts ...pulumi.InvokeOption) (*LookupSchedulingPolicyResult, error)
The Batch Scheduling Policy data source allows access to details of a specific Scheduling Policy within AWS Batch.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := batch.LookupSchedulingPolicy(ctx, &batch.LookupSchedulingPolicyArgs{ Arn: "arn:aws:batch:us-east-1:012345678910:scheduling-policy/example", }, nil) if err != nil { return err } return nil }) }
```
type LookupSchedulingPolicyResultOutput ¶
type LookupSchedulingPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSchedulingPolicy.
func LookupSchedulingPolicyOutput ¶
func LookupSchedulingPolicyOutput(ctx *pulumi.Context, args LookupSchedulingPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupSchedulingPolicyResultOutput
func (LookupSchedulingPolicyResultOutput) Arn ¶
func (o LookupSchedulingPolicyResultOutput) Arn() pulumi.StringOutput
func (LookupSchedulingPolicyResultOutput) ElementType ¶
func (LookupSchedulingPolicyResultOutput) ElementType() reflect.Type
func (LookupSchedulingPolicyResultOutput) FairSharePolicies ¶
func (o LookupSchedulingPolicyResultOutput) FairSharePolicies() GetSchedulingPolicyFairSharePolicyArrayOutput
func (LookupSchedulingPolicyResultOutput) Id ¶
func (o LookupSchedulingPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupSchedulingPolicyResultOutput) Name ¶
func (o LookupSchedulingPolicyResultOutput) Name() pulumi.StringOutput
Name of the scheduling policy.
func (LookupSchedulingPolicyResultOutput) Tags ¶
func (o LookupSchedulingPolicyResultOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags
func (LookupSchedulingPolicyResultOutput) ToLookupSchedulingPolicyResultOutput ¶
func (o LookupSchedulingPolicyResultOutput) ToLookupSchedulingPolicyResultOutput() LookupSchedulingPolicyResultOutput
func (LookupSchedulingPolicyResultOutput) ToLookupSchedulingPolicyResultOutputWithContext ¶
func (o LookupSchedulingPolicyResultOutput) ToLookupSchedulingPolicyResultOutputWithContext(ctx context.Context) LookupSchedulingPolicyResultOutput
type SchedulingPolicy ¶
type SchedulingPolicy struct { pulumi.CustomResourceState // The Amazon Resource Name of the scheduling policy. Arn pulumi.StringOutput `pulumi:"arn"` // Specifies the name of the scheduling policy. Name pulumi.StringOutput `pulumi:"name"` // Key-value map of resource tags. 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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a Batch Scheduling Policy resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := batch.NewSchedulingPolicy(ctx, "example", &batch.SchedulingPolicyArgs{ FairSharePolicy: &batch.SchedulingPolicyFairSharePolicyArgs{ ComputeReservation: pulumi.Int(1), ShareDecaySeconds: pulumi.Int(3600), ShareDistributions: batch.SchedulingPolicyFairSharePolicyShareDistributionArray{ &batch.SchedulingPolicyFairSharePolicyShareDistributionArgs{ ShareIdentifier: pulumi.String("A1*"), WeightFactor: pulumi.Float64(0.1), }, &batch.SchedulingPolicyFairSharePolicyShareDistributionArgs{ ShareIdentifier: pulumi.String("A2"), WeightFactor: pulumi.Float64(0.2), }, }, }, Tags: pulumi.StringMap{ "Name": pulumi.String("Example Batch Scheduling Policy"), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Batch Scheduling Policy using the `arn`. For example:
```sh
$ pulumi import aws:batch/schedulingPolicy:SchedulingPolicy test_policy arn:aws:batch:us-east-1:123456789012:scheduling-policy/sample
```
func GetSchedulingPolicy ¶
func GetSchedulingPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SchedulingPolicyState, opts ...pulumi.ResourceOption) (*SchedulingPolicy, error)
GetSchedulingPolicy gets an existing SchedulingPolicy 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 NewSchedulingPolicy ¶
func NewSchedulingPolicy(ctx *pulumi.Context, name string, args *SchedulingPolicyArgs, opts ...pulumi.ResourceOption) (*SchedulingPolicy, error)
NewSchedulingPolicy registers a new resource with the given unique name, arguments, and options.
func (*SchedulingPolicy) ElementType ¶
func (*SchedulingPolicy) ElementType() reflect.Type
func (*SchedulingPolicy) ToSchedulingPolicyOutput ¶
func (i *SchedulingPolicy) ToSchedulingPolicyOutput() SchedulingPolicyOutput
func (*SchedulingPolicy) ToSchedulingPolicyOutputWithContext ¶
func (i *SchedulingPolicy) ToSchedulingPolicyOutputWithContext(ctx context.Context) SchedulingPolicyOutput
type SchedulingPolicyArgs ¶
type SchedulingPolicyArgs struct { // Specifies the name of the scheduling policy. Name pulumi.StringPtrInput // Key-value map of resource tags. 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 SchedulingPolicy resource.
func (SchedulingPolicyArgs) ElementType ¶
func (SchedulingPolicyArgs) ElementType() reflect.Type
type SchedulingPolicyArray ¶
type SchedulingPolicyArray []SchedulingPolicyInput
func (SchedulingPolicyArray) ElementType ¶
func (SchedulingPolicyArray) ElementType() reflect.Type
func (SchedulingPolicyArray) ToSchedulingPolicyArrayOutput ¶
func (i SchedulingPolicyArray) ToSchedulingPolicyArrayOutput() SchedulingPolicyArrayOutput
func (SchedulingPolicyArray) ToSchedulingPolicyArrayOutputWithContext ¶
func (i SchedulingPolicyArray) ToSchedulingPolicyArrayOutputWithContext(ctx context.Context) SchedulingPolicyArrayOutput
type SchedulingPolicyArrayInput ¶
type SchedulingPolicyArrayInput interface { pulumi.Input ToSchedulingPolicyArrayOutput() SchedulingPolicyArrayOutput ToSchedulingPolicyArrayOutputWithContext(context.Context) SchedulingPolicyArrayOutput }
SchedulingPolicyArrayInput is an input type that accepts SchedulingPolicyArray and SchedulingPolicyArrayOutput values. You can construct a concrete instance of `SchedulingPolicyArrayInput` via:
SchedulingPolicyArray{ SchedulingPolicyArgs{...} }
type SchedulingPolicyArrayOutput ¶
type SchedulingPolicyArrayOutput struct{ *pulumi.OutputState }
func (SchedulingPolicyArrayOutput) ElementType ¶
func (SchedulingPolicyArrayOutput) ElementType() reflect.Type
func (SchedulingPolicyArrayOutput) Index ¶
func (o SchedulingPolicyArrayOutput) Index(i pulumi.IntInput) SchedulingPolicyOutput
func (SchedulingPolicyArrayOutput) ToSchedulingPolicyArrayOutput ¶
func (o SchedulingPolicyArrayOutput) ToSchedulingPolicyArrayOutput() SchedulingPolicyArrayOutput
func (SchedulingPolicyArrayOutput) ToSchedulingPolicyArrayOutputWithContext ¶
func (o SchedulingPolicyArrayOutput) ToSchedulingPolicyArrayOutputWithContext(ctx context.Context) SchedulingPolicyArrayOutput
type SchedulingPolicyFairSharePolicy ¶
type SchedulingPolicyFairSharePolicy struct { // A value used to reserve some of the available maximum vCPU for fair share identifiers that have not yet been used. For more information, see [FairsharePolicy](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html). ShareDistributions []SchedulingPolicyFairSharePolicyShareDistribution `pulumi:"shareDistributions"` }
type SchedulingPolicyFairSharePolicyArgs ¶
type SchedulingPolicyFairSharePolicyArgs struct { // A value used to reserve some of the available maximum vCPU for fair share identifiers that have not yet been used. For more information, see [FairsharePolicy](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html). ShareDistributions SchedulingPolicyFairSharePolicyShareDistributionArrayInput `pulumi:"shareDistributions"` }
func (SchedulingPolicyFairSharePolicyArgs) ElementType ¶
func (SchedulingPolicyFairSharePolicyArgs) ElementType() reflect.Type
func (SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyOutput ¶
func (i SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyOutput() SchedulingPolicyFairSharePolicyOutput
func (SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyOutputWithContext ¶
func (i SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyOutput
func (SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyPtrOutput ¶
func (i SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyPtrOutput() SchedulingPolicyFairSharePolicyPtrOutput
func (SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyPtrOutputWithContext ¶
func (i SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyPtrOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyPtrOutput
type SchedulingPolicyFairSharePolicyInput ¶
SchedulingPolicyFairSharePolicyInput is an input type that accepts SchedulingPolicyFairSharePolicyArgs and SchedulingPolicyFairSharePolicyOutput values. You can construct a concrete instance of `SchedulingPolicyFairSharePolicyInput` via:
SchedulingPolicyFairSharePolicyArgs{...}
type SchedulingPolicyFairSharePolicyOutput ¶
func (SchedulingPolicyFairSharePolicyOutput) ComputeReservation ¶
func (o SchedulingPolicyFairSharePolicyOutput) ComputeReservation() pulumi.IntPtrOutput
A value used to reserve some of the available maximum vCPU for fair share identifiers that have not yet been used. For more information, see [FairsharePolicy](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html).
func (SchedulingPolicyFairSharePolicyOutput) ElementType ¶
func (SchedulingPolicyFairSharePolicyOutput) ElementType() reflect.Type
func (SchedulingPolicyFairSharePolicyOutput) ShareDecaySeconds ¶
func (o SchedulingPolicyFairSharePolicyOutput) ShareDecaySeconds() pulumi.IntPtrOutput
func (SchedulingPolicyFairSharePolicyOutput) ShareDistributions ¶
func (o SchedulingPolicyFairSharePolicyOutput) ShareDistributions() SchedulingPolicyFairSharePolicyShareDistributionArrayOutput
One or more share distribution blocks which define the weights for the fair share identifiers for the fair share policy. For more information, see [FairsharePolicy](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html). The `shareDistribution` block is documented below.
func (SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyOutput ¶
func (o SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyOutput() SchedulingPolicyFairSharePolicyOutput
func (SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyOutputWithContext ¶
func (o SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyOutput
func (SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyPtrOutput ¶
func (o SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyPtrOutput() SchedulingPolicyFairSharePolicyPtrOutput
func (SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyPtrOutputWithContext ¶
func (o SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyPtrOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyPtrOutput
type SchedulingPolicyFairSharePolicyPtrInput ¶
SchedulingPolicyFairSharePolicyPtrInput is an input type that accepts SchedulingPolicyFairSharePolicyArgs, SchedulingPolicyFairSharePolicyPtr and SchedulingPolicyFairSharePolicyPtrOutput values. You can construct a concrete instance of `SchedulingPolicyFairSharePolicyPtrInput` via:
SchedulingPolicyFairSharePolicyArgs{...} or: nil
func SchedulingPolicyFairSharePolicyPtr ¶
func SchedulingPolicyFairSharePolicyPtr(v *SchedulingPolicyFairSharePolicyArgs) SchedulingPolicyFairSharePolicyPtrInput
type SchedulingPolicyFairSharePolicyPtrOutput ¶
func (SchedulingPolicyFairSharePolicyPtrOutput) ComputeReservation ¶
func (o SchedulingPolicyFairSharePolicyPtrOutput) ComputeReservation() pulumi.IntPtrOutput
A value used to reserve some of the available maximum vCPU for fair share identifiers that have not yet been used. For more information, see [FairsharePolicy](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html).
func (SchedulingPolicyFairSharePolicyPtrOutput) ElementType ¶
func (SchedulingPolicyFairSharePolicyPtrOutput) ElementType() reflect.Type
func (SchedulingPolicyFairSharePolicyPtrOutput) ShareDecaySeconds ¶
func (o SchedulingPolicyFairSharePolicyPtrOutput) ShareDecaySeconds() pulumi.IntPtrOutput
func (SchedulingPolicyFairSharePolicyPtrOutput) ShareDistributions ¶
func (o SchedulingPolicyFairSharePolicyPtrOutput) ShareDistributions() SchedulingPolicyFairSharePolicyShareDistributionArrayOutput
One or more share distribution blocks which define the weights for the fair share identifiers for the fair share policy. For more information, see [FairsharePolicy](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html). The `shareDistribution` block is documented below.
func (SchedulingPolicyFairSharePolicyPtrOutput) ToSchedulingPolicyFairSharePolicyPtrOutput ¶
func (o SchedulingPolicyFairSharePolicyPtrOutput) ToSchedulingPolicyFairSharePolicyPtrOutput() SchedulingPolicyFairSharePolicyPtrOutput
func (SchedulingPolicyFairSharePolicyPtrOutput) ToSchedulingPolicyFairSharePolicyPtrOutputWithContext ¶
func (o SchedulingPolicyFairSharePolicyPtrOutput) ToSchedulingPolicyFairSharePolicyPtrOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyPtrOutput
type SchedulingPolicyFairSharePolicyShareDistributionArgs ¶
type SchedulingPolicyFairSharePolicyShareDistributionArgs struct { pulumi.StringInput `pulumi:"shareIdentifier"` WeightFactor pulumi.Float64PtrInput `pulumi:"weightFactor"` }ShareIdentifier
func (SchedulingPolicyFairSharePolicyShareDistributionArgs) ElementType ¶
func (SchedulingPolicyFairSharePolicyShareDistributionArgs) ElementType() reflect.Type
func (SchedulingPolicyFairSharePolicyShareDistributionArgs) ToSchedulingPolicyFairSharePolicyShareDistributionOutput ¶
func (i SchedulingPolicyFairSharePolicyShareDistributionArgs) ToSchedulingPolicyFairSharePolicyShareDistributionOutput() SchedulingPolicyFairSharePolicyShareDistributionOutput
func (SchedulingPolicyFairSharePolicyShareDistributionArgs) ToSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext ¶
func (i SchedulingPolicyFairSharePolicyShareDistributionArgs) ToSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyShareDistributionOutput
type SchedulingPolicyFairSharePolicyShareDistributionArray ¶
type SchedulingPolicyFairSharePolicyShareDistributionArray []SchedulingPolicyFairSharePolicyShareDistributionInput
func (SchedulingPolicyFairSharePolicyShareDistributionArray) ElementType ¶
func (SchedulingPolicyFairSharePolicyShareDistributionArray) ElementType() reflect.Type
func (SchedulingPolicyFairSharePolicyShareDistributionArray) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutput ¶
func (i SchedulingPolicyFairSharePolicyShareDistributionArray) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutput() SchedulingPolicyFairSharePolicyShareDistributionArrayOutput
func (SchedulingPolicyFairSharePolicyShareDistributionArray) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext ¶
func (i SchedulingPolicyFairSharePolicyShareDistributionArray) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyShareDistributionArrayOutput
type SchedulingPolicyFairSharePolicyShareDistributionArrayInput ¶
SchedulingPolicyFairSharePolicyShareDistributionArrayInput is an input type that accepts SchedulingPolicyFairSharePolicyShareDistributionArray and SchedulingPolicyFairSharePolicyShareDistributionArrayOutput values. You can construct a concrete instance of `SchedulingPolicyFairSharePolicyShareDistributionArrayInput` via:
SchedulingPolicyFairSharePolicyShareDistributionArray{ SchedulingPolicyFairSharePolicyShareDistributionArgs{...} }
type SchedulingPolicyFairSharePolicyShareDistributionArrayOutput ¶
func (SchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ElementType ¶
func (SchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ElementType() reflect.Type
func (SchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutput ¶
func (o SchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutput() SchedulingPolicyFairSharePolicyShareDistributionArrayOutput
func (SchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext ¶
func (o SchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyShareDistributionArrayOutput
type SchedulingPolicyFairSharePolicyShareDistributionInput ¶
SchedulingPolicyFairSharePolicyShareDistributionInput is an input type that accepts SchedulingPolicyFairSharePolicyShareDistributionArgs and SchedulingPolicyFairSharePolicyShareDistributionOutput values. You can construct a concrete instance of `SchedulingPolicyFairSharePolicyShareDistributionInput` via:
SchedulingPolicyFairSharePolicyShareDistributionArgs{...}
type SchedulingPolicyFairSharePolicyShareDistributionOutput ¶
func (SchedulingPolicyFairSharePolicyShareDistributionOutput) ElementType ¶
func (SchedulingPolicyFairSharePolicyShareDistributionOutput) ElementType() reflect.Type
func (SchedulingPolicyFairSharePolicyShareDistributionOutput) ShareIdentifier ¶
func (o SchedulingPolicyFairSharePolicyShareDistributionOutput) ShareIdentifier() pulumi.StringOutput
A fair share identifier or fair share identifier prefix. For more information, see [ShareAttributes](https://docs.aws.amazon.com/batch/latest/APIReference/API_ShareAttributes.html).
func (SchedulingPolicyFairSharePolicyShareDistributionOutput) ToSchedulingPolicyFairSharePolicyShareDistributionOutput ¶
func (o SchedulingPolicyFairSharePolicyShareDistributionOutput) ToSchedulingPolicyFairSharePolicyShareDistributionOutput() SchedulingPolicyFairSharePolicyShareDistributionOutput
func (SchedulingPolicyFairSharePolicyShareDistributionOutput) ToSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext ¶
func (o SchedulingPolicyFairSharePolicyShareDistributionOutput) ToSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyShareDistributionOutput
func (SchedulingPolicyFairSharePolicyShareDistributionOutput) WeightFactor ¶
func (o SchedulingPolicyFairSharePolicyShareDistributionOutput) WeightFactor() pulumi.Float64PtrOutput
The weight factor for the fair share identifier. For more information, see [ShareAttributes](https://docs.aws.amazon.com/batch/latest/APIReference/API_ShareAttributes.html).
type SchedulingPolicyInput ¶
type SchedulingPolicyInput interface { pulumi.Input ToSchedulingPolicyOutput() SchedulingPolicyOutput ToSchedulingPolicyOutputWithContext(ctx context.Context) SchedulingPolicyOutput }
type SchedulingPolicyMap ¶
type SchedulingPolicyMap map[string]SchedulingPolicyInput
func (SchedulingPolicyMap) ElementType ¶
func (SchedulingPolicyMap) ElementType() reflect.Type
func (SchedulingPolicyMap) ToSchedulingPolicyMapOutput ¶
func (i SchedulingPolicyMap) ToSchedulingPolicyMapOutput() SchedulingPolicyMapOutput
func (SchedulingPolicyMap) ToSchedulingPolicyMapOutputWithContext ¶
func (i SchedulingPolicyMap) ToSchedulingPolicyMapOutputWithContext(ctx context.Context) SchedulingPolicyMapOutput
type SchedulingPolicyMapInput ¶
type SchedulingPolicyMapInput interface { pulumi.Input ToSchedulingPolicyMapOutput() SchedulingPolicyMapOutput ToSchedulingPolicyMapOutputWithContext(context.Context) SchedulingPolicyMapOutput }
SchedulingPolicyMapInput is an input type that accepts SchedulingPolicyMap and SchedulingPolicyMapOutput values. You can construct a concrete instance of `SchedulingPolicyMapInput` via:
SchedulingPolicyMap{ "key": SchedulingPolicyArgs{...} }
type SchedulingPolicyMapOutput ¶
type SchedulingPolicyMapOutput struct{ *pulumi.OutputState }
func (SchedulingPolicyMapOutput) ElementType ¶
func (SchedulingPolicyMapOutput) ElementType() reflect.Type
func (SchedulingPolicyMapOutput) MapIndex ¶
func (o SchedulingPolicyMapOutput) MapIndex(k pulumi.StringInput) SchedulingPolicyOutput
func (SchedulingPolicyMapOutput) ToSchedulingPolicyMapOutput ¶
func (o SchedulingPolicyMapOutput) ToSchedulingPolicyMapOutput() SchedulingPolicyMapOutput
func (SchedulingPolicyMapOutput) ToSchedulingPolicyMapOutputWithContext ¶
func (o SchedulingPolicyMapOutput) ToSchedulingPolicyMapOutputWithContext(ctx context.Context) SchedulingPolicyMapOutput
type SchedulingPolicyOutput ¶
type SchedulingPolicyOutput struct{ *pulumi.OutputState }
func (SchedulingPolicyOutput) Arn ¶
func (o SchedulingPolicyOutput) Arn() pulumi.StringOutput
The Amazon Resource Name of the scheduling policy.
func (SchedulingPolicyOutput) ElementType ¶
func (SchedulingPolicyOutput) ElementType() reflect.Type
func (SchedulingPolicyOutput) FairSharePolicy ¶
func (o SchedulingPolicyOutput) FairSharePolicy() SchedulingPolicyFairSharePolicyPtrOutput
func (SchedulingPolicyOutput) Name ¶
func (o SchedulingPolicyOutput) Name() pulumi.StringOutput
Specifies the name of the scheduling policy.
func (SchedulingPolicyOutput) Tags ¶
func (o SchedulingPolicyOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (SchedulingPolicyOutput) TagsAll
deprecated
func (o SchedulingPolicyOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (SchedulingPolicyOutput) ToSchedulingPolicyOutput ¶
func (o SchedulingPolicyOutput) ToSchedulingPolicyOutput() SchedulingPolicyOutput
func (SchedulingPolicyOutput) ToSchedulingPolicyOutputWithContext ¶
func (o SchedulingPolicyOutput) ToSchedulingPolicyOutputWithContext(ctx context.Context) SchedulingPolicyOutput
type SchedulingPolicyState ¶
type SchedulingPolicyState struct { // The Amazon Resource Name of the scheduling policy. Arn pulumi.StringPtrInput // Specifies the name of the scheduling policy. Name pulumi.StringPtrInput // Key-value map of resource tags. 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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (SchedulingPolicyState) ElementType ¶
func (SchedulingPolicyState) ElementType() reflect.Type