Documentation
¶
Index ¶
- Constants
- type ComputeEnvironment
- type ComputeEnvironmentArgs
- 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 ComputeEnvironmentComputeResourcesInput
- type ComputeEnvironmentComputeResourcesOutput
- func (o ComputeEnvironmentComputeResourcesOutput) AllocationStrategy() pulumi.StringPtrOutput
- func (o ComputeEnvironmentComputeResourcesOutput) BidPercentage() pulumi.IntPtrOutput
- func (o ComputeEnvironmentComputeResourcesOutput) DesiredvCpus() pulumi.IntPtrOutput
- func (o ComputeEnvironmentComputeResourcesOutput) Ec2Configuration() ComputeEnvironmentEc2ConfigurationObjectArrayOutput
- 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() ComputeEnvironmentLaunchTemplateSpecificationPtrOutput
- 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
- func (o ComputeEnvironmentComputeResourcesOutput) UpdateToLatestImageVersion() pulumi.BoolPtrOutput
- 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) Ec2Configuration() ComputeEnvironmentEc2ConfigurationObjectArrayOutput
- 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() ComputeEnvironmentLaunchTemplateSpecificationPtrOutput
- 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
- func (o ComputeEnvironmentComputeResourcesPtrOutput) UpdateToLatestImageVersion() pulumi.BoolPtrOutput
- type ComputeEnvironmentEc2ConfigurationObject
- type ComputeEnvironmentEc2ConfigurationObjectArgs
- func (ComputeEnvironmentEc2ConfigurationObjectArgs) ElementType() reflect.Type
- func (i ComputeEnvironmentEc2ConfigurationObjectArgs) ToComputeEnvironmentEc2ConfigurationObjectOutput() ComputeEnvironmentEc2ConfigurationObjectOutput
- func (i ComputeEnvironmentEc2ConfigurationObjectArgs) ToComputeEnvironmentEc2ConfigurationObjectOutputWithContext(ctx context.Context) ComputeEnvironmentEc2ConfigurationObjectOutput
- type ComputeEnvironmentEc2ConfigurationObjectArray
- func (ComputeEnvironmentEc2ConfigurationObjectArray) ElementType() reflect.Type
- func (i ComputeEnvironmentEc2ConfigurationObjectArray) ToComputeEnvironmentEc2ConfigurationObjectArrayOutput() ComputeEnvironmentEc2ConfigurationObjectArrayOutput
- func (i ComputeEnvironmentEc2ConfigurationObjectArray) ToComputeEnvironmentEc2ConfigurationObjectArrayOutputWithContext(ctx context.Context) ComputeEnvironmentEc2ConfigurationObjectArrayOutput
- type ComputeEnvironmentEc2ConfigurationObjectArrayInput
- type ComputeEnvironmentEc2ConfigurationObjectArrayOutput
- func (ComputeEnvironmentEc2ConfigurationObjectArrayOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentEc2ConfigurationObjectArrayOutput) Index(i pulumi.IntInput) ComputeEnvironmentEc2ConfigurationObjectOutput
- func (o ComputeEnvironmentEc2ConfigurationObjectArrayOutput) ToComputeEnvironmentEc2ConfigurationObjectArrayOutput() ComputeEnvironmentEc2ConfigurationObjectArrayOutput
- func (o ComputeEnvironmentEc2ConfigurationObjectArrayOutput) ToComputeEnvironmentEc2ConfigurationObjectArrayOutputWithContext(ctx context.Context) ComputeEnvironmentEc2ConfigurationObjectArrayOutput
- type ComputeEnvironmentEc2ConfigurationObjectInput
- type ComputeEnvironmentEc2ConfigurationObjectOutput
- func (ComputeEnvironmentEc2ConfigurationObjectOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentEc2ConfigurationObjectOutput) ImageIdOverride() pulumi.StringPtrOutput
- func (o ComputeEnvironmentEc2ConfigurationObjectOutput) ImageKubernetesVersion() pulumi.StringPtrOutput
- func (o ComputeEnvironmentEc2ConfigurationObjectOutput) ImageType() pulumi.StringOutput
- func (o ComputeEnvironmentEc2ConfigurationObjectOutput) ToComputeEnvironmentEc2ConfigurationObjectOutput() ComputeEnvironmentEc2ConfigurationObjectOutput
- func (o ComputeEnvironmentEc2ConfigurationObjectOutput) ToComputeEnvironmentEc2ConfigurationObjectOutputWithContext(ctx context.Context) ComputeEnvironmentEc2ConfigurationObjectOutput
- 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 ComputeEnvironmentLaunchTemplateSpecification
- type ComputeEnvironmentLaunchTemplateSpecificationArgs
- func (ComputeEnvironmentLaunchTemplateSpecificationArgs) ElementType() reflect.Type
- func (i ComputeEnvironmentLaunchTemplateSpecificationArgs) ToComputeEnvironmentLaunchTemplateSpecificationOutput() ComputeEnvironmentLaunchTemplateSpecificationOutput
- func (i ComputeEnvironmentLaunchTemplateSpecificationArgs) ToComputeEnvironmentLaunchTemplateSpecificationOutputWithContext(ctx context.Context) ComputeEnvironmentLaunchTemplateSpecificationOutput
- func (i ComputeEnvironmentLaunchTemplateSpecificationArgs) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutput() ComputeEnvironmentLaunchTemplateSpecificationPtrOutput
- func (i ComputeEnvironmentLaunchTemplateSpecificationArgs) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentLaunchTemplateSpecificationPtrOutput
- type ComputeEnvironmentLaunchTemplateSpecificationInput
- type ComputeEnvironmentLaunchTemplateSpecificationOutput
- func (ComputeEnvironmentLaunchTemplateSpecificationOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentLaunchTemplateSpecificationOutput) LaunchTemplateId() pulumi.StringPtrOutput
- func (o ComputeEnvironmentLaunchTemplateSpecificationOutput) LaunchTemplateName() pulumi.StringPtrOutput
- func (o ComputeEnvironmentLaunchTemplateSpecificationOutput) ToComputeEnvironmentLaunchTemplateSpecificationOutput() ComputeEnvironmentLaunchTemplateSpecificationOutput
- func (o ComputeEnvironmentLaunchTemplateSpecificationOutput) ToComputeEnvironmentLaunchTemplateSpecificationOutputWithContext(ctx context.Context) ComputeEnvironmentLaunchTemplateSpecificationOutput
- func (o ComputeEnvironmentLaunchTemplateSpecificationOutput) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutput() ComputeEnvironmentLaunchTemplateSpecificationPtrOutput
- func (o ComputeEnvironmentLaunchTemplateSpecificationOutput) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentLaunchTemplateSpecificationPtrOutput
- func (o ComputeEnvironmentLaunchTemplateSpecificationOutput) Version() pulumi.StringPtrOutput
- type ComputeEnvironmentLaunchTemplateSpecificationPtrInput
- type ComputeEnvironmentLaunchTemplateSpecificationPtrOutput
- func (o ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) Elem() ComputeEnvironmentLaunchTemplateSpecificationOutput
- func (ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) LaunchTemplateId() pulumi.StringPtrOutput
- func (o ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) LaunchTemplateName() pulumi.StringPtrOutput
- func (o ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutput() ComputeEnvironmentLaunchTemplateSpecificationPtrOutput
- func (o ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentLaunchTemplateSpecificationPtrOutput
- func (o ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) Version() pulumi.StringPtrOutput
- type ComputeEnvironmentOutput
- func (o ComputeEnvironmentOutput) ComputeEnvironmentArn() pulumi.StringOutput
- func (o ComputeEnvironmentOutput) ComputeEnvironmentName() pulumi.StringPtrOutput
- func (o ComputeEnvironmentOutput) ComputeResources() ComputeEnvironmentComputeResourcesPtrOutput
- func (o ComputeEnvironmentOutput) EksConfiguration() ComputeEnvironmentEksConfigurationPtrOutput
- func (ComputeEnvironmentOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentOutput) ReplaceComputeEnvironment() pulumi.BoolPtrOutput
- func (o ComputeEnvironmentOutput) ServiceRole() pulumi.StringPtrOutput
- func (o ComputeEnvironmentOutput) State() pulumi.StringPtrOutput
- func (o ComputeEnvironmentOutput) Tags() pulumi.StringMapOutput
- func (o ComputeEnvironmentOutput) ToComputeEnvironmentOutput() ComputeEnvironmentOutput
- func (o ComputeEnvironmentOutput) ToComputeEnvironmentOutputWithContext(ctx context.Context) ComputeEnvironmentOutput
- func (o ComputeEnvironmentOutput) Type() pulumi.StringOutput
- func (o ComputeEnvironmentOutput) UnmanagedvCpus() pulumi.IntPtrOutput
- func (o ComputeEnvironmentOutput) UpdatePolicy() ComputeEnvironmentUpdatePolicyPtrOutput
- type ComputeEnvironmentState
- type ComputeEnvironmentUpdatePolicy
- type ComputeEnvironmentUpdatePolicyArgs
- func (ComputeEnvironmentUpdatePolicyArgs) ElementType() reflect.Type
- func (i ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyOutput() ComputeEnvironmentUpdatePolicyOutput
- func (i ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyOutputWithContext(ctx context.Context) ComputeEnvironmentUpdatePolicyOutput
- func (i ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyPtrOutput() ComputeEnvironmentUpdatePolicyPtrOutput
- func (i ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyPtrOutputWithContext(ctx context.Context) ComputeEnvironmentUpdatePolicyPtrOutput
- type ComputeEnvironmentUpdatePolicyInput
- type ComputeEnvironmentUpdatePolicyOutput
- func (ComputeEnvironmentUpdatePolicyOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentUpdatePolicyOutput) JobExecutionTimeoutMinutes() pulumi.IntPtrOutput
- func (o ComputeEnvironmentUpdatePolicyOutput) TerminateJobsOnUpdate() pulumi.BoolPtrOutput
- func (o ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyOutput() ComputeEnvironmentUpdatePolicyOutput
- func (o ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyOutputWithContext(ctx context.Context) ComputeEnvironmentUpdatePolicyOutput
- func (o ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyPtrOutput() ComputeEnvironmentUpdatePolicyPtrOutput
- func (o ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyPtrOutputWithContext(ctx context.Context) ComputeEnvironmentUpdatePolicyPtrOutput
- type ComputeEnvironmentUpdatePolicyPtrInput
- type ComputeEnvironmentUpdatePolicyPtrOutput
- func (o ComputeEnvironmentUpdatePolicyPtrOutput) Elem() ComputeEnvironmentUpdatePolicyOutput
- func (ComputeEnvironmentUpdatePolicyPtrOutput) ElementType() reflect.Type
- func (o ComputeEnvironmentUpdatePolicyPtrOutput) JobExecutionTimeoutMinutes() pulumi.IntPtrOutput
- func (o ComputeEnvironmentUpdatePolicyPtrOutput) TerminateJobsOnUpdate() pulumi.BoolPtrOutput
- func (o ComputeEnvironmentUpdatePolicyPtrOutput) ToComputeEnvironmentUpdatePolicyPtrOutput() ComputeEnvironmentUpdatePolicyPtrOutput
- func (o ComputeEnvironmentUpdatePolicyPtrOutput) ToComputeEnvironmentUpdatePolicyPtrOutputWithContext(ctx context.Context) ComputeEnvironmentUpdatePolicyPtrOutput
- type JobDefinition
- type JobDefinitionArgs
- type JobDefinitionAuthorizationConfig
- type JobDefinitionAuthorizationConfigArgs
- func (JobDefinitionAuthorizationConfigArgs) ElementType() reflect.Type
- func (i JobDefinitionAuthorizationConfigArgs) ToJobDefinitionAuthorizationConfigOutput() JobDefinitionAuthorizationConfigOutput
- func (i JobDefinitionAuthorizationConfigArgs) ToJobDefinitionAuthorizationConfigOutputWithContext(ctx context.Context) JobDefinitionAuthorizationConfigOutput
- func (i JobDefinitionAuthorizationConfigArgs) ToJobDefinitionAuthorizationConfigPtrOutput() JobDefinitionAuthorizationConfigPtrOutput
- func (i JobDefinitionAuthorizationConfigArgs) ToJobDefinitionAuthorizationConfigPtrOutputWithContext(ctx context.Context) JobDefinitionAuthorizationConfigPtrOutput
- type JobDefinitionAuthorizationConfigInput
- type JobDefinitionAuthorizationConfigOutput
- func (o JobDefinitionAuthorizationConfigOutput) AccessPointId() pulumi.StringPtrOutput
- func (JobDefinitionAuthorizationConfigOutput) ElementType() reflect.Type
- func (o JobDefinitionAuthorizationConfigOutput) Iam() pulumi.StringPtrOutput
- func (o JobDefinitionAuthorizationConfigOutput) ToJobDefinitionAuthorizationConfigOutput() JobDefinitionAuthorizationConfigOutput
- func (o JobDefinitionAuthorizationConfigOutput) ToJobDefinitionAuthorizationConfigOutputWithContext(ctx context.Context) JobDefinitionAuthorizationConfigOutput
- func (o JobDefinitionAuthorizationConfigOutput) ToJobDefinitionAuthorizationConfigPtrOutput() JobDefinitionAuthorizationConfigPtrOutput
- func (o JobDefinitionAuthorizationConfigOutput) ToJobDefinitionAuthorizationConfigPtrOutputWithContext(ctx context.Context) JobDefinitionAuthorizationConfigPtrOutput
- type JobDefinitionAuthorizationConfigPtrInput
- type JobDefinitionAuthorizationConfigPtrOutput
- func (o JobDefinitionAuthorizationConfigPtrOutput) AccessPointId() pulumi.StringPtrOutput
- func (o JobDefinitionAuthorizationConfigPtrOutput) Elem() JobDefinitionAuthorizationConfigOutput
- func (JobDefinitionAuthorizationConfigPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionAuthorizationConfigPtrOutput) Iam() pulumi.StringPtrOutput
- func (o JobDefinitionAuthorizationConfigPtrOutput) ToJobDefinitionAuthorizationConfigPtrOutput() JobDefinitionAuthorizationConfigPtrOutput
- func (o JobDefinitionAuthorizationConfigPtrOutput) ToJobDefinitionAuthorizationConfigPtrOutputWithContext(ctx context.Context) JobDefinitionAuthorizationConfigPtrOutput
- type JobDefinitionContainerProperties
- type JobDefinitionContainerPropertiesArgs
- func (JobDefinitionContainerPropertiesArgs) ElementType() reflect.Type
- func (i JobDefinitionContainerPropertiesArgs) ToJobDefinitionContainerPropertiesOutput() JobDefinitionContainerPropertiesOutput
- func (i JobDefinitionContainerPropertiesArgs) ToJobDefinitionContainerPropertiesOutputWithContext(ctx context.Context) JobDefinitionContainerPropertiesOutput
- func (i JobDefinitionContainerPropertiesArgs) ToJobDefinitionContainerPropertiesPtrOutput() JobDefinitionContainerPropertiesPtrOutput
- func (i JobDefinitionContainerPropertiesArgs) ToJobDefinitionContainerPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionContainerPropertiesPtrOutput
- type JobDefinitionContainerPropertiesInput
- type JobDefinitionContainerPropertiesOutput
- func (o JobDefinitionContainerPropertiesOutput) Command() pulumi.StringArrayOutput
- func (JobDefinitionContainerPropertiesOutput) ElementType() reflect.Type
- func (o JobDefinitionContainerPropertiesOutput) Environment() JobDefinitionEnvironmentArrayOutput
- func (o JobDefinitionContainerPropertiesOutput) EphemeralStorage() JobDefinitionEphemeralStoragePtrOutput
- func (o JobDefinitionContainerPropertiesOutput) ExecutionRoleArn() pulumi.StringPtrOutput
- func (o JobDefinitionContainerPropertiesOutput) FargatePlatformConfiguration() JobDefinitionFargatePlatformConfigurationPtrOutput
- func (o JobDefinitionContainerPropertiesOutput) Image() pulumi.StringOutput
- func (o JobDefinitionContainerPropertiesOutput) InstanceType() pulumi.StringPtrOutput
- func (o JobDefinitionContainerPropertiesOutput) JobRoleArn() pulumi.StringPtrOutput
- func (o JobDefinitionContainerPropertiesOutput) LinuxParameters() JobDefinitionLinuxParametersPtrOutput
- func (o JobDefinitionContainerPropertiesOutput) LogConfiguration() JobDefinitionLogConfigurationPtrOutput
- func (o JobDefinitionContainerPropertiesOutput) Memory() pulumi.IntPtrOutput
- func (o JobDefinitionContainerPropertiesOutput) MountPoints() JobDefinitionMountPointsArrayOutput
- func (o JobDefinitionContainerPropertiesOutput) NetworkConfiguration() JobDefinitionNetworkConfigurationPtrOutput
- func (o JobDefinitionContainerPropertiesOutput) Privileged() pulumi.BoolPtrOutput
- func (o JobDefinitionContainerPropertiesOutput) ReadonlyRootFilesystem() pulumi.BoolPtrOutput
- func (o JobDefinitionContainerPropertiesOutput) RepositoryCredentials() JobDefinitionRepositoryCredentialsPtrOutput
- func (o JobDefinitionContainerPropertiesOutput) ResourceRequirements() JobDefinitionResourceRequirementArrayOutput
- func (o JobDefinitionContainerPropertiesOutput) RuntimePlatform() JobDefinitionRuntimePlatformPtrOutput
- func (o JobDefinitionContainerPropertiesOutput) Secrets() JobDefinitionSecretArrayOutput
- func (o JobDefinitionContainerPropertiesOutput) ToJobDefinitionContainerPropertiesOutput() JobDefinitionContainerPropertiesOutput
- func (o JobDefinitionContainerPropertiesOutput) ToJobDefinitionContainerPropertiesOutputWithContext(ctx context.Context) JobDefinitionContainerPropertiesOutput
- func (o JobDefinitionContainerPropertiesOutput) ToJobDefinitionContainerPropertiesPtrOutput() JobDefinitionContainerPropertiesPtrOutput
- func (o JobDefinitionContainerPropertiesOutput) ToJobDefinitionContainerPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionContainerPropertiesPtrOutput
- func (o JobDefinitionContainerPropertiesOutput) Ulimits() JobDefinitionUlimitArrayOutput
- func (o JobDefinitionContainerPropertiesOutput) User() pulumi.StringPtrOutput
- func (o JobDefinitionContainerPropertiesOutput) Vcpus() pulumi.IntPtrOutput
- func (o JobDefinitionContainerPropertiesOutput) Volumes() JobDefinitionVolumesArrayOutput
- type JobDefinitionContainerPropertiesPtrInput
- type JobDefinitionContainerPropertiesPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) Command() pulumi.StringArrayOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) Elem() JobDefinitionContainerPropertiesOutput
- func (JobDefinitionContainerPropertiesPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionContainerPropertiesPtrOutput) Environment() JobDefinitionEnvironmentArrayOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) EphemeralStorage() JobDefinitionEphemeralStoragePtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) ExecutionRoleArn() pulumi.StringPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) FargatePlatformConfiguration() JobDefinitionFargatePlatformConfigurationPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) Image() pulumi.StringPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) InstanceType() pulumi.StringPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) JobRoleArn() pulumi.StringPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) LinuxParameters() JobDefinitionLinuxParametersPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) LogConfiguration() JobDefinitionLogConfigurationPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) Memory() pulumi.IntPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) MountPoints() JobDefinitionMountPointsArrayOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) NetworkConfiguration() JobDefinitionNetworkConfigurationPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) Privileged() pulumi.BoolPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) ReadonlyRootFilesystem() pulumi.BoolPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) RepositoryCredentials() JobDefinitionRepositoryCredentialsPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) ResourceRequirements() JobDefinitionResourceRequirementArrayOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) RuntimePlatform() JobDefinitionRuntimePlatformPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) Secrets() JobDefinitionSecretArrayOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) ToJobDefinitionContainerPropertiesPtrOutput() JobDefinitionContainerPropertiesPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) ToJobDefinitionContainerPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionContainerPropertiesPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) Ulimits() JobDefinitionUlimitArrayOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) User() pulumi.StringPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) Vcpus() pulumi.IntPtrOutput
- func (o JobDefinitionContainerPropertiesPtrOutput) Volumes() JobDefinitionVolumesArrayOutput
- type JobDefinitionDevice
- type JobDefinitionDeviceArgs
- type JobDefinitionDeviceArray
- type JobDefinitionDeviceArrayInput
- type JobDefinitionDeviceArrayOutput
- func (JobDefinitionDeviceArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionDeviceArrayOutput) Index(i pulumi.IntInput) JobDefinitionDeviceOutput
- func (o JobDefinitionDeviceArrayOutput) ToJobDefinitionDeviceArrayOutput() JobDefinitionDeviceArrayOutput
- func (o JobDefinitionDeviceArrayOutput) ToJobDefinitionDeviceArrayOutputWithContext(ctx context.Context) JobDefinitionDeviceArrayOutput
- type JobDefinitionDeviceInput
- type JobDefinitionDeviceOutput
- func (o JobDefinitionDeviceOutput) ContainerPath() pulumi.StringPtrOutput
- func (JobDefinitionDeviceOutput) ElementType() reflect.Type
- func (o JobDefinitionDeviceOutput) HostPath() pulumi.StringPtrOutput
- func (o JobDefinitionDeviceOutput) Permissions() pulumi.StringArrayOutput
- func (o JobDefinitionDeviceOutput) ToJobDefinitionDeviceOutput() JobDefinitionDeviceOutput
- func (o JobDefinitionDeviceOutput) ToJobDefinitionDeviceOutputWithContext(ctx context.Context) JobDefinitionDeviceOutput
- type JobDefinitionEcsProperties
- type JobDefinitionEcsPropertiesArgs
- func (JobDefinitionEcsPropertiesArgs) ElementType() reflect.Type
- func (i JobDefinitionEcsPropertiesArgs) ToJobDefinitionEcsPropertiesOutput() JobDefinitionEcsPropertiesOutput
- func (i JobDefinitionEcsPropertiesArgs) ToJobDefinitionEcsPropertiesOutputWithContext(ctx context.Context) JobDefinitionEcsPropertiesOutput
- func (i JobDefinitionEcsPropertiesArgs) ToJobDefinitionEcsPropertiesPtrOutput() JobDefinitionEcsPropertiesPtrOutput
- func (i JobDefinitionEcsPropertiesArgs) ToJobDefinitionEcsPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEcsPropertiesPtrOutput
- type JobDefinitionEcsPropertiesInput
- type JobDefinitionEcsPropertiesOutput
- func (JobDefinitionEcsPropertiesOutput) ElementType() reflect.Type
- func (o JobDefinitionEcsPropertiesOutput) TaskProperties() JobDefinitionEcsTaskPropertiesArrayOutput
- func (o JobDefinitionEcsPropertiesOutput) ToJobDefinitionEcsPropertiesOutput() JobDefinitionEcsPropertiesOutput
- func (o JobDefinitionEcsPropertiesOutput) ToJobDefinitionEcsPropertiesOutputWithContext(ctx context.Context) JobDefinitionEcsPropertiesOutput
- func (o JobDefinitionEcsPropertiesOutput) ToJobDefinitionEcsPropertiesPtrOutput() JobDefinitionEcsPropertiesPtrOutput
- func (o JobDefinitionEcsPropertiesOutput) ToJobDefinitionEcsPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEcsPropertiesPtrOutput
- type JobDefinitionEcsPropertiesPtrInput
- type JobDefinitionEcsPropertiesPtrOutput
- func (o JobDefinitionEcsPropertiesPtrOutput) Elem() JobDefinitionEcsPropertiesOutput
- func (JobDefinitionEcsPropertiesPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionEcsPropertiesPtrOutput) TaskProperties() JobDefinitionEcsTaskPropertiesArrayOutput
- func (o JobDefinitionEcsPropertiesPtrOutput) ToJobDefinitionEcsPropertiesPtrOutput() JobDefinitionEcsPropertiesPtrOutput
- func (o JobDefinitionEcsPropertiesPtrOutput) ToJobDefinitionEcsPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEcsPropertiesPtrOutput
- type JobDefinitionEcsTaskProperties
- type JobDefinitionEcsTaskPropertiesArgs
- func (JobDefinitionEcsTaskPropertiesArgs) ElementType() reflect.Type
- func (i JobDefinitionEcsTaskPropertiesArgs) ToJobDefinitionEcsTaskPropertiesOutput() JobDefinitionEcsTaskPropertiesOutput
- func (i JobDefinitionEcsTaskPropertiesArgs) ToJobDefinitionEcsTaskPropertiesOutputWithContext(ctx context.Context) JobDefinitionEcsTaskPropertiesOutput
- type JobDefinitionEcsTaskPropertiesArray
- func (JobDefinitionEcsTaskPropertiesArray) ElementType() reflect.Type
- func (i JobDefinitionEcsTaskPropertiesArray) ToJobDefinitionEcsTaskPropertiesArrayOutput() JobDefinitionEcsTaskPropertiesArrayOutput
- func (i JobDefinitionEcsTaskPropertiesArray) ToJobDefinitionEcsTaskPropertiesArrayOutputWithContext(ctx context.Context) JobDefinitionEcsTaskPropertiesArrayOutput
- type JobDefinitionEcsTaskPropertiesArrayInput
- type JobDefinitionEcsTaskPropertiesArrayOutput
- func (JobDefinitionEcsTaskPropertiesArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionEcsTaskPropertiesArrayOutput) Index(i pulumi.IntInput) JobDefinitionEcsTaskPropertiesOutput
- func (o JobDefinitionEcsTaskPropertiesArrayOutput) ToJobDefinitionEcsTaskPropertiesArrayOutput() JobDefinitionEcsTaskPropertiesArrayOutput
- func (o JobDefinitionEcsTaskPropertiesArrayOutput) ToJobDefinitionEcsTaskPropertiesArrayOutputWithContext(ctx context.Context) JobDefinitionEcsTaskPropertiesArrayOutput
- type JobDefinitionEcsTaskPropertiesInput
- type JobDefinitionEcsTaskPropertiesOutput
- func (o JobDefinitionEcsTaskPropertiesOutput) Containers() JobDefinitionTaskContainerPropertiesArrayOutput
- func (JobDefinitionEcsTaskPropertiesOutput) ElementType() reflect.Type
- func (o JobDefinitionEcsTaskPropertiesOutput) EphemeralStorage() JobDefinitionEphemeralStoragePtrOutput
- func (o JobDefinitionEcsTaskPropertiesOutput) ExecutionRoleArn() pulumi.StringPtrOutput
- func (o JobDefinitionEcsTaskPropertiesOutput) IpcMode() pulumi.StringPtrOutput
- func (o JobDefinitionEcsTaskPropertiesOutput) NetworkConfiguration() JobDefinitionNetworkConfigurationPtrOutput
- func (o JobDefinitionEcsTaskPropertiesOutput) PidMode() pulumi.StringPtrOutput
- func (o JobDefinitionEcsTaskPropertiesOutput) PlatformVersion() pulumi.StringPtrOutput
- func (o JobDefinitionEcsTaskPropertiesOutput) RuntimePlatform() JobDefinitionRuntimePlatformPtrOutput
- func (o JobDefinitionEcsTaskPropertiesOutput) TaskRoleArn() pulumi.StringPtrOutput
- func (o JobDefinitionEcsTaskPropertiesOutput) ToJobDefinitionEcsTaskPropertiesOutput() JobDefinitionEcsTaskPropertiesOutput
- func (o JobDefinitionEcsTaskPropertiesOutput) ToJobDefinitionEcsTaskPropertiesOutputWithContext(ctx context.Context) JobDefinitionEcsTaskPropertiesOutput
- func (o JobDefinitionEcsTaskPropertiesOutput) Volumes() JobDefinitionVolumesArrayOutput
- type JobDefinitionEfsVolumeConfiguration
- type JobDefinitionEfsVolumeConfigurationArgs
- func (JobDefinitionEfsVolumeConfigurationArgs) ElementType() reflect.Type
- func (i JobDefinitionEfsVolumeConfigurationArgs) ToJobDefinitionEfsVolumeConfigurationOutput() JobDefinitionEfsVolumeConfigurationOutput
- func (i JobDefinitionEfsVolumeConfigurationArgs) ToJobDefinitionEfsVolumeConfigurationOutputWithContext(ctx context.Context) JobDefinitionEfsVolumeConfigurationOutput
- func (i JobDefinitionEfsVolumeConfigurationArgs) ToJobDefinitionEfsVolumeConfigurationPtrOutput() JobDefinitionEfsVolumeConfigurationPtrOutput
- func (i JobDefinitionEfsVolumeConfigurationArgs) ToJobDefinitionEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionEfsVolumeConfigurationPtrOutput
- type JobDefinitionEfsVolumeConfigurationInput
- type JobDefinitionEfsVolumeConfigurationOutput
- func (o JobDefinitionEfsVolumeConfigurationOutput) AuthorizationConfig() JobDefinitionAuthorizationConfigPtrOutput
- func (JobDefinitionEfsVolumeConfigurationOutput) ElementType() reflect.Type
- func (o JobDefinitionEfsVolumeConfigurationOutput) FileSystemId() pulumi.StringOutput
- func (o JobDefinitionEfsVolumeConfigurationOutput) RootDirectory() pulumi.StringPtrOutput
- func (o JobDefinitionEfsVolumeConfigurationOutput) ToJobDefinitionEfsVolumeConfigurationOutput() JobDefinitionEfsVolumeConfigurationOutput
- func (o JobDefinitionEfsVolumeConfigurationOutput) ToJobDefinitionEfsVolumeConfigurationOutputWithContext(ctx context.Context) JobDefinitionEfsVolumeConfigurationOutput
- func (o JobDefinitionEfsVolumeConfigurationOutput) ToJobDefinitionEfsVolumeConfigurationPtrOutput() JobDefinitionEfsVolumeConfigurationPtrOutput
- func (o JobDefinitionEfsVolumeConfigurationOutput) ToJobDefinitionEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionEfsVolumeConfigurationPtrOutput
- func (o JobDefinitionEfsVolumeConfigurationOutput) TransitEncryption() pulumi.StringPtrOutput
- func (o JobDefinitionEfsVolumeConfigurationOutput) TransitEncryptionPort() pulumi.IntPtrOutput
- type JobDefinitionEfsVolumeConfigurationPtrInput
- type JobDefinitionEfsVolumeConfigurationPtrOutput
- func (o JobDefinitionEfsVolumeConfigurationPtrOutput) AuthorizationConfig() JobDefinitionAuthorizationConfigPtrOutput
- func (o JobDefinitionEfsVolumeConfigurationPtrOutput) Elem() JobDefinitionEfsVolumeConfigurationOutput
- func (JobDefinitionEfsVolumeConfigurationPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionEfsVolumeConfigurationPtrOutput) FileSystemId() pulumi.StringPtrOutput
- func (o JobDefinitionEfsVolumeConfigurationPtrOutput) RootDirectory() pulumi.StringPtrOutput
- func (o JobDefinitionEfsVolumeConfigurationPtrOutput) ToJobDefinitionEfsVolumeConfigurationPtrOutput() JobDefinitionEfsVolumeConfigurationPtrOutput
- func (o JobDefinitionEfsVolumeConfigurationPtrOutput) ToJobDefinitionEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionEfsVolumeConfigurationPtrOutput
- func (o JobDefinitionEfsVolumeConfigurationPtrOutput) TransitEncryption() pulumi.StringPtrOutput
- func (o JobDefinitionEfsVolumeConfigurationPtrOutput) TransitEncryptionPort() pulumi.IntPtrOutput
- type JobDefinitionEksContainer
- type JobDefinitionEksContainerArgs
- func (JobDefinitionEksContainerArgs) ElementType() reflect.Type
- func (i JobDefinitionEksContainerArgs) ToJobDefinitionEksContainerOutput() JobDefinitionEksContainerOutput
- func (i JobDefinitionEksContainerArgs) ToJobDefinitionEksContainerOutputWithContext(ctx context.Context) JobDefinitionEksContainerOutput
- type JobDefinitionEksContainerArray
- func (JobDefinitionEksContainerArray) ElementType() reflect.Type
- func (i JobDefinitionEksContainerArray) ToJobDefinitionEksContainerArrayOutput() JobDefinitionEksContainerArrayOutput
- func (i JobDefinitionEksContainerArray) ToJobDefinitionEksContainerArrayOutputWithContext(ctx context.Context) JobDefinitionEksContainerArrayOutput
- type JobDefinitionEksContainerArrayInput
- type JobDefinitionEksContainerArrayOutput
- func (JobDefinitionEksContainerArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionEksContainerArrayOutput) Index(i pulumi.IntInput) JobDefinitionEksContainerOutput
- func (o JobDefinitionEksContainerArrayOutput) ToJobDefinitionEksContainerArrayOutput() JobDefinitionEksContainerArrayOutput
- func (o JobDefinitionEksContainerArrayOutput) ToJobDefinitionEksContainerArrayOutputWithContext(ctx context.Context) JobDefinitionEksContainerArrayOutput
- type JobDefinitionEksContainerEnvironmentVariable
- type JobDefinitionEksContainerEnvironmentVariableArgs
- func (JobDefinitionEksContainerEnvironmentVariableArgs) ElementType() reflect.Type
- func (i JobDefinitionEksContainerEnvironmentVariableArgs) ToJobDefinitionEksContainerEnvironmentVariableOutput() JobDefinitionEksContainerEnvironmentVariableOutput
- func (i JobDefinitionEksContainerEnvironmentVariableArgs) ToJobDefinitionEksContainerEnvironmentVariableOutputWithContext(ctx context.Context) JobDefinitionEksContainerEnvironmentVariableOutput
- type JobDefinitionEksContainerEnvironmentVariableArray
- func (JobDefinitionEksContainerEnvironmentVariableArray) ElementType() reflect.Type
- func (i JobDefinitionEksContainerEnvironmentVariableArray) ToJobDefinitionEksContainerEnvironmentVariableArrayOutput() JobDefinitionEksContainerEnvironmentVariableArrayOutput
- func (i JobDefinitionEksContainerEnvironmentVariableArray) ToJobDefinitionEksContainerEnvironmentVariableArrayOutputWithContext(ctx context.Context) JobDefinitionEksContainerEnvironmentVariableArrayOutput
- type JobDefinitionEksContainerEnvironmentVariableArrayInput
- type JobDefinitionEksContainerEnvironmentVariableArrayOutput
- func (JobDefinitionEksContainerEnvironmentVariableArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionEksContainerEnvironmentVariableArrayOutput) Index(i pulumi.IntInput) JobDefinitionEksContainerEnvironmentVariableOutput
- func (o JobDefinitionEksContainerEnvironmentVariableArrayOutput) ToJobDefinitionEksContainerEnvironmentVariableArrayOutput() JobDefinitionEksContainerEnvironmentVariableArrayOutput
- func (o JobDefinitionEksContainerEnvironmentVariableArrayOutput) ToJobDefinitionEksContainerEnvironmentVariableArrayOutputWithContext(ctx context.Context) JobDefinitionEksContainerEnvironmentVariableArrayOutput
- type JobDefinitionEksContainerEnvironmentVariableInput
- type JobDefinitionEksContainerEnvironmentVariableOutput
- func (JobDefinitionEksContainerEnvironmentVariableOutput) ElementType() reflect.Type
- func (o JobDefinitionEksContainerEnvironmentVariableOutput) Name() pulumi.StringOutput
- func (o JobDefinitionEksContainerEnvironmentVariableOutput) ToJobDefinitionEksContainerEnvironmentVariableOutput() JobDefinitionEksContainerEnvironmentVariableOutput
- func (o JobDefinitionEksContainerEnvironmentVariableOutput) ToJobDefinitionEksContainerEnvironmentVariableOutputWithContext(ctx context.Context) JobDefinitionEksContainerEnvironmentVariableOutput
- func (o JobDefinitionEksContainerEnvironmentVariableOutput) Value() pulumi.StringPtrOutput
- type JobDefinitionEksContainerInput
- type JobDefinitionEksContainerOutput
- func (o JobDefinitionEksContainerOutput) Args() pulumi.StringArrayOutput
- func (o JobDefinitionEksContainerOutput) Command() pulumi.StringArrayOutput
- func (JobDefinitionEksContainerOutput) ElementType() reflect.Type
- func (o JobDefinitionEksContainerOutput) Env() JobDefinitionEksContainerEnvironmentVariableArrayOutput
- func (o JobDefinitionEksContainerOutput) Image() pulumi.StringOutput
- func (o JobDefinitionEksContainerOutput) ImagePullPolicy() pulumi.StringPtrOutput
- func (o JobDefinitionEksContainerOutput) Name() pulumi.StringPtrOutput
- func (o JobDefinitionEksContainerOutput) Resources() JobDefinitionEksContainerResourceRequirementsPtrOutput
- func (o JobDefinitionEksContainerOutput) SecurityContext() JobDefinitionEksContainerSecurityContextPtrOutput
- func (o JobDefinitionEksContainerOutput) ToJobDefinitionEksContainerOutput() JobDefinitionEksContainerOutput
- func (o JobDefinitionEksContainerOutput) ToJobDefinitionEksContainerOutputWithContext(ctx context.Context) JobDefinitionEksContainerOutput
- func (o JobDefinitionEksContainerOutput) VolumeMounts() JobDefinitionEksContainerVolumeMountArrayOutput
- type JobDefinitionEksContainerResourceRequirements
- type JobDefinitionEksContainerResourceRequirementsArgs
- func (JobDefinitionEksContainerResourceRequirementsArgs) ElementType() reflect.Type
- func (i JobDefinitionEksContainerResourceRequirementsArgs) ToJobDefinitionEksContainerResourceRequirementsOutput() JobDefinitionEksContainerResourceRequirementsOutput
- func (i JobDefinitionEksContainerResourceRequirementsArgs) ToJobDefinitionEksContainerResourceRequirementsOutputWithContext(ctx context.Context) JobDefinitionEksContainerResourceRequirementsOutput
- func (i JobDefinitionEksContainerResourceRequirementsArgs) ToJobDefinitionEksContainerResourceRequirementsPtrOutput() JobDefinitionEksContainerResourceRequirementsPtrOutput
- func (i JobDefinitionEksContainerResourceRequirementsArgs) ToJobDefinitionEksContainerResourceRequirementsPtrOutputWithContext(ctx context.Context) JobDefinitionEksContainerResourceRequirementsPtrOutput
- type JobDefinitionEksContainerResourceRequirementsInput
- type JobDefinitionEksContainerResourceRequirementsOutput
- func (JobDefinitionEksContainerResourceRequirementsOutput) ElementType() reflect.Type
- func (o JobDefinitionEksContainerResourceRequirementsOutput) Limits() pulumi.AnyOutput
- func (o JobDefinitionEksContainerResourceRequirementsOutput) Requests() pulumi.AnyOutput
- func (o JobDefinitionEksContainerResourceRequirementsOutput) ToJobDefinitionEksContainerResourceRequirementsOutput() JobDefinitionEksContainerResourceRequirementsOutput
- func (o JobDefinitionEksContainerResourceRequirementsOutput) ToJobDefinitionEksContainerResourceRequirementsOutputWithContext(ctx context.Context) JobDefinitionEksContainerResourceRequirementsOutput
- func (o JobDefinitionEksContainerResourceRequirementsOutput) ToJobDefinitionEksContainerResourceRequirementsPtrOutput() JobDefinitionEksContainerResourceRequirementsPtrOutput
- func (o JobDefinitionEksContainerResourceRequirementsOutput) ToJobDefinitionEksContainerResourceRequirementsPtrOutputWithContext(ctx context.Context) JobDefinitionEksContainerResourceRequirementsPtrOutput
- type JobDefinitionEksContainerResourceRequirementsPtrInput
- type JobDefinitionEksContainerResourceRequirementsPtrOutput
- func (o JobDefinitionEksContainerResourceRequirementsPtrOutput) Elem() JobDefinitionEksContainerResourceRequirementsOutput
- func (JobDefinitionEksContainerResourceRequirementsPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionEksContainerResourceRequirementsPtrOutput) Limits() pulumi.AnyOutput
- func (o JobDefinitionEksContainerResourceRequirementsPtrOutput) Requests() pulumi.AnyOutput
- func (o JobDefinitionEksContainerResourceRequirementsPtrOutput) ToJobDefinitionEksContainerResourceRequirementsPtrOutput() JobDefinitionEksContainerResourceRequirementsPtrOutput
- func (o JobDefinitionEksContainerResourceRequirementsPtrOutput) ToJobDefinitionEksContainerResourceRequirementsPtrOutputWithContext(ctx context.Context) JobDefinitionEksContainerResourceRequirementsPtrOutput
- type JobDefinitionEksContainerSecurityContext
- type JobDefinitionEksContainerSecurityContextArgs
- func (JobDefinitionEksContainerSecurityContextArgs) ElementType() reflect.Type
- func (i JobDefinitionEksContainerSecurityContextArgs) ToJobDefinitionEksContainerSecurityContextOutput() JobDefinitionEksContainerSecurityContextOutput
- func (i JobDefinitionEksContainerSecurityContextArgs) ToJobDefinitionEksContainerSecurityContextOutputWithContext(ctx context.Context) JobDefinitionEksContainerSecurityContextOutput
- func (i JobDefinitionEksContainerSecurityContextArgs) ToJobDefinitionEksContainerSecurityContextPtrOutput() JobDefinitionEksContainerSecurityContextPtrOutput
- func (i JobDefinitionEksContainerSecurityContextArgs) ToJobDefinitionEksContainerSecurityContextPtrOutputWithContext(ctx context.Context) JobDefinitionEksContainerSecurityContextPtrOutput
- type JobDefinitionEksContainerSecurityContextInput
- type JobDefinitionEksContainerSecurityContextOutput
- func (o JobDefinitionEksContainerSecurityContextOutput) AllowPrivilegeEscalation() pulumi.BoolPtrOutput
- func (JobDefinitionEksContainerSecurityContextOutput) ElementType() reflect.Type
- func (o JobDefinitionEksContainerSecurityContextOutput) Privileged() pulumi.BoolPtrOutput
- func (o JobDefinitionEksContainerSecurityContextOutput) ReadOnlyRootFilesystem() pulumi.BoolPtrOutput
- func (o JobDefinitionEksContainerSecurityContextOutput) RunAsGroup() pulumi.IntPtrOutput
- func (o JobDefinitionEksContainerSecurityContextOutput) RunAsNonRoot() pulumi.BoolPtrOutput
- func (o JobDefinitionEksContainerSecurityContextOutput) RunAsUser() pulumi.IntPtrOutput
- func (o JobDefinitionEksContainerSecurityContextOutput) ToJobDefinitionEksContainerSecurityContextOutput() JobDefinitionEksContainerSecurityContextOutput
- func (o JobDefinitionEksContainerSecurityContextOutput) ToJobDefinitionEksContainerSecurityContextOutputWithContext(ctx context.Context) JobDefinitionEksContainerSecurityContextOutput
- func (o JobDefinitionEksContainerSecurityContextOutput) ToJobDefinitionEksContainerSecurityContextPtrOutput() JobDefinitionEksContainerSecurityContextPtrOutput
- func (o JobDefinitionEksContainerSecurityContextOutput) ToJobDefinitionEksContainerSecurityContextPtrOutputWithContext(ctx context.Context) JobDefinitionEksContainerSecurityContextPtrOutput
- type JobDefinitionEksContainerSecurityContextPtrInput
- type JobDefinitionEksContainerSecurityContextPtrOutput
- func (o JobDefinitionEksContainerSecurityContextPtrOutput) AllowPrivilegeEscalation() pulumi.BoolPtrOutput
- func (o JobDefinitionEksContainerSecurityContextPtrOutput) Elem() JobDefinitionEksContainerSecurityContextOutput
- func (JobDefinitionEksContainerSecurityContextPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionEksContainerSecurityContextPtrOutput) Privileged() pulumi.BoolPtrOutput
- func (o JobDefinitionEksContainerSecurityContextPtrOutput) ReadOnlyRootFilesystem() pulumi.BoolPtrOutput
- func (o JobDefinitionEksContainerSecurityContextPtrOutput) RunAsGroup() pulumi.IntPtrOutput
- func (o JobDefinitionEksContainerSecurityContextPtrOutput) RunAsNonRoot() pulumi.BoolPtrOutput
- func (o JobDefinitionEksContainerSecurityContextPtrOutput) RunAsUser() pulumi.IntPtrOutput
- func (o JobDefinitionEksContainerSecurityContextPtrOutput) ToJobDefinitionEksContainerSecurityContextPtrOutput() JobDefinitionEksContainerSecurityContextPtrOutput
- func (o JobDefinitionEksContainerSecurityContextPtrOutput) ToJobDefinitionEksContainerSecurityContextPtrOutputWithContext(ctx context.Context) JobDefinitionEksContainerSecurityContextPtrOutput
- type JobDefinitionEksContainerVolumeMount
- type JobDefinitionEksContainerVolumeMountArgs
- func (JobDefinitionEksContainerVolumeMountArgs) ElementType() reflect.Type
- func (i JobDefinitionEksContainerVolumeMountArgs) ToJobDefinitionEksContainerVolumeMountOutput() JobDefinitionEksContainerVolumeMountOutput
- func (i JobDefinitionEksContainerVolumeMountArgs) ToJobDefinitionEksContainerVolumeMountOutputWithContext(ctx context.Context) JobDefinitionEksContainerVolumeMountOutput
- type JobDefinitionEksContainerVolumeMountArray
- func (JobDefinitionEksContainerVolumeMountArray) ElementType() reflect.Type
- func (i JobDefinitionEksContainerVolumeMountArray) ToJobDefinitionEksContainerVolumeMountArrayOutput() JobDefinitionEksContainerVolumeMountArrayOutput
- func (i JobDefinitionEksContainerVolumeMountArray) ToJobDefinitionEksContainerVolumeMountArrayOutputWithContext(ctx context.Context) JobDefinitionEksContainerVolumeMountArrayOutput
- type JobDefinitionEksContainerVolumeMountArrayInput
- type JobDefinitionEksContainerVolumeMountArrayOutput
- func (JobDefinitionEksContainerVolumeMountArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionEksContainerVolumeMountArrayOutput) Index(i pulumi.IntInput) JobDefinitionEksContainerVolumeMountOutput
- func (o JobDefinitionEksContainerVolumeMountArrayOutput) ToJobDefinitionEksContainerVolumeMountArrayOutput() JobDefinitionEksContainerVolumeMountArrayOutput
- func (o JobDefinitionEksContainerVolumeMountArrayOutput) ToJobDefinitionEksContainerVolumeMountArrayOutputWithContext(ctx context.Context) JobDefinitionEksContainerVolumeMountArrayOutput
- type JobDefinitionEksContainerVolumeMountInput
- type JobDefinitionEksContainerVolumeMountOutput
- func (JobDefinitionEksContainerVolumeMountOutput) ElementType() reflect.Type
- func (o JobDefinitionEksContainerVolumeMountOutput) MountPath() pulumi.StringPtrOutput
- func (o JobDefinitionEksContainerVolumeMountOutput) Name() pulumi.StringPtrOutput
- func (o JobDefinitionEksContainerVolumeMountOutput) ReadOnly() pulumi.BoolPtrOutput
- func (o JobDefinitionEksContainerVolumeMountOutput) ToJobDefinitionEksContainerVolumeMountOutput() JobDefinitionEksContainerVolumeMountOutput
- func (o JobDefinitionEksContainerVolumeMountOutput) ToJobDefinitionEksContainerVolumeMountOutputWithContext(ctx context.Context) JobDefinitionEksContainerVolumeMountOutput
- type JobDefinitionEksEmptyDir
- type JobDefinitionEksEmptyDirArgs
- func (JobDefinitionEksEmptyDirArgs) ElementType() reflect.Type
- func (i JobDefinitionEksEmptyDirArgs) ToJobDefinitionEksEmptyDirOutput() JobDefinitionEksEmptyDirOutput
- func (i JobDefinitionEksEmptyDirArgs) ToJobDefinitionEksEmptyDirOutputWithContext(ctx context.Context) JobDefinitionEksEmptyDirOutput
- func (i JobDefinitionEksEmptyDirArgs) ToJobDefinitionEksEmptyDirPtrOutput() JobDefinitionEksEmptyDirPtrOutput
- func (i JobDefinitionEksEmptyDirArgs) ToJobDefinitionEksEmptyDirPtrOutputWithContext(ctx context.Context) JobDefinitionEksEmptyDirPtrOutput
- type JobDefinitionEksEmptyDirInput
- type JobDefinitionEksEmptyDirOutput
- func (JobDefinitionEksEmptyDirOutput) ElementType() reflect.Type
- func (o JobDefinitionEksEmptyDirOutput) Medium() pulumi.StringPtrOutput
- func (o JobDefinitionEksEmptyDirOutput) SizeLimit() pulumi.StringPtrOutput
- func (o JobDefinitionEksEmptyDirOutput) ToJobDefinitionEksEmptyDirOutput() JobDefinitionEksEmptyDirOutput
- func (o JobDefinitionEksEmptyDirOutput) ToJobDefinitionEksEmptyDirOutputWithContext(ctx context.Context) JobDefinitionEksEmptyDirOutput
- func (o JobDefinitionEksEmptyDirOutput) ToJobDefinitionEksEmptyDirPtrOutput() JobDefinitionEksEmptyDirPtrOutput
- func (o JobDefinitionEksEmptyDirOutput) ToJobDefinitionEksEmptyDirPtrOutputWithContext(ctx context.Context) JobDefinitionEksEmptyDirPtrOutput
- type JobDefinitionEksEmptyDirPtrInput
- type JobDefinitionEksEmptyDirPtrOutput
- func (o JobDefinitionEksEmptyDirPtrOutput) Elem() JobDefinitionEksEmptyDirOutput
- func (JobDefinitionEksEmptyDirPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionEksEmptyDirPtrOutput) Medium() pulumi.StringPtrOutput
- func (o JobDefinitionEksEmptyDirPtrOutput) SizeLimit() pulumi.StringPtrOutput
- func (o JobDefinitionEksEmptyDirPtrOutput) ToJobDefinitionEksEmptyDirPtrOutput() JobDefinitionEksEmptyDirPtrOutput
- func (o JobDefinitionEksEmptyDirPtrOutput) ToJobDefinitionEksEmptyDirPtrOutputWithContext(ctx context.Context) JobDefinitionEksEmptyDirPtrOutput
- type JobDefinitionEksHostPath
- type JobDefinitionEksHostPathArgs
- func (JobDefinitionEksHostPathArgs) ElementType() reflect.Type
- func (i JobDefinitionEksHostPathArgs) ToJobDefinitionEksHostPathOutput() JobDefinitionEksHostPathOutput
- func (i JobDefinitionEksHostPathArgs) ToJobDefinitionEksHostPathOutputWithContext(ctx context.Context) JobDefinitionEksHostPathOutput
- func (i JobDefinitionEksHostPathArgs) ToJobDefinitionEksHostPathPtrOutput() JobDefinitionEksHostPathPtrOutput
- func (i JobDefinitionEksHostPathArgs) ToJobDefinitionEksHostPathPtrOutputWithContext(ctx context.Context) JobDefinitionEksHostPathPtrOutput
- type JobDefinitionEksHostPathInput
- type JobDefinitionEksHostPathOutput
- func (JobDefinitionEksHostPathOutput) ElementType() reflect.Type
- func (o JobDefinitionEksHostPathOutput) Path() pulumi.StringPtrOutput
- func (o JobDefinitionEksHostPathOutput) ToJobDefinitionEksHostPathOutput() JobDefinitionEksHostPathOutput
- func (o JobDefinitionEksHostPathOutput) ToJobDefinitionEksHostPathOutputWithContext(ctx context.Context) JobDefinitionEksHostPathOutput
- func (o JobDefinitionEksHostPathOutput) ToJobDefinitionEksHostPathPtrOutput() JobDefinitionEksHostPathPtrOutput
- func (o JobDefinitionEksHostPathOutput) ToJobDefinitionEksHostPathPtrOutputWithContext(ctx context.Context) JobDefinitionEksHostPathPtrOutput
- type JobDefinitionEksHostPathPtrInput
- type JobDefinitionEksHostPathPtrOutput
- func (o JobDefinitionEksHostPathPtrOutput) Elem() JobDefinitionEksHostPathOutput
- func (JobDefinitionEksHostPathPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionEksHostPathPtrOutput) Path() pulumi.StringPtrOutput
- func (o JobDefinitionEksHostPathPtrOutput) ToJobDefinitionEksHostPathPtrOutput() JobDefinitionEksHostPathPtrOutput
- func (o JobDefinitionEksHostPathPtrOutput) ToJobDefinitionEksHostPathPtrOutputWithContext(ctx context.Context) JobDefinitionEksHostPathPtrOutput
- type JobDefinitionEksProperties
- type JobDefinitionEksPropertiesArgs
- func (JobDefinitionEksPropertiesArgs) ElementType() reflect.Type
- func (i JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesOutput() JobDefinitionEksPropertiesOutput
- func (i JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesOutput
- func (i JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesPtrOutput() JobDefinitionEksPropertiesPtrOutput
- func (i JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPtrOutput
- type JobDefinitionEksPropertiesInput
- type JobDefinitionEksPropertiesOutput
- func (JobDefinitionEksPropertiesOutput) ElementType() reflect.Type
- func (o JobDefinitionEksPropertiesOutput) PodProperties() JobDefinitionPodPropertiesPtrOutput
- func (o JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesOutput() JobDefinitionEksPropertiesOutput
- func (o JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesOutput
- func (o JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesPtrOutput() JobDefinitionEksPropertiesPtrOutput
- func (o JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPtrOutput
- type JobDefinitionEksPropertiesPtrInput
- type JobDefinitionEksPropertiesPtrOutput
- func (o JobDefinitionEksPropertiesPtrOutput) Elem() JobDefinitionEksPropertiesOutput
- func (JobDefinitionEksPropertiesPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionEksPropertiesPtrOutput) PodProperties() JobDefinitionPodPropertiesPtrOutput
- func (o JobDefinitionEksPropertiesPtrOutput) ToJobDefinitionEksPropertiesPtrOutput() JobDefinitionEksPropertiesPtrOutput
- func (o JobDefinitionEksPropertiesPtrOutput) ToJobDefinitionEksPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPtrOutput
- type JobDefinitionEksSecret
- type JobDefinitionEksSecretArgs
- func (JobDefinitionEksSecretArgs) ElementType() reflect.Type
- func (i JobDefinitionEksSecretArgs) ToJobDefinitionEksSecretOutput() JobDefinitionEksSecretOutput
- func (i JobDefinitionEksSecretArgs) ToJobDefinitionEksSecretOutputWithContext(ctx context.Context) JobDefinitionEksSecretOutput
- func (i JobDefinitionEksSecretArgs) ToJobDefinitionEksSecretPtrOutput() JobDefinitionEksSecretPtrOutput
- func (i JobDefinitionEksSecretArgs) ToJobDefinitionEksSecretPtrOutputWithContext(ctx context.Context) JobDefinitionEksSecretPtrOutput
- type JobDefinitionEksSecretInput
- type JobDefinitionEksSecretOutput
- func (JobDefinitionEksSecretOutput) ElementType() reflect.Type
- func (o JobDefinitionEksSecretOutput) Optional() pulumi.BoolPtrOutput
- func (o JobDefinitionEksSecretOutput) SecretName() pulumi.StringOutput
- func (o JobDefinitionEksSecretOutput) ToJobDefinitionEksSecretOutput() JobDefinitionEksSecretOutput
- func (o JobDefinitionEksSecretOutput) ToJobDefinitionEksSecretOutputWithContext(ctx context.Context) JobDefinitionEksSecretOutput
- func (o JobDefinitionEksSecretOutput) ToJobDefinitionEksSecretPtrOutput() JobDefinitionEksSecretPtrOutput
- func (o JobDefinitionEksSecretOutput) ToJobDefinitionEksSecretPtrOutputWithContext(ctx context.Context) JobDefinitionEksSecretPtrOutput
- type JobDefinitionEksSecretPtrInput
- type JobDefinitionEksSecretPtrOutput
- func (o JobDefinitionEksSecretPtrOutput) Elem() JobDefinitionEksSecretOutput
- func (JobDefinitionEksSecretPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionEksSecretPtrOutput) Optional() pulumi.BoolPtrOutput
- func (o JobDefinitionEksSecretPtrOutput) SecretName() pulumi.StringPtrOutput
- func (o JobDefinitionEksSecretPtrOutput) ToJobDefinitionEksSecretPtrOutput() JobDefinitionEksSecretPtrOutput
- func (o JobDefinitionEksSecretPtrOutput) ToJobDefinitionEksSecretPtrOutputWithContext(ctx context.Context) JobDefinitionEksSecretPtrOutput
- type JobDefinitionEksVolume
- type JobDefinitionEksVolumeArgs
- type JobDefinitionEksVolumeArray
- func (JobDefinitionEksVolumeArray) ElementType() reflect.Type
- func (i JobDefinitionEksVolumeArray) ToJobDefinitionEksVolumeArrayOutput() JobDefinitionEksVolumeArrayOutput
- func (i JobDefinitionEksVolumeArray) ToJobDefinitionEksVolumeArrayOutputWithContext(ctx context.Context) JobDefinitionEksVolumeArrayOutput
- type JobDefinitionEksVolumeArrayInput
- type JobDefinitionEksVolumeArrayOutput
- func (JobDefinitionEksVolumeArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionEksVolumeArrayOutput) Index(i pulumi.IntInput) JobDefinitionEksVolumeOutput
- func (o JobDefinitionEksVolumeArrayOutput) ToJobDefinitionEksVolumeArrayOutput() JobDefinitionEksVolumeArrayOutput
- func (o JobDefinitionEksVolumeArrayOutput) ToJobDefinitionEksVolumeArrayOutputWithContext(ctx context.Context) JobDefinitionEksVolumeArrayOutput
- type JobDefinitionEksVolumeInput
- type JobDefinitionEksVolumeOutput
- func (JobDefinitionEksVolumeOutput) ElementType() reflect.Type
- func (o JobDefinitionEksVolumeOutput) EmptyDir() JobDefinitionEksEmptyDirPtrOutput
- func (o JobDefinitionEksVolumeOutput) HostPath() JobDefinitionEksHostPathPtrOutput
- func (o JobDefinitionEksVolumeOutput) Name() pulumi.StringOutput
- func (o JobDefinitionEksVolumeOutput) Secret() JobDefinitionEksSecretPtrOutput
- func (o JobDefinitionEksVolumeOutput) ToJobDefinitionEksVolumeOutput() JobDefinitionEksVolumeOutput
- func (o JobDefinitionEksVolumeOutput) ToJobDefinitionEksVolumeOutputWithContext(ctx context.Context) JobDefinitionEksVolumeOutput
- type JobDefinitionEnvironment
- type JobDefinitionEnvironmentArgs
- func (JobDefinitionEnvironmentArgs) ElementType() reflect.Type
- func (i JobDefinitionEnvironmentArgs) ToJobDefinitionEnvironmentOutput() JobDefinitionEnvironmentOutput
- func (i JobDefinitionEnvironmentArgs) ToJobDefinitionEnvironmentOutputWithContext(ctx context.Context) JobDefinitionEnvironmentOutput
- type JobDefinitionEnvironmentArray
- func (JobDefinitionEnvironmentArray) ElementType() reflect.Type
- func (i JobDefinitionEnvironmentArray) ToJobDefinitionEnvironmentArrayOutput() JobDefinitionEnvironmentArrayOutput
- func (i JobDefinitionEnvironmentArray) ToJobDefinitionEnvironmentArrayOutputWithContext(ctx context.Context) JobDefinitionEnvironmentArrayOutput
- type JobDefinitionEnvironmentArrayInput
- type JobDefinitionEnvironmentArrayOutput
- func (JobDefinitionEnvironmentArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionEnvironmentArrayOutput) Index(i pulumi.IntInput) JobDefinitionEnvironmentOutput
- func (o JobDefinitionEnvironmentArrayOutput) ToJobDefinitionEnvironmentArrayOutput() JobDefinitionEnvironmentArrayOutput
- func (o JobDefinitionEnvironmentArrayOutput) ToJobDefinitionEnvironmentArrayOutputWithContext(ctx context.Context) JobDefinitionEnvironmentArrayOutput
- type JobDefinitionEnvironmentInput
- type JobDefinitionEnvironmentOutput
- func (JobDefinitionEnvironmentOutput) ElementType() reflect.Type
- func (o JobDefinitionEnvironmentOutput) Name() pulumi.StringPtrOutput
- func (o JobDefinitionEnvironmentOutput) ToJobDefinitionEnvironmentOutput() JobDefinitionEnvironmentOutput
- func (o JobDefinitionEnvironmentOutput) ToJobDefinitionEnvironmentOutputWithContext(ctx context.Context) JobDefinitionEnvironmentOutput
- func (o JobDefinitionEnvironmentOutput) Value() pulumi.StringPtrOutput
- type JobDefinitionEphemeralStorage
- type JobDefinitionEphemeralStorageArgs
- func (JobDefinitionEphemeralStorageArgs) ElementType() reflect.Type
- func (i JobDefinitionEphemeralStorageArgs) ToJobDefinitionEphemeralStorageOutput() JobDefinitionEphemeralStorageOutput
- func (i JobDefinitionEphemeralStorageArgs) ToJobDefinitionEphemeralStorageOutputWithContext(ctx context.Context) JobDefinitionEphemeralStorageOutput
- func (i JobDefinitionEphemeralStorageArgs) ToJobDefinitionEphemeralStoragePtrOutput() JobDefinitionEphemeralStoragePtrOutput
- func (i JobDefinitionEphemeralStorageArgs) ToJobDefinitionEphemeralStoragePtrOutputWithContext(ctx context.Context) JobDefinitionEphemeralStoragePtrOutput
- type JobDefinitionEphemeralStorageInput
- type JobDefinitionEphemeralStorageOutput
- func (JobDefinitionEphemeralStorageOutput) ElementType() reflect.Type
- func (o JobDefinitionEphemeralStorageOutput) SizeInGiB() pulumi.IntOutput
- func (o JobDefinitionEphemeralStorageOutput) ToJobDefinitionEphemeralStorageOutput() JobDefinitionEphemeralStorageOutput
- func (o JobDefinitionEphemeralStorageOutput) ToJobDefinitionEphemeralStorageOutputWithContext(ctx context.Context) JobDefinitionEphemeralStorageOutput
- func (o JobDefinitionEphemeralStorageOutput) ToJobDefinitionEphemeralStoragePtrOutput() JobDefinitionEphemeralStoragePtrOutput
- func (o JobDefinitionEphemeralStorageOutput) ToJobDefinitionEphemeralStoragePtrOutputWithContext(ctx context.Context) JobDefinitionEphemeralStoragePtrOutput
- type JobDefinitionEphemeralStoragePtrInput
- type JobDefinitionEphemeralStoragePtrOutput
- func (o JobDefinitionEphemeralStoragePtrOutput) Elem() JobDefinitionEphemeralStorageOutput
- func (JobDefinitionEphemeralStoragePtrOutput) ElementType() reflect.Type
- func (o JobDefinitionEphemeralStoragePtrOutput) SizeInGiB() pulumi.IntPtrOutput
- func (o JobDefinitionEphemeralStoragePtrOutput) ToJobDefinitionEphemeralStoragePtrOutput() JobDefinitionEphemeralStoragePtrOutput
- func (o JobDefinitionEphemeralStoragePtrOutput) ToJobDefinitionEphemeralStoragePtrOutputWithContext(ctx context.Context) JobDefinitionEphemeralStoragePtrOutput
- type JobDefinitionEvaluateOnExit
- type JobDefinitionEvaluateOnExitArgs
- func (JobDefinitionEvaluateOnExitArgs) ElementType() reflect.Type
- func (i JobDefinitionEvaluateOnExitArgs) ToJobDefinitionEvaluateOnExitOutput() JobDefinitionEvaluateOnExitOutput
- func (i JobDefinitionEvaluateOnExitArgs) ToJobDefinitionEvaluateOnExitOutputWithContext(ctx context.Context) JobDefinitionEvaluateOnExitOutput
- type JobDefinitionEvaluateOnExitArray
- func (JobDefinitionEvaluateOnExitArray) ElementType() reflect.Type
- func (i JobDefinitionEvaluateOnExitArray) ToJobDefinitionEvaluateOnExitArrayOutput() JobDefinitionEvaluateOnExitArrayOutput
- func (i JobDefinitionEvaluateOnExitArray) ToJobDefinitionEvaluateOnExitArrayOutputWithContext(ctx context.Context) JobDefinitionEvaluateOnExitArrayOutput
- type JobDefinitionEvaluateOnExitArrayInput
- type JobDefinitionEvaluateOnExitArrayOutput
- func (JobDefinitionEvaluateOnExitArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionEvaluateOnExitArrayOutput) Index(i pulumi.IntInput) JobDefinitionEvaluateOnExitOutput
- func (o JobDefinitionEvaluateOnExitArrayOutput) ToJobDefinitionEvaluateOnExitArrayOutput() JobDefinitionEvaluateOnExitArrayOutput
- func (o JobDefinitionEvaluateOnExitArrayOutput) ToJobDefinitionEvaluateOnExitArrayOutputWithContext(ctx context.Context) JobDefinitionEvaluateOnExitArrayOutput
- type JobDefinitionEvaluateOnExitInput
- type JobDefinitionEvaluateOnExitOutput
- func (o JobDefinitionEvaluateOnExitOutput) Action() pulumi.StringOutput
- func (JobDefinitionEvaluateOnExitOutput) ElementType() reflect.Type
- func (o JobDefinitionEvaluateOnExitOutput) OnExitCode() pulumi.StringPtrOutput
- func (o JobDefinitionEvaluateOnExitOutput) OnReason() pulumi.StringPtrOutput
- func (o JobDefinitionEvaluateOnExitOutput) OnStatusReason() pulumi.StringPtrOutput
- func (o JobDefinitionEvaluateOnExitOutput) ToJobDefinitionEvaluateOnExitOutput() JobDefinitionEvaluateOnExitOutput
- func (o JobDefinitionEvaluateOnExitOutput) ToJobDefinitionEvaluateOnExitOutputWithContext(ctx context.Context) JobDefinitionEvaluateOnExitOutput
- type JobDefinitionFargatePlatformConfiguration
- type JobDefinitionFargatePlatformConfigurationArgs
- func (JobDefinitionFargatePlatformConfigurationArgs) ElementType() reflect.Type
- func (i JobDefinitionFargatePlatformConfigurationArgs) ToJobDefinitionFargatePlatformConfigurationOutput() JobDefinitionFargatePlatformConfigurationOutput
- func (i JobDefinitionFargatePlatformConfigurationArgs) ToJobDefinitionFargatePlatformConfigurationOutputWithContext(ctx context.Context) JobDefinitionFargatePlatformConfigurationOutput
- func (i JobDefinitionFargatePlatformConfigurationArgs) ToJobDefinitionFargatePlatformConfigurationPtrOutput() JobDefinitionFargatePlatformConfigurationPtrOutput
- func (i JobDefinitionFargatePlatformConfigurationArgs) ToJobDefinitionFargatePlatformConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionFargatePlatformConfigurationPtrOutput
- type JobDefinitionFargatePlatformConfigurationInput
- type JobDefinitionFargatePlatformConfigurationOutput
- func (JobDefinitionFargatePlatformConfigurationOutput) ElementType() reflect.Type
- func (o JobDefinitionFargatePlatformConfigurationOutput) PlatformVersion() pulumi.StringPtrOutput
- func (o JobDefinitionFargatePlatformConfigurationOutput) ToJobDefinitionFargatePlatformConfigurationOutput() JobDefinitionFargatePlatformConfigurationOutput
- func (o JobDefinitionFargatePlatformConfigurationOutput) ToJobDefinitionFargatePlatformConfigurationOutputWithContext(ctx context.Context) JobDefinitionFargatePlatformConfigurationOutput
- func (o JobDefinitionFargatePlatformConfigurationOutput) ToJobDefinitionFargatePlatformConfigurationPtrOutput() JobDefinitionFargatePlatformConfigurationPtrOutput
- func (o JobDefinitionFargatePlatformConfigurationOutput) ToJobDefinitionFargatePlatformConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionFargatePlatformConfigurationPtrOutput
- type JobDefinitionFargatePlatformConfigurationPtrInput
- type JobDefinitionFargatePlatformConfigurationPtrOutput
- func (o JobDefinitionFargatePlatformConfigurationPtrOutput) Elem() JobDefinitionFargatePlatformConfigurationOutput
- func (JobDefinitionFargatePlatformConfigurationPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionFargatePlatformConfigurationPtrOutput) PlatformVersion() pulumi.StringPtrOutput
- func (o JobDefinitionFargatePlatformConfigurationPtrOutput) ToJobDefinitionFargatePlatformConfigurationPtrOutput() JobDefinitionFargatePlatformConfigurationPtrOutput
- func (o JobDefinitionFargatePlatformConfigurationPtrOutput) ToJobDefinitionFargatePlatformConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionFargatePlatformConfigurationPtrOutput
- type JobDefinitionImagePullSecret
- type JobDefinitionImagePullSecretArgs
- func (JobDefinitionImagePullSecretArgs) ElementType() reflect.Type
- func (i JobDefinitionImagePullSecretArgs) ToJobDefinitionImagePullSecretOutput() JobDefinitionImagePullSecretOutput
- func (i JobDefinitionImagePullSecretArgs) ToJobDefinitionImagePullSecretOutputWithContext(ctx context.Context) JobDefinitionImagePullSecretOutput
- type JobDefinitionImagePullSecretArray
- func (JobDefinitionImagePullSecretArray) ElementType() reflect.Type
- func (i JobDefinitionImagePullSecretArray) ToJobDefinitionImagePullSecretArrayOutput() JobDefinitionImagePullSecretArrayOutput
- func (i JobDefinitionImagePullSecretArray) ToJobDefinitionImagePullSecretArrayOutputWithContext(ctx context.Context) JobDefinitionImagePullSecretArrayOutput
- type JobDefinitionImagePullSecretArrayInput
- type JobDefinitionImagePullSecretArrayOutput
- func (JobDefinitionImagePullSecretArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionImagePullSecretArrayOutput) Index(i pulumi.IntInput) JobDefinitionImagePullSecretOutput
- func (o JobDefinitionImagePullSecretArrayOutput) ToJobDefinitionImagePullSecretArrayOutput() JobDefinitionImagePullSecretArrayOutput
- func (o JobDefinitionImagePullSecretArrayOutput) ToJobDefinitionImagePullSecretArrayOutputWithContext(ctx context.Context) JobDefinitionImagePullSecretArrayOutput
- type JobDefinitionImagePullSecretInput
- type JobDefinitionImagePullSecretOutput
- func (JobDefinitionImagePullSecretOutput) ElementType() reflect.Type
- func (o JobDefinitionImagePullSecretOutput) Name() pulumi.StringOutput
- func (o JobDefinitionImagePullSecretOutput) ToJobDefinitionImagePullSecretOutput() JobDefinitionImagePullSecretOutput
- func (o JobDefinitionImagePullSecretOutput) ToJobDefinitionImagePullSecretOutputWithContext(ctx context.Context) JobDefinitionImagePullSecretOutput
- type JobDefinitionInput
- type JobDefinitionLinuxParameters
- type JobDefinitionLinuxParametersArgs
- func (JobDefinitionLinuxParametersArgs) ElementType() reflect.Type
- func (i JobDefinitionLinuxParametersArgs) ToJobDefinitionLinuxParametersOutput() JobDefinitionLinuxParametersOutput
- func (i JobDefinitionLinuxParametersArgs) ToJobDefinitionLinuxParametersOutputWithContext(ctx context.Context) JobDefinitionLinuxParametersOutput
- func (i JobDefinitionLinuxParametersArgs) ToJobDefinitionLinuxParametersPtrOutput() JobDefinitionLinuxParametersPtrOutput
- func (i JobDefinitionLinuxParametersArgs) ToJobDefinitionLinuxParametersPtrOutputWithContext(ctx context.Context) JobDefinitionLinuxParametersPtrOutput
- type JobDefinitionLinuxParametersInput
- type JobDefinitionLinuxParametersOutput
- func (o JobDefinitionLinuxParametersOutput) Devices() JobDefinitionDeviceArrayOutput
- func (JobDefinitionLinuxParametersOutput) ElementType() reflect.Type
- func (o JobDefinitionLinuxParametersOutput) InitProcessEnabled() pulumi.BoolPtrOutput
- func (o JobDefinitionLinuxParametersOutput) MaxSwap() pulumi.IntPtrOutput
- func (o JobDefinitionLinuxParametersOutput) SharedMemorySize() pulumi.IntPtrOutput
- func (o JobDefinitionLinuxParametersOutput) Swappiness() pulumi.IntPtrOutput
- func (o JobDefinitionLinuxParametersOutput) Tmpfs() JobDefinitionTmpfsArrayOutput
- func (o JobDefinitionLinuxParametersOutput) ToJobDefinitionLinuxParametersOutput() JobDefinitionLinuxParametersOutput
- func (o JobDefinitionLinuxParametersOutput) ToJobDefinitionLinuxParametersOutputWithContext(ctx context.Context) JobDefinitionLinuxParametersOutput
- func (o JobDefinitionLinuxParametersOutput) ToJobDefinitionLinuxParametersPtrOutput() JobDefinitionLinuxParametersPtrOutput
- func (o JobDefinitionLinuxParametersOutput) ToJobDefinitionLinuxParametersPtrOutputWithContext(ctx context.Context) JobDefinitionLinuxParametersPtrOutput
- type JobDefinitionLinuxParametersPtrInput
- type JobDefinitionLinuxParametersPtrOutput
- func (o JobDefinitionLinuxParametersPtrOutput) Devices() JobDefinitionDeviceArrayOutput
- func (o JobDefinitionLinuxParametersPtrOutput) Elem() JobDefinitionLinuxParametersOutput
- func (JobDefinitionLinuxParametersPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionLinuxParametersPtrOutput) InitProcessEnabled() pulumi.BoolPtrOutput
- func (o JobDefinitionLinuxParametersPtrOutput) MaxSwap() pulumi.IntPtrOutput
- func (o JobDefinitionLinuxParametersPtrOutput) SharedMemorySize() pulumi.IntPtrOutput
- func (o JobDefinitionLinuxParametersPtrOutput) Swappiness() pulumi.IntPtrOutput
- func (o JobDefinitionLinuxParametersPtrOutput) Tmpfs() JobDefinitionTmpfsArrayOutput
- func (o JobDefinitionLinuxParametersPtrOutput) ToJobDefinitionLinuxParametersPtrOutput() JobDefinitionLinuxParametersPtrOutput
- func (o JobDefinitionLinuxParametersPtrOutput) ToJobDefinitionLinuxParametersPtrOutputWithContext(ctx context.Context) JobDefinitionLinuxParametersPtrOutput
- type JobDefinitionLogConfiguration
- type JobDefinitionLogConfigurationArgs
- func (JobDefinitionLogConfigurationArgs) ElementType() reflect.Type
- func (i JobDefinitionLogConfigurationArgs) ToJobDefinitionLogConfigurationOutput() JobDefinitionLogConfigurationOutput
- func (i JobDefinitionLogConfigurationArgs) ToJobDefinitionLogConfigurationOutputWithContext(ctx context.Context) JobDefinitionLogConfigurationOutput
- func (i JobDefinitionLogConfigurationArgs) ToJobDefinitionLogConfigurationPtrOutput() JobDefinitionLogConfigurationPtrOutput
- func (i JobDefinitionLogConfigurationArgs) ToJobDefinitionLogConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionLogConfigurationPtrOutput
- type JobDefinitionLogConfigurationInput
- type JobDefinitionLogConfigurationOutput
- func (JobDefinitionLogConfigurationOutput) ElementType() reflect.Type
- func (o JobDefinitionLogConfigurationOutput) LogDriver() pulumi.StringOutput
- func (o JobDefinitionLogConfigurationOutput) Options() pulumi.AnyOutput
- func (o JobDefinitionLogConfigurationOutput) SecretOptions() JobDefinitionSecretArrayOutput
- func (o JobDefinitionLogConfigurationOutput) ToJobDefinitionLogConfigurationOutput() JobDefinitionLogConfigurationOutput
- func (o JobDefinitionLogConfigurationOutput) ToJobDefinitionLogConfigurationOutputWithContext(ctx context.Context) JobDefinitionLogConfigurationOutput
- func (o JobDefinitionLogConfigurationOutput) ToJobDefinitionLogConfigurationPtrOutput() JobDefinitionLogConfigurationPtrOutput
- func (o JobDefinitionLogConfigurationOutput) ToJobDefinitionLogConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionLogConfigurationPtrOutput
- type JobDefinitionLogConfigurationPtrInput
- type JobDefinitionLogConfigurationPtrOutput
- func (o JobDefinitionLogConfigurationPtrOutput) Elem() JobDefinitionLogConfigurationOutput
- func (JobDefinitionLogConfigurationPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionLogConfigurationPtrOutput) LogDriver() pulumi.StringPtrOutput
- func (o JobDefinitionLogConfigurationPtrOutput) Options() pulumi.AnyOutput
- func (o JobDefinitionLogConfigurationPtrOutput) SecretOptions() JobDefinitionSecretArrayOutput
- func (o JobDefinitionLogConfigurationPtrOutput) ToJobDefinitionLogConfigurationPtrOutput() JobDefinitionLogConfigurationPtrOutput
- func (o JobDefinitionLogConfigurationPtrOutput) ToJobDefinitionLogConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionLogConfigurationPtrOutput
- type JobDefinitionMetadata
- type JobDefinitionMetadataArgs
- func (JobDefinitionMetadataArgs) ElementType() reflect.Type
- func (i JobDefinitionMetadataArgs) ToJobDefinitionMetadataOutput() JobDefinitionMetadataOutput
- func (i JobDefinitionMetadataArgs) ToJobDefinitionMetadataOutputWithContext(ctx context.Context) JobDefinitionMetadataOutput
- func (i JobDefinitionMetadataArgs) ToJobDefinitionMetadataPtrOutput() JobDefinitionMetadataPtrOutput
- func (i JobDefinitionMetadataArgs) ToJobDefinitionMetadataPtrOutputWithContext(ctx context.Context) JobDefinitionMetadataPtrOutput
- type JobDefinitionMetadataInput
- type JobDefinitionMetadataOutput
- func (JobDefinitionMetadataOutput) ElementType() reflect.Type
- func (o JobDefinitionMetadataOutput) Labels() pulumi.AnyOutput
- func (o JobDefinitionMetadataOutput) ToJobDefinitionMetadataOutput() JobDefinitionMetadataOutput
- func (o JobDefinitionMetadataOutput) ToJobDefinitionMetadataOutputWithContext(ctx context.Context) JobDefinitionMetadataOutput
- func (o JobDefinitionMetadataOutput) ToJobDefinitionMetadataPtrOutput() JobDefinitionMetadataPtrOutput
- func (o JobDefinitionMetadataOutput) ToJobDefinitionMetadataPtrOutputWithContext(ctx context.Context) JobDefinitionMetadataPtrOutput
- type JobDefinitionMetadataPtrInput
- type JobDefinitionMetadataPtrOutput
- func (o JobDefinitionMetadataPtrOutput) Elem() JobDefinitionMetadataOutput
- func (JobDefinitionMetadataPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionMetadataPtrOutput) Labels() pulumi.AnyOutput
- func (o JobDefinitionMetadataPtrOutput) ToJobDefinitionMetadataPtrOutput() JobDefinitionMetadataPtrOutput
- func (o JobDefinitionMetadataPtrOutput) ToJobDefinitionMetadataPtrOutputWithContext(ctx context.Context) JobDefinitionMetadataPtrOutput
- type JobDefinitionMountPoints
- type JobDefinitionMountPointsArgs
- func (JobDefinitionMountPointsArgs) ElementType() reflect.Type
- func (i JobDefinitionMountPointsArgs) ToJobDefinitionMountPointsOutput() JobDefinitionMountPointsOutput
- func (i JobDefinitionMountPointsArgs) ToJobDefinitionMountPointsOutputWithContext(ctx context.Context) JobDefinitionMountPointsOutput
- type JobDefinitionMountPointsArray
- func (JobDefinitionMountPointsArray) ElementType() reflect.Type
- func (i JobDefinitionMountPointsArray) ToJobDefinitionMountPointsArrayOutput() JobDefinitionMountPointsArrayOutput
- func (i JobDefinitionMountPointsArray) ToJobDefinitionMountPointsArrayOutputWithContext(ctx context.Context) JobDefinitionMountPointsArrayOutput
- type JobDefinitionMountPointsArrayInput
- type JobDefinitionMountPointsArrayOutput
- func (JobDefinitionMountPointsArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionMountPointsArrayOutput) Index(i pulumi.IntInput) JobDefinitionMountPointsOutput
- func (o JobDefinitionMountPointsArrayOutput) ToJobDefinitionMountPointsArrayOutput() JobDefinitionMountPointsArrayOutput
- func (o JobDefinitionMountPointsArrayOutput) ToJobDefinitionMountPointsArrayOutputWithContext(ctx context.Context) JobDefinitionMountPointsArrayOutput
- type JobDefinitionMountPointsInput
- type JobDefinitionMountPointsOutput
- func (o JobDefinitionMountPointsOutput) ContainerPath() pulumi.StringPtrOutput
- func (JobDefinitionMountPointsOutput) ElementType() reflect.Type
- func (o JobDefinitionMountPointsOutput) ReadOnly() pulumi.BoolPtrOutput
- func (o JobDefinitionMountPointsOutput) SourceVolume() pulumi.StringPtrOutput
- func (o JobDefinitionMountPointsOutput) ToJobDefinitionMountPointsOutput() JobDefinitionMountPointsOutput
- func (o JobDefinitionMountPointsOutput) ToJobDefinitionMountPointsOutputWithContext(ctx context.Context) JobDefinitionMountPointsOutput
- type JobDefinitionNetworkConfiguration
- type JobDefinitionNetworkConfigurationArgs
- func (JobDefinitionNetworkConfigurationArgs) ElementType() reflect.Type
- func (i JobDefinitionNetworkConfigurationArgs) ToJobDefinitionNetworkConfigurationOutput() JobDefinitionNetworkConfigurationOutput
- func (i JobDefinitionNetworkConfigurationArgs) ToJobDefinitionNetworkConfigurationOutputWithContext(ctx context.Context) JobDefinitionNetworkConfigurationOutput
- func (i JobDefinitionNetworkConfigurationArgs) ToJobDefinitionNetworkConfigurationPtrOutput() JobDefinitionNetworkConfigurationPtrOutput
- func (i JobDefinitionNetworkConfigurationArgs) ToJobDefinitionNetworkConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionNetworkConfigurationPtrOutput
- type JobDefinitionNetworkConfigurationInput
- type JobDefinitionNetworkConfigurationOutput
- func (o JobDefinitionNetworkConfigurationOutput) AssignPublicIp() pulumi.StringPtrOutput
- func (JobDefinitionNetworkConfigurationOutput) ElementType() reflect.Type
- func (o JobDefinitionNetworkConfigurationOutput) ToJobDefinitionNetworkConfigurationOutput() JobDefinitionNetworkConfigurationOutput
- func (o JobDefinitionNetworkConfigurationOutput) ToJobDefinitionNetworkConfigurationOutputWithContext(ctx context.Context) JobDefinitionNetworkConfigurationOutput
- func (o JobDefinitionNetworkConfigurationOutput) ToJobDefinitionNetworkConfigurationPtrOutput() JobDefinitionNetworkConfigurationPtrOutput
- func (o JobDefinitionNetworkConfigurationOutput) ToJobDefinitionNetworkConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionNetworkConfigurationPtrOutput
- type JobDefinitionNetworkConfigurationPtrInput
- type JobDefinitionNetworkConfigurationPtrOutput
- func (o JobDefinitionNetworkConfigurationPtrOutput) AssignPublicIp() pulumi.StringPtrOutput
- func (o JobDefinitionNetworkConfigurationPtrOutput) Elem() JobDefinitionNetworkConfigurationOutput
- func (JobDefinitionNetworkConfigurationPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionNetworkConfigurationPtrOutput) ToJobDefinitionNetworkConfigurationPtrOutput() JobDefinitionNetworkConfigurationPtrOutput
- func (o JobDefinitionNetworkConfigurationPtrOutput) ToJobDefinitionNetworkConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionNetworkConfigurationPtrOutput
- type JobDefinitionNodeProperties
- type JobDefinitionNodePropertiesArgs
- func (JobDefinitionNodePropertiesArgs) ElementType() reflect.Type
- func (i JobDefinitionNodePropertiesArgs) ToJobDefinitionNodePropertiesOutput() JobDefinitionNodePropertiesOutput
- func (i JobDefinitionNodePropertiesArgs) ToJobDefinitionNodePropertiesOutputWithContext(ctx context.Context) JobDefinitionNodePropertiesOutput
- func (i JobDefinitionNodePropertiesArgs) ToJobDefinitionNodePropertiesPtrOutput() JobDefinitionNodePropertiesPtrOutput
- func (i JobDefinitionNodePropertiesArgs) ToJobDefinitionNodePropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionNodePropertiesPtrOutput
- type JobDefinitionNodePropertiesInput
- type JobDefinitionNodePropertiesOutput
- func (JobDefinitionNodePropertiesOutput) ElementType() reflect.Type
- func (o JobDefinitionNodePropertiesOutput) MainNode() pulumi.IntOutput
- func (o JobDefinitionNodePropertiesOutput) NodeRangeProperties() JobDefinitionNodeRangePropertyArrayOutput
- func (o JobDefinitionNodePropertiesOutput) NumNodes() pulumi.IntOutput
- func (o JobDefinitionNodePropertiesOutput) ToJobDefinitionNodePropertiesOutput() JobDefinitionNodePropertiesOutput
- func (o JobDefinitionNodePropertiesOutput) ToJobDefinitionNodePropertiesOutputWithContext(ctx context.Context) JobDefinitionNodePropertiesOutput
- func (o JobDefinitionNodePropertiesOutput) ToJobDefinitionNodePropertiesPtrOutput() JobDefinitionNodePropertiesPtrOutput
- func (o JobDefinitionNodePropertiesOutput) ToJobDefinitionNodePropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionNodePropertiesPtrOutput
- type JobDefinitionNodePropertiesPtrInput
- type JobDefinitionNodePropertiesPtrOutput
- func (o JobDefinitionNodePropertiesPtrOutput) Elem() JobDefinitionNodePropertiesOutput
- func (JobDefinitionNodePropertiesPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionNodePropertiesPtrOutput) MainNode() pulumi.IntPtrOutput
- func (o JobDefinitionNodePropertiesPtrOutput) NodeRangeProperties() JobDefinitionNodeRangePropertyArrayOutput
- func (o JobDefinitionNodePropertiesPtrOutput) NumNodes() pulumi.IntPtrOutput
- func (o JobDefinitionNodePropertiesPtrOutput) ToJobDefinitionNodePropertiesPtrOutput() JobDefinitionNodePropertiesPtrOutput
- func (o JobDefinitionNodePropertiesPtrOutput) ToJobDefinitionNodePropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionNodePropertiesPtrOutput
- type JobDefinitionNodeRangeProperty
- type JobDefinitionNodeRangePropertyArgs
- func (JobDefinitionNodeRangePropertyArgs) ElementType() reflect.Type
- func (i JobDefinitionNodeRangePropertyArgs) ToJobDefinitionNodeRangePropertyOutput() JobDefinitionNodeRangePropertyOutput
- func (i JobDefinitionNodeRangePropertyArgs) ToJobDefinitionNodeRangePropertyOutputWithContext(ctx context.Context) JobDefinitionNodeRangePropertyOutput
- type JobDefinitionNodeRangePropertyArray
- func (JobDefinitionNodeRangePropertyArray) ElementType() reflect.Type
- func (i JobDefinitionNodeRangePropertyArray) ToJobDefinitionNodeRangePropertyArrayOutput() JobDefinitionNodeRangePropertyArrayOutput
- func (i JobDefinitionNodeRangePropertyArray) ToJobDefinitionNodeRangePropertyArrayOutputWithContext(ctx context.Context) JobDefinitionNodeRangePropertyArrayOutput
- type JobDefinitionNodeRangePropertyArrayInput
- type JobDefinitionNodeRangePropertyArrayOutput
- func (JobDefinitionNodeRangePropertyArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionNodeRangePropertyArrayOutput) Index(i pulumi.IntInput) JobDefinitionNodeRangePropertyOutput
- func (o JobDefinitionNodeRangePropertyArrayOutput) ToJobDefinitionNodeRangePropertyArrayOutput() JobDefinitionNodeRangePropertyArrayOutput
- func (o JobDefinitionNodeRangePropertyArrayOutput) ToJobDefinitionNodeRangePropertyArrayOutputWithContext(ctx context.Context) JobDefinitionNodeRangePropertyArrayOutput
- type JobDefinitionNodeRangePropertyInput
- type JobDefinitionNodeRangePropertyOutput
- func (o JobDefinitionNodeRangePropertyOutput) Container() JobDefinitionContainerPropertiesPtrOutput
- func (o JobDefinitionNodeRangePropertyOutput) EcsProperties() JobDefinitionEcsPropertiesPtrOutput
- func (o JobDefinitionNodeRangePropertyOutput) EksProperties() JobDefinitionEksPropertiesPtrOutput
- func (JobDefinitionNodeRangePropertyOutput) ElementType() reflect.Type
- func (o JobDefinitionNodeRangePropertyOutput) InstanceTypes() pulumi.StringArrayOutput
- func (o JobDefinitionNodeRangePropertyOutput) TargetNodes() pulumi.StringOutput
- func (o JobDefinitionNodeRangePropertyOutput) ToJobDefinitionNodeRangePropertyOutput() JobDefinitionNodeRangePropertyOutput
- func (o JobDefinitionNodeRangePropertyOutput) ToJobDefinitionNodeRangePropertyOutputWithContext(ctx context.Context) JobDefinitionNodeRangePropertyOutput
- type JobDefinitionOutput
- func (o JobDefinitionOutput) AwsId() pulumi.StringOutput
- func (o JobDefinitionOutput) ContainerProperties() JobDefinitionContainerPropertiesPtrOutput
- func (o JobDefinitionOutput) EcsProperties() JobDefinitionEcsPropertiesPtrOutput
- func (o JobDefinitionOutput) EksProperties() JobDefinitionEksPropertiesPtrOutput
- func (JobDefinitionOutput) ElementType() reflect.Type
- func (o JobDefinitionOutput) JobDefinitionName() pulumi.StringPtrOutput
- func (o JobDefinitionOutput) NodeProperties() JobDefinitionNodePropertiesPtrOutput
- func (o JobDefinitionOutput) Parameters() pulumi.AnyOutput
- func (o JobDefinitionOutput) PlatformCapabilities() pulumi.StringArrayOutput
- func (o JobDefinitionOutput) PropagateTags() pulumi.BoolPtrOutput
- func (o JobDefinitionOutput) RetryStrategy() JobDefinitionRetryStrategyPtrOutput
- func (o JobDefinitionOutput) SchedulingPriority() pulumi.IntPtrOutput
- func (o JobDefinitionOutput) Tags() pulumi.AnyOutput
- 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 JobDefinitionPodProperties
- type JobDefinitionPodPropertiesArgs
- func (JobDefinitionPodPropertiesArgs) ElementType() reflect.Type
- func (i JobDefinitionPodPropertiesArgs) ToJobDefinitionPodPropertiesOutput() JobDefinitionPodPropertiesOutput
- func (i JobDefinitionPodPropertiesArgs) ToJobDefinitionPodPropertiesOutputWithContext(ctx context.Context) JobDefinitionPodPropertiesOutput
- func (i JobDefinitionPodPropertiesArgs) ToJobDefinitionPodPropertiesPtrOutput() JobDefinitionPodPropertiesPtrOutput
- func (i JobDefinitionPodPropertiesArgs) ToJobDefinitionPodPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionPodPropertiesPtrOutput
- type JobDefinitionPodPropertiesInput
- type JobDefinitionPodPropertiesOutput
- func (o JobDefinitionPodPropertiesOutput) Containers() JobDefinitionEksContainerArrayOutput
- func (o JobDefinitionPodPropertiesOutput) DnsPolicy() pulumi.StringPtrOutput
- func (JobDefinitionPodPropertiesOutput) ElementType() reflect.Type
- func (o JobDefinitionPodPropertiesOutput) HostNetwork() pulumi.BoolPtrOutput
- func (o JobDefinitionPodPropertiesOutput) ImagePullSecrets() JobDefinitionImagePullSecretArrayOutput
- func (o JobDefinitionPodPropertiesOutput) InitContainers() JobDefinitionEksContainerArrayOutput
- func (o JobDefinitionPodPropertiesOutput) Metadata() JobDefinitionMetadataPtrOutput
- func (o JobDefinitionPodPropertiesOutput) ServiceAccountName() pulumi.StringPtrOutput
- func (o JobDefinitionPodPropertiesOutput) ShareProcessNamespace() pulumi.BoolPtrOutput
- func (o JobDefinitionPodPropertiesOutput) ToJobDefinitionPodPropertiesOutput() JobDefinitionPodPropertiesOutput
- func (o JobDefinitionPodPropertiesOutput) ToJobDefinitionPodPropertiesOutputWithContext(ctx context.Context) JobDefinitionPodPropertiesOutput
- func (o JobDefinitionPodPropertiesOutput) ToJobDefinitionPodPropertiesPtrOutput() JobDefinitionPodPropertiesPtrOutput
- func (o JobDefinitionPodPropertiesOutput) ToJobDefinitionPodPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionPodPropertiesPtrOutput
- func (o JobDefinitionPodPropertiesOutput) Volumes() JobDefinitionEksVolumeArrayOutput
- type JobDefinitionPodPropertiesPtrInput
- type JobDefinitionPodPropertiesPtrOutput
- func (o JobDefinitionPodPropertiesPtrOutput) Containers() JobDefinitionEksContainerArrayOutput
- func (o JobDefinitionPodPropertiesPtrOutput) DnsPolicy() pulumi.StringPtrOutput
- func (o JobDefinitionPodPropertiesPtrOutput) Elem() JobDefinitionPodPropertiesOutput
- func (JobDefinitionPodPropertiesPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionPodPropertiesPtrOutput) HostNetwork() pulumi.BoolPtrOutput
- func (o JobDefinitionPodPropertiesPtrOutput) ImagePullSecrets() JobDefinitionImagePullSecretArrayOutput
- func (o JobDefinitionPodPropertiesPtrOutput) InitContainers() JobDefinitionEksContainerArrayOutput
- func (o JobDefinitionPodPropertiesPtrOutput) Metadata() JobDefinitionMetadataPtrOutput
- func (o JobDefinitionPodPropertiesPtrOutput) ServiceAccountName() pulumi.StringPtrOutput
- func (o JobDefinitionPodPropertiesPtrOutput) ShareProcessNamespace() pulumi.BoolPtrOutput
- func (o JobDefinitionPodPropertiesPtrOutput) ToJobDefinitionPodPropertiesPtrOutput() JobDefinitionPodPropertiesPtrOutput
- func (o JobDefinitionPodPropertiesPtrOutput) ToJobDefinitionPodPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionPodPropertiesPtrOutput
- func (o JobDefinitionPodPropertiesPtrOutput) Volumes() JobDefinitionEksVolumeArrayOutput
- type JobDefinitionRepositoryCredentials
- type JobDefinitionRepositoryCredentialsArgs
- func (JobDefinitionRepositoryCredentialsArgs) ElementType() reflect.Type
- func (i JobDefinitionRepositoryCredentialsArgs) ToJobDefinitionRepositoryCredentialsOutput() JobDefinitionRepositoryCredentialsOutput
- func (i JobDefinitionRepositoryCredentialsArgs) ToJobDefinitionRepositoryCredentialsOutputWithContext(ctx context.Context) JobDefinitionRepositoryCredentialsOutput
- func (i JobDefinitionRepositoryCredentialsArgs) ToJobDefinitionRepositoryCredentialsPtrOutput() JobDefinitionRepositoryCredentialsPtrOutput
- func (i JobDefinitionRepositoryCredentialsArgs) ToJobDefinitionRepositoryCredentialsPtrOutputWithContext(ctx context.Context) JobDefinitionRepositoryCredentialsPtrOutput
- type JobDefinitionRepositoryCredentialsInput
- type JobDefinitionRepositoryCredentialsOutput
- func (o JobDefinitionRepositoryCredentialsOutput) CredentialsParameter() pulumi.StringOutput
- func (JobDefinitionRepositoryCredentialsOutput) ElementType() reflect.Type
- func (o JobDefinitionRepositoryCredentialsOutput) ToJobDefinitionRepositoryCredentialsOutput() JobDefinitionRepositoryCredentialsOutput
- func (o JobDefinitionRepositoryCredentialsOutput) ToJobDefinitionRepositoryCredentialsOutputWithContext(ctx context.Context) JobDefinitionRepositoryCredentialsOutput
- func (o JobDefinitionRepositoryCredentialsOutput) ToJobDefinitionRepositoryCredentialsPtrOutput() JobDefinitionRepositoryCredentialsPtrOutput
- func (o JobDefinitionRepositoryCredentialsOutput) ToJobDefinitionRepositoryCredentialsPtrOutputWithContext(ctx context.Context) JobDefinitionRepositoryCredentialsPtrOutput
- type JobDefinitionRepositoryCredentialsPtrInput
- type JobDefinitionRepositoryCredentialsPtrOutput
- func (o JobDefinitionRepositoryCredentialsPtrOutput) CredentialsParameter() pulumi.StringPtrOutput
- func (o JobDefinitionRepositoryCredentialsPtrOutput) Elem() JobDefinitionRepositoryCredentialsOutput
- func (JobDefinitionRepositoryCredentialsPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionRepositoryCredentialsPtrOutput) ToJobDefinitionRepositoryCredentialsPtrOutput() JobDefinitionRepositoryCredentialsPtrOutput
- func (o JobDefinitionRepositoryCredentialsPtrOutput) ToJobDefinitionRepositoryCredentialsPtrOutputWithContext(ctx context.Context) JobDefinitionRepositoryCredentialsPtrOutput
- type JobDefinitionResourceRequirement
- type JobDefinitionResourceRequirementArgs
- func (JobDefinitionResourceRequirementArgs) ElementType() reflect.Type
- func (i JobDefinitionResourceRequirementArgs) ToJobDefinitionResourceRequirementOutput() JobDefinitionResourceRequirementOutput
- func (i JobDefinitionResourceRequirementArgs) ToJobDefinitionResourceRequirementOutputWithContext(ctx context.Context) JobDefinitionResourceRequirementOutput
- type JobDefinitionResourceRequirementArray
- func (JobDefinitionResourceRequirementArray) ElementType() reflect.Type
- func (i JobDefinitionResourceRequirementArray) ToJobDefinitionResourceRequirementArrayOutput() JobDefinitionResourceRequirementArrayOutput
- func (i JobDefinitionResourceRequirementArray) ToJobDefinitionResourceRequirementArrayOutputWithContext(ctx context.Context) JobDefinitionResourceRequirementArrayOutput
- type JobDefinitionResourceRequirementArrayInput
- type JobDefinitionResourceRequirementArrayOutput
- func (JobDefinitionResourceRequirementArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionResourceRequirementArrayOutput) Index(i pulumi.IntInput) JobDefinitionResourceRequirementOutput
- func (o JobDefinitionResourceRequirementArrayOutput) ToJobDefinitionResourceRequirementArrayOutput() JobDefinitionResourceRequirementArrayOutput
- func (o JobDefinitionResourceRequirementArrayOutput) ToJobDefinitionResourceRequirementArrayOutputWithContext(ctx context.Context) JobDefinitionResourceRequirementArrayOutput
- type JobDefinitionResourceRequirementInput
- type JobDefinitionResourceRequirementOutput
- func (JobDefinitionResourceRequirementOutput) ElementType() reflect.Type
- func (o JobDefinitionResourceRequirementOutput) ToJobDefinitionResourceRequirementOutput() JobDefinitionResourceRequirementOutput
- func (o JobDefinitionResourceRequirementOutput) ToJobDefinitionResourceRequirementOutputWithContext(ctx context.Context) JobDefinitionResourceRequirementOutput
- func (o JobDefinitionResourceRequirementOutput) Type() pulumi.StringPtrOutput
- func (o JobDefinitionResourceRequirementOutput) Value() pulumi.StringPtrOutput
- 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 JobDefinitionRetryStrategyInput
- type JobDefinitionRetryStrategyOutput
- func (o JobDefinitionRetryStrategyOutput) Attempts() pulumi.IntPtrOutput
- func (JobDefinitionRetryStrategyOutput) ElementType() reflect.Type
- func (o JobDefinitionRetryStrategyOutput) EvaluateOnExit() JobDefinitionEvaluateOnExitArrayOutput
- 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) EvaluateOnExit() JobDefinitionEvaluateOnExitArrayOutput
- func (o JobDefinitionRetryStrategyPtrOutput) ToJobDefinitionRetryStrategyPtrOutput() JobDefinitionRetryStrategyPtrOutput
- func (o JobDefinitionRetryStrategyPtrOutput) ToJobDefinitionRetryStrategyPtrOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyPtrOutput
- type JobDefinitionRuntimePlatform
- type JobDefinitionRuntimePlatformArgs
- func (JobDefinitionRuntimePlatformArgs) ElementType() reflect.Type
- func (i JobDefinitionRuntimePlatformArgs) ToJobDefinitionRuntimePlatformOutput() JobDefinitionRuntimePlatformOutput
- func (i JobDefinitionRuntimePlatformArgs) ToJobDefinitionRuntimePlatformOutputWithContext(ctx context.Context) JobDefinitionRuntimePlatformOutput
- func (i JobDefinitionRuntimePlatformArgs) ToJobDefinitionRuntimePlatformPtrOutput() JobDefinitionRuntimePlatformPtrOutput
- func (i JobDefinitionRuntimePlatformArgs) ToJobDefinitionRuntimePlatformPtrOutputWithContext(ctx context.Context) JobDefinitionRuntimePlatformPtrOutput
- type JobDefinitionRuntimePlatformInput
- type JobDefinitionRuntimePlatformOutput
- func (o JobDefinitionRuntimePlatformOutput) CpuArchitecture() pulumi.StringPtrOutput
- func (JobDefinitionRuntimePlatformOutput) ElementType() reflect.Type
- func (o JobDefinitionRuntimePlatformOutput) OperatingSystemFamily() pulumi.StringPtrOutput
- func (o JobDefinitionRuntimePlatformOutput) ToJobDefinitionRuntimePlatformOutput() JobDefinitionRuntimePlatformOutput
- func (o JobDefinitionRuntimePlatformOutput) ToJobDefinitionRuntimePlatformOutputWithContext(ctx context.Context) JobDefinitionRuntimePlatformOutput
- func (o JobDefinitionRuntimePlatformOutput) ToJobDefinitionRuntimePlatformPtrOutput() JobDefinitionRuntimePlatformPtrOutput
- func (o JobDefinitionRuntimePlatformOutput) ToJobDefinitionRuntimePlatformPtrOutputWithContext(ctx context.Context) JobDefinitionRuntimePlatformPtrOutput
- type JobDefinitionRuntimePlatformPtrInput
- type JobDefinitionRuntimePlatformPtrOutput
- func (o JobDefinitionRuntimePlatformPtrOutput) CpuArchitecture() pulumi.StringPtrOutput
- func (o JobDefinitionRuntimePlatformPtrOutput) Elem() JobDefinitionRuntimePlatformOutput
- func (JobDefinitionRuntimePlatformPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionRuntimePlatformPtrOutput) OperatingSystemFamily() pulumi.StringPtrOutput
- func (o JobDefinitionRuntimePlatformPtrOutput) ToJobDefinitionRuntimePlatformPtrOutput() JobDefinitionRuntimePlatformPtrOutput
- func (o JobDefinitionRuntimePlatformPtrOutput) ToJobDefinitionRuntimePlatformPtrOutputWithContext(ctx context.Context) JobDefinitionRuntimePlatformPtrOutput
- type JobDefinitionSecret
- type JobDefinitionSecretArgs
- type JobDefinitionSecretArray
- type JobDefinitionSecretArrayInput
- type JobDefinitionSecretArrayOutput
- func (JobDefinitionSecretArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionSecretArrayOutput) Index(i pulumi.IntInput) JobDefinitionSecretOutput
- func (o JobDefinitionSecretArrayOutput) ToJobDefinitionSecretArrayOutput() JobDefinitionSecretArrayOutput
- func (o JobDefinitionSecretArrayOutput) ToJobDefinitionSecretArrayOutputWithContext(ctx context.Context) JobDefinitionSecretArrayOutput
- type JobDefinitionSecretInput
- type JobDefinitionSecretOutput
- func (JobDefinitionSecretOutput) ElementType() reflect.Type
- func (o JobDefinitionSecretOutput) Name() pulumi.StringOutput
- func (o JobDefinitionSecretOutput) ToJobDefinitionSecretOutput() JobDefinitionSecretOutput
- func (o JobDefinitionSecretOutput) ToJobDefinitionSecretOutputWithContext(ctx context.Context) JobDefinitionSecretOutput
- func (o JobDefinitionSecretOutput) ValueFrom() pulumi.StringOutput
- type JobDefinitionState
- type JobDefinitionTaskContainerDependency
- type JobDefinitionTaskContainerDependencyArgs
- func (JobDefinitionTaskContainerDependencyArgs) ElementType() reflect.Type
- func (i JobDefinitionTaskContainerDependencyArgs) ToJobDefinitionTaskContainerDependencyOutput() JobDefinitionTaskContainerDependencyOutput
- func (i JobDefinitionTaskContainerDependencyArgs) ToJobDefinitionTaskContainerDependencyOutputWithContext(ctx context.Context) JobDefinitionTaskContainerDependencyOutput
- type JobDefinitionTaskContainerDependencyArray
- func (JobDefinitionTaskContainerDependencyArray) ElementType() reflect.Type
- func (i JobDefinitionTaskContainerDependencyArray) ToJobDefinitionTaskContainerDependencyArrayOutput() JobDefinitionTaskContainerDependencyArrayOutput
- func (i JobDefinitionTaskContainerDependencyArray) ToJobDefinitionTaskContainerDependencyArrayOutputWithContext(ctx context.Context) JobDefinitionTaskContainerDependencyArrayOutput
- type JobDefinitionTaskContainerDependencyArrayInput
- type JobDefinitionTaskContainerDependencyArrayOutput
- func (JobDefinitionTaskContainerDependencyArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionTaskContainerDependencyArrayOutput) Index(i pulumi.IntInput) JobDefinitionTaskContainerDependencyOutput
- func (o JobDefinitionTaskContainerDependencyArrayOutput) ToJobDefinitionTaskContainerDependencyArrayOutput() JobDefinitionTaskContainerDependencyArrayOutput
- func (o JobDefinitionTaskContainerDependencyArrayOutput) ToJobDefinitionTaskContainerDependencyArrayOutputWithContext(ctx context.Context) JobDefinitionTaskContainerDependencyArrayOutput
- type JobDefinitionTaskContainerDependencyInput
- type JobDefinitionTaskContainerDependencyOutput
- func (o JobDefinitionTaskContainerDependencyOutput) Condition() pulumi.StringOutput
- func (o JobDefinitionTaskContainerDependencyOutput) ContainerName() pulumi.StringOutput
- func (JobDefinitionTaskContainerDependencyOutput) ElementType() reflect.Type
- func (o JobDefinitionTaskContainerDependencyOutput) ToJobDefinitionTaskContainerDependencyOutput() JobDefinitionTaskContainerDependencyOutput
- func (o JobDefinitionTaskContainerDependencyOutput) ToJobDefinitionTaskContainerDependencyOutputWithContext(ctx context.Context) JobDefinitionTaskContainerDependencyOutput
- type JobDefinitionTaskContainerProperties
- type JobDefinitionTaskContainerPropertiesArgs
- func (JobDefinitionTaskContainerPropertiesArgs) ElementType() reflect.Type
- func (i JobDefinitionTaskContainerPropertiesArgs) ToJobDefinitionTaskContainerPropertiesOutput() JobDefinitionTaskContainerPropertiesOutput
- func (i JobDefinitionTaskContainerPropertiesArgs) ToJobDefinitionTaskContainerPropertiesOutputWithContext(ctx context.Context) JobDefinitionTaskContainerPropertiesOutput
- type JobDefinitionTaskContainerPropertiesArray
- func (JobDefinitionTaskContainerPropertiesArray) ElementType() reflect.Type
- func (i JobDefinitionTaskContainerPropertiesArray) ToJobDefinitionTaskContainerPropertiesArrayOutput() JobDefinitionTaskContainerPropertiesArrayOutput
- func (i JobDefinitionTaskContainerPropertiesArray) ToJobDefinitionTaskContainerPropertiesArrayOutputWithContext(ctx context.Context) JobDefinitionTaskContainerPropertiesArrayOutput
- type JobDefinitionTaskContainerPropertiesArrayInput
- type JobDefinitionTaskContainerPropertiesArrayOutput
- func (JobDefinitionTaskContainerPropertiesArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionTaskContainerPropertiesArrayOutput) Index(i pulumi.IntInput) JobDefinitionTaskContainerPropertiesOutput
- func (o JobDefinitionTaskContainerPropertiesArrayOutput) ToJobDefinitionTaskContainerPropertiesArrayOutput() JobDefinitionTaskContainerPropertiesArrayOutput
- func (o JobDefinitionTaskContainerPropertiesArrayOutput) ToJobDefinitionTaskContainerPropertiesArrayOutputWithContext(ctx context.Context) JobDefinitionTaskContainerPropertiesArrayOutput
- type JobDefinitionTaskContainerPropertiesInput
- type JobDefinitionTaskContainerPropertiesOutput
- func (o JobDefinitionTaskContainerPropertiesOutput) Command() pulumi.StringArrayOutput
- func (o JobDefinitionTaskContainerPropertiesOutput) DependsOn() JobDefinitionTaskContainerDependencyArrayOutput
- func (JobDefinitionTaskContainerPropertiesOutput) ElementType() reflect.Type
- func (o JobDefinitionTaskContainerPropertiesOutput) Environment() JobDefinitionEnvironmentArrayOutput
- func (o JobDefinitionTaskContainerPropertiesOutput) Essential() pulumi.BoolPtrOutput
- func (o JobDefinitionTaskContainerPropertiesOutput) Image() pulumi.StringOutput
- func (o JobDefinitionTaskContainerPropertiesOutput) LinuxParameters() JobDefinitionLinuxParametersPtrOutput
- func (o JobDefinitionTaskContainerPropertiesOutput) LogConfiguration() JobDefinitionLogConfigurationPtrOutput
- func (o JobDefinitionTaskContainerPropertiesOutput) MountPoints() JobDefinitionMountPointsArrayOutput
- func (o JobDefinitionTaskContainerPropertiesOutput) Name() pulumi.StringPtrOutput
- func (o JobDefinitionTaskContainerPropertiesOutput) Privileged() pulumi.BoolPtrOutput
- func (o JobDefinitionTaskContainerPropertiesOutput) ReadonlyRootFilesystem() pulumi.BoolPtrOutput
- func (o JobDefinitionTaskContainerPropertiesOutput) RepositoryCredentials() JobDefinitionRepositoryCredentialsPtrOutput
- func (o JobDefinitionTaskContainerPropertiesOutput) ResourceRequirements() JobDefinitionResourceRequirementArrayOutput
- func (o JobDefinitionTaskContainerPropertiesOutput) Secrets() JobDefinitionSecretArrayOutput
- func (o JobDefinitionTaskContainerPropertiesOutput) ToJobDefinitionTaskContainerPropertiesOutput() JobDefinitionTaskContainerPropertiesOutput
- func (o JobDefinitionTaskContainerPropertiesOutput) ToJobDefinitionTaskContainerPropertiesOutputWithContext(ctx context.Context) JobDefinitionTaskContainerPropertiesOutput
- func (o JobDefinitionTaskContainerPropertiesOutput) Ulimits() JobDefinitionUlimitArrayOutput
- func (o JobDefinitionTaskContainerPropertiesOutput) User() pulumi.StringPtrOutput
- 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 JobDefinitionTmpfs
- type JobDefinitionTmpfsArgs
- type JobDefinitionTmpfsArray
- type JobDefinitionTmpfsArrayInput
- type JobDefinitionTmpfsArrayOutput
- func (JobDefinitionTmpfsArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionTmpfsArrayOutput) Index(i pulumi.IntInput) JobDefinitionTmpfsOutput
- func (o JobDefinitionTmpfsArrayOutput) ToJobDefinitionTmpfsArrayOutput() JobDefinitionTmpfsArrayOutput
- func (o JobDefinitionTmpfsArrayOutput) ToJobDefinitionTmpfsArrayOutputWithContext(ctx context.Context) JobDefinitionTmpfsArrayOutput
- type JobDefinitionTmpfsInput
- type JobDefinitionTmpfsOutput
- func (o JobDefinitionTmpfsOutput) ContainerPath() pulumi.StringOutput
- func (JobDefinitionTmpfsOutput) ElementType() reflect.Type
- func (o JobDefinitionTmpfsOutput) MountOptions() pulumi.StringArrayOutput
- func (o JobDefinitionTmpfsOutput) Size() pulumi.IntOutput
- func (o JobDefinitionTmpfsOutput) ToJobDefinitionTmpfsOutput() JobDefinitionTmpfsOutput
- func (o JobDefinitionTmpfsOutput) ToJobDefinitionTmpfsOutputWithContext(ctx context.Context) JobDefinitionTmpfsOutput
- type JobDefinitionUlimit
- type JobDefinitionUlimitArgs
- type JobDefinitionUlimitArray
- type JobDefinitionUlimitArrayInput
- type JobDefinitionUlimitArrayOutput
- func (JobDefinitionUlimitArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionUlimitArrayOutput) Index(i pulumi.IntInput) JobDefinitionUlimitOutput
- func (o JobDefinitionUlimitArrayOutput) ToJobDefinitionUlimitArrayOutput() JobDefinitionUlimitArrayOutput
- func (o JobDefinitionUlimitArrayOutput) ToJobDefinitionUlimitArrayOutputWithContext(ctx context.Context) JobDefinitionUlimitArrayOutput
- type JobDefinitionUlimitInput
- type JobDefinitionUlimitOutput
- func (JobDefinitionUlimitOutput) ElementType() reflect.Type
- func (o JobDefinitionUlimitOutput) HardLimit() pulumi.IntOutput
- func (o JobDefinitionUlimitOutput) Name() pulumi.StringOutput
- func (o JobDefinitionUlimitOutput) SoftLimit() pulumi.IntOutput
- func (o JobDefinitionUlimitOutput) ToJobDefinitionUlimitOutput() JobDefinitionUlimitOutput
- func (o JobDefinitionUlimitOutput) ToJobDefinitionUlimitOutputWithContext(ctx context.Context) JobDefinitionUlimitOutput
- type JobDefinitionVolumes
- type JobDefinitionVolumesArgs
- type JobDefinitionVolumesArray
- type JobDefinitionVolumesArrayInput
- type JobDefinitionVolumesArrayOutput
- func (JobDefinitionVolumesArrayOutput) ElementType() reflect.Type
- func (o JobDefinitionVolumesArrayOutput) Index(i pulumi.IntInput) JobDefinitionVolumesOutput
- func (o JobDefinitionVolumesArrayOutput) ToJobDefinitionVolumesArrayOutput() JobDefinitionVolumesArrayOutput
- func (o JobDefinitionVolumesArrayOutput) ToJobDefinitionVolumesArrayOutputWithContext(ctx context.Context) JobDefinitionVolumesArrayOutput
- type JobDefinitionVolumesHost
- type JobDefinitionVolumesHostArgs
- func (JobDefinitionVolumesHostArgs) ElementType() reflect.Type
- func (i JobDefinitionVolumesHostArgs) ToJobDefinitionVolumesHostOutput() JobDefinitionVolumesHostOutput
- func (i JobDefinitionVolumesHostArgs) ToJobDefinitionVolumesHostOutputWithContext(ctx context.Context) JobDefinitionVolumesHostOutput
- func (i JobDefinitionVolumesHostArgs) ToJobDefinitionVolumesHostPtrOutput() JobDefinitionVolumesHostPtrOutput
- func (i JobDefinitionVolumesHostArgs) ToJobDefinitionVolumesHostPtrOutputWithContext(ctx context.Context) JobDefinitionVolumesHostPtrOutput
- type JobDefinitionVolumesHostInput
- type JobDefinitionVolumesHostOutput
- func (JobDefinitionVolumesHostOutput) ElementType() reflect.Type
- func (o JobDefinitionVolumesHostOutput) SourcePath() pulumi.StringPtrOutput
- func (o JobDefinitionVolumesHostOutput) ToJobDefinitionVolumesHostOutput() JobDefinitionVolumesHostOutput
- func (o JobDefinitionVolumesHostOutput) ToJobDefinitionVolumesHostOutputWithContext(ctx context.Context) JobDefinitionVolumesHostOutput
- func (o JobDefinitionVolumesHostOutput) ToJobDefinitionVolumesHostPtrOutput() JobDefinitionVolumesHostPtrOutput
- func (o JobDefinitionVolumesHostOutput) ToJobDefinitionVolumesHostPtrOutputWithContext(ctx context.Context) JobDefinitionVolumesHostPtrOutput
- type JobDefinitionVolumesHostPtrInput
- type JobDefinitionVolumesHostPtrOutput
- func (o JobDefinitionVolumesHostPtrOutput) Elem() JobDefinitionVolumesHostOutput
- func (JobDefinitionVolumesHostPtrOutput) ElementType() reflect.Type
- func (o JobDefinitionVolumesHostPtrOutput) SourcePath() pulumi.StringPtrOutput
- func (o JobDefinitionVolumesHostPtrOutput) ToJobDefinitionVolumesHostPtrOutput() JobDefinitionVolumesHostPtrOutput
- func (o JobDefinitionVolumesHostPtrOutput) ToJobDefinitionVolumesHostPtrOutputWithContext(ctx context.Context) JobDefinitionVolumesHostPtrOutput
- type JobDefinitionVolumesInput
- type JobDefinitionVolumesOutput
- func (o JobDefinitionVolumesOutput) EfsVolumeConfiguration() JobDefinitionEfsVolumeConfigurationPtrOutput
- func (JobDefinitionVolumesOutput) ElementType() reflect.Type
- func (o JobDefinitionVolumesOutput) Host() JobDefinitionVolumesHostPtrOutput
- func (o JobDefinitionVolumesOutput) Name() pulumi.StringPtrOutput
- func (o JobDefinitionVolumesOutput) ToJobDefinitionVolumesOutput() JobDefinitionVolumesOutput
- func (o JobDefinitionVolumesOutput) ToJobDefinitionVolumesOutputWithContext(ctx context.Context) JobDefinitionVolumesOutput
- type JobQueue
- type JobQueueArgs
- type JobQueueComputeEnvironmentOrder
- type JobQueueComputeEnvironmentOrderArgs
- func (JobQueueComputeEnvironmentOrderArgs) ElementType() reflect.Type
- func (i JobQueueComputeEnvironmentOrderArgs) ToJobQueueComputeEnvironmentOrderOutput() JobQueueComputeEnvironmentOrderOutput
- func (i JobQueueComputeEnvironmentOrderArgs) ToJobQueueComputeEnvironmentOrderOutputWithContext(ctx context.Context) JobQueueComputeEnvironmentOrderOutput
- type JobQueueComputeEnvironmentOrderArray
- func (JobQueueComputeEnvironmentOrderArray) ElementType() reflect.Type
- func (i JobQueueComputeEnvironmentOrderArray) ToJobQueueComputeEnvironmentOrderArrayOutput() JobQueueComputeEnvironmentOrderArrayOutput
- func (i JobQueueComputeEnvironmentOrderArray) ToJobQueueComputeEnvironmentOrderArrayOutputWithContext(ctx context.Context) JobQueueComputeEnvironmentOrderArrayOutput
- type JobQueueComputeEnvironmentOrderArrayInput
- type JobQueueComputeEnvironmentOrderArrayOutput
- func (JobQueueComputeEnvironmentOrderArrayOutput) ElementType() reflect.Type
- func (o JobQueueComputeEnvironmentOrderArrayOutput) Index(i pulumi.IntInput) JobQueueComputeEnvironmentOrderOutput
- func (o JobQueueComputeEnvironmentOrderArrayOutput) ToJobQueueComputeEnvironmentOrderArrayOutput() JobQueueComputeEnvironmentOrderArrayOutput
- func (o JobQueueComputeEnvironmentOrderArrayOutput) ToJobQueueComputeEnvironmentOrderArrayOutputWithContext(ctx context.Context) JobQueueComputeEnvironmentOrderArrayOutput
- type JobQueueComputeEnvironmentOrderInput
- type JobQueueComputeEnvironmentOrderOutput
- func (o JobQueueComputeEnvironmentOrderOutput) ComputeEnvironment() pulumi.StringOutput
- func (JobQueueComputeEnvironmentOrderOutput) ElementType() reflect.Type
- func (o JobQueueComputeEnvironmentOrderOutput) Order() pulumi.IntOutput
- func (o JobQueueComputeEnvironmentOrderOutput) ToJobQueueComputeEnvironmentOrderOutput() JobQueueComputeEnvironmentOrderOutput
- func (o JobQueueComputeEnvironmentOrderOutput) ToJobQueueComputeEnvironmentOrderOutputWithContext(ctx context.Context) JobQueueComputeEnvironmentOrderOutput
- type JobQueueInput
- type JobQueueJobStateTimeLimitAction
- type JobQueueJobStateTimeLimitActionAction
- func (JobQueueJobStateTimeLimitActionAction) ElementType() reflect.Type
- func (e JobQueueJobStateTimeLimitActionAction) ToJobQueueJobStateTimeLimitActionActionOutput() JobQueueJobStateTimeLimitActionActionOutput
- func (e JobQueueJobStateTimeLimitActionAction) ToJobQueueJobStateTimeLimitActionActionOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionActionOutput
- func (e JobQueueJobStateTimeLimitActionAction) ToJobQueueJobStateTimeLimitActionActionPtrOutput() JobQueueJobStateTimeLimitActionActionPtrOutput
- func (e JobQueueJobStateTimeLimitActionAction) ToJobQueueJobStateTimeLimitActionActionPtrOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionActionPtrOutput
- func (e JobQueueJobStateTimeLimitActionAction) ToStringOutput() pulumi.StringOutput
- func (e JobQueueJobStateTimeLimitActionAction) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e JobQueueJobStateTimeLimitActionAction) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e JobQueueJobStateTimeLimitActionAction) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type JobQueueJobStateTimeLimitActionActionInput
- type JobQueueJobStateTimeLimitActionActionOutput
- func (JobQueueJobStateTimeLimitActionActionOutput) ElementType() reflect.Type
- func (o JobQueueJobStateTimeLimitActionActionOutput) ToJobQueueJobStateTimeLimitActionActionOutput() JobQueueJobStateTimeLimitActionActionOutput
- func (o JobQueueJobStateTimeLimitActionActionOutput) ToJobQueueJobStateTimeLimitActionActionOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionActionOutput
- func (o JobQueueJobStateTimeLimitActionActionOutput) ToJobQueueJobStateTimeLimitActionActionPtrOutput() JobQueueJobStateTimeLimitActionActionPtrOutput
- func (o JobQueueJobStateTimeLimitActionActionOutput) ToJobQueueJobStateTimeLimitActionActionPtrOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionActionPtrOutput
- func (o JobQueueJobStateTimeLimitActionActionOutput) ToStringOutput() pulumi.StringOutput
- func (o JobQueueJobStateTimeLimitActionActionOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o JobQueueJobStateTimeLimitActionActionOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o JobQueueJobStateTimeLimitActionActionOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type JobQueueJobStateTimeLimitActionActionPtrInput
- type JobQueueJobStateTimeLimitActionActionPtrOutput
- func (o JobQueueJobStateTimeLimitActionActionPtrOutput) Elem() JobQueueJobStateTimeLimitActionActionOutput
- func (JobQueueJobStateTimeLimitActionActionPtrOutput) ElementType() reflect.Type
- func (o JobQueueJobStateTimeLimitActionActionPtrOutput) ToJobQueueJobStateTimeLimitActionActionPtrOutput() JobQueueJobStateTimeLimitActionActionPtrOutput
- func (o JobQueueJobStateTimeLimitActionActionPtrOutput) ToJobQueueJobStateTimeLimitActionActionPtrOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionActionPtrOutput
- func (o JobQueueJobStateTimeLimitActionActionPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o JobQueueJobStateTimeLimitActionActionPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type JobQueueJobStateTimeLimitActionArgs
- func (JobQueueJobStateTimeLimitActionArgs) ElementType() reflect.Type
- func (i JobQueueJobStateTimeLimitActionArgs) ToJobQueueJobStateTimeLimitActionOutput() JobQueueJobStateTimeLimitActionOutput
- func (i JobQueueJobStateTimeLimitActionArgs) ToJobQueueJobStateTimeLimitActionOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionOutput
- type JobQueueJobStateTimeLimitActionArray
- func (JobQueueJobStateTimeLimitActionArray) ElementType() reflect.Type
- func (i JobQueueJobStateTimeLimitActionArray) ToJobQueueJobStateTimeLimitActionArrayOutput() JobQueueJobStateTimeLimitActionArrayOutput
- func (i JobQueueJobStateTimeLimitActionArray) ToJobQueueJobStateTimeLimitActionArrayOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionArrayOutput
- type JobQueueJobStateTimeLimitActionArrayInput
- type JobQueueJobStateTimeLimitActionArrayOutput
- func (JobQueueJobStateTimeLimitActionArrayOutput) ElementType() reflect.Type
- func (o JobQueueJobStateTimeLimitActionArrayOutput) Index(i pulumi.IntInput) JobQueueJobStateTimeLimitActionOutput
- func (o JobQueueJobStateTimeLimitActionArrayOutput) ToJobQueueJobStateTimeLimitActionArrayOutput() JobQueueJobStateTimeLimitActionArrayOutput
- func (o JobQueueJobStateTimeLimitActionArrayOutput) ToJobQueueJobStateTimeLimitActionArrayOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionArrayOutput
- type JobQueueJobStateTimeLimitActionInput
- type JobQueueJobStateTimeLimitActionOutput
- func (o JobQueueJobStateTimeLimitActionOutput) Action() JobQueueJobStateTimeLimitActionActionOutput
- func (JobQueueJobStateTimeLimitActionOutput) ElementType() reflect.Type
- func (o JobQueueJobStateTimeLimitActionOutput) MaxTimeSeconds() pulumi.IntOutput
- func (o JobQueueJobStateTimeLimitActionOutput) Reason() pulumi.StringOutput
- func (o JobQueueJobStateTimeLimitActionOutput) State() JobQueueJobStateTimeLimitActionStateOutput
- func (o JobQueueJobStateTimeLimitActionOutput) ToJobQueueJobStateTimeLimitActionOutput() JobQueueJobStateTimeLimitActionOutput
- func (o JobQueueJobStateTimeLimitActionOutput) ToJobQueueJobStateTimeLimitActionOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionOutput
- type JobQueueJobStateTimeLimitActionState
- func (JobQueueJobStateTimeLimitActionState) ElementType() reflect.Type
- func (e JobQueueJobStateTimeLimitActionState) ToJobQueueJobStateTimeLimitActionStateOutput() JobQueueJobStateTimeLimitActionStateOutput
- func (e JobQueueJobStateTimeLimitActionState) ToJobQueueJobStateTimeLimitActionStateOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionStateOutput
- func (e JobQueueJobStateTimeLimitActionState) ToJobQueueJobStateTimeLimitActionStatePtrOutput() JobQueueJobStateTimeLimitActionStatePtrOutput
- func (e JobQueueJobStateTimeLimitActionState) ToJobQueueJobStateTimeLimitActionStatePtrOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionStatePtrOutput
- func (e JobQueueJobStateTimeLimitActionState) ToStringOutput() pulumi.StringOutput
- func (e JobQueueJobStateTimeLimitActionState) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e JobQueueJobStateTimeLimitActionState) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e JobQueueJobStateTimeLimitActionState) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type JobQueueJobStateTimeLimitActionStateInput
- type JobQueueJobStateTimeLimitActionStateOutput
- func (JobQueueJobStateTimeLimitActionStateOutput) ElementType() reflect.Type
- func (o JobQueueJobStateTimeLimitActionStateOutput) ToJobQueueJobStateTimeLimitActionStateOutput() JobQueueJobStateTimeLimitActionStateOutput
- func (o JobQueueJobStateTimeLimitActionStateOutput) ToJobQueueJobStateTimeLimitActionStateOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionStateOutput
- func (o JobQueueJobStateTimeLimitActionStateOutput) ToJobQueueJobStateTimeLimitActionStatePtrOutput() JobQueueJobStateTimeLimitActionStatePtrOutput
- func (o JobQueueJobStateTimeLimitActionStateOutput) ToJobQueueJobStateTimeLimitActionStatePtrOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionStatePtrOutput
- func (o JobQueueJobStateTimeLimitActionStateOutput) ToStringOutput() pulumi.StringOutput
- func (o JobQueueJobStateTimeLimitActionStateOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o JobQueueJobStateTimeLimitActionStateOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o JobQueueJobStateTimeLimitActionStateOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type JobQueueJobStateTimeLimitActionStatePtrInput
- type JobQueueJobStateTimeLimitActionStatePtrOutput
- func (o JobQueueJobStateTimeLimitActionStatePtrOutput) Elem() JobQueueJobStateTimeLimitActionStateOutput
- func (JobQueueJobStateTimeLimitActionStatePtrOutput) ElementType() reflect.Type
- func (o JobQueueJobStateTimeLimitActionStatePtrOutput) ToJobQueueJobStateTimeLimitActionStatePtrOutput() JobQueueJobStateTimeLimitActionStatePtrOutput
- func (o JobQueueJobStateTimeLimitActionStatePtrOutput) ToJobQueueJobStateTimeLimitActionStatePtrOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionStatePtrOutput
- func (o JobQueueJobStateTimeLimitActionStatePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o JobQueueJobStateTimeLimitActionStatePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type JobQueueOutput
- func (o JobQueueOutput) ComputeEnvironmentOrder() JobQueueComputeEnvironmentOrderArrayOutput
- func (JobQueueOutput) ElementType() reflect.Type
- func (o JobQueueOutput) JobQueueArn() pulumi.StringOutput
- func (o JobQueueOutput) JobQueueName() pulumi.StringPtrOutput
- func (o JobQueueOutput) JobStateTimeLimitActions() JobQueueJobStateTimeLimitActionArrayOutput
- func (o JobQueueOutput) Priority() pulumi.IntOutput
- func (o JobQueueOutput) SchedulingPolicyArn() pulumi.StringPtrOutput
- func (o JobQueueOutput) State() JobQueueStateEnumPtrOutput
- func (o JobQueueOutput) Tags() pulumi.StringMapOutput
- func (o JobQueueOutput) ToJobQueueOutput() JobQueueOutput
- func (o JobQueueOutput) ToJobQueueOutputWithContext(ctx context.Context) JobQueueOutput
- type JobQueueState
- type JobQueueStateEnum
- func (JobQueueStateEnum) ElementType() reflect.Type
- func (e JobQueueStateEnum) ToJobQueueStateEnumOutput() JobQueueStateEnumOutput
- func (e JobQueueStateEnum) ToJobQueueStateEnumOutputWithContext(ctx context.Context) JobQueueStateEnumOutput
- func (e JobQueueStateEnum) ToJobQueueStateEnumPtrOutput() JobQueueStateEnumPtrOutput
- func (e JobQueueStateEnum) ToJobQueueStateEnumPtrOutputWithContext(ctx context.Context) JobQueueStateEnumPtrOutput
- func (e JobQueueStateEnum) ToStringOutput() pulumi.StringOutput
- func (e JobQueueStateEnum) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e JobQueueStateEnum) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e JobQueueStateEnum) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type JobQueueStateEnumInput
- type JobQueueStateEnumOutput
- func (JobQueueStateEnumOutput) ElementType() reflect.Type
- func (o JobQueueStateEnumOutput) ToJobQueueStateEnumOutput() JobQueueStateEnumOutput
- func (o JobQueueStateEnumOutput) ToJobQueueStateEnumOutputWithContext(ctx context.Context) JobQueueStateEnumOutput
- func (o JobQueueStateEnumOutput) ToJobQueueStateEnumPtrOutput() JobQueueStateEnumPtrOutput
- func (o JobQueueStateEnumOutput) ToJobQueueStateEnumPtrOutputWithContext(ctx context.Context) JobQueueStateEnumPtrOutput
- func (o JobQueueStateEnumOutput) ToStringOutput() pulumi.StringOutput
- func (o JobQueueStateEnumOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o JobQueueStateEnumOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o JobQueueStateEnumOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type JobQueueStateEnumPtrInput
- type JobQueueStateEnumPtrOutput
- func (o JobQueueStateEnumPtrOutput) Elem() JobQueueStateEnumOutput
- func (JobQueueStateEnumPtrOutput) ElementType() reflect.Type
- func (o JobQueueStateEnumPtrOutput) ToJobQueueStateEnumPtrOutput() JobQueueStateEnumPtrOutput
- func (o JobQueueStateEnumPtrOutput) ToJobQueueStateEnumPtrOutputWithContext(ctx context.Context) JobQueueStateEnumPtrOutput
- func (o JobQueueStateEnumPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o JobQueueStateEnumPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type LookupComputeEnvironmentArgs
- type LookupComputeEnvironmentOutputArgs
- type LookupComputeEnvironmentResult
- type LookupComputeEnvironmentResultOutput
- func (o LookupComputeEnvironmentResultOutput) ComputeEnvironmentArn() pulumi.StringPtrOutput
- func (o LookupComputeEnvironmentResultOutput) ComputeResources() ComputeEnvironmentComputeResourcesPtrOutput
- func (LookupComputeEnvironmentResultOutput) ElementType() reflect.Type
- func (o LookupComputeEnvironmentResultOutput) ServiceRole() pulumi.StringPtrOutput
- func (o LookupComputeEnvironmentResultOutput) State() pulumi.StringPtrOutput
- func (o LookupComputeEnvironmentResultOutput) ToLookupComputeEnvironmentResultOutput() LookupComputeEnvironmentResultOutput
- func (o LookupComputeEnvironmentResultOutput) ToLookupComputeEnvironmentResultOutputWithContext(ctx context.Context) LookupComputeEnvironmentResultOutput
- func (o LookupComputeEnvironmentResultOutput) UnmanagedvCpus() pulumi.IntPtrOutput
- type LookupJobDefinitionArgs
- type LookupJobDefinitionOutputArgs
- type LookupJobDefinitionResult
- type LookupJobDefinitionResultOutput
- func (o LookupJobDefinitionResultOutput) ContainerProperties() JobDefinitionContainerPropertiesPtrOutput
- func (o LookupJobDefinitionResultOutput) EcsProperties() JobDefinitionEcsPropertiesPtrOutput
- func (o LookupJobDefinitionResultOutput) EksProperties() JobDefinitionEksPropertiesPtrOutput
- func (LookupJobDefinitionResultOutput) ElementType() reflect.Type
- func (o LookupJobDefinitionResultOutput) Id() pulumi.StringPtrOutput
- func (o LookupJobDefinitionResultOutput) NodeProperties() JobDefinitionNodePropertiesPtrOutput
- func (o LookupJobDefinitionResultOutput) Parameters() pulumi.AnyOutput
- func (o LookupJobDefinitionResultOutput) PlatformCapabilities() pulumi.StringArrayOutput
- func (o LookupJobDefinitionResultOutput) PropagateTags() pulumi.BoolPtrOutput
- func (o LookupJobDefinitionResultOutput) RetryStrategy() JobDefinitionRetryStrategyPtrOutput
- func (o LookupJobDefinitionResultOutput) SchedulingPriority() pulumi.IntPtrOutput
- func (o LookupJobDefinitionResultOutput) Timeout() JobDefinitionTimeoutPtrOutput
- func (o LookupJobDefinitionResultOutput) ToLookupJobDefinitionResultOutput() LookupJobDefinitionResultOutput
- func (o LookupJobDefinitionResultOutput) ToLookupJobDefinitionResultOutputWithContext(ctx context.Context) LookupJobDefinitionResultOutput
- func (o LookupJobDefinitionResultOutput) Type() pulumi.StringPtrOutput
- type LookupJobQueueArgs
- type LookupJobQueueOutputArgs
- type LookupJobQueueResult
- type LookupJobQueueResultOutput
- func (o LookupJobQueueResultOutput) ComputeEnvironmentOrder() JobQueueComputeEnvironmentOrderArrayOutput
- func (LookupJobQueueResultOutput) ElementType() reflect.Type
- func (o LookupJobQueueResultOutput) JobQueueArn() pulumi.StringPtrOutput
- func (o LookupJobQueueResultOutput) JobStateTimeLimitActions() JobQueueJobStateTimeLimitActionArrayOutput
- func (o LookupJobQueueResultOutput) Priority() pulumi.IntPtrOutput
- func (o LookupJobQueueResultOutput) SchedulingPolicyArn() pulumi.StringPtrOutput
- func (o LookupJobQueueResultOutput) State() JobQueueStateEnumPtrOutput
- 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.StringPtrOutput
- func (LookupSchedulingPolicyResultOutput) ElementType() reflect.Type
- func (o LookupSchedulingPolicyResultOutput) FairsharePolicy() SchedulingPolicyFairsharePolicyPtrOutput
- func (o LookupSchedulingPolicyResultOutput) ToLookupSchedulingPolicyResultOutput() LookupSchedulingPolicyResultOutput
- func (o LookupSchedulingPolicyResultOutput) ToLookupSchedulingPolicyResultOutputWithContext(ctx context.Context) LookupSchedulingPolicyResultOutput
- type SchedulingPolicy
- type SchedulingPolicyArgs
- 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.Float64PtrOutput
- func (SchedulingPolicyFairsharePolicyOutput) ElementType() reflect.Type
- func (o SchedulingPolicyFairsharePolicyOutput) ShareDecaySeconds() pulumi.Float64PtrOutput
- func (o SchedulingPolicyFairsharePolicyOutput) ShareDistribution() SchedulingPolicyShareAttributesArrayOutput
- 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.Float64PtrOutput
- func (o SchedulingPolicyFairsharePolicyPtrOutput) Elem() SchedulingPolicyFairsharePolicyOutput
- func (SchedulingPolicyFairsharePolicyPtrOutput) ElementType() reflect.Type
- func (o SchedulingPolicyFairsharePolicyPtrOutput) ShareDecaySeconds() pulumi.Float64PtrOutput
- func (o SchedulingPolicyFairsharePolicyPtrOutput) ShareDistribution() SchedulingPolicyShareAttributesArrayOutput
- func (o SchedulingPolicyFairsharePolicyPtrOutput) ToSchedulingPolicyFairsharePolicyPtrOutput() SchedulingPolicyFairsharePolicyPtrOutput
- func (o SchedulingPolicyFairsharePolicyPtrOutput) ToSchedulingPolicyFairsharePolicyPtrOutputWithContext(ctx context.Context) SchedulingPolicyFairsharePolicyPtrOutput
- type SchedulingPolicyInput
- type SchedulingPolicyOutput
- func (o SchedulingPolicyOutput) Arn() pulumi.StringOutput
- func (SchedulingPolicyOutput) ElementType() reflect.Type
- func (o SchedulingPolicyOutput) FairsharePolicy() SchedulingPolicyFairsharePolicyPtrOutput
- func (o SchedulingPolicyOutput) Name() pulumi.StringPtrOutput
- func (o SchedulingPolicyOutput) Tags() pulumi.StringMapOutput
- func (o SchedulingPolicyOutput) ToSchedulingPolicyOutput() SchedulingPolicyOutput
- func (o SchedulingPolicyOutput) ToSchedulingPolicyOutputWithContext(ctx context.Context) SchedulingPolicyOutput
- type SchedulingPolicyShareAttributes
- type SchedulingPolicyShareAttributesArgs
- func (SchedulingPolicyShareAttributesArgs) ElementType() reflect.Type
- func (i SchedulingPolicyShareAttributesArgs) ToSchedulingPolicyShareAttributesOutput() SchedulingPolicyShareAttributesOutput
- func (i SchedulingPolicyShareAttributesArgs) ToSchedulingPolicyShareAttributesOutputWithContext(ctx context.Context) SchedulingPolicyShareAttributesOutput
- type SchedulingPolicyShareAttributesArray
- func (SchedulingPolicyShareAttributesArray) ElementType() reflect.Type
- func (i SchedulingPolicyShareAttributesArray) ToSchedulingPolicyShareAttributesArrayOutput() SchedulingPolicyShareAttributesArrayOutput
- func (i SchedulingPolicyShareAttributesArray) ToSchedulingPolicyShareAttributesArrayOutputWithContext(ctx context.Context) SchedulingPolicyShareAttributesArrayOutput
- type SchedulingPolicyShareAttributesArrayInput
- type SchedulingPolicyShareAttributesArrayOutput
- func (SchedulingPolicyShareAttributesArrayOutput) ElementType() reflect.Type
- func (o SchedulingPolicyShareAttributesArrayOutput) Index(i pulumi.IntInput) SchedulingPolicyShareAttributesOutput
- func (o SchedulingPolicyShareAttributesArrayOutput) ToSchedulingPolicyShareAttributesArrayOutput() SchedulingPolicyShareAttributesArrayOutput
- func (o SchedulingPolicyShareAttributesArrayOutput) ToSchedulingPolicyShareAttributesArrayOutputWithContext(ctx context.Context) SchedulingPolicyShareAttributesArrayOutput
- type SchedulingPolicyShareAttributesInput
- type SchedulingPolicyShareAttributesOutput
- func (SchedulingPolicyShareAttributesOutput) ElementType() reflect.Type
- func (o SchedulingPolicyShareAttributesOutput) ShareIdentifier() pulumi.StringPtrOutput
- func (o SchedulingPolicyShareAttributesOutput) ToSchedulingPolicyShareAttributesOutput() SchedulingPolicyShareAttributesOutput
- func (o SchedulingPolicyShareAttributesOutput) ToSchedulingPolicyShareAttributesOutputWithContext(ctx context.Context) SchedulingPolicyShareAttributesOutput
- func (o SchedulingPolicyShareAttributesOutput) WeightFactor() pulumi.Float64PtrOutput
- type SchedulingPolicyState
Constants ¶
const ( JobQueueStateEnumDisabled = JobQueueStateEnum("DISABLED") JobQueueStateEnumEnabled = JobQueueStateEnum("ENABLED") )
const (
JobQueueJobStateTimeLimitActionActionCancel = JobQueueJobStateTimeLimitActionAction("CANCEL")
)
const (
JobQueueJobStateTimeLimitActionStateRunnable = JobQueueJobStateTimeLimitActionState("RUNNABLE")
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComputeEnvironment ¶
type ComputeEnvironment struct { pulumi.CustomResourceState // Returns the compute environment ARN, such as `batch: *us-east-1* : *111122223333* :compute-environment/ *ComputeEnvironmentName*` . ComputeEnvironmentArn pulumi.StringOutput `pulumi:"computeEnvironmentArn"` // The name for your compute environment. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). ComputeEnvironmentName pulumi.StringPtrOutput `pulumi:"computeEnvironmentName"` // The ComputeResources property type specifies details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. For more information, see [Compute Environments](https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) in the ** . ComputeResources ComputeEnvironmentComputeResourcesPtrOutput `pulumi:"computeResources"` // The details for the Amazon EKS cluster that supports the compute environment. EksConfiguration ComputeEnvironmentEksConfigurationPtrOutput `pulumi:"eksConfiguration"` // Specifies whether the compute environment is replaced if an update is made that requires replacing the instances in the compute environment. The default value is `true` . To enable more properties to be updated, set this property to `false` . When changing the value of this property to `false` , do not change any other properties at the same time. If other properties are changed at the same time, and the change needs to be rolled back but it can't, it's possible for the stack to go into the `UPDATE_ROLLBACK_FAILED` state. You can't update a stack that is in the `UPDATE_ROLLBACK_FAILED` state. However, if you can continue to roll it back, you can return the stack to its original settings and then try to update it again. For more information, see [Continue rolling back an update](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html) in the *AWS CloudFormation User Guide* . // // The properties that can't be changed without replacing the compute environment are in the [`ComputeResources`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html) property type: [`AllocationStrategy`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-allocationstrategy) , [`BidPercentage`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-bidpercentage) , [`Ec2Configuration`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2configuration) , [`Ec2KeyPair`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2keypair) , [`Ec2KeyPair`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2keypair) , [`ImageId`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-imageid) , [`InstanceRole`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-instancerole) , [`InstanceTypes`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-instancetypes) , [`LaunchTemplate`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-launchtemplate) , [`MaxvCpus`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-maxvcpus) , [`MinvCpus`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-minvcpus) , [`PlacementGroup`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-placementgroup) , [`SecurityGroupIds`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-securitygroupids) , [`Subnets`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-subnets) , [Tags](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-tags) , [`Type`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-type) , and [`UpdateToLatestImageVersion`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-updatetolatestimageversion) . ReplaceComputeEnvironment pulumi.BoolPtrOutput `pulumi:"replaceComputeEnvironment"` // The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. For more information, see [AWS Batch service IAM role](https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html) in the *AWS Batch User Guide* . // // > If your account already created the AWS Batch service-linked role, that role is used by default for your compute environment unless you specify a different role here. If the AWS Batch service-linked role doesn't exist in your account, and no role is specified here, the service attempts to create the AWS Batch service-linked role in your account. // // If your specified role has a path other than `/` , then you must specify either the full role ARN (recommended) or prefix the role name with the path. For example, if a role with the name `bar` has a path of `/foo/` , specify `/foo/bar` as the role name. For more information, see [Friendly names and paths](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names) in the *IAM User Guide* . // // > Depending on how you created your AWS Batch service role, its ARN might contain the `service-role` path prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN doesn't use the `service-role` path prefix. Because of this, we recommend that you specify the full ARN of your service role when you create compute environments. ServiceRole pulumi.StringPtrOutput `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. // // If the state is `ENABLED` , then the AWS Batch scheduler can attempt to place jobs from an associated job queue on the compute resources within the environment. If the compute environment is managed, then it can scale its instances out or in automatically, based on the job queue demand. // // If the state is `DISABLED` , then the AWS Batch scheduler doesn't attempt to place jobs within the environment. Jobs in a `STARTING` or `RUNNING` state continue to progress normally. Managed compute environments in the `DISABLED` state don't scale out. // // > Compute environments in a `DISABLED` state may continue to incur billing charges. To prevent additional charges, turn off and then delete the compute environment. For more information, see [State](https://docs.aws.amazon.com/batch/latest/userguide/compute_environment_parameters.html#compute_environment_state) in the *AWS Batch User Guide* . // // When an instance is idle, the instance scales down to the `minvCpus` value. However, the instance size doesn't change. For example, consider a `c5.8xlarge` instance with a `minvCpus` value of `4` and a `desiredvCpus` value of `36` . This instance doesn't scale down to a `c5.large` instance. State pulumi.StringPtrOutput `pulumi:"state"` // A key-value pair to associate with a resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The type of the compute environment: `MANAGED` or `UNMANAGED` . For more information, see [Compute Environments](https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) in the *AWS Batch User Guide* . Type pulumi.StringOutput `pulumi:"type"` // The maximum number of vCPUs for an unmanaged compute environment. This parameter is only used for fair share scheduling to reserve vCPU capacity for new share identifiers. If this parameter isn't provided for a fair share job queue, no vCPU capacity is reserved. // // > This parameter is only supported when the `type` parameter is set to `UNMANAGED` . UnmanagedvCpus pulumi.IntPtrOutput `pulumi:"unmanagedvCpus"` // Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . UpdatePolicy ComputeEnvironmentUpdatePolicyPtrOutput `pulumi:"updatePolicy"` }
Resource Type definition for AWS::Batch::ComputeEnvironment
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. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). ComputeEnvironmentName pulumi.StringPtrInput // The ComputeResources property type specifies details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. For more information, see [Compute Environments](https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) in the ** . ComputeResources ComputeEnvironmentComputeResourcesPtrInput // The details for the Amazon EKS cluster that supports the compute environment. EksConfiguration ComputeEnvironmentEksConfigurationPtrInput // Specifies whether the compute environment is replaced if an update is made that requires replacing the instances in the compute environment. The default value is `true` . To enable more properties to be updated, set this property to `false` . When changing the value of this property to `false` , do not change any other properties at the same time. If other properties are changed at the same time, and the change needs to be rolled back but it can't, it's possible for the stack to go into the `UPDATE_ROLLBACK_FAILED` state. You can't update a stack that is in the `UPDATE_ROLLBACK_FAILED` state. However, if you can continue to roll it back, you can return the stack to its original settings and then try to update it again. For more information, see [Continue rolling back an update](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html) in the *AWS CloudFormation User Guide* . // // The properties that can't be changed without replacing the compute environment are in the [`ComputeResources`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html) property type: [`AllocationStrategy`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-allocationstrategy) , [`BidPercentage`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-bidpercentage) , [`Ec2Configuration`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2configuration) , [`Ec2KeyPair`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2keypair) , [`Ec2KeyPair`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2keypair) , [`ImageId`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-imageid) , [`InstanceRole`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-instancerole) , [`InstanceTypes`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-instancetypes) , [`LaunchTemplate`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-launchtemplate) , [`MaxvCpus`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-maxvcpus) , [`MinvCpus`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-minvcpus) , [`PlacementGroup`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-placementgroup) , [`SecurityGroupIds`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-securitygroupids) , [`Subnets`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-subnets) , [Tags](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-tags) , [`Type`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-type) , and [`UpdateToLatestImageVersion`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-updatetolatestimageversion) . ReplaceComputeEnvironment pulumi.BoolPtrInput // The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. For more information, see [AWS Batch service IAM role](https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html) in the *AWS Batch User Guide* . // // > If your account already created the AWS Batch service-linked role, that role is used by default for your compute environment unless you specify a different role here. If the AWS Batch service-linked role doesn't exist in your account, and no role is specified here, the service attempts to create the AWS Batch service-linked role in your account. // // If your specified role has a path other than `/` , then you must specify either the full role ARN (recommended) or prefix the role name with the path. For example, if a role with the name `bar` has a path of `/foo/` , specify `/foo/bar` as the role name. For more information, see [Friendly names and paths](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names) in the *IAM User Guide* . // // > Depending on how you created your AWS Batch service role, its ARN might contain the `service-role` path prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN doesn't use the `service-role` path prefix. Because of this, we recommend that you specify the full ARN of your service role when you create compute environments. 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. // // If the state is `ENABLED` , then the AWS Batch scheduler can attempt to place jobs from an associated job queue on the compute resources within the environment. If the compute environment is managed, then it can scale its instances out or in automatically, based on the job queue demand. // // If the state is `DISABLED` , then the AWS Batch scheduler doesn't attempt to place jobs within the environment. Jobs in a `STARTING` or `RUNNING` state continue to progress normally. Managed compute environments in the `DISABLED` state don't scale out. // // > Compute environments in a `DISABLED` state may continue to incur billing charges. To prevent additional charges, turn off and then delete the compute environment. For more information, see [State](https://docs.aws.amazon.com/batch/latest/userguide/compute_environment_parameters.html#compute_environment_state) in the *AWS Batch User Guide* . // // When an instance is idle, the instance scales down to the `minvCpus` value. However, the instance size doesn't change. For example, consider a `c5.8xlarge` instance with a `minvCpus` value of `4` and a `desiredvCpus` value of `36` . This instance doesn't scale down to a `c5.large` instance. State pulumi.StringPtrInput // A key-value pair to associate with a resource. Tags pulumi.StringMapInput // The type of the compute environment: `MANAGED` or `UNMANAGED` . For more information, see [Compute Environments](https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) in the *AWS Batch User Guide* . Type pulumi.StringInput // The maximum number of vCPUs for an unmanaged compute environment. This parameter is only used for fair share scheduling to reserve vCPU capacity for new share identifiers. If this parameter isn't provided for a fair share job queue, no vCPU capacity is reserved. // // > This parameter is only supported when the `type` parameter is set to `UNMANAGED` . UnmanagedvCpus pulumi.IntPtrInput // Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . UpdatePolicy ComputeEnvironmentUpdatePolicyPtrInput }
The set of arguments for constructing a ComputeEnvironment resource.
func (ComputeEnvironmentArgs) ElementType ¶
func (ComputeEnvironmentArgs) ElementType() reflect.Type
type ComputeEnvironmentComputeResources ¶
type ComputeEnvironmentComputeResources struct { // The allocation strategy to use for the compute resource if not enough instances of the best fitting instance type can be allocated. This might be because of availability of the instance type in the Region or [Amazon EC2 service limits](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html) . For more information, see [Allocation strategies](https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html) in the *AWS Batch User Guide* . // // When updating a compute environment, changing the allocation strategy requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . `BEST_FIT` is not supported when updating a compute environment. // // > This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified. // // - **BEST_FIT (default)** - AWS Batch selects an instance type that best fits the needs of the jobs with a preference for the lowest-cost instance type. If additional instances of the selected instance type aren't available, AWS Batch waits for the additional instances to be available. If there aren't enough instances available, or if the user is reaching [Amazon EC2 service limits](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html) then additional jobs aren't run until the currently running jobs have completed. This allocation strategy keeps costs lower but can limit scaling. If you are using Spot Fleets with `BEST_FIT` then the Spot Fleet IAM role must be specified. // - **BEST_FIT_PROGRESSIVE** - AWS Batch will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types with a lower cost per unit vCPU. If additional instances of the previously selected instance types aren't available, AWS Batch will select new instance types. // - **SPOT_CAPACITY_OPTIMIZED** - AWS Batch will select one or more instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types that are less likely to be interrupted. This allocation strategy is only available for Spot Instance compute resources. // - **SPOT_PRICE_CAPACITY_OPTIMIZED** - The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price. This allocation strategy is only available for Spot Instance compute resources. // // > We recommend that you use `SPOT_PRICE_CAPACITY_OPTIMIZED` rather than `SPOT_CAPACITY_OPTIMIZED` in most instances. // // With `BEST_FIT_PROGRESSIVE` , `SPOT_CAPACITY_OPTIMIZED` , and `SPOT_PRICE_CAPACITY_OPTIMIZED` allocation strategies using On-Demand or Spot Instances, and the `BEST_FIT` strategy using Spot Instances, AWS Batch might need to go above `maxvCpus` to meet your capacity requirements. In this event, AWS Batch never exceeds `maxvCpus` by more than a single instance. AllocationStrategy *string `pulumi:"allocationStrategy"` // The 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 maximum percentage is 20%, the Spot price must be less than 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and never more than your maximum percentage. For most use cases, we recommend leaving this field empty. // // When updating a compute environment, changing the bid percentage requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. BidPercentage *int `pulumi:"bidPercentage"` // The desired number of vCPUS in the compute environment. AWS Batch modifies this value between the minimum and maximum values based on job queue demand. // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > AWS Batch doesn't support changing the desired number of vCPUs of an existing compute environment. Don't specify this parameter for compute environments using Amazon EKS clusters. > When you update the `desiredvCpus` setting, the value must be between the `minvCpus` and `maxvCpus` values. // > // > Additionally, the updated `desiredvCpus` value must be greater than or equal to the current `desiredvCpus` value. For more information, see [Troubleshooting AWS Batch](https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#error-desired-vcpus-update) in the *AWS Batch User Guide* . DesiredvCpus *int `pulumi:"desiredvCpus"` // Provides information used to select Amazon Machine Images (AMIs) for Amazon EC2 instances in the compute environment. If `Ec2Configuration` isn't specified, the default is `ECS_AL2` . // // When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . To remove the Amazon EC2 configuration and any custom AMI ID specified in `imageIdOverride` , set this value to an empty string. // // One or two values can be provided. // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. Ec2Configuration []ComputeEnvironmentEc2ConfigurationObject `pulumi:"ec2Configuration"` // The Amazon EC2 key pair that's used for instances launched in the compute environment. You can use this key pair to log in to your instances with SSH. To remove the Amazon EC2 key pair, set this value to an empty string. // // When updating a compute environment, changing the Amazon EC2 key pair requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. Ec2KeyPair *string `pulumi:"ec2KeyPair"` // The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter is overridden by the `imageIdOverride` member of the `Ec2Configuration` structure. To remove the custom AMI ID and use the default AMI ID, set this value to an empty string. // // When updating a compute environment, changing the AMI ID requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > The AMI that you choose for a compute environment must match the architecture of the instance types that you intend to use for that compute environment. For example, if your compute environment uses A1 instance types, the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html) in the *Amazon Elastic Container Service Developer Guide* . ImageId *string `pulumi:"imageId"` // The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. Required for Amazon EC2 instances. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, `*ecsInstanceRole*` or `arn:aws:iam:: *<aws_account_id>* :instance-profile/ *ecsInstanceRole*` . For more information, see [Amazon ECS instance role](https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html) in the *AWS Batch User Guide* . // // When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. InstanceRole *string `pulumi:"instanceRole"` // The instances types that can be launched. You can specify instance families to launch any instance type within those families (for example, `c5` or `p3` ), or you can specify specific sizes within a family (such as `c5.8xlarge` ). You can also choose `optimal` to select instance types (from the C4, M4, and R4 instance families) that match the demand of your job queues. // // When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > When you create a compute environment, the instance types that you select for the compute environment must share the same architecture. For example, you can't mix x86 and ARM instances in the same compute environment. > Currently, `optimal` uses instance types from the C4, M4, and R4 instance families. In Regions that don't have instance types from those instance families, instance types from the C5, M5, and R5 instance families are used. InstanceTypes []string `pulumi:"instanceTypes"` // The launch template to use for your compute resources. Any other compute resource parameters that you specify in a [CreateComputeEnvironment](https://docs.aws.amazon.com/batch/latest/APIReference/API_CreateComputeEnvironment.html) API operation override the same parameters in the launch template. You must specify either the launch template ID or launch template name in the request, but not both. For more information, see [Launch Template Support](https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html) in the ** . Removing the launch template from a compute environment will not remove the AMI specified in the launch template. In order to update the AMI specified in a launch template, the `updateToLatestImageVersion` parameter must be set to `true` . // // When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the ** . // // > This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. LaunchTemplate *ComputeEnvironmentLaunchTemplateSpecification `pulumi:"launchTemplate"` // The maximum number of Amazon EC2 vCPUs that an environment can reach. // // > With `BEST_FIT_PROGRESSIVE` , `SPOT_CAPACITY_OPTIMIZED` and `SPOT_PRICE_CAPACITY_OPTIMIZED` (recommended) strategies using On-Demand or Spot Instances, and the `BEST_FIT` strategy using Spot Instances, AWS Batch might need to exceed `maxvCpus` to meet your capacity requirements. In this event, AWS Batch never exceeds `maxvCpus` by more than a single instance. MaxvCpus int `pulumi:"maxvCpus"` // The minimum number of vCPUs that an environment should maintain (even if the compute environment is `DISABLED` ). // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. MinvCpus *int `pulumi:"minvCpus"` // The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to your compute environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. For more information, see [Placement groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the *Amazon EC2 User Guide for Linux Instances* . // // When updating a compute environment, changing the placement group requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. PlacementGroup *string `pulumi:"placementGroup"` // The Amazon EC2 security groups that are associated with instances launched in the compute environment. This parameter is required for Fargate compute resources, where it can contain up to 5 security groups. For Fargate compute resources, providing an empty list is handled as if this parameter wasn't specified and no change is made. For Amazon EC2 compute resources, providing an empty list removes the security groups from the compute resource. // // When updating a compute environment, changing the Amazon EC2 security groups requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . SecurityGroupIds []string `pulumi:"securityGroupIds"` // The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a `SPOT` compute environment. This role is required if the allocation strategy set to `BEST_FIT` or if the allocation strategy isn't specified. For more information, see [Amazon EC2 spot fleet role](https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html) in the *AWS Batch User Guide* . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > To tag your Spot Instances on creation, the Spot Fleet IAM role specified here must use the newer *AmazonEC2SpotFleetTaggingRole* managed policy. The previously recommended *AmazonEC2SpotFleetRole* managed policy doesn't have the required permissions to tag Spot Instances. For more information, see [Spot instances not tagged on creation](https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#spot-instance-no-tag) in the *AWS Batch User Guide* . SpotIamFleetRole *string `pulumi:"spotIamFleetRole"` // The VPC subnets where the compute resources are launched. Fargate compute resources can contain up to 16 subnets. For Fargate compute resources, providing an empty list will be handled as if this parameter wasn't specified and no change is made. For Amazon EC2 compute resources, providing an empty list removes the VPC subnets from the compute resource. For more information, see [VPCs and subnets](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) in the *Amazon VPC User Guide* . // // When updating a compute environment, changing the VPC subnets requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // > AWS Batch on Amazon EC2 and AWS Batch on Amazon EKS support Local Zones. For more information, see [Local Zones](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-local-zones) in the *Amazon EC2 User Guide for Linux Instances* , [Amazon EKS and AWS Local Zones](https://docs.aws.amazon.com/eks/latest/userguide/local-zones.html) in the *Amazon EKS User Guide* and [Amazon ECS clusters in Local Zones, Wavelength Zones, and AWS Outposts](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-regions-zones.html#clusters-local-zones) in the *Amazon ECS Developer Guide* . // > // > AWS Batch on Fargate doesn't currently support Local Zones. Subnets []string `pulumi:"subnets"` // A key-value pair to associate with a resource. Tags map[string]string `pulumi:"tags"` // The type of compute environment: `EC2` , `SPOT` , `FARGATE` , or `FARGATE_SPOT` . For more information, see [Compute environments](https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) in the *AWS Batch User Guide* . // // If you choose `SPOT` , you must also specify an Amazon EC2 Spot Fleet role with the `spotIamFleetRole` parameter. For more information, see [Amazon EC2 spot fleet role](https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html) in the *AWS Batch User Guide* . // // When updating compute environment, changing the type of a compute environment requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // When updating the type of a compute environment, changing between `EC2` and `SPOT` or between `FARGATE` and `FARGATE_SPOT` will initiate an infrastructure update, but if you switch between `EC2` and `FARGATE` , AWS CloudFormation will create a new compute environment. Type string `pulumi:"type"` // Specifies whether the AMI ID is updated to the latest one that's supported by AWS Batch when the compute environment has an infrastructure update. The default value is `false` . // // > An AMI ID can either be specified in the `imageId` or `imageIdOverride` parameters or be determined by the launch template that's specified in the `launchTemplate` parameter. If an AMI ID is specified any of these ways, this parameter is ignored. For more information about to update AMI IDs during an infrastructure update, see [Updating the AMI ID](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html#updating-compute-environments-ami) in the *AWS Batch User Guide* . // // When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . UpdateToLatestImageVersion *bool `pulumi:"updateToLatestImageVersion"` }
type ComputeEnvironmentComputeResourcesArgs ¶
type ComputeEnvironmentComputeResourcesArgs struct { // The allocation strategy to use for the compute resource if not enough instances of the best fitting instance type can be allocated. This might be because of availability of the instance type in the Region or [Amazon EC2 service limits](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html) . For more information, see [Allocation strategies](https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html) in the *AWS Batch User Guide* . // // When updating a compute environment, changing the allocation strategy requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . `BEST_FIT` is not supported when updating a compute environment. // // > This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified. // // - **BEST_FIT (default)** - AWS Batch selects an instance type that best fits the needs of the jobs with a preference for the lowest-cost instance type. If additional instances of the selected instance type aren't available, AWS Batch waits for the additional instances to be available. If there aren't enough instances available, or if the user is reaching [Amazon EC2 service limits](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html) then additional jobs aren't run until the currently running jobs have completed. This allocation strategy keeps costs lower but can limit scaling. If you are using Spot Fleets with `BEST_FIT` then the Spot Fleet IAM role must be specified. // - **BEST_FIT_PROGRESSIVE** - AWS Batch will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types with a lower cost per unit vCPU. If additional instances of the previously selected instance types aren't available, AWS Batch will select new instance types. // - **SPOT_CAPACITY_OPTIMIZED** - AWS Batch will select one or more instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types that are less likely to be interrupted. This allocation strategy is only available for Spot Instance compute resources. // - **SPOT_PRICE_CAPACITY_OPTIMIZED** - The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price. This allocation strategy is only available for Spot Instance compute resources. // // > We recommend that you use `SPOT_PRICE_CAPACITY_OPTIMIZED` rather than `SPOT_CAPACITY_OPTIMIZED` in most instances. // // With `BEST_FIT_PROGRESSIVE` , `SPOT_CAPACITY_OPTIMIZED` , and `SPOT_PRICE_CAPACITY_OPTIMIZED` allocation strategies using On-Demand or Spot Instances, and the `BEST_FIT` strategy using Spot Instances, AWS Batch might need to go above `maxvCpus` to meet your capacity requirements. In this event, AWS Batch never exceeds `maxvCpus` by more than a single instance. AllocationStrategy pulumi.StringPtrInput `pulumi:"allocationStrategy"` // The 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 maximum percentage is 20%, the Spot price must be less than 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and never more than your maximum percentage. For most use cases, we recommend leaving this field empty. // // When updating a compute environment, changing the bid percentage requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. BidPercentage pulumi.IntPtrInput `pulumi:"bidPercentage"` // The desired number of vCPUS in the compute environment. AWS Batch modifies this value between the minimum and maximum values based on job queue demand. // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > AWS Batch doesn't support changing the desired number of vCPUs of an existing compute environment. Don't specify this parameter for compute environments using Amazon EKS clusters. > When you update the `desiredvCpus` setting, the value must be between the `minvCpus` and `maxvCpus` values. // > // > Additionally, the updated `desiredvCpus` value must be greater than or equal to the current `desiredvCpus` value. For more information, see [Troubleshooting AWS Batch](https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#error-desired-vcpus-update) in the *AWS Batch User Guide* . DesiredvCpus pulumi.IntPtrInput `pulumi:"desiredvCpus"` // Provides information used to select Amazon Machine Images (AMIs) for Amazon EC2 instances in the compute environment. If `Ec2Configuration` isn't specified, the default is `ECS_AL2` . // // When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . To remove the Amazon EC2 configuration and any custom AMI ID specified in `imageIdOverride` , set this value to an empty string. // // One or two values can be provided. // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. Ec2Configuration ComputeEnvironmentEc2ConfigurationObjectArrayInput `pulumi:"ec2Configuration"` // The Amazon EC2 key pair that's used for instances launched in the compute environment. You can use this key pair to log in to your instances with SSH. To remove the Amazon EC2 key pair, set this value to an empty string. // // When updating a compute environment, changing the Amazon EC2 key pair requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. Ec2KeyPair pulumi.StringPtrInput `pulumi:"ec2KeyPair"` // The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter is overridden by the `imageIdOverride` member of the `Ec2Configuration` structure. To remove the custom AMI ID and use the default AMI ID, set this value to an empty string. // // When updating a compute environment, changing the AMI ID requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > The AMI that you choose for a compute environment must match the architecture of the instance types that you intend to use for that compute environment. For example, if your compute environment uses A1 instance types, the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html) in the *Amazon Elastic Container Service Developer Guide* . ImageId pulumi.StringPtrInput `pulumi:"imageId"` // The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. Required for Amazon EC2 instances. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, `*ecsInstanceRole*` or `arn:aws:iam:: *<aws_account_id>* :instance-profile/ *ecsInstanceRole*` . For more information, see [Amazon ECS instance role](https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html) in the *AWS Batch User Guide* . // // When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. InstanceRole pulumi.StringPtrInput `pulumi:"instanceRole"` // The instances types that can be launched. You can specify instance families to launch any instance type within those families (for example, `c5` or `p3` ), or you can specify specific sizes within a family (such as `c5.8xlarge` ). You can also choose `optimal` to select instance types (from the C4, M4, and R4 instance families) that match the demand of your job queues. // // When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > When you create a compute environment, the instance types that you select for the compute environment must share the same architecture. For example, you can't mix x86 and ARM instances in the same compute environment. > Currently, `optimal` uses instance types from the C4, M4, and R4 instance families. In Regions that don't have instance types from those instance families, instance types from the C5, M5, and R5 instance families are used. InstanceTypes pulumi.StringArrayInput `pulumi:"instanceTypes"` // The launch template to use for your compute resources. Any other compute resource parameters that you specify in a [CreateComputeEnvironment](https://docs.aws.amazon.com/batch/latest/APIReference/API_CreateComputeEnvironment.html) API operation override the same parameters in the launch template. You must specify either the launch template ID or launch template name in the request, but not both. For more information, see [Launch Template Support](https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html) in the ** . Removing the launch template from a compute environment will not remove the AMI specified in the launch template. In order to update the AMI specified in a launch template, the `updateToLatestImageVersion` parameter must be set to `true` . // // When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the ** . // // > This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. LaunchTemplate ComputeEnvironmentLaunchTemplateSpecificationPtrInput `pulumi:"launchTemplate"` // The maximum number of Amazon EC2 vCPUs that an environment can reach. // // > With `BEST_FIT_PROGRESSIVE` , `SPOT_CAPACITY_OPTIMIZED` and `SPOT_PRICE_CAPACITY_OPTIMIZED` (recommended) strategies using On-Demand or Spot Instances, and the `BEST_FIT` strategy using Spot Instances, AWS Batch might need to exceed `maxvCpus` to meet your capacity requirements. In this event, AWS Batch never exceeds `maxvCpus` by more than a single instance. MaxvCpus pulumi.IntInput `pulumi:"maxvCpus"` // The minimum number of vCPUs that an environment should maintain (even if the compute environment is `DISABLED` ). // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. MinvCpus pulumi.IntPtrInput `pulumi:"minvCpus"` // The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to your compute environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. For more information, see [Placement groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the *Amazon EC2 User Guide for Linux Instances* . // // When updating a compute environment, changing the placement group requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. PlacementGroup pulumi.StringPtrInput `pulumi:"placementGroup"` // The Amazon EC2 security groups that are associated with instances launched in the compute environment. This parameter is required for Fargate compute resources, where it can contain up to 5 security groups. For Fargate compute resources, providing an empty list is handled as if this parameter wasn't specified and no change is made. For Amazon EC2 compute resources, providing an empty list removes the security groups from the compute resource. // // When updating a compute environment, changing the Amazon EC2 security groups requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . 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 role is required if the allocation strategy set to `BEST_FIT` or if the allocation strategy isn't specified. For more information, see [Amazon EC2 spot fleet role](https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html) in the *AWS Batch User Guide* . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > To tag your Spot Instances on creation, the Spot Fleet IAM role specified here must use the newer *AmazonEC2SpotFleetTaggingRole* managed policy. The previously recommended *AmazonEC2SpotFleetRole* managed policy doesn't have the required permissions to tag Spot Instances. For more information, see [Spot instances not tagged on creation](https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#spot-instance-no-tag) in the *AWS Batch User Guide* . SpotIamFleetRole pulumi.StringPtrInput `pulumi:"spotIamFleetRole"` // The VPC subnets where the compute resources are launched. Fargate compute resources can contain up to 16 subnets. For Fargate compute resources, providing an empty list will be handled as if this parameter wasn't specified and no change is made. For Amazon EC2 compute resources, providing an empty list removes the VPC subnets from the compute resource. For more information, see [VPCs and subnets](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) in the *Amazon VPC User Guide* . // // When updating a compute environment, changing the VPC subnets requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // > AWS Batch on Amazon EC2 and AWS Batch on Amazon EKS support Local Zones. For more information, see [Local Zones](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-local-zones) in the *Amazon EC2 User Guide for Linux Instances* , [Amazon EKS and AWS Local Zones](https://docs.aws.amazon.com/eks/latest/userguide/local-zones.html) in the *Amazon EKS User Guide* and [Amazon ECS clusters in Local Zones, Wavelength Zones, and AWS Outposts](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-regions-zones.html#clusters-local-zones) in the *Amazon ECS Developer Guide* . // > // > AWS Batch on Fargate doesn't currently support Local Zones. Subnets pulumi.StringArrayInput `pulumi:"subnets"` // A key-value pair to associate with a resource. Tags pulumi.StringMapInput `pulumi:"tags"` // The type of compute environment: `EC2` , `SPOT` , `FARGATE` , or `FARGATE_SPOT` . For more information, see [Compute environments](https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) in the *AWS Batch User Guide* . // // If you choose `SPOT` , you must also specify an Amazon EC2 Spot Fleet role with the `spotIamFleetRole` parameter. For more information, see [Amazon EC2 spot fleet role](https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html) in the *AWS Batch User Guide* . // // When updating compute environment, changing the type of a compute environment requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // When updating the type of a compute environment, changing between `EC2` and `SPOT` or between `FARGATE` and `FARGATE_SPOT` will initiate an infrastructure update, but if you switch between `EC2` and `FARGATE` , AWS CloudFormation will create a new compute environment. Type pulumi.StringInput `pulumi:"type"` // Specifies whether the AMI ID is updated to the latest one that's supported by AWS Batch when the compute environment has an infrastructure update. The default value is `false` . // // > An AMI ID can either be specified in the `imageId` or `imageIdOverride` parameters or be determined by the launch template that's specified in the `launchTemplate` parameter. If an AMI ID is specified any of these ways, this parameter is ignored. For more information about to update AMI IDs during an infrastructure update, see [Updating the AMI ID](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html#updating-compute-environments-ami) in the *AWS Batch User Guide* . // // When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . UpdateToLatestImageVersion pulumi.BoolPtrInput `pulumi:"updateToLatestImageVersion"` }
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 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 ComputeEnvironmentComputeResourcesOutput ¶
type ComputeEnvironmentComputeResourcesOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentComputeResourcesOutput) AllocationStrategy ¶
func (o ComputeEnvironmentComputeResourcesOutput) AllocationStrategy() pulumi.StringPtrOutput
The allocation strategy to use for the compute resource if not enough instances of the best fitting instance type can be allocated. This might be because of availability of the instance type in the Region or [Amazon EC2 service limits](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html) . For more information, see [Allocation strategies](https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html) in the *AWS Batch User Guide* .
When updating a compute environment, changing the allocation strategy requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . `BEST_FIT` is not supported when updating a compute environment.
> This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
- **BEST_FIT (default)** - AWS Batch selects an instance type that best fits the needs of the jobs with a preference for the lowest-cost instance type. If additional instances of the selected instance type aren't available, AWS Batch waits for the additional instances to be available. If there aren't enough instances available, or if the user is reaching [Amazon EC2 service limits](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html) then additional jobs aren't run until the currently running jobs have completed. This allocation strategy keeps costs lower but can limit scaling. If you are using Spot Fleets with `BEST_FIT` then the Spot Fleet IAM role must be specified. - **BEST_FIT_PROGRESSIVE** - AWS Batch will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types with a lower cost per unit vCPU. If additional instances of the previously selected instance types aren't available, AWS Batch will select new instance types. - **SPOT_CAPACITY_OPTIMIZED** - AWS Batch will select one or more instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types that are less likely to be interrupted. This allocation strategy is only available for Spot Instance compute resources. - **SPOT_PRICE_CAPACITY_OPTIMIZED** - The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price. This allocation strategy is only available for Spot Instance compute resources.
> We recommend that you use `SPOT_PRICE_CAPACITY_OPTIMIZED` rather than `SPOT_CAPACITY_OPTIMIZED` in most instances.
With `BEST_FIT_PROGRESSIVE` , `SPOT_CAPACITY_OPTIMIZED` , and `SPOT_PRICE_CAPACITY_OPTIMIZED` allocation strategies using On-Demand or Spot Instances, and the `BEST_FIT` strategy using Spot Instances, AWS Batch might need to go above `maxvCpus` to meet your capacity requirements. In this event, AWS Batch never exceeds `maxvCpus` by more than a single instance.
func (ComputeEnvironmentComputeResourcesOutput) BidPercentage ¶
func (o ComputeEnvironmentComputeResourcesOutput) BidPercentage() pulumi.IntPtrOutput
The 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 maximum percentage is 20%, the Spot price must be less than 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and never more than your maximum percentage. For most use cases, we recommend leaving this field empty.
When updating a compute environment, changing the bid percentage requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
func (ComputeEnvironmentComputeResourcesOutput) DesiredvCpus ¶
func (o ComputeEnvironmentComputeResourcesOutput) DesiredvCpus() pulumi.IntPtrOutput
The desired number of vCPUS in the compute environment. AWS Batch modifies this value between the minimum and maximum values based on job queue demand.
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > AWS Batch doesn't support changing the desired number of vCPUs of an existing compute environment. Don't specify this parameter for compute environments using Amazon EKS clusters. > When you update the `desiredvCpus` setting, the value must be between the `minvCpus` and `maxvCpus` values. > > Additionally, the updated `desiredvCpus` value must be greater than or equal to the current `desiredvCpus` value. For more information, see [Troubleshooting AWS Batch](https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#error-desired-vcpus-update) in the *AWS Batch User Guide* .
func (ComputeEnvironmentComputeResourcesOutput) Ec2Configuration ¶
func (o ComputeEnvironmentComputeResourcesOutput) Ec2Configuration() ComputeEnvironmentEc2ConfigurationObjectArrayOutput
Provides information used to select Amazon Machine Images (AMIs) for Amazon EC2 instances in the compute environment. If `Ec2Configuration` isn't specified, the default is `ECS_AL2` .
When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . To remove the Amazon EC2 configuration and any custom AMI ID specified in `imageIdOverride` , set this value to an empty string.
One or two values can be provided.
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
func (ComputeEnvironmentComputeResourcesOutput) Ec2KeyPair ¶
func (o ComputeEnvironmentComputeResourcesOutput) Ec2KeyPair() pulumi.StringPtrOutput
The Amazon EC2 key pair that's used for instances launched in the compute environment. You can use this key pair to log in to your instances with SSH. To remove the Amazon EC2 key pair, set this value to an empty string.
When updating a compute environment, changing the Amazon EC2 key pair requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
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 is overridden by the `imageIdOverride` member of the `Ec2Configuration` structure. To remove the custom AMI ID and use the default AMI ID, set this value to an empty string.
When updating a compute environment, changing the AMI ID requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > The AMI that you choose for a compute environment must match the architecture of the instance types that you intend to use for that compute environment. For example, if your compute environment uses A1 instance types, the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html) in the *Amazon Elastic Container Service Developer Guide* .
func (ComputeEnvironmentComputeResourcesOutput) InstanceRole ¶
func (o ComputeEnvironmentComputeResourcesOutput) InstanceRole() pulumi.StringPtrOutput
The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. Required for Amazon EC2 instances. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, `*ecsInstanceRole*` or `arn:aws:iam:: *<aws_account_id>* :instance-profile/ *ecsInstanceRole*` . For more information, see [Amazon ECS instance role](https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html) in the *AWS Batch User Guide* .
When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
func (ComputeEnvironmentComputeResourcesOutput) InstanceTypes ¶
func (o ComputeEnvironmentComputeResourcesOutput) InstanceTypes() pulumi.StringArrayOutput
The instances types that can be launched. You can specify instance families to launch any instance type within those families (for example, `c5` or `p3` ), or you can specify specific sizes within a family (such as `c5.8xlarge` ). You can also choose `optimal` to select instance types (from the C4, M4, and R4 instance families) that match the demand of your job queues.
When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > When you create a compute environment, the instance types that you select for the compute environment must share the same architecture. For example, you can't mix x86 and ARM instances in the same compute environment. > Currently, `optimal` uses instance types from the C4, M4, and R4 instance families. In Regions that don't have instance types from those instance families, instance types from the C5, M5, and R5 instance families are used.
func (ComputeEnvironmentComputeResourcesOutput) LaunchTemplate ¶
func (o ComputeEnvironmentComputeResourcesOutput) LaunchTemplate() ComputeEnvironmentLaunchTemplateSpecificationPtrOutput
The launch template to use for your compute resources. Any other compute resource parameters that you specify in a [CreateComputeEnvironment](https://docs.aws.amazon.com/batch/latest/APIReference/API_CreateComputeEnvironment.html) API operation override the same parameters in the launch template. You must specify either the launch template ID or launch template name in the request, but not both. For more information, see [Launch Template Support](https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html) in the ** . Removing the launch template from a compute environment will not remove the AMI specified in the launch template. In order to update the AMI specified in a launch template, the `updateToLatestImageVersion` parameter must be set to `true` .
When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the ** .
> 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 Amazon EC2 vCPUs that an environment can reach.
> With `BEST_FIT_PROGRESSIVE` , `SPOT_CAPACITY_OPTIMIZED` and `SPOT_PRICE_CAPACITY_OPTIMIZED` (recommended) strategies using On-Demand or Spot Instances, and the `BEST_FIT` strategy using Spot Instances, AWS Batch might need to exceed `maxvCpus` to meet your capacity requirements. In this event, AWS Batch never exceeds `maxvCpus` by more than a single instance.
func (ComputeEnvironmentComputeResourcesOutput) MinvCpus ¶
func (o ComputeEnvironmentComputeResourcesOutput) MinvCpus() pulumi.IntPtrOutput
The minimum number of vCPUs that an environment should maintain (even if the compute environment is `DISABLED` ).
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
func (ComputeEnvironmentComputeResourcesOutput) PlacementGroup ¶
func (o ComputeEnvironmentComputeResourcesOutput) PlacementGroup() pulumi.StringPtrOutput
The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to your compute environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. For more information, see [Placement groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the *Amazon EC2 User Guide for Linux Instances* .
When updating a compute environment, changing the placement group requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
func (ComputeEnvironmentComputeResourcesOutput) SecurityGroupIds ¶
func (o ComputeEnvironmentComputeResourcesOutput) SecurityGroupIds() pulumi.StringArrayOutput
The Amazon EC2 security groups that are associated with instances launched in the compute environment. This parameter is required for Fargate compute resources, where it can contain up to 5 security groups. For Fargate compute resources, providing an empty list is handled as if this parameter wasn't specified and no change is made. For Amazon EC2 compute resources, providing an empty list removes the security groups from the compute resource.
When updating a compute environment, changing the Amazon EC2 security groups requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
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 role is required if the allocation strategy set to `BEST_FIT` or if the allocation strategy isn't specified. For more information, see [Amazon EC2 spot fleet role](https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html) in the *AWS Batch User Guide* .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > To tag your Spot Instances on creation, the Spot Fleet IAM role specified here must use the newer *AmazonEC2SpotFleetTaggingRole* managed policy. The previously recommended *AmazonEC2SpotFleetRole* managed policy doesn't have the required permissions to tag Spot Instances. For more information, see [Spot instances not tagged on creation](https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#spot-instance-no-tag) in the *AWS Batch User Guide* .
func (ComputeEnvironmentComputeResourcesOutput) Subnets ¶
func (o ComputeEnvironmentComputeResourcesOutput) Subnets() pulumi.StringArrayOutput
The VPC subnets where the compute resources are launched. Fargate compute resources can contain up to 16 subnets. For Fargate compute resources, providing an empty list will be handled as if this parameter wasn't specified and no change is made. For Amazon EC2 compute resources, providing an empty list removes the VPC subnets from the compute resource. For more information, see [VPCs and subnets](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) in the *Amazon VPC User Guide* .
When updating a compute environment, changing the VPC subnets requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
> AWS Batch on Amazon EC2 and AWS Batch on Amazon EKS support Local Zones. For more information, see [Local Zones](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-local-zones) in the *Amazon EC2 User Guide for Linux Instances* , [Amazon EKS and AWS Local Zones](https://docs.aws.amazon.com/eks/latest/userguide/local-zones.html) in the *Amazon EKS User Guide* and [Amazon ECS clusters in Local Zones, Wavelength Zones, and AWS Outposts](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-regions-zones.html#clusters-local-zones) in the *Amazon ECS Developer Guide* . > > AWS Batch on Fargate doesn't currently support Local Zones.
func (ComputeEnvironmentComputeResourcesOutput) Tags ¶
func (o ComputeEnvironmentComputeResourcesOutput) Tags() pulumi.StringMapOutput
A key-value pair to associate with a resource.
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: `EC2` , `SPOT` , `FARGATE` , or `FARGATE_SPOT` . For more information, see [Compute environments](https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) in the *AWS Batch User Guide* .
If you choose `SPOT` , you must also specify an Amazon EC2 Spot Fleet role with the `spotIamFleetRole` parameter. For more information, see [Amazon EC2 spot fleet role](https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html) in the *AWS Batch User Guide* .
When updating compute environment, changing the type of a compute environment requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
When updating the type of a compute environment, changing between `EC2` and `SPOT` or between `FARGATE` and `FARGATE_SPOT` will initiate an infrastructure update, but if you switch between `EC2` and `FARGATE` , AWS CloudFormation will create a new compute environment.
func (ComputeEnvironmentComputeResourcesOutput) UpdateToLatestImageVersion ¶ added in v0.15.0
func (o ComputeEnvironmentComputeResourcesOutput) UpdateToLatestImageVersion() pulumi.BoolPtrOutput
Specifies whether the AMI ID is updated to the latest one that's supported by AWS Batch when the compute environment has an infrastructure update. The default value is `false` .
> An AMI ID can either be specified in the `imageId` or `imageIdOverride` parameters or be determined by the launch template that's specified in the `launchTemplate` parameter. If an AMI ID is specified any of these ways, this parameter is ignored. For more information about to update AMI IDs during an infrastructure update, see [Updating the AMI ID](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html#updating-compute-environments-ami) in the *AWS Batch User Guide* .
When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
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 if not enough instances of the best fitting instance type can be allocated. This might be because of availability of the instance type in the Region or [Amazon EC2 service limits](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html) . For more information, see [Allocation strategies](https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html) in the *AWS Batch User Guide* .
When updating a compute environment, changing the allocation strategy requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . `BEST_FIT` is not supported when updating a compute environment.
> This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
- **BEST_FIT (default)** - AWS Batch selects an instance type that best fits the needs of the jobs with a preference for the lowest-cost instance type. If additional instances of the selected instance type aren't available, AWS Batch waits for the additional instances to be available. If there aren't enough instances available, or if the user is reaching [Amazon EC2 service limits](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html) then additional jobs aren't run until the currently running jobs have completed. This allocation strategy keeps costs lower but can limit scaling. If you are using Spot Fleets with `BEST_FIT` then the Spot Fleet IAM role must be specified. - **BEST_FIT_PROGRESSIVE** - AWS Batch will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types with a lower cost per unit vCPU. If additional instances of the previously selected instance types aren't available, AWS Batch will select new instance types. - **SPOT_CAPACITY_OPTIMIZED** - AWS Batch will select one or more instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types that are less likely to be interrupted. This allocation strategy is only available for Spot Instance compute resources. - **SPOT_PRICE_CAPACITY_OPTIMIZED** - The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price. This allocation strategy is only available for Spot Instance compute resources.
> We recommend that you use `SPOT_PRICE_CAPACITY_OPTIMIZED` rather than `SPOT_CAPACITY_OPTIMIZED` in most instances.
With `BEST_FIT_PROGRESSIVE` , `SPOT_CAPACITY_OPTIMIZED` , and `SPOT_PRICE_CAPACITY_OPTIMIZED` allocation strategies using On-Demand or Spot Instances, and the `BEST_FIT` strategy using Spot Instances, AWS Batch might need to go above `maxvCpus` to meet your capacity requirements. In this event, AWS Batch never exceeds `maxvCpus` by more than a single instance.
func (ComputeEnvironmentComputeResourcesPtrOutput) BidPercentage ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) BidPercentage() pulumi.IntPtrOutput
The 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 maximum percentage is 20%, the Spot price must be less than 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and never more than your maximum percentage. For most use cases, we recommend leaving this field empty.
When updating a compute environment, changing the bid percentage requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
func (ComputeEnvironmentComputeResourcesPtrOutput) DesiredvCpus ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) DesiredvCpus() pulumi.IntPtrOutput
The desired number of vCPUS in the compute environment. AWS Batch modifies this value between the minimum and maximum values based on job queue demand.
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > AWS Batch doesn't support changing the desired number of vCPUs of an existing compute environment. Don't specify this parameter for compute environments using Amazon EKS clusters. > When you update the `desiredvCpus` setting, the value must be between the `minvCpus` and `maxvCpus` values. > > Additionally, the updated `desiredvCpus` value must be greater than or equal to the current `desiredvCpus` value. For more information, see [Troubleshooting AWS Batch](https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#error-desired-vcpus-update) in the *AWS Batch User Guide* .
func (ComputeEnvironmentComputeResourcesPtrOutput) Ec2Configuration ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) Ec2Configuration() ComputeEnvironmentEc2ConfigurationObjectArrayOutput
Provides information used to select Amazon Machine Images (AMIs) for Amazon EC2 instances in the compute environment. If `Ec2Configuration` isn't specified, the default is `ECS_AL2` .
When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . To remove the Amazon EC2 configuration and any custom AMI ID specified in `imageIdOverride` , set this value to an empty string.
One or two values can be provided.
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
func (ComputeEnvironmentComputeResourcesPtrOutput) Ec2KeyPair ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) Ec2KeyPair() pulumi.StringPtrOutput
The Amazon EC2 key pair that's used for instances launched in the compute environment. You can use this key pair to log in to your instances with SSH. To remove the Amazon EC2 key pair, set this value to an empty string.
When updating a compute environment, changing the Amazon EC2 key pair requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
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 is overridden by the `imageIdOverride` member of the `Ec2Configuration` structure. To remove the custom AMI ID and use the default AMI ID, set this value to an empty string.
When updating a compute environment, changing the AMI ID requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > The AMI that you choose for a compute environment must match the architecture of the instance types that you intend to use for that compute environment. For example, if your compute environment uses A1 instance types, the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html) in the *Amazon Elastic Container Service Developer Guide* .
func (ComputeEnvironmentComputeResourcesPtrOutput) InstanceRole ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) InstanceRole() pulumi.StringPtrOutput
The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. Required for Amazon EC2 instances. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, `*ecsInstanceRole*` or `arn:aws:iam:: *<aws_account_id>* :instance-profile/ *ecsInstanceRole*` . For more information, see [Amazon ECS instance role](https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html) in the *AWS Batch User Guide* .
When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
func (ComputeEnvironmentComputeResourcesPtrOutput) InstanceTypes ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) InstanceTypes() pulumi.StringArrayOutput
The instances types that can be launched. You can specify instance families to launch any instance type within those families (for example, `c5` or `p3` ), or you can specify specific sizes within a family (such as `c5.8xlarge` ). You can also choose `optimal` to select instance types (from the C4, M4, and R4 instance families) that match the demand of your job queues.
When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > When you create a compute environment, the instance types that you select for the compute environment must share the same architecture. For example, you can't mix x86 and ARM instances in the same compute environment. > Currently, `optimal` uses instance types from the C4, M4, and R4 instance families. In Regions that don't have instance types from those instance families, instance types from the C5, M5, and R5 instance families are used.
func (ComputeEnvironmentComputeResourcesPtrOutput) LaunchTemplate ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) LaunchTemplate() ComputeEnvironmentLaunchTemplateSpecificationPtrOutput
The launch template to use for your compute resources. Any other compute resource parameters that you specify in a [CreateComputeEnvironment](https://docs.aws.amazon.com/batch/latest/APIReference/API_CreateComputeEnvironment.html) API operation override the same parameters in the launch template. You must specify either the launch template ID or launch template name in the request, but not both. For more information, see [Launch Template Support](https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html) in the ** . Removing the launch template from a compute environment will not remove the AMI specified in the launch template. In order to update the AMI specified in a launch template, the `updateToLatestImageVersion` parameter must be set to `true` .
When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the ** .
> 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 Amazon EC2 vCPUs that an environment can reach.
> With `BEST_FIT_PROGRESSIVE` , `SPOT_CAPACITY_OPTIMIZED` and `SPOT_PRICE_CAPACITY_OPTIMIZED` (recommended) strategies using On-Demand or Spot Instances, and the `BEST_FIT` strategy using Spot Instances, AWS Batch might need to exceed `maxvCpus` to meet your capacity requirements. In this event, AWS Batch never exceeds `maxvCpus` by more than a single instance.
func (ComputeEnvironmentComputeResourcesPtrOutput) MinvCpus ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) MinvCpus() pulumi.IntPtrOutput
The minimum number of vCPUs that an environment should maintain (even if the compute environment is `DISABLED` ).
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
func (ComputeEnvironmentComputeResourcesPtrOutput) PlacementGroup ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) PlacementGroup() pulumi.StringPtrOutput
The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to your compute environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. For more information, see [Placement groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the *Amazon EC2 User Guide for Linux Instances* .
When updating a compute environment, changing the placement group requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
func (ComputeEnvironmentComputeResourcesPtrOutput) SecurityGroupIds ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput
The Amazon EC2 security groups that are associated with instances launched in the compute environment. This parameter is required for Fargate compute resources, where it can contain up to 5 security groups. For Fargate compute resources, providing an empty list is handled as if this parameter wasn't specified and no change is made. For Amazon EC2 compute resources, providing an empty list removes the security groups from the compute resource.
When updating a compute environment, changing the Amazon EC2 security groups requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
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 role is required if the allocation strategy set to `BEST_FIT` or if the allocation strategy isn't specified. For more information, see [Amazon EC2 spot fleet role](https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html) in the *AWS Batch User Guide* .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > To tag your Spot Instances on creation, the Spot Fleet IAM role specified here must use the newer *AmazonEC2SpotFleetTaggingRole* managed policy. The previously recommended *AmazonEC2SpotFleetRole* managed policy doesn't have the required permissions to tag Spot Instances. For more information, see [Spot instances not tagged on creation](https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#spot-instance-no-tag) in the *AWS Batch User Guide* .
func (ComputeEnvironmentComputeResourcesPtrOutput) Subnets ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) Subnets() pulumi.StringArrayOutput
The VPC subnets where the compute resources are launched. Fargate compute resources can contain up to 16 subnets. For Fargate compute resources, providing an empty list will be handled as if this parameter wasn't specified and no change is made. For Amazon EC2 compute resources, providing an empty list removes the VPC subnets from the compute resource. For more information, see [VPCs and subnets](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) in the *Amazon VPC User Guide* .
When updating a compute environment, changing the VPC subnets requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
> AWS Batch on Amazon EC2 and AWS Batch on Amazon EKS support Local Zones. For more information, see [Local Zones](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-local-zones) in the *Amazon EC2 User Guide for Linux Instances* , [Amazon EKS and AWS Local Zones](https://docs.aws.amazon.com/eks/latest/userguide/local-zones.html) in the *Amazon EKS User Guide* and [Amazon ECS clusters in Local Zones, Wavelength Zones, and AWS Outposts](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-regions-zones.html#clusters-local-zones) in the *Amazon ECS Developer Guide* . > > AWS Batch on Fargate doesn't currently support Local Zones.
func (ComputeEnvironmentComputeResourcesPtrOutput) Tags ¶
func (o ComputeEnvironmentComputeResourcesPtrOutput) Tags() pulumi.StringMapOutput
A key-value pair to associate with a resource.
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: `EC2` , `SPOT` , `FARGATE` , or `FARGATE_SPOT` . For more information, see [Compute environments](https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) in the *AWS Batch User Guide* .
If you choose `SPOT` , you must also specify an Amazon EC2 Spot Fleet role with the `spotIamFleetRole` parameter. For more information, see [Amazon EC2 spot fleet role](https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html) in the *AWS Batch User Guide* .
When updating compute environment, changing the type of a compute environment requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
When updating the type of a compute environment, changing between `EC2` and `SPOT` or between `FARGATE` and `FARGATE_SPOT` will initiate an infrastructure update, but if you switch between `EC2` and `FARGATE` , AWS CloudFormation will create a new compute environment.
func (ComputeEnvironmentComputeResourcesPtrOutput) UpdateToLatestImageVersion ¶ added in v0.15.0
func (o ComputeEnvironmentComputeResourcesPtrOutput) UpdateToLatestImageVersion() pulumi.BoolPtrOutput
Specifies whether the AMI ID is updated to the latest one that's supported by AWS Batch when the compute environment has an infrastructure update. The default value is `false` .
> An AMI ID can either be specified in the `imageId` or `imageIdOverride` parameters or be determined by the launch template that's specified in the `launchTemplate` parameter. If an AMI ID is specified any of these ways, this parameter is ignored. For more information about to update AMI IDs during an infrastructure update, see [Updating the AMI ID](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html#updating-compute-environments-ami) in the *AWS Batch User Guide* .
When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
type ComputeEnvironmentEc2ConfigurationObject ¶
type ComputeEnvironmentEc2ConfigurationObject struct { // The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the `imageId` set in the `computeResource` object. // // > The AMI that you choose for a compute environment must match the architecture of the instance types that you intend to use for that compute environment. For example, if your compute environment uses A1 instance types, the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html) in the *Amazon Elastic Container Service Developer Guide* . ImageIdOverride *string `pulumi:"imageIdOverride"` // The Kubernetes version for the compute environment. If you don't specify a value, the latest version that AWS Batch supports is used. ImageKubernetesVersion *string `pulumi:"imageKubernetesVersion"` // The image type to match with the instance type to select an AMI. The supported values are different for `ECS` and `EKS` resources. // // - **ECS** - 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. If a new image type is specified in an update, but neither an `imageId` nor a `imageIdOverride` parameter is specified, then the latest Amazon ECS optimized AMI for that image type that's supported by AWS Batch is used. // // - **ECS_AL2** - [Amazon Linux 2](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami) : Default for all non-GPU instance families. // - **ECS_AL2_NVIDIA** - [Amazon Linux 2 (GPU)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami) : Default for all GPU instance families (for example `P4` and `G4` ) and can be used for all non AWS Graviton-based instance types. // - **ECS_AL2023** - [Amazon Linux 2023](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) : AWS Batch supports Amazon Linux 2023. // // > Amazon Linux 2023 does not support `A1` instances. // - **ECS_AL1** - [Amazon Linux](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami) . Amazon Linux has reached the end-of-life of standard support. For more information, see [Amazon Linux AMI](https://docs.aws.amazon.com/amazon-linux-ami/) . // - **EKS** - If the `imageIdOverride` parameter isn't specified, then a recent [Amazon EKS-optimized Amazon Linux AMI](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) ( `EKS_AL2` ) is used. If a new image type is specified in an update, but neither an `imageId` nor a `imageIdOverride` parameter is specified, then the latest Amazon EKS optimized AMI for that image type that AWS Batch supports is used. // // - **EKS_AL2** - [Amazon Linux 2](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) : Default for all non-GPU instance families. // - **EKS_AL2_NVIDIA** - [Amazon Linux 2 (accelerated)](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) : Default for all GPU instance families (for example, `P4` and `G4` ) and can be used for all non AWS Graviton-based instance types. ImageType string `pulumi:"imageType"` }
type ComputeEnvironmentEc2ConfigurationObjectArgs ¶
type ComputeEnvironmentEc2ConfigurationObjectArgs struct { // The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the `imageId` set in the `computeResource` object. // // > The AMI that you choose for a compute environment must match the architecture of the instance types that you intend to use for that compute environment. For example, if your compute environment uses A1 instance types, the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html) in the *Amazon Elastic Container Service Developer Guide* . ImageIdOverride pulumi.StringPtrInput `pulumi:"imageIdOverride"` // The Kubernetes version for the compute environment. If you don't specify a value, the latest version that AWS Batch supports is used. ImageKubernetesVersion pulumi.StringPtrInput `pulumi:"imageKubernetesVersion"` // The image type to match with the instance type to select an AMI. The supported values are different for `ECS` and `EKS` resources. // // - **ECS** - 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. If a new image type is specified in an update, but neither an `imageId` nor a `imageIdOverride` parameter is specified, then the latest Amazon ECS optimized AMI for that image type that's supported by AWS Batch is used. // // - **ECS_AL2** - [Amazon Linux 2](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami) : Default for all non-GPU instance families. // - **ECS_AL2_NVIDIA** - [Amazon Linux 2 (GPU)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami) : Default for all GPU instance families (for example `P4` and `G4` ) and can be used for all non AWS Graviton-based instance types. // - **ECS_AL2023** - [Amazon Linux 2023](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) : AWS Batch supports Amazon Linux 2023. // // > Amazon Linux 2023 does not support `A1` instances. // - **ECS_AL1** - [Amazon Linux](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami) . Amazon Linux has reached the end-of-life of standard support. For more information, see [Amazon Linux AMI](https://docs.aws.amazon.com/amazon-linux-ami/) . // - **EKS** - If the `imageIdOverride` parameter isn't specified, then a recent [Amazon EKS-optimized Amazon Linux AMI](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) ( `EKS_AL2` ) is used. If a new image type is specified in an update, but neither an `imageId` nor a `imageIdOverride` parameter is specified, then the latest Amazon EKS optimized AMI for that image type that AWS Batch supports is used. // // - **EKS_AL2** - [Amazon Linux 2](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) : Default for all non-GPU instance families. // - **EKS_AL2_NVIDIA** - [Amazon Linux 2 (accelerated)](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) : Default for all GPU instance families (for example, `P4` and `G4` ) and can be used for all non AWS Graviton-based instance types. ImageType pulumi.StringInput `pulumi:"imageType"` }
func (ComputeEnvironmentEc2ConfigurationObjectArgs) ElementType ¶
func (ComputeEnvironmentEc2ConfigurationObjectArgs) ElementType() reflect.Type
func (ComputeEnvironmentEc2ConfigurationObjectArgs) ToComputeEnvironmentEc2ConfigurationObjectOutput ¶
func (i ComputeEnvironmentEc2ConfigurationObjectArgs) ToComputeEnvironmentEc2ConfigurationObjectOutput() ComputeEnvironmentEc2ConfigurationObjectOutput
func (ComputeEnvironmentEc2ConfigurationObjectArgs) ToComputeEnvironmentEc2ConfigurationObjectOutputWithContext ¶
func (i ComputeEnvironmentEc2ConfigurationObjectArgs) ToComputeEnvironmentEc2ConfigurationObjectOutputWithContext(ctx context.Context) ComputeEnvironmentEc2ConfigurationObjectOutput
type ComputeEnvironmentEc2ConfigurationObjectArray ¶
type ComputeEnvironmentEc2ConfigurationObjectArray []ComputeEnvironmentEc2ConfigurationObjectInput
func (ComputeEnvironmentEc2ConfigurationObjectArray) ElementType ¶
func (ComputeEnvironmentEc2ConfigurationObjectArray) ElementType() reflect.Type
func (ComputeEnvironmentEc2ConfigurationObjectArray) ToComputeEnvironmentEc2ConfigurationObjectArrayOutput ¶
func (i ComputeEnvironmentEc2ConfigurationObjectArray) ToComputeEnvironmentEc2ConfigurationObjectArrayOutput() ComputeEnvironmentEc2ConfigurationObjectArrayOutput
func (ComputeEnvironmentEc2ConfigurationObjectArray) ToComputeEnvironmentEc2ConfigurationObjectArrayOutputWithContext ¶
func (i ComputeEnvironmentEc2ConfigurationObjectArray) ToComputeEnvironmentEc2ConfigurationObjectArrayOutputWithContext(ctx context.Context) ComputeEnvironmentEc2ConfigurationObjectArrayOutput
type ComputeEnvironmentEc2ConfigurationObjectArrayInput ¶
type ComputeEnvironmentEc2ConfigurationObjectArrayInput interface { pulumi.Input ToComputeEnvironmentEc2ConfigurationObjectArrayOutput() ComputeEnvironmentEc2ConfigurationObjectArrayOutput ToComputeEnvironmentEc2ConfigurationObjectArrayOutputWithContext(context.Context) ComputeEnvironmentEc2ConfigurationObjectArrayOutput }
ComputeEnvironmentEc2ConfigurationObjectArrayInput is an input type that accepts ComputeEnvironmentEc2ConfigurationObjectArray and ComputeEnvironmentEc2ConfigurationObjectArrayOutput values. You can construct a concrete instance of `ComputeEnvironmentEc2ConfigurationObjectArrayInput` via:
ComputeEnvironmentEc2ConfigurationObjectArray{ ComputeEnvironmentEc2ConfigurationObjectArgs{...} }
type ComputeEnvironmentEc2ConfigurationObjectArrayOutput ¶
type ComputeEnvironmentEc2ConfigurationObjectArrayOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentEc2ConfigurationObjectArrayOutput) ElementType ¶
func (ComputeEnvironmentEc2ConfigurationObjectArrayOutput) ElementType() reflect.Type
func (ComputeEnvironmentEc2ConfigurationObjectArrayOutput) ToComputeEnvironmentEc2ConfigurationObjectArrayOutput ¶
func (o ComputeEnvironmentEc2ConfigurationObjectArrayOutput) ToComputeEnvironmentEc2ConfigurationObjectArrayOutput() ComputeEnvironmentEc2ConfigurationObjectArrayOutput
func (ComputeEnvironmentEc2ConfigurationObjectArrayOutput) ToComputeEnvironmentEc2ConfigurationObjectArrayOutputWithContext ¶
func (o ComputeEnvironmentEc2ConfigurationObjectArrayOutput) ToComputeEnvironmentEc2ConfigurationObjectArrayOutputWithContext(ctx context.Context) ComputeEnvironmentEc2ConfigurationObjectArrayOutput
type ComputeEnvironmentEc2ConfigurationObjectInput ¶
type ComputeEnvironmentEc2ConfigurationObjectInput interface { pulumi.Input ToComputeEnvironmentEc2ConfigurationObjectOutput() ComputeEnvironmentEc2ConfigurationObjectOutput ToComputeEnvironmentEc2ConfigurationObjectOutputWithContext(context.Context) ComputeEnvironmentEc2ConfigurationObjectOutput }
ComputeEnvironmentEc2ConfigurationObjectInput is an input type that accepts ComputeEnvironmentEc2ConfigurationObjectArgs and ComputeEnvironmentEc2ConfigurationObjectOutput values. You can construct a concrete instance of `ComputeEnvironmentEc2ConfigurationObjectInput` via:
ComputeEnvironmentEc2ConfigurationObjectArgs{...}
type ComputeEnvironmentEc2ConfigurationObjectOutput ¶
type ComputeEnvironmentEc2ConfigurationObjectOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentEc2ConfigurationObjectOutput) ElementType ¶
func (ComputeEnvironmentEc2ConfigurationObjectOutput) ElementType() reflect.Type
func (ComputeEnvironmentEc2ConfigurationObjectOutput) ImageIdOverride ¶
func (o ComputeEnvironmentEc2ConfigurationObjectOutput) ImageIdOverride() pulumi.StringPtrOutput
The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the `imageId` set in the `computeResource` object.
> The AMI that you choose for a compute environment must match the architecture of the instance types that you intend to use for that compute environment. For example, if your compute environment uses A1 instance types, the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html) in the *Amazon Elastic Container Service Developer Guide* .
func (ComputeEnvironmentEc2ConfigurationObjectOutput) ImageKubernetesVersion ¶ added in v0.41.0
func (o ComputeEnvironmentEc2ConfigurationObjectOutput) ImageKubernetesVersion() pulumi.StringPtrOutput
The Kubernetes version for the compute environment. If you don't specify a value, the latest version that AWS Batch supports is used.
func (ComputeEnvironmentEc2ConfigurationObjectOutput) ImageType ¶
func (o ComputeEnvironmentEc2ConfigurationObjectOutput) ImageType() pulumi.StringOutput
The image type to match with the instance type to select an AMI. The supported values are different for `ECS` and `EKS` resources.
- **ECS** - 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. If a new image type is specified in an update, but neither an `imageId` nor a `imageIdOverride` parameter is specified, then the latest Amazon ECS optimized AMI for that image type that's supported by AWS Batch is used.
- **ECS_AL2** - [Amazon Linux 2](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami) : Default for all non-GPU instance families. - **ECS_AL2_NVIDIA** - [Amazon Linux 2 (GPU)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami) : Default for all GPU instance families (for example `P4` and `G4` ) and can be used for all non AWS Graviton-based instance types. - **ECS_AL2023** - [Amazon Linux 2023](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) : AWS Batch supports Amazon Linux 2023.
> Amazon Linux 2023 does not support `A1` instances. - **ECS_AL1** - [Amazon Linux](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami) . Amazon Linux has reached the end-of-life of standard support. For more information, see [Amazon Linux AMI](https://docs.aws.amazon.com/amazon-linux-ami/) . - **EKS** - If the `imageIdOverride` parameter isn't specified, then a recent [Amazon EKS-optimized Amazon Linux AMI](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) ( `EKS_AL2` ) is used. If a new image type is specified in an update, but neither an `imageId` nor a `imageIdOverride` parameter is specified, then the latest Amazon EKS optimized AMI for that image type that AWS Batch supports is used.
- **EKS_AL2** - [Amazon Linux 2](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) : Default for all non-GPU instance families. - **EKS_AL2_NVIDIA** - [Amazon Linux 2 (accelerated)](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) : Default for all GPU instance families (for example, `P4` and `G4` ) and can be used for all non AWS Graviton-based instance types.
func (ComputeEnvironmentEc2ConfigurationObjectOutput) ToComputeEnvironmentEc2ConfigurationObjectOutput ¶
func (o ComputeEnvironmentEc2ConfigurationObjectOutput) ToComputeEnvironmentEc2ConfigurationObjectOutput() ComputeEnvironmentEc2ConfigurationObjectOutput
func (ComputeEnvironmentEc2ConfigurationObjectOutput) ToComputeEnvironmentEc2ConfigurationObjectOutputWithContext ¶
func (o ComputeEnvironmentEc2ConfigurationObjectOutput) ToComputeEnvironmentEc2ConfigurationObjectOutputWithContext(ctx context.Context) ComputeEnvironmentEc2ConfigurationObjectOutput
type ComputeEnvironmentEksConfiguration ¶ added in v0.41.0
type ComputeEnvironmentEksConfiguration struct { // The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is `arn: *aws* :eks: *us-east-1* : *123456789012* :cluster/ *ClusterForBatch*` . EksClusterArn string `pulumi:"eksClusterArn"` // The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace. The value can't left empty or null. It must be fewer than 64 characters long, can't be set to `default` , can't start with " `kube-` ," and must match this regular expression: `^[a-z0-9]([-a-z0-9]*[a-z0-9])?$` . For more information, see [Namespaces](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/) in the Kubernetes documentation. KubernetesNamespace string `pulumi:"kubernetesNamespace"` }
type ComputeEnvironmentEksConfigurationArgs ¶ added in v0.41.0
type ComputeEnvironmentEksConfigurationArgs struct { // The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is `arn: *aws* :eks: *us-east-1* : *123456789012* :cluster/ *ClusterForBatch*` . EksClusterArn pulumi.StringInput `pulumi:"eksClusterArn"` // The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace. The value can't left empty or null. It must be fewer than 64 characters long, can't be set to `default` , can't start with " `kube-` ," and must match this regular expression: `^[a-z0-9]([-a-z0-9]*[a-z0-9])?$` . For more information, see [Namespaces](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/) in the Kubernetes documentation. KubernetesNamespace pulumi.StringInput `pulumi:"kubernetesNamespace"` }
func (ComputeEnvironmentEksConfigurationArgs) ElementType ¶ added in v0.41.0
func (ComputeEnvironmentEksConfigurationArgs) ElementType() reflect.Type
func (ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationOutput ¶ added in v0.41.0
func (i ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationOutput() ComputeEnvironmentEksConfigurationOutput
func (ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationOutputWithContext ¶ added in v0.41.0
func (i ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationOutput
func (ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationPtrOutput ¶ added in v0.41.0
func (i ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationPtrOutput() ComputeEnvironmentEksConfigurationPtrOutput
func (ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationPtrOutputWithContext ¶ added in v0.41.0
func (i ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationPtrOutput
type ComputeEnvironmentEksConfigurationInput ¶ added in v0.41.0
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 ¶ added in v0.41.0
type ComputeEnvironmentEksConfigurationOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentEksConfigurationOutput) EksClusterArn ¶ added in v0.41.0
func (o ComputeEnvironmentEksConfigurationOutput) EksClusterArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is `arn: *aws* :eks: *us-east-1* : *123456789012* :cluster/ *ClusterForBatch*` .
func (ComputeEnvironmentEksConfigurationOutput) ElementType ¶ added in v0.41.0
func (ComputeEnvironmentEksConfigurationOutput) ElementType() reflect.Type
func (ComputeEnvironmentEksConfigurationOutput) KubernetesNamespace ¶ added in v0.41.0
func (o ComputeEnvironmentEksConfigurationOutput) KubernetesNamespace() pulumi.StringOutput
The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace. The value can't left empty or null. It must be fewer than 64 characters long, can't be set to `default` , can't start with " `kube-` ," and must match this regular expression: `^[a-z0-9]([-a-z0-9]*[a-z0-9])?$` . For more information, see [Namespaces](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/) in the Kubernetes documentation.
func (ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationOutput ¶ added in v0.41.0
func (o ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationOutput() ComputeEnvironmentEksConfigurationOutput
func (ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationOutputWithContext ¶ added in v0.41.0
func (o ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationOutput
func (ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationPtrOutput ¶ added in v0.41.0
func (o ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationPtrOutput() ComputeEnvironmentEksConfigurationPtrOutput
func (ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationPtrOutputWithContext ¶ added in v0.41.0
func (o ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationPtrOutput
type ComputeEnvironmentEksConfigurationPtrInput ¶ added in v0.41.0
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 ¶ added in v0.41.0
func ComputeEnvironmentEksConfigurationPtr(v *ComputeEnvironmentEksConfigurationArgs) ComputeEnvironmentEksConfigurationPtrInput
type ComputeEnvironmentEksConfigurationPtrOutput ¶ added in v0.41.0
type ComputeEnvironmentEksConfigurationPtrOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentEksConfigurationPtrOutput) EksClusterArn ¶ added in v0.41.0
func (o ComputeEnvironmentEksConfigurationPtrOutput) EksClusterArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is `arn: *aws* :eks: *us-east-1* : *123456789012* :cluster/ *ClusterForBatch*` .
func (ComputeEnvironmentEksConfigurationPtrOutput) ElementType ¶ added in v0.41.0
func (ComputeEnvironmentEksConfigurationPtrOutput) ElementType() reflect.Type
func (ComputeEnvironmentEksConfigurationPtrOutput) KubernetesNamespace ¶ added in v0.41.0
func (o ComputeEnvironmentEksConfigurationPtrOutput) KubernetesNamespace() pulumi.StringPtrOutput
The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace. The value can't left empty or null. It must be fewer than 64 characters long, can't be set to `default` , can't start with " `kube-` ," and must match this regular expression: `^[a-z0-9]([-a-z0-9]*[a-z0-9])?$` . For more information, see [Namespaces](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/) in the Kubernetes documentation.
func (ComputeEnvironmentEksConfigurationPtrOutput) ToComputeEnvironmentEksConfigurationPtrOutput ¶ added in v0.41.0
func (o ComputeEnvironmentEksConfigurationPtrOutput) ToComputeEnvironmentEksConfigurationPtrOutput() ComputeEnvironmentEksConfigurationPtrOutput
func (ComputeEnvironmentEksConfigurationPtrOutput) ToComputeEnvironmentEksConfigurationPtrOutputWithContext ¶ added in v0.41.0
func (o ComputeEnvironmentEksConfigurationPtrOutput) ToComputeEnvironmentEksConfigurationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationPtrOutput
type ComputeEnvironmentInput ¶
type ComputeEnvironmentInput interface { pulumi.Input ToComputeEnvironmentOutput() ComputeEnvironmentOutput ToComputeEnvironmentOutputWithContext(ctx context.Context) ComputeEnvironmentOutput }
type ComputeEnvironmentLaunchTemplateSpecification ¶
type ComputeEnvironmentLaunchTemplateSpecification struct { // The ID of the launch template. LaunchTemplateId *string `pulumi:"launchTemplateId"` // The name of the launch template. LaunchTemplateName *string `pulumi:"launchTemplateName"` // The version number of the launch template, `$Latest` , or `$Default` . // // If the value is `$Latest` , the latest version of the launch template is used. If the value is `$Default` , the default version of the launch template is used. // // > If the AMI ID that's used in a compute environment is from the launch template, the AMI isn't changed when the compute environment is updated. It's only changed if the `updateToLatestImageVersion` parameter for the compute environment is set to `true` . During an infrastructure update, if either `$Latest` or `$Default` is specified, AWS Batch re-evaluates the launch template version, and it might use a different version of the launch template. This is the case even if the launch template isn't specified in the update. When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // Default: `$Default` . Version *string `pulumi:"version"` }
type ComputeEnvironmentLaunchTemplateSpecificationArgs ¶
type ComputeEnvironmentLaunchTemplateSpecificationArgs struct { // The ID of the launch template. LaunchTemplateId pulumi.StringPtrInput `pulumi:"launchTemplateId"` // The name of the launch template. LaunchTemplateName pulumi.StringPtrInput `pulumi:"launchTemplateName"` // The version number of the launch template, `$Latest` , or `$Default` . // // If the value is `$Latest` , the latest version of the launch template is used. If the value is `$Default` , the default version of the launch template is used. // // > If the AMI ID that's used in a compute environment is from the launch template, the AMI isn't changed when the compute environment is updated. It's only changed if the `updateToLatestImageVersion` parameter for the compute environment is set to `true` . During an infrastructure update, if either `$Latest` or `$Default` is specified, AWS Batch re-evaluates the launch template version, and it might use a different version of the launch template. This is the case even if the launch template isn't specified in the update. When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . // // Default: `$Default` . Version pulumi.StringPtrInput `pulumi:"version"` }
func (ComputeEnvironmentLaunchTemplateSpecificationArgs) ElementType ¶
func (ComputeEnvironmentLaunchTemplateSpecificationArgs) ElementType() reflect.Type
func (ComputeEnvironmentLaunchTemplateSpecificationArgs) ToComputeEnvironmentLaunchTemplateSpecificationOutput ¶
func (i ComputeEnvironmentLaunchTemplateSpecificationArgs) ToComputeEnvironmentLaunchTemplateSpecificationOutput() ComputeEnvironmentLaunchTemplateSpecificationOutput
func (ComputeEnvironmentLaunchTemplateSpecificationArgs) ToComputeEnvironmentLaunchTemplateSpecificationOutputWithContext ¶
func (i ComputeEnvironmentLaunchTemplateSpecificationArgs) ToComputeEnvironmentLaunchTemplateSpecificationOutputWithContext(ctx context.Context) ComputeEnvironmentLaunchTemplateSpecificationOutput
func (ComputeEnvironmentLaunchTemplateSpecificationArgs) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutput ¶
func (i ComputeEnvironmentLaunchTemplateSpecificationArgs) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutput() ComputeEnvironmentLaunchTemplateSpecificationPtrOutput
func (ComputeEnvironmentLaunchTemplateSpecificationArgs) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutputWithContext ¶
func (i ComputeEnvironmentLaunchTemplateSpecificationArgs) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentLaunchTemplateSpecificationPtrOutput
type ComputeEnvironmentLaunchTemplateSpecificationInput ¶
type ComputeEnvironmentLaunchTemplateSpecificationInput interface { pulumi.Input ToComputeEnvironmentLaunchTemplateSpecificationOutput() ComputeEnvironmentLaunchTemplateSpecificationOutput ToComputeEnvironmentLaunchTemplateSpecificationOutputWithContext(context.Context) ComputeEnvironmentLaunchTemplateSpecificationOutput }
ComputeEnvironmentLaunchTemplateSpecificationInput is an input type that accepts ComputeEnvironmentLaunchTemplateSpecificationArgs and ComputeEnvironmentLaunchTemplateSpecificationOutput values. You can construct a concrete instance of `ComputeEnvironmentLaunchTemplateSpecificationInput` via:
ComputeEnvironmentLaunchTemplateSpecificationArgs{...}
type ComputeEnvironmentLaunchTemplateSpecificationOutput ¶
type ComputeEnvironmentLaunchTemplateSpecificationOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentLaunchTemplateSpecificationOutput) ElementType ¶
func (ComputeEnvironmentLaunchTemplateSpecificationOutput) ElementType() reflect.Type
func (ComputeEnvironmentLaunchTemplateSpecificationOutput) LaunchTemplateId ¶
func (o ComputeEnvironmentLaunchTemplateSpecificationOutput) LaunchTemplateId() pulumi.StringPtrOutput
The ID of the launch template.
func (ComputeEnvironmentLaunchTemplateSpecificationOutput) LaunchTemplateName ¶
func (o ComputeEnvironmentLaunchTemplateSpecificationOutput) LaunchTemplateName() pulumi.StringPtrOutput
The name of the launch template.
func (ComputeEnvironmentLaunchTemplateSpecificationOutput) ToComputeEnvironmentLaunchTemplateSpecificationOutput ¶
func (o ComputeEnvironmentLaunchTemplateSpecificationOutput) ToComputeEnvironmentLaunchTemplateSpecificationOutput() ComputeEnvironmentLaunchTemplateSpecificationOutput
func (ComputeEnvironmentLaunchTemplateSpecificationOutput) ToComputeEnvironmentLaunchTemplateSpecificationOutputWithContext ¶
func (o ComputeEnvironmentLaunchTemplateSpecificationOutput) ToComputeEnvironmentLaunchTemplateSpecificationOutputWithContext(ctx context.Context) ComputeEnvironmentLaunchTemplateSpecificationOutput
func (ComputeEnvironmentLaunchTemplateSpecificationOutput) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutput ¶
func (o ComputeEnvironmentLaunchTemplateSpecificationOutput) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutput() ComputeEnvironmentLaunchTemplateSpecificationPtrOutput
func (ComputeEnvironmentLaunchTemplateSpecificationOutput) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutputWithContext ¶
func (o ComputeEnvironmentLaunchTemplateSpecificationOutput) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentLaunchTemplateSpecificationPtrOutput
func (ComputeEnvironmentLaunchTemplateSpecificationOutput) Version ¶
func (o ComputeEnvironmentLaunchTemplateSpecificationOutput) Version() pulumi.StringPtrOutput
The version number of the launch template, `$Latest` , or `$Default` .
If the value is `$Latest` , the latest version of the launch template is used. If the value is `$Default` , the default version of the launch template is used.
> If the AMI ID that's used in a compute environment is from the launch template, the AMI isn't changed when the compute environment is updated. It's only changed if the `updateToLatestImageVersion` parameter for the compute environment is set to `true` . During an infrastructure update, if either `$Latest` or `$Default` is specified, AWS Batch re-evaluates the launch template version, and it might use a different version of the launch template. This is the case even if the launch template isn't specified in the update. When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
Default: `$Default` .
type ComputeEnvironmentLaunchTemplateSpecificationPtrInput ¶
type ComputeEnvironmentLaunchTemplateSpecificationPtrInput interface { pulumi.Input ToComputeEnvironmentLaunchTemplateSpecificationPtrOutput() ComputeEnvironmentLaunchTemplateSpecificationPtrOutput ToComputeEnvironmentLaunchTemplateSpecificationPtrOutputWithContext(context.Context) ComputeEnvironmentLaunchTemplateSpecificationPtrOutput }
ComputeEnvironmentLaunchTemplateSpecificationPtrInput is an input type that accepts ComputeEnvironmentLaunchTemplateSpecificationArgs, ComputeEnvironmentLaunchTemplateSpecificationPtr and ComputeEnvironmentLaunchTemplateSpecificationPtrOutput values. You can construct a concrete instance of `ComputeEnvironmentLaunchTemplateSpecificationPtrInput` via:
ComputeEnvironmentLaunchTemplateSpecificationArgs{...} or: nil
func ComputeEnvironmentLaunchTemplateSpecificationPtr ¶
func ComputeEnvironmentLaunchTemplateSpecificationPtr(v *ComputeEnvironmentLaunchTemplateSpecificationArgs) ComputeEnvironmentLaunchTemplateSpecificationPtrInput
type ComputeEnvironmentLaunchTemplateSpecificationPtrOutput ¶
type ComputeEnvironmentLaunchTemplateSpecificationPtrOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) ElementType ¶
func (ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) ElementType() reflect.Type
func (ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) LaunchTemplateId ¶
func (o ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) LaunchTemplateId() pulumi.StringPtrOutput
The ID of the launch template.
func (ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) LaunchTemplateName ¶
func (o ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) LaunchTemplateName() pulumi.StringPtrOutput
The name of the launch template.
func (ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutput ¶
func (o ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutput() ComputeEnvironmentLaunchTemplateSpecificationPtrOutput
func (ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutputWithContext ¶
func (o ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) ToComputeEnvironmentLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentLaunchTemplateSpecificationPtrOutput
func (ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) Version ¶
func (o ComputeEnvironmentLaunchTemplateSpecificationPtrOutput) Version() pulumi.StringPtrOutput
The version number of the launch template, `$Latest` , or `$Default` .
If the value is `$Latest` , the latest version of the launch template is used. If the value is `$Default` , the default version of the launch template is used.
> If the AMI ID that's used in a compute environment is from the launch template, the AMI isn't changed when the compute environment is updated. It's only changed if the `updateToLatestImageVersion` parameter for the compute environment is set to `true` . During an infrastructure update, if either `$Latest` or `$Default` is specified, AWS Batch re-evaluates the launch template version, and it might use a different version of the launch template. This is the case even if the launch template isn't specified in the update. When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
Default: `$Default` .
type ComputeEnvironmentOutput ¶
type ComputeEnvironmentOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentOutput) ComputeEnvironmentArn ¶ added in v0.17.0
func (o ComputeEnvironmentOutput) ComputeEnvironmentArn() pulumi.StringOutput
Returns the compute environment ARN, such as `batch: *us-east-1* : *111122223333* :compute-environment/ *ComputeEnvironmentName*` .
func (ComputeEnvironmentOutput) ComputeEnvironmentName ¶ added in v0.17.0
func (o ComputeEnvironmentOutput) ComputeEnvironmentName() pulumi.StringPtrOutput
The name for your compute environment. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
func (ComputeEnvironmentOutput) ComputeResources ¶ added in v0.17.0
func (o ComputeEnvironmentOutput) ComputeResources() ComputeEnvironmentComputeResourcesPtrOutput
The ComputeResources property type specifies details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. For more information, see [Compute Environments](https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) in the ** .
func (ComputeEnvironmentOutput) EksConfiguration ¶ added in v0.41.0
func (o ComputeEnvironmentOutput) EksConfiguration() ComputeEnvironmentEksConfigurationPtrOutput
The details for the Amazon EKS cluster that supports the compute environment.
func (ComputeEnvironmentOutput) ElementType ¶
func (ComputeEnvironmentOutput) ElementType() reflect.Type
func (ComputeEnvironmentOutput) ReplaceComputeEnvironment ¶ added in v0.17.0
func (o ComputeEnvironmentOutput) ReplaceComputeEnvironment() pulumi.BoolPtrOutput
Specifies whether the compute environment is replaced if an update is made that requires replacing the instances in the compute environment. The default value is `true` . To enable more properties to be updated, set this property to `false` . When changing the value of this property to `false` , do not change any other properties at the same time. If other properties are changed at the same time, and the change needs to be rolled back but it can't, it's possible for the stack to go into the `UPDATE_ROLLBACK_FAILED` state. You can't update a stack that is in the `UPDATE_ROLLBACK_FAILED` state. However, if you can continue to roll it back, you can return the stack to its original settings and then try to update it again. For more information, see [Continue rolling back an update](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html) in the *AWS CloudFormation User Guide* .
The properties that can't be changed without replacing the compute environment are in the [`ComputeResources`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html) property type: [`AllocationStrategy`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-allocationstrategy) , [`BidPercentage`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-bidpercentage) , [`Ec2Configuration`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2configuration) , [`Ec2KeyPair`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2keypair) , [`Ec2KeyPair`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2keypair) , [`ImageId`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-imageid) , [`InstanceRole`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-instancerole) , [`InstanceTypes`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-instancetypes) , [`LaunchTemplate`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-launchtemplate) , [`MaxvCpus`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-maxvcpus) , [`MinvCpus`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-minvcpus) , [`PlacementGroup`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-placementgroup) , [`SecurityGroupIds`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-securitygroupids) , [`Subnets`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-subnets) , [Tags](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-tags) , [`Type`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-type) , and [`UpdateToLatestImageVersion`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-updatetolatestimageversion) .
func (ComputeEnvironmentOutput) ServiceRole ¶ added in v0.17.0
func (o ComputeEnvironmentOutput) ServiceRole() pulumi.StringPtrOutput
The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. For more information, see [AWS Batch service IAM role](https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html) in the *AWS Batch User Guide* .
> If your account already created the AWS Batch service-linked role, that role is used by default for your compute environment unless you specify a different role here. If the AWS Batch service-linked role doesn't exist in your account, and no role is specified here, the service attempts to create the AWS Batch service-linked role in your account.
If your specified role has a path other than `/` , then you must specify either the full role ARN (recommended) or prefix the role name with the path. For example, if a role with the name `bar` has a path of `/foo/` , specify `/foo/bar` as the role name. For more information, see [Friendly names and paths](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names) in the *IAM User Guide* .
> Depending on how you created your AWS Batch service role, its ARN might contain the `service-role` path prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN doesn't use the `service-role` path prefix. Because of this, we recommend that you specify the full ARN of your service role when you create compute environments.
func (ComputeEnvironmentOutput) State ¶ added in v0.17.0
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.
If the state is `ENABLED` , then the AWS Batch scheduler can attempt to place jobs from an associated job queue on the compute resources within the environment. If the compute environment is managed, then it can scale its instances out or in automatically, based on the job queue demand.
If the state is `DISABLED` , then the AWS Batch scheduler doesn't attempt to place jobs within the environment. Jobs in a `STARTING` or `RUNNING` state continue to progress normally. Managed compute environments in the `DISABLED` state don't scale out.
> Compute environments in a `DISABLED` state may continue to incur billing charges. To prevent additional charges, turn off and then delete the compute environment. For more information, see [State](https://docs.aws.amazon.com/batch/latest/userguide/compute_environment_parameters.html#compute_environment_state) in the *AWS Batch User Guide* .
When an instance is idle, the instance scales down to the `minvCpus` value. However, the instance size doesn't change. For example, consider a `c5.8xlarge` instance with a `minvCpus` value of `4` and a `desiredvCpus` value of `36` . This instance doesn't scale down to a `c5.large` instance.
func (ComputeEnvironmentOutput) Tags ¶ added in v0.17.0
func (o ComputeEnvironmentOutput) Tags() pulumi.StringMapOutput
A key-value pair to associate with a resource.
func (ComputeEnvironmentOutput) ToComputeEnvironmentOutput ¶
func (o ComputeEnvironmentOutput) ToComputeEnvironmentOutput() ComputeEnvironmentOutput
func (ComputeEnvironmentOutput) ToComputeEnvironmentOutputWithContext ¶
func (o ComputeEnvironmentOutput) ToComputeEnvironmentOutputWithContext(ctx context.Context) ComputeEnvironmentOutput
func (ComputeEnvironmentOutput) Type ¶ added in v0.17.0
func (o ComputeEnvironmentOutput) Type() pulumi.StringOutput
The type of the compute environment: `MANAGED` or `UNMANAGED` . For more information, see [Compute Environments](https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) in the *AWS Batch User Guide* .
func (ComputeEnvironmentOutput) UnmanagedvCpus ¶ added in v0.17.0
func (o ComputeEnvironmentOutput) UnmanagedvCpus() pulumi.IntPtrOutput
The maximum number of vCPUs for an unmanaged compute environment. This parameter is only used for fair share scheduling to reserve vCPU capacity for new share identifiers. If this parameter isn't provided for a fair share job queue, no vCPU capacity is reserved.
> This parameter is only supported when the `type` parameter is set to `UNMANAGED` .
func (ComputeEnvironmentOutput) UpdatePolicy ¶ added in v0.17.0
func (o ComputeEnvironmentOutput) UpdatePolicy() ComputeEnvironmentUpdatePolicyPtrOutput
Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* .
type ComputeEnvironmentState ¶
type ComputeEnvironmentState struct { }
func (ComputeEnvironmentState) ElementType ¶
func (ComputeEnvironmentState) ElementType() reflect.Type
type ComputeEnvironmentUpdatePolicy ¶ added in v0.15.0
type ComputeEnvironmentUpdatePolicy struct { // Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30. JobExecutionTimeoutMinutes *int `pulumi:"jobExecutionTimeoutMinutes"` // Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated. The default value is `false` . TerminateJobsOnUpdate *bool `pulumi:"terminateJobsOnUpdate"` }
type ComputeEnvironmentUpdatePolicyArgs ¶ added in v0.15.0
type ComputeEnvironmentUpdatePolicyArgs struct { // Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30. JobExecutionTimeoutMinutes pulumi.IntPtrInput `pulumi:"jobExecutionTimeoutMinutes"` // Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated. The default value is `false` . TerminateJobsOnUpdate pulumi.BoolPtrInput `pulumi:"terminateJobsOnUpdate"` }
func (ComputeEnvironmentUpdatePolicyArgs) ElementType ¶ added in v0.15.0
func (ComputeEnvironmentUpdatePolicyArgs) ElementType() reflect.Type
func (ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyOutput ¶ added in v0.15.0
func (i ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyOutput() ComputeEnvironmentUpdatePolicyOutput
func (ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyOutputWithContext ¶ added in v0.15.0
func (i ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyOutputWithContext(ctx context.Context) ComputeEnvironmentUpdatePolicyOutput
func (ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyPtrOutput ¶ added in v0.15.0
func (i ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyPtrOutput() ComputeEnvironmentUpdatePolicyPtrOutput
func (ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyPtrOutputWithContext ¶ added in v0.15.0
func (i ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyPtrOutputWithContext(ctx context.Context) ComputeEnvironmentUpdatePolicyPtrOutput
type ComputeEnvironmentUpdatePolicyInput ¶ added in v0.15.0
type ComputeEnvironmentUpdatePolicyInput interface { pulumi.Input ToComputeEnvironmentUpdatePolicyOutput() ComputeEnvironmentUpdatePolicyOutput ToComputeEnvironmentUpdatePolicyOutputWithContext(context.Context) ComputeEnvironmentUpdatePolicyOutput }
ComputeEnvironmentUpdatePolicyInput is an input type that accepts ComputeEnvironmentUpdatePolicyArgs and ComputeEnvironmentUpdatePolicyOutput values. You can construct a concrete instance of `ComputeEnvironmentUpdatePolicyInput` via:
ComputeEnvironmentUpdatePolicyArgs{...}
type ComputeEnvironmentUpdatePolicyOutput ¶ added in v0.15.0
type ComputeEnvironmentUpdatePolicyOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentUpdatePolicyOutput) ElementType ¶ added in v0.15.0
func (ComputeEnvironmentUpdatePolicyOutput) ElementType() reflect.Type
func (ComputeEnvironmentUpdatePolicyOutput) JobExecutionTimeoutMinutes ¶ added in v0.15.0
func (o ComputeEnvironmentUpdatePolicyOutput) JobExecutionTimeoutMinutes() pulumi.IntPtrOutput
Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30.
func (ComputeEnvironmentUpdatePolicyOutput) TerminateJobsOnUpdate ¶ added in v0.15.0
func (o ComputeEnvironmentUpdatePolicyOutput) TerminateJobsOnUpdate() pulumi.BoolPtrOutput
Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated. The default value is `false` .
func (ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyOutput ¶ added in v0.15.0
func (o ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyOutput() ComputeEnvironmentUpdatePolicyOutput
func (ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyOutputWithContext ¶ added in v0.15.0
func (o ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyOutputWithContext(ctx context.Context) ComputeEnvironmentUpdatePolicyOutput
func (ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyPtrOutput ¶ added in v0.15.0
func (o ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyPtrOutput() ComputeEnvironmentUpdatePolicyPtrOutput
func (ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyPtrOutputWithContext ¶ added in v0.15.0
func (o ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyPtrOutputWithContext(ctx context.Context) ComputeEnvironmentUpdatePolicyPtrOutput
type ComputeEnvironmentUpdatePolicyPtrInput ¶ added in v0.15.0
type ComputeEnvironmentUpdatePolicyPtrInput interface { pulumi.Input ToComputeEnvironmentUpdatePolicyPtrOutput() ComputeEnvironmentUpdatePolicyPtrOutput ToComputeEnvironmentUpdatePolicyPtrOutputWithContext(context.Context) ComputeEnvironmentUpdatePolicyPtrOutput }
ComputeEnvironmentUpdatePolicyPtrInput is an input type that accepts ComputeEnvironmentUpdatePolicyArgs, ComputeEnvironmentUpdatePolicyPtr and ComputeEnvironmentUpdatePolicyPtrOutput values. You can construct a concrete instance of `ComputeEnvironmentUpdatePolicyPtrInput` via:
ComputeEnvironmentUpdatePolicyArgs{...} or: nil
func ComputeEnvironmentUpdatePolicyPtr ¶ added in v0.15.0
func ComputeEnvironmentUpdatePolicyPtr(v *ComputeEnvironmentUpdatePolicyArgs) ComputeEnvironmentUpdatePolicyPtrInput
type ComputeEnvironmentUpdatePolicyPtrOutput ¶ added in v0.15.0
type ComputeEnvironmentUpdatePolicyPtrOutput struct{ *pulumi.OutputState }
func (ComputeEnvironmentUpdatePolicyPtrOutput) ElementType ¶ added in v0.15.0
func (ComputeEnvironmentUpdatePolicyPtrOutput) ElementType() reflect.Type
func (ComputeEnvironmentUpdatePolicyPtrOutput) JobExecutionTimeoutMinutes ¶ added in v0.15.0
func (o ComputeEnvironmentUpdatePolicyPtrOutput) JobExecutionTimeoutMinutes() pulumi.IntPtrOutput
Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30.
func (ComputeEnvironmentUpdatePolicyPtrOutput) TerminateJobsOnUpdate ¶ added in v0.15.0
func (o ComputeEnvironmentUpdatePolicyPtrOutput) TerminateJobsOnUpdate() pulumi.BoolPtrOutput
Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated. The default value is `false` .
func (ComputeEnvironmentUpdatePolicyPtrOutput) ToComputeEnvironmentUpdatePolicyPtrOutput ¶ added in v0.15.0
func (o ComputeEnvironmentUpdatePolicyPtrOutput) ToComputeEnvironmentUpdatePolicyPtrOutput() ComputeEnvironmentUpdatePolicyPtrOutput
func (ComputeEnvironmentUpdatePolicyPtrOutput) ToComputeEnvironmentUpdatePolicyPtrOutputWithContext ¶ added in v0.15.0
func (o ComputeEnvironmentUpdatePolicyPtrOutput) ToComputeEnvironmentUpdatePolicyPtrOutputWithContext(ctx context.Context) ComputeEnvironmentUpdatePolicyPtrOutput
type JobDefinition ¶
type JobDefinition struct { pulumi.CustomResourceState AwsId pulumi.StringOutput `pulumi:"awsId"` // An object with properties specific to Amazon ECS-based jobs. When `containerProperties` is used in the job definition, it can't be used in addition to `eksProperties` , `ecsProperties` , or `nodeProperties` . ContainerProperties JobDefinitionContainerPropertiesPtrOutput `pulumi:"containerProperties"` // An object that contains the properties for the Amazon ECS resources of a job.When `ecsProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `eksProperties` , or `nodeProperties` . EcsProperties JobDefinitionEcsPropertiesPtrOutput `pulumi:"ecsProperties"` // An object with properties that are specific to Amazon EKS-based jobs. When `eksProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `ecsProperties` , or `nodeProperties` . EksProperties JobDefinitionEksPropertiesPtrOutput `pulumi:"eksProperties"` // The name of the job definition. JobDefinitionName pulumi.StringPtrOutput `pulumi:"jobDefinitionName"` // An object with properties that are specific to multi-node parallel jobs. When `nodeProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `ecsProperties` , or `eksProperties` . // // > If the job runs on Fargate resources, don't specify `nodeProperties` . Use `containerProperties` instead. NodeProperties JobDefinitionNodePropertiesPtrOutput `pulumi:"nodeProperties"` // Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are specified as a key-value pair mapping. Parameters in a `SubmitJob` request override any corresponding parameter defaults from the job definition. For more information about specifying parameters, see [Job definition parameters](https://docs.aws.amazon.com/batch/latest/userguide/job_definition_parameters.html) in the *AWS Batch User Guide* . // // Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Batch::JobDefinition` for more information about the expected schema for this property. Parameters pulumi.AnyOutput `pulumi:"parameters"` // The platform capabilities required by the job definition. If no value is specified, it defaults to `EC2` . Jobs run on Fargate resources specify `FARGATE` . PlatformCapabilities pulumi.StringArrayOutput `pulumi:"platformCapabilities"` // Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the tasks when the tasks are created. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the `FAILED` state. PropagateTags pulumi.BoolPtrOutput `pulumi:"propagateTags"` // The retry strategy to use for failed jobs that are submitted with this job definition. RetryStrategy JobDefinitionRetryStrategyPtrOutput `pulumi:"retryStrategy"` // The scheduling priority of the job definition. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority. SchedulingPriority pulumi.IntPtrOutput `pulumi:"schedulingPriority"` // The tags that are applied to the job definition. // // Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Batch::JobDefinition` for more information about the expected schema for this property. Tags pulumi.AnyOutput `pulumi:"tags"` // The timeout time for jobs that are submitted with this job definition. After the amount of time you specify passes, AWS Batch terminates your jobs if they aren't finished. Timeout JobDefinitionTimeoutPtrOutput `pulumi:"timeout"` // The type of job definition. For more information about multi-node parallel jobs, see [Creating a multi-node parallel job definition](https://docs.aws.amazon.com/batch/latest/userguide/multi-node-job-def.html) in the *AWS Batch User Guide* . // // - If the value is `container` , then one of the following is required: `containerProperties` , `ecsProperties` , or `eksProperties` . // - If the value is `multinode` , then `nodeProperties` is required. // // > If the job is run on Fargate resources, then `multinode` isn't supported. Type pulumi.StringOutput `pulumi:"type"` }
Resource Type definition for AWS::Batch::JobDefinition
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 { // An object with properties specific to Amazon ECS-based jobs. When `containerProperties` is used in the job definition, it can't be used in addition to `eksProperties` , `ecsProperties` , or `nodeProperties` . ContainerProperties JobDefinitionContainerPropertiesPtrInput // An object that contains the properties for the Amazon ECS resources of a job.When `ecsProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `eksProperties` , or `nodeProperties` . EcsProperties JobDefinitionEcsPropertiesPtrInput // An object with properties that are specific to Amazon EKS-based jobs. When `eksProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `ecsProperties` , or `nodeProperties` . EksProperties JobDefinitionEksPropertiesPtrInput // The name of the job definition. JobDefinitionName pulumi.StringPtrInput // An object with properties that are specific to multi-node parallel jobs. When `nodeProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `ecsProperties` , or `eksProperties` . // // > If the job runs on Fargate resources, don't specify `nodeProperties` . Use `containerProperties` instead. NodeProperties JobDefinitionNodePropertiesPtrInput // Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are specified as a key-value pair mapping. Parameters in a `SubmitJob` request override any corresponding parameter defaults from the job definition. For more information about specifying parameters, see [Job definition parameters](https://docs.aws.amazon.com/batch/latest/userguide/job_definition_parameters.html) in the *AWS Batch User Guide* . // // Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Batch::JobDefinition` for more information about the expected schema for this property. Parameters pulumi.Input // The platform capabilities required by the job definition. If no value is specified, it defaults to `EC2` . Jobs run on Fargate resources specify `FARGATE` . PlatformCapabilities pulumi.StringArrayInput // Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the tasks when the tasks are created. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the `FAILED` state. PropagateTags pulumi.BoolPtrInput // The retry strategy to use for failed jobs that are submitted with this job definition. RetryStrategy JobDefinitionRetryStrategyPtrInput // The scheduling priority of the job definition. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority. SchedulingPriority pulumi.IntPtrInput // The tags that are applied to the job definition. // // Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Batch::JobDefinition` for more information about the expected schema for this property. Tags pulumi.Input // The timeout time for jobs that are submitted with this job definition. After the amount of time you specify passes, AWS Batch terminates your jobs if they aren't finished. Timeout JobDefinitionTimeoutPtrInput // The type of job definition. For more information about multi-node parallel jobs, see [Creating a multi-node parallel job definition](https://docs.aws.amazon.com/batch/latest/userguide/multi-node-job-def.html) in the *AWS Batch User Guide* . // // - If the value is `container` , then one of the following is required: `containerProperties` , `ecsProperties` , or `eksProperties` . // - If the value is `multinode` , then `nodeProperties` is required. // // > If the job is run on Fargate resources, then `multinode` isn't supported. Type pulumi.StringInput }
The set of arguments for constructing a JobDefinition resource.
func (JobDefinitionArgs) ElementType ¶
func (JobDefinitionArgs) ElementType() reflect.Type
type JobDefinitionAuthorizationConfig ¶
type JobDefinitionAuthorizationConfig struct { // The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the `EFSVolumeConfiguration` must either be omitted or set to `/` which enforces the path set on the EFS access point. If an access point is used, transit encryption must be enabled in the `EFSVolumeConfiguration` . For more information, see [Working with Amazon EFS access points](https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html) in the *Amazon Elastic File System User Guide* . AccessPointId *string `pulumi:"accessPointId"` // Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the `EFSVolumeConfiguration` . If this parameter is omitted, the default value of `DISABLED` is used. For more information, see [Using Amazon EFS access points](https://docs.aws.amazon.com/batch/latest/userguide/efs-volumes.html#efs-volume-accesspoints) in the *AWS Batch User Guide* . EFS IAM authorization requires that `TransitEncryption` be `ENABLED` and that a `JobRoleArn` is specified. Iam *string `pulumi:"iam"` }
type JobDefinitionAuthorizationConfigArgs ¶
type JobDefinitionAuthorizationConfigArgs struct { // The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the `EFSVolumeConfiguration` must either be omitted or set to `/` which enforces the path set on the EFS access point. If an access point is used, transit encryption must be enabled in the `EFSVolumeConfiguration` . For more information, see [Working with Amazon EFS access points](https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html) in the *Amazon Elastic File System User Guide* . AccessPointId pulumi.StringPtrInput `pulumi:"accessPointId"` // Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the `EFSVolumeConfiguration` . If this parameter is omitted, the default value of `DISABLED` is used. For more information, see [Using Amazon EFS access points](https://docs.aws.amazon.com/batch/latest/userguide/efs-volumes.html#efs-volume-accesspoints) in the *AWS Batch User Guide* . EFS IAM authorization requires that `TransitEncryption` be `ENABLED` and that a `JobRoleArn` is specified. Iam pulumi.StringPtrInput `pulumi:"iam"` }
func (JobDefinitionAuthorizationConfigArgs) ElementType ¶
func (JobDefinitionAuthorizationConfigArgs) ElementType() reflect.Type
func (JobDefinitionAuthorizationConfigArgs) ToJobDefinitionAuthorizationConfigOutput ¶
func (i JobDefinitionAuthorizationConfigArgs) ToJobDefinitionAuthorizationConfigOutput() JobDefinitionAuthorizationConfigOutput
func (JobDefinitionAuthorizationConfigArgs) ToJobDefinitionAuthorizationConfigOutputWithContext ¶
func (i JobDefinitionAuthorizationConfigArgs) ToJobDefinitionAuthorizationConfigOutputWithContext(ctx context.Context) JobDefinitionAuthorizationConfigOutput
func (JobDefinitionAuthorizationConfigArgs) ToJobDefinitionAuthorizationConfigPtrOutput ¶
func (i JobDefinitionAuthorizationConfigArgs) ToJobDefinitionAuthorizationConfigPtrOutput() JobDefinitionAuthorizationConfigPtrOutput
func (JobDefinitionAuthorizationConfigArgs) ToJobDefinitionAuthorizationConfigPtrOutputWithContext ¶
func (i JobDefinitionAuthorizationConfigArgs) ToJobDefinitionAuthorizationConfigPtrOutputWithContext(ctx context.Context) JobDefinitionAuthorizationConfigPtrOutput
type JobDefinitionAuthorizationConfigInput ¶
type JobDefinitionAuthorizationConfigInput interface { pulumi.Input ToJobDefinitionAuthorizationConfigOutput() JobDefinitionAuthorizationConfigOutput ToJobDefinitionAuthorizationConfigOutputWithContext(context.Context) JobDefinitionAuthorizationConfigOutput }
JobDefinitionAuthorizationConfigInput is an input type that accepts JobDefinitionAuthorizationConfigArgs and JobDefinitionAuthorizationConfigOutput values. You can construct a concrete instance of `JobDefinitionAuthorizationConfigInput` via:
JobDefinitionAuthorizationConfigArgs{...}
type JobDefinitionAuthorizationConfigOutput ¶
type JobDefinitionAuthorizationConfigOutput struct{ *pulumi.OutputState }
func (JobDefinitionAuthorizationConfigOutput) AccessPointId ¶
func (o JobDefinitionAuthorizationConfigOutput) AccessPointId() pulumi.StringPtrOutput
The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the `EFSVolumeConfiguration` must either be omitted or set to `/` which enforces the path set on the EFS access point. If an access point is used, transit encryption must be enabled in the `EFSVolumeConfiguration` . For more information, see [Working with Amazon EFS access points](https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html) in the *Amazon Elastic File System User Guide* .
func (JobDefinitionAuthorizationConfigOutput) ElementType ¶
func (JobDefinitionAuthorizationConfigOutput) ElementType() reflect.Type
func (JobDefinitionAuthorizationConfigOutput) Iam ¶
func (o JobDefinitionAuthorizationConfigOutput) Iam() pulumi.StringPtrOutput
Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the `EFSVolumeConfiguration` . If this parameter is omitted, the default value of `DISABLED` is used. For more information, see [Using Amazon EFS access points](https://docs.aws.amazon.com/batch/latest/userguide/efs-volumes.html#efs-volume-accesspoints) in the *AWS Batch User Guide* . EFS IAM authorization requires that `TransitEncryption` be `ENABLED` and that a `JobRoleArn` is specified.
func (JobDefinitionAuthorizationConfigOutput) ToJobDefinitionAuthorizationConfigOutput ¶
func (o JobDefinitionAuthorizationConfigOutput) ToJobDefinitionAuthorizationConfigOutput() JobDefinitionAuthorizationConfigOutput
func (JobDefinitionAuthorizationConfigOutput) ToJobDefinitionAuthorizationConfigOutputWithContext ¶
func (o JobDefinitionAuthorizationConfigOutput) ToJobDefinitionAuthorizationConfigOutputWithContext(ctx context.Context) JobDefinitionAuthorizationConfigOutput
func (JobDefinitionAuthorizationConfigOutput) ToJobDefinitionAuthorizationConfigPtrOutput ¶
func (o JobDefinitionAuthorizationConfigOutput) ToJobDefinitionAuthorizationConfigPtrOutput() JobDefinitionAuthorizationConfigPtrOutput
func (JobDefinitionAuthorizationConfigOutput) ToJobDefinitionAuthorizationConfigPtrOutputWithContext ¶
func (o JobDefinitionAuthorizationConfigOutput) ToJobDefinitionAuthorizationConfigPtrOutputWithContext(ctx context.Context) JobDefinitionAuthorizationConfigPtrOutput
type JobDefinitionAuthorizationConfigPtrInput ¶
type JobDefinitionAuthorizationConfigPtrInput interface { pulumi.Input ToJobDefinitionAuthorizationConfigPtrOutput() JobDefinitionAuthorizationConfigPtrOutput ToJobDefinitionAuthorizationConfigPtrOutputWithContext(context.Context) JobDefinitionAuthorizationConfigPtrOutput }
JobDefinitionAuthorizationConfigPtrInput is an input type that accepts JobDefinitionAuthorizationConfigArgs, JobDefinitionAuthorizationConfigPtr and JobDefinitionAuthorizationConfigPtrOutput values. You can construct a concrete instance of `JobDefinitionAuthorizationConfigPtrInput` via:
JobDefinitionAuthorizationConfigArgs{...} or: nil
func JobDefinitionAuthorizationConfigPtr ¶
func JobDefinitionAuthorizationConfigPtr(v *JobDefinitionAuthorizationConfigArgs) JobDefinitionAuthorizationConfigPtrInput
type JobDefinitionAuthorizationConfigPtrOutput ¶
type JobDefinitionAuthorizationConfigPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionAuthorizationConfigPtrOutput) AccessPointId ¶
func (o JobDefinitionAuthorizationConfigPtrOutput) AccessPointId() pulumi.StringPtrOutput
The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the `EFSVolumeConfiguration` must either be omitted or set to `/` which enforces the path set on the EFS access point. If an access point is used, transit encryption must be enabled in the `EFSVolumeConfiguration` . For more information, see [Working with Amazon EFS access points](https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html) in the *Amazon Elastic File System User Guide* .
func (JobDefinitionAuthorizationConfigPtrOutput) ElementType ¶
func (JobDefinitionAuthorizationConfigPtrOutput) ElementType() reflect.Type
func (JobDefinitionAuthorizationConfigPtrOutput) Iam ¶
func (o JobDefinitionAuthorizationConfigPtrOutput) Iam() pulumi.StringPtrOutput
Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the `EFSVolumeConfiguration` . If this parameter is omitted, the default value of `DISABLED` is used. For more information, see [Using Amazon EFS access points](https://docs.aws.amazon.com/batch/latest/userguide/efs-volumes.html#efs-volume-accesspoints) in the *AWS Batch User Guide* . EFS IAM authorization requires that `TransitEncryption` be `ENABLED` and that a `JobRoleArn` is specified.
func (JobDefinitionAuthorizationConfigPtrOutput) ToJobDefinitionAuthorizationConfigPtrOutput ¶
func (o JobDefinitionAuthorizationConfigPtrOutput) ToJobDefinitionAuthorizationConfigPtrOutput() JobDefinitionAuthorizationConfigPtrOutput
func (JobDefinitionAuthorizationConfigPtrOutput) ToJobDefinitionAuthorizationConfigPtrOutputWithContext ¶
func (o JobDefinitionAuthorizationConfigPtrOutput) ToJobDefinitionAuthorizationConfigPtrOutputWithContext(ctx context.Context) JobDefinitionAuthorizationConfigPtrOutput
type JobDefinitionContainerProperties ¶
type JobDefinitionContainerProperties struct { // The command that's passed to the container. This parameter maps to `Cmd` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `COMMAND` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . For more information, see [https://docs.docker.com/engine/reference/builder/#cmd](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) . Command []string `pulumi:"command"` // The environment variables to pass to a container. This parameter maps to `Env` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--env` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . // // > We don't recommend using plaintext environment variables for sensitive information, such as credential data. > Environment variables cannot start with " `AWS_BATCH` ". This naming convention is reserved for variables that AWS Batch sets. Environment []JobDefinitionEnvironment `pulumi:"environment"` // The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate . EphemeralStorage *JobDefinitionEphemeralStorage `pulumi:"ephemeralStorage"` // The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. For more information, see [AWS Batch execution IAM role](https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html) in the *AWS Batch User Guide* . ExecutionRoleArn *string `pulumi:"executionRoleArn"` // The platform configuration for jobs that are running on Fargate resources. Jobs that are running on Amazon EC2 resources must not specify this parameter. FargatePlatformConfiguration *JobDefinitionFargatePlatformConfiguration `pulumi:"fargatePlatformConfiguration"` // Required. The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with `*repository-url* / *image* : *tag*` . It can be 255 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), underscores (_), colons (:), periods (.), forward slashes (/), and number signs (#). This parameter maps to `Image` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `IMAGE` parameter of [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . // // > Docker image architecture must match the processor architecture of the compute resources that they're scheduled on. For example, ARM-based Docker images can only run on ARM-based compute resources. // // - Images in Amazon ECR Public repositories use the full `registry/repository[:tag]` or `registry/repository[@digest]` naming conventions. For example, `public.ecr.aws/ *registry_alias* / *my-web-app* : *latest*` . // - Images in Amazon ECR repositories use the full registry and repository URI (for example, `123456789012.dkr.ecr.<region-name>.amazonaws.com/<repository-name>` ). // - Images in official repositories on Docker Hub use a single name (for example, `ubuntu` or `mongo` ). // - Images in other repositories on Docker Hub are qualified with an organization name (for example, `amazon/amazon-ecs-agent` ). // - Images in other online repositories are qualified further by a domain name (for example, `quay.io/assemblyline/ubuntu` ). Image string `pulumi:"image"` // The instance type to use for a multi-node parallel job. All node groups in a multi-node parallel job must use the same instance type. // // > This parameter isn't applicable to single-node container jobs or jobs that run on Fargate resources, and shouldn't be provided. InstanceType *string `pulumi:"instanceType"` // The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions. For more information, see [IAM roles for tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html) in the *Amazon Elastic Container Service Developer Guide* . JobRoleArn *string `pulumi:"jobRoleArn"` // Linux-specific modifications that are applied to the container, such as details for device mappings. LinuxParameters *JobDefinitionLinuxParameters `pulumi:"linuxParameters"` // The log configuration specification for the container. // // This parameter maps to `LogConfig` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--log-driver` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . By default, containers use the same logging driver that the Docker daemon uses. However the container might use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information on the options for different supported log drivers, see [Configure logging drivers](https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/) in the Docker documentation. // // > AWS Batch currently supports a subset of the logging drivers available to the Docker daemon (shown in the [LogConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-logconfiguration.html) data type). // // This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"` // // > The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before containers placed on that instance can use these log configuration options. For more information, see [Amazon ECS container agent configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide* . LogConfiguration *JobDefinitionLogConfiguration `pulumi:"logConfiguration"` // This parameter is deprecated, use `resourceRequirements` to specify the memory requirements for the job definition. It's not supported for jobs running on Fargate resources. For jobs that run on Amazon EC2 resources, it specifies the memory hard limit (in MiB) for a container. If your container attempts to exceed the specified number, it's terminated. You must specify at least 4 MiB of memory for a job using this parameter. The memory hard limit can be specified in several places. It must be specified for each node at least once. Memory *int `pulumi:"memory"` // The mount points for data volumes in your container. This parameter maps to `Volumes` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--volume` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . MountPoints []JobDefinitionMountPoints `pulumi:"mountPoints"` // The network configuration for jobs that are running on Fargate resources. Jobs that are running on Amazon EC2 resources must not specify this parameter. NetworkConfiguration *JobDefinitionNetworkConfiguration `pulumi:"networkConfiguration"` // When this parameter is true, the container is given elevated permissions on the host container instance (similar to the `root` user). This parameter maps to `Privileged` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--privileged` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . The default value is false. // // > This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided, or specified as false. Privileged *bool `pulumi:"privileged"` // When this parameter is true, the container is given read-only access to its root file system. This parameter maps to `ReadonlyRootfs` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--read-only` option to `docker run` . ReadonlyRootFilesystem *bool `pulumi:"readonlyRootFilesystem"` // The private repository authentication credentials to use. RepositoryCredentials *JobDefinitionRepositoryCredentials `pulumi:"repositoryCredentials"` // The type and amount of resources to assign to a container. The supported resources include `GPU` , `MEMORY` , and `VCPU` . ResourceRequirements []JobDefinitionResourceRequirement `pulumi:"resourceRequirements"` // An object that represents the compute environment architecture for AWS Batch jobs on Fargate. RuntimePlatform *JobDefinitionRuntimePlatform `pulumi:"runtimePlatform"` // The secrets for the container. For more information, see [Specifying sensitive data](https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html) in the *AWS Batch User Guide* . Secrets []JobDefinitionSecret `pulumi:"secrets"` // A list of `ulimits` to set in the container. This parameter maps to `Ulimits` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--ulimit` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . // // > This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided. Ulimits []JobDefinitionUlimit `pulumi:"ulimits"` // The user name to use inside the container. This parameter maps to `User` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--user` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . User *string `pulumi:"user"` // This parameter is deprecated, use `resourceRequirements` to specify the vCPU requirements for the job definition. It's not supported for jobs running on Fargate resources. For jobs running on Amazon EC2 resources, it specifies the number of vCPUs reserved for the job. // // Each vCPU is equivalent to 1,024 CPU shares. This parameter maps to `CpuShares` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--cpu-shares` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . The number of vCPUs must be specified but can be specified in several places. You must specify it at least once for each node. Vcpus *int `pulumi:"vcpus"` // A list of data volumes used in a job. Volumes []JobDefinitionVolumes `pulumi:"volumes"` }
type JobDefinitionContainerPropertiesArgs ¶
type JobDefinitionContainerPropertiesArgs struct { // The command that's passed to the container. This parameter maps to `Cmd` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `COMMAND` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . For more information, see [https://docs.docker.com/engine/reference/builder/#cmd](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) . Command pulumi.StringArrayInput `pulumi:"command"` // The environment variables to pass to a container. This parameter maps to `Env` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--env` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . // // > We don't recommend using plaintext environment variables for sensitive information, such as credential data. > Environment variables cannot start with " `AWS_BATCH` ". This naming convention is reserved for variables that AWS Batch sets. Environment JobDefinitionEnvironmentArrayInput `pulumi:"environment"` // The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate . EphemeralStorage JobDefinitionEphemeralStoragePtrInput `pulumi:"ephemeralStorage"` // The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. For more information, see [AWS Batch execution IAM role](https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html) in the *AWS Batch User Guide* . ExecutionRoleArn pulumi.StringPtrInput `pulumi:"executionRoleArn"` // The platform configuration for jobs that are running on Fargate resources. Jobs that are running on Amazon EC2 resources must not specify this parameter. FargatePlatformConfiguration JobDefinitionFargatePlatformConfigurationPtrInput `pulumi:"fargatePlatformConfiguration"` // Required. The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with `*repository-url* / *image* : *tag*` . It can be 255 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), underscores (_), colons (:), periods (.), forward slashes (/), and number signs (#). This parameter maps to `Image` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `IMAGE` parameter of [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . // // > Docker image architecture must match the processor architecture of the compute resources that they're scheduled on. For example, ARM-based Docker images can only run on ARM-based compute resources. // // - Images in Amazon ECR Public repositories use the full `registry/repository[:tag]` or `registry/repository[@digest]` naming conventions. For example, `public.ecr.aws/ *registry_alias* / *my-web-app* : *latest*` . // - Images in Amazon ECR repositories use the full registry and repository URI (for example, `123456789012.dkr.ecr.<region-name>.amazonaws.com/<repository-name>` ). // - Images in official repositories on Docker Hub use a single name (for example, `ubuntu` or `mongo` ). // - Images in other repositories on Docker Hub are qualified with an organization name (for example, `amazon/amazon-ecs-agent` ). // - Images in other online repositories are qualified further by a domain name (for example, `quay.io/assemblyline/ubuntu` ). Image pulumi.StringInput `pulumi:"image"` // The instance type to use for a multi-node parallel job. All node groups in a multi-node parallel job must use the same instance type. // // > This parameter isn't applicable to single-node container jobs or jobs that run on Fargate resources, and shouldn't be provided. InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` // The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions. For more information, see [IAM roles for tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html) in the *Amazon Elastic Container Service Developer Guide* . JobRoleArn pulumi.StringPtrInput `pulumi:"jobRoleArn"` // Linux-specific modifications that are applied to the container, such as details for device mappings. LinuxParameters JobDefinitionLinuxParametersPtrInput `pulumi:"linuxParameters"` // The log configuration specification for the container. // // This parameter maps to `LogConfig` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--log-driver` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . By default, containers use the same logging driver that the Docker daemon uses. However the container might use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information on the options for different supported log drivers, see [Configure logging drivers](https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/) in the Docker documentation. // // > AWS Batch currently supports a subset of the logging drivers available to the Docker daemon (shown in the [LogConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-logconfiguration.html) data type). // // This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"` // // > The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before containers placed on that instance can use these log configuration options. For more information, see [Amazon ECS container agent configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide* . LogConfiguration JobDefinitionLogConfigurationPtrInput `pulumi:"logConfiguration"` // This parameter is deprecated, use `resourceRequirements` to specify the memory requirements for the job definition. It's not supported for jobs running on Fargate resources. For jobs that run on Amazon EC2 resources, it specifies the memory hard limit (in MiB) for a container. If your container attempts to exceed the specified number, it's terminated. You must specify at least 4 MiB of memory for a job using this parameter. The memory hard limit can be specified in several places. It must be specified for each node at least once. Memory pulumi.IntPtrInput `pulumi:"memory"` // The mount points for data volumes in your container. This parameter maps to `Volumes` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--volume` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . MountPoints JobDefinitionMountPointsArrayInput `pulumi:"mountPoints"` // The network configuration for jobs that are running on Fargate resources. Jobs that are running on Amazon EC2 resources must not specify this parameter. NetworkConfiguration JobDefinitionNetworkConfigurationPtrInput `pulumi:"networkConfiguration"` // When this parameter is true, the container is given elevated permissions on the host container instance (similar to the `root` user). This parameter maps to `Privileged` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--privileged` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . The default value is false. // // > This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided, or specified as false. Privileged pulumi.BoolPtrInput `pulumi:"privileged"` // When this parameter is true, the container is given read-only access to its root file system. This parameter maps to `ReadonlyRootfs` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--read-only` option to `docker run` . ReadonlyRootFilesystem pulumi.BoolPtrInput `pulumi:"readonlyRootFilesystem"` // The private repository authentication credentials to use. RepositoryCredentials JobDefinitionRepositoryCredentialsPtrInput `pulumi:"repositoryCredentials"` // The type and amount of resources to assign to a container. The supported resources include `GPU` , `MEMORY` , and `VCPU` . ResourceRequirements JobDefinitionResourceRequirementArrayInput `pulumi:"resourceRequirements"` // An object that represents the compute environment architecture for AWS Batch jobs on Fargate. RuntimePlatform JobDefinitionRuntimePlatformPtrInput `pulumi:"runtimePlatform"` // The secrets for the container. For more information, see [Specifying sensitive data](https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html) in the *AWS Batch User Guide* . Secrets JobDefinitionSecretArrayInput `pulumi:"secrets"` // A list of `ulimits` to set in the container. This parameter maps to `Ulimits` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--ulimit` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . // // > This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided. Ulimits JobDefinitionUlimitArrayInput `pulumi:"ulimits"` // The user name to use inside the container. This parameter maps to `User` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--user` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . User pulumi.StringPtrInput `pulumi:"user"` // This parameter is deprecated, use `resourceRequirements` to specify the vCPU requirements for the job definition. It's not supported for jobs running on Fargate resources. For jobs running on Amazon EC2 resources, it specifies the number of vCPUs reserved for the job. // // Each vCPU is equivalent to 1,024 CPU shares. This parameter maps to `CpuShares` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--cpu-shares` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . The number of vCPUs must be specified but can be specified in several places. You must specify it at least once for each node. Vcpus pulumi.IntPtrInput `pulumi:"vcpus"` // A list of data volumes used in a job. Volumes JobDefinitionVolumesArrayInput `pulumi:"volumes"` }
func (JobDefinitionContainerPropertiesArgs) ElementType ¶
func (JobDefinitionContainerPropertiesArgs) ElementType() reflect.Type
func (JobDefinitionContainerPropertiesArgs) ToJobDefinitionContainerPropertiesOutput ¶
func (i JobDefinitionContainerPropertiesArgs) ToJobDefinitionContainerPropertiesOutput() JobDefinitionContainerPropertiesOutput
func (JobDefinitionContainerPropertiesArgs) ToJobDefinitionContainerPropertiesOutputWithContext ¶
func (i JobDefinitionContainerPropertiesArgs) ToJobDefinitionContainerPropertiesOutputWithContext(ctx context.Context) JobDefinitionContainerPropertiesOutput
func (JobDefinitionContainerPropertiesArgs) ToJobDefinitionContainerPropertiesPtrOutput ¶
func (i JobDefinitionContainerPropertiesArgs) ToJobDefinitionContainerPropertiesPtrOutput() JobDefinitionContainerPropertiesPtrOutput
func (JobDefinitionContainerPropertiesArgs) ToJobDefinitionContainerPropertiesPtrOutputWithContext ¶
func (i JobDefinitionContainerPropertiesArgs) ToJobDefinitionContainerPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionContainerPropertiesPtrOutput
type JobDefinitionContainerPropertiesInput ¶
type JobDefinitionContainerPropertiesInput interface { pulumi.Input ToJobDefinitionContainerPropertiesOutput() JobDefinitionContainerPropertiesOutput ToJobDefinitionContainerPropertiesOutputWithContext(context.Context) JobDefinitionContainerPropertiesOutput }
JobDefinitionContainerPropertiesInput is an input type that accepts JobDefinitionContainerPropertiesArgs and JobDefinitionContainerPropertiesOutput values. You can construct a concrete instance of `JobDefinitionContainerPropertiesInput` via:
JobDefinitionContainerPropertiesArgs{...}
type JobDefinitionContainerPropertiesOutput ¶
type JobDefinitionContainerPropertiesOutput struct{ *pulumi.OutputState }
func (JobDefinitionContainerPropertiesOutput) Command ¶
func (o JobDefinitionContainerPropertiesOutput) Command() pulumi.StringArrayOutput
The command that's passed to the container. This parameter maps to `Cmd` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `COMMAND` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . For more information, see [https://docs.docker.com/engine/reference/builder/#cmd](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) .
func (JobDefinitionContainerPropertiesOutput) ElementType ¶
func (JobDefinitionContainerPropertiesOutput) ElementType() reflect.Type
func (JobDefinitionContainerPropertiesOutput) Environment ¶
func (o JobDefinitionContainerPropertiesOutput) Environment() JobDefinitionEnvironmentArrayOutput
The environment variables to pass to a container. This parameter maps to `Env` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--env` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
> We don't recommend using plaintext environment variables for sensitive information, such as credential data. > Environment variables cannot start with " `AWS_BATCH` ". This naming convention is reserved for variables that AWS Batch sets.
func (JobDefinitionContainerPropertiesOutput) EphemeralStorage ¶ added in v0.56.0
func (o JobDefinitionContainerPropertiesOutput) EphemeralStorage() JobDefinitionEphemeralStoragePtrOutput
The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate .
func (JobDefinitionContainerPropertiesOutput) ExecutionRoleArn ¶
func (o JobDefinitionContainerPropertiesOutput) ExecutionRoleArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. For more information, see [AWS Batch execution IAM role](https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html) in the *AWS Batch User Guide* .
func (JobDefinitionContainerPropertiesOutput) FargatePlatformConfiguration ¶
func (o JobDefinitionContainerPropertiesOutput) FargatePlatformConfiguration() JobDefinitionFargatePlatformConfigurationPtrOutput
The platform configuration for jobs that are running on Fargate resources. Jobs that are running on Amazon EC2 resources must not specify this parameter.
func (JobDefinitionContainerPropertiesOutput) Image ¶
func (o JobDefinitionContainerPropertiesOutput) Image() pulumi.StringOutput
Required. The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with `*repository-url* / *image* : *tag*` . It can be 255 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), underscores (_), colons (:), periods (.), forward slashes (/), and number signs (#). This parameter maps to `Image` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `IMAGE` parameter of [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
> Docker image architecture must match the processor architecture of the compute resources that they're scheduled on. For example, ARM-based Docker images can only run on ARM-based compute resources.
- Images in Amazon ECR Public repositories use the full `registry/repository[:tag]` or `registry/repository[@digest]` naming conventions. For example, `public.ecr.aws/ *registry_alias* / *my-web-app* : *latest*` . - Images in Amazon ECR repositories use the full registry and repository URI (for example, `123456789012.dkr.ecr.<region-name>.amazonaws.com/<repository-name>` ). - Images in official repositories on Docker Hub use a single name (for example, `ubuntu` or `mongo` ). - Images in other repositories on Docker Hub are qualified with an organization name (for example, `amazon/amazon-ecs-agent` ). - Images in other online repositories are qualified further by a domain name (for example, `quay.io/assemblyline/ubuntu` ).
func (JobDefinitionContainerPropertiesOutput) InstanceType ¶
func (o JobDefinitionContainerPropertiesOutput) InstanceType() pulumi.StringPtrOutput
The instance type to use for a multi-node parallel job. All node groups in a multi-node parallel job must use the same instance type.
> This parameter isn't applicable to single-node container jobs or jobs that run on Fargate resources, and shouldn't be provided.
func (JobDefinitionContainerPropertiesOutput) JobRoleArn ¶
func (o JobDefinitionContainerPropertiesOutput) JobRoleArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions. For more information, see [IAM roles for tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html) in the *Amazon Elastic Container Service Developer Guide* .
func (JobDefinitionContainerPropertiesOutput) LinuxParameters ¶
func (o JobDefinitionContainerPropertiesOutput) LinuxParameters() JobDefinitionLinuxParametersPtrOutput
Linux-specific modifications that are applied to the container, such as details for device mappings.
func (JobDefinitionContainerPropertiesOutput) LogConfiguration ¶
func (o JobDefinitionContainerPropertiesOutput) LogConfiguration() JobDefinitionLogConfigurationPtrOutput
The log configuration specification for the container.
This parameter maps to `LogConfig` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--log-driver` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . By default, containers use the same logging driver that the Docker daemon uses. However the container might use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information on the options for different supported log drivers, see [Configure logging drivers](https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/) in the Docker documentation.
> AWS Batch currently supports a subset of the logging drivers available to the Docker daemon (shown in the [LogConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-logconfiguration.html) data type).
This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"`
> The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before containers placed on that instance can use these log configuration options. For more information, see [Amazon ECS container agent configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide* .
func (JobDefinitionContainerPropertiesOutput) Memory ¶
func (o JobDefinitionContainerPropertiesOutput) Memory() pulumi.IntPtrOutput
This parameter is deprecated, use `resourceRequirements` to specify the memory requirements for the job definition. It's not supported for jobs running on Fargate resources. For jobs that run on Amazon EC2 resources, it specifies the memory hard limit (in MiB) for a container. If your container attempts to exceed the specified number, it's terminated. You must specify at least 4 MiB of memory for a job using this parameter. The memory hard limit can be specified in several places. It must be specified for each node at least once.
func (JobDefinitionContainerPropertiesOutput) MountPoints ¶
func (o JobDefinitionContainerPropertiesOutput) MountPoints() JobDefinitionMountPointsArrayOutput
The mount points for data volumes in your container. This parameter maps to `Volumes` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--volume` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
func (JobDefinitionContainerPropertiesOutput) NetworkConfiguration ¶
func (o JobDefinitionContainerPropertiesOutput) NetworkConfiguration() JobDefinitionNetworkConfigurationPtrOutput
The network configuration for jobs that are running on Fargate resources. Jobs that are running on Amazon EC2 resources must not specify this parameter.
func (JobDefinitionContainerPropertiesOutput) Privileged ¶
func (o JobDefinitionContainerPropertiesOutput) Privileged() pulumi.BoolPtrOutput
When this parameter is true, the container is given elevated permissions on the host container instance (similar to the `root` user). This parameter maps to `Privileged` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--privileged` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . The default value is false.
> This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided, or specified as false.
func (JobDefinitionContainerPropertiesOutput) ReadonlyRootFilesystem ¶
func (o JobDefinitionContainerPropertiesOutput) ReadonlyRootFilesystem() pulumi.BoolPtrOutput
When this parameter is true, the container is given read-only access to its root file system. This parameter maps to `ReadonlyRootfs` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--read-only` option to `docker run` .
func (JobDefinitionContainerPropertiesOutput) RepositoryCredentials ¶ added in v0.97.0
func (o JobDefinitionContainerPropertiesOutput) RepositoryCredentials() JobDefinitionRepositoryCredentialsPtrOutput
The private repository authentication credentials to use.
func (JobDefinitionContainerPropertiesOutput) ResourceRequirements ¶
func (o JobDefinitionContainerPropertiesOutput) ResourceRequirements() JobDefinitionResourceRequirementArrayOutput
The type and amount of resources to assign to a container. The supported resources include `GPU` , `MEMORY` , and `VCPU` .
func (JobDefinitionContainerPropertiesOutput) RuntimePlatform ¶ added in v0.69.0
func (o JobDefinitionContainerPropertiesOutput) RuntimePlatform() JobDefinitionRuntimePlatformPtrOutput
An object that represents the compute environment architecture for AWS Batch jobs on Fargate.
func (JobDefinitionContainerPropertiesOutput) Secrets ¶
func (o JobDefinitionContainerPropertiesOutput) Secrets() JobDefinitionSecretArrayOutput
The secrets for the container. For more information, see [Specifying sensitive data](https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html) in the *AWS Batch User Guide* .
func (JobDefinitionContainerPropertiesOutput) ToJobDefinitionContainerPropertiesOutput ¶
func (o JobDefinitionContainerPropertiesOutput) ToJobDefinitionContainerPropertiesOutput() JobDefinitionContainerPropertiesOutput
func (JobDefinitionContainerPropertiesOutput) ToJobDefinitionContainerPropertiesOutputWithContext ¶
func (o JobDefinitionContainerPropertiesOutput) ToJobDefinitionContainerPropertiesOutputWithContext(ctx context.Context) JobDefinitionContainerPropertiesOutput
func (JobDefinitionContainerPropertiesOutput) ToJobDefinitionContainerPropertiesPtrOutput ¶
func (o JobDefinitionContainerPropertiesOutput) ToJobDefinitionContainerPropertiesPtrOutput() JobDefinitionContainerPropertiesPtrOutput
func (JobDefinitionContainerPropertiesOutput) ToJobDefinitionContainerPropertiesPtrOutputWithContext ¶
func (o JobDefinitionContainerPropertiesOutput) ToJobDefinitionContainerPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionContainerPropertiesPtrOutput
func (JobDefinitionContainerPropertiesOutput) Ulimits ¶
func (o JobDefinitionContainerPropertiesOutput) Ulimits() JobDefinitionUlimitArrayOutput
A list of `ulimits` to set in the container. This parameter maps to `Ulimits` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--ulimit` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
> This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.
func (JobDefinitionContainerPropertiesOutput) User ¶
func (o JobDefinitionContainerPropertiesOutput) User() pulumi.StringPtrOutput
The user name to use inside the container. This parameter maps to `User` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--user` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
func (JobDefinitionContainerPropertiesOutput) Vcpus ¶
func (o JobDefinitionContainerPropertiesOutput) Vcpus() pulumi.IntPtrOutput
This parameter is deprecated, use `resourceRequirements` to specify the vCPU requirements for the job definition. It's not supported for jobs running on Fargate resources. For jobs running on Amazon EC2 resources, it specifies the number of vCPUs reserved for the job.
Each vCPU is equivalent to 1,024 CPU shares. This parameter maps to `CpuShares` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--cpu-shares` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . The number of vCPUs must be specified but can be specified in several places. You must specify it at least once for each node.
func (JobDefinitionContainerPropertiesOutput) Volumes ¶
func (o JobDefinitionContainerPropertiesOutput) Volumes() JobDefinitionVolumesArrayOutput
A list of data volumes used in a job.
type JobDefinitionContainerPropertiesPtrInput ¶
type JobDefinitionContainerPropertiesPtrInput interface { pulumi.Input ToJobDefinitionContainerPropertiesPtrOutput() JobDefinitionContainerPropertiesPtrOutput ToJobDefinitionContainerPropertiesPtrOutputWithContext(context.Context) JobDefinitionContainerPropertiesPtrOutput }
JobDefinitionContainerPropertiesPtrInput is an input type that accepts JobDefinitionContainerPropertiesArgs, JobDefinitionContainerPropertiesPtr and JobDefinitionContainerPropertiesPtrOutput values. You can construct a concrete instance of `JobDefinitionContainerPropertiesPtrInput` via:
JobDefinitionContainerPropertiesArgs{...} or: nil
func JobDefinitionContainerPropertiesPtr ¶
func JobDefinitionContainerPropertiesPtr(v *JobDefinitionContainerPropertiesArgs) JobDefinitionContainerPropertiesPtrInput
type JobDefinitionContainerPropertiesPtrOutput ¶
type JobDefinitionContainerPropertiesPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionContainerPropertiesPtrOutput) Command ¶
func (o JobDefinitionContainerPropertiesPtrOutput) Command() pulumi.StringArrayOutput
The command that's passed to the container. This parameter maps to `Cmd` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `COMMAND` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . For more information, see [https://docs.docker.com/engine/reference/builder/#cmd](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) .
func (JobDefinitionContainerPropertiesPtrOutput) ElementType ¶
func (JobDefinitionContainerPropertiesPtrOutput) ElementType() reflect.Type
func (JobDefinitionContainerPropertiesPtrOutput) Environment ¶
func (o JobDefinitionContainerPropertiesPtrOutput) Environment() JobDefinitionEnvironmentArrayOutput
The environment variables to pass to a container. This parameter maps to `Env` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--env` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
> We don't recommend using plaintext environment variables for sensitive information, such as credential data. > Environment variables cannot start with " `AWS_BATCH` ". This naming convention is reserved for variables that AWS Batch sets.
func (JobDefinitionContainerPropertiesPtrOutput) EphemeralStorage ¶ added in v0.56.0
func (o JobDefinitionContainerPropertiesPtrOutput) EphemeralStorage() JobDefinitionEphemeralStoragePtrOutput
The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate .
func (JobDefinitionContainerPropertiesPtrOutput) ExecutionRoleArn ¶
func (o JobDefinitionContainerPropertiesPtrOutput) ExecutionRoleArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. For more information, see [AWS Batch execution IAM role](https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html) in the *AWS Batch User Guide* .
func (JobDefinitionContainerPropertiesPtrOutput) FargatePlatformConfiguration ¶
func (o JobDefinitionContainerPropertiesPtrOutput) FargatePlatformConfiguration() JobDefinitionFargatePlatformConfigurationPtrOutput
The platform configuration for jobs that are running on Fargate resources. Jobs that are running on Amazon EC2 resources must not specify this parameter.
func (JobDefinitionContainerPropertiesPtrOutput) Image ¶
func (o JobDefinitionContainerPropertiesPtrOutput) Image() pulumi.StringPtrOutput
Required. The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with `*repository-url* / *image* : *tag*` . It can be 255 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), underscores (_), colons (:), periods (.), forward slashes (/), and number signs (#). This parameter maps to `Image` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `IMAGE` parameter of [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
> Docker image architecture must match the processor architecture of the compute resources that they're scheduled on. For example, ARM-based Docker images can only run on ARM-based compute resources.
- Images in Amazon ECR Public repositories use the full `registry/repository[:tag]` or `registry/repository[@digest]` naming conventions. For example, `public.ecr.aws/ *registry_alias* / *my-web-app* : *latest*` . - Images in Amazon ECR repositories use the full registry and repository URI (for example, `123456789012.dkr.ecr.<region-name>.amazonaws.com/<repository-name>` ). - Images in official repositories on Docker Hub use a single name (for example, `ubuntu` or `mongo` ). - Images in other repositories on Docker Hub are qualified with an organization name (for example, `amazon/amazon-ecs-agent` ). - Images in other online repositories are qualified further by a domain name (for example, `quay.io/assemblyline/ubuntu` ).
func (JobDefinitionContainerPropertiesPtrOutput) InstanceType ¶
func (o JobDefinitionContainerPropertiesPtrOutput) InstanceType() pulumi.StringPtrOutput
The instance type to use for a multi-node parallel job. All node groups in a multi-node parallel job must use the same instance type.
> This parameter isn't applicable to single-node container jobs or jobs that run on Fargate resources, and shouldn't be provided.
func (JobDefinitionContainerPropertiesPtrOutput) JobRoleArn ¶
func (o JobDefinitionContainerPropertiesPtrOutput) JobRoleArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions. For more information, see [IAM roles for tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html) in the *Amazon Elastic Container Service Developer Guide* .
func (JobDefinitionContainerPropertiesPtrOutput) LinuxParameters ¶
func (o JobDefinitionContainerPropertiesPtrOutput) LinuxParameters() JobDefinitionLinuxParametersPtrOutput
Linux-specific modifications that are applied to the container, such as details for device mappings.
func (JobDefinitionContainerPropertiesPtrOutput) LogConfiguration ¶
func (o JobDefinitionContainerPropertiesPtrOutput) LogConfiguration() JobDefinitionLogConfigurationPtrOutput
The log configuration specification for the container.
This parameter maps to `LogConfig` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--log-driver` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . By default, containers use the same logging driver that the Docker daemon uses. However the container might use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information on the options for different supported log drivers, see [Configure logging drivers](https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/) in the Docker documentation.
> AWS Batch currently supports a subset of the logging drivers available to the Docker daemon (shown in the [LogConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-logconfiguration.html) data type).
This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"`
> The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before containers placed on that instance can use these log configuration options. For more information, see [Amazon ECS container agent configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide* .
func (JobDefinitionContainerPropertiesPtrOutput) Memory ¶
func (o JobDefinitionContainerPropertiesPtrOutput) Memory() pulumi.IntPtrOutput
This parameter is deprecated, use `resourceRequirements` to specify the memory requirements for the job definition. It's not supported for jobs running on Fargate resources. For jobs that run on Amazon EC2 resources, it specifies the memory hard limit (in MiB) for a container. If your container attempts to exceed the specified number, it's terminated. You must specify at least 4 MiB of memory for a job using this parameter. The memory hard limit can be specified in several places. It must be specified for each node at least once.
func (JobDefinitionContainerPropertiesPtrOutput) MountPoints ¶
func (o JobDefinitionContainerPropertiesPtrOutput) MountPoints() JobDefinitionMountPointsArrayOutput
The mount points for data volumes in your container. This parameter maps to `Volumes` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--volume` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
func (JobDefinitionContainerPropertiesPtrOutput) NetworkConfiguration ¶
func (o JobDefinitionContainerPropertiesPtrOutput) NetworkConfiguration() JobDefinitionNetworkConfigurationPtrOutput
The network configuration for jobs that are running on Fargate resources. Jobs that are running on Amazon EC2 resources must not specify this parameter.
func (JobDefinitionContainerPropertiesPtrOutput) Privileged ¶
func (o JobDefinitionContainerPropertiesPtrOutput) Privileged() pulumi.BoolPtrOutput
When this parameter is true, the container is given elevated permissions on the host container instance (similar to the `root` user). This parameter maps to `Privileged` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--privileged` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . The default value is false.
> This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided, or specified as false.
func (JobDefinitionContainerPropertiesPtrOutput) ReadonlyRootFilesystem ¶
func (o JobDefinitionContainerPropertiesPtrOutput) ReadonlyRootFilesystem() pulumi.BoolPtrOutput
When this parameter is true, the container is given read-only access to its root file system. This parameter maps to `ReadonlyRootfs` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--read-only` option to `docker run` .
func (JobDefinitionContainerPropertiesPtrOutput) RepositoryCredentials ¶ added in v0.97.0
func (o JobDefinitionContainerPropertiesPtrOutput) RepositoryCredentials() JobDefinitionRepositoryCredentialsPtrOutput
The private repository authentication credentials to use.
func (JobDefinitionContainerPropertiesPtrOutput) ResourceRequirements ¶
func (o JobDefinitionContainerPropertiesPtrOutput) ResourceRequirements() JobDefinitionResourceRequirementArrayOutput
The type and amount of resources to assign to a container. The supported resources include `GPU` , `MEMORY` , and `VCPU` .
func (JobDefinitionContainerPropertiesPtrOutput) RuntimePlatform ¶ added in v0.69.0
func (o JobDefinitionContainerPropertiesPtrOutput) RuntimePlatform() JobDefinitionRuntimePlatformPtrOutput
An object that represents the compute environment architecture for AWS Batch jobs on Fargate.
func (JobDefinitionContainerPropertiesPtrOutput) Secrets ¶
func (o JobDefinitionContainerPropertiesPtrOutput) Secrets() JobDefinitionSecretArrayOutput
The secrets for the container. For more information, see [Specifying sensitive data](https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html) in the *AWS Batch User Guide* .
func (JobDefinitionContainerPropertiesPtrOutput) ToJobDefinitionContainerPropertiesPtrOutput ¶
func (o JobDefinitionContainerPropertiesPtrOutput) ToJobDefinitionContainerPropertiesPtrOutput() JobDefinitionContainerPropertiesPtrOutput
func (JobDefinitionContainerPropertiesPtrOutput) ToJobDefinitionContainerPropertiesPtrOutputWithContext ¶
func (o JobDefinitionContainerPropertiesPtrOutput) ToJobDefinitionContainerPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionContainerPropertiesPtrOutput
func (JobDefinitionContainerPropertiesPtrOutput) Ulimits ¶
func (o JobDefinitionContainerPropertiesPtrOutput) Ulimits() JobDefinitionUlimitArrayOutput
A list of `ulimits` to set in the container. This parameter maps to `Ulimits` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--ulimit` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
> This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.
func (JobDefinitionContainerPropertiesPtrOutput) User ¶
func (o JobDefinitionContainerPropertiesPtrOutput) User() pulumi.StringPtrOutput
The user name to use inside the container. This parameter maps to `User` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--user` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
func (JobDefinitionContainerPropertiesPtrOutput) Vcpus ¶
func (o JobDefinitionContainerPropertiesPtrOutput) Vcpus() pulumi.IntPtrOutput
This parameter is deprecated, use `resourceRequirements` to specify the vCPU requirements for the job definition. It's not supported for jobs running on Fargate resources. For jobs running on Amazon EC2 resources, it specifies the number of vCPUs reserved for the job.
Each vCPU is equivalent to 1,024 CPU shares. This parameter maps to `CpuShares` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--cpu-shares` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . The number of vCPUs must be specified but can be specified in several places. You must specify it at least once for each node.
func (JobDefinitionContainerPropertiesPtrOutput) Volumes ¶
func (o JobDefinitionContainerPropertiesPtrOutput) Volumes() JobDefinitionVolumesArrayOutput
A list of data volumes used in a job.
type JobDefinitionDevice ¶
type JobDefinitionDevice struct { // The path inside the container that's used to expose the host device. By default, the `hostPath` value is used. ContainerPath *string `pulumi:"containerPath"` // The path for the device on the host container instance. HostPath *string `pulumi:"hostPath"` // The explicit permissions to provide to the container for the device. By default, the container has permissions for `read` , `write` , and `mknod` for the device. Permissions []string `pulumi:"permissions"` }
type JobDefinitionDeviceArgs ¶
type JobDefinitionDeviceArgs struct { // The path inside the container that's used to expose the host device. By default, the `hostPath` value is used. ContainerPath pulumi.StringPtrInput `pulumi:"containerPath"` // The path for the device on the host container instance. HostPath pulumi.StringPtrInput `pulumi:"hostPath"` // The explicit permissions to provide to the container for the device. By default, the container has permissions for `read` , `write` , and `mknod` for the device. Permissions pulumi.StringArrayInput `pulumi:"permissions"` }
func (JobDefinitionDeviceArgs) ElementType ¶
func (JobDefinitionDeviceArgs) ElementType() reflect.Type
func (JobDefinitionDeviceArgs) ToJobDefinitionDeviceOutput ¶
func (i JobDefinitionDeviceArgs) ToJobDefinitionDeviceOutput() JobDefinitionDeviceOutput
func (JobDefinitionDeviceArgs) ToJobDefinitionDeviceOutputWithContext ¶
func (i JobDefinitionDeviceArgs) ToJobDefinitionDeviceOutputWithContext(ctx context.Context) JobDefinitionDeviceOutput
type JobDefinitionDeviceArray ¶
type JobDefinitionDeviceArray []JobDefinitionDeviceInput
func (JobDefinitionDeviceArray) ElementType ¶
func (JobDefinitionDeviceArray) ElementType() reflect.Type
func (JobDefinitionDeviceArray) ToJobDefinitionDeviceArrayOutput ¶
func (i JobDefinitionDeviceArray) ToJobDefinitionDeviceArrayOutput() JobDefinitionDeviceArrayOutput
func (JobDefinitionDeviceArray) ToJobDefinitionDeviceArrayOutputWithContext ¶
func (i JobDefinitionDeviceArray) ToJobDefinitionDeviceArrayOutputWithContext(ctx context.Context) JobDefinitionDeviceArrayOutput
type JobDefinitionDeviceArrayInput ¶
type JobDefinitionDeviceArrayInput interface { pulumi.Input ToJobDefinitionDeviceArrayOutput() JobDefinitionDeviceArrayOutput ToJobDefinitionDeviceArrayOutputWithContext(context.Context) JobDefinitionDeviceArrayOutput }
JobDefinitionDeviceArrayInput is an input type that accepts JobDefinitionDeviceArray and JobDefinitionDeviceArrayOutput values. You can construct a concrete instance of `JobDefinitionDeviceArrayInput` via:
JobDefinitionDeviceArray{ JobDefinitionDeviceArgs{...} }
type JobDefinitionDeviceArrayOutput ¶
type JobDefinitionDeviceArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionDeviceArrayOutput) ElementType ¶
func (JobDefinitionDeviceArrayOutput) ElementType() reflect.Type
func (JobDefinitionDeviceArrayOutput) Index ¶
func (o JobDefinitionDeviceArrayOutput) Index(i pulumi.IntInput) JobDefinitionDeviceOutput
func (JobDefinitionDeviceArrayOutput) ToJobDefinitionDeviceArrayOutput ¶
func (o JobDefinitionDeviceArrayOutput) ToJobDefinitionDeviceArrayOutput() JobDefinitionDeviceArrayOutput
func (JobDefinitionDeviceArrayOutput) ToJobDefinitionDeviceArrayOutputWithContext ¶
func (o JobDefinitionDeviceArrayOutput) ToJobDefinitionDeviceArrayOutputWithContext(ctx context.Context) JobDefinitionDeviceArrayOutput
type JobDefinitionDeviceInput ¶
type JobDefinitionDeviceInput interface { pulumi.Input ToJobDefinitionDeviceOutput() JobDefinitionDeviceOutput ToJobDefinitionDeviceOutputWithContext(context.Context) JobDefinitionDeviceOutput }
JobDefinitionDeviceInput is an input type that accepts JobDefinitionDeviceArgs and JobDefinitionDeviceOutput values. You can construct a concrete instance of `JobDefinitionDeviceInput` via:
JobDefinitionDeviceArgs{...}
type JobDefinitionDeviceOutput ¶
type JobDefinitionDeviceOutput struct{ *pulumi.OutputState }
func (JobDefinitionDeviceOutput) ContainerPath ¶
func (o JobDefinitionDeviceOutput) ContainerPath() pulumi.StringPtrOutput
The path inside the container that's used to expose the host device. By default, the `hostPath` value is used.
func (JobDefinitionDeviceOutput) ElementType ¶
func (JobDefinitionDeviceOutput) ElementType() reflect.Type
func (JobDefinitionDeviceOutput) HostPath ¶
func (o JobDefinitionDeviceOutput) HostPath() pulumi.StringPtrOutput
The path for the device on the host container instance.
func (JobDefinitionDeviceOutput) Permissions ¶
func (o JobDefinitionDeviceOutput) Permissions() pulumi.StringArrayOutput
The explicit permissions to provide to the container for the device. By default, the container has permissions for `read` , `write` , and `mknod` for the device.
func (JobDefinitionDeviceOutput) ToJobDefinitionDeviceOutput ¶
func (o JobDefinitionDeviceOutput) ToJobDefinitionDeviceOutput() JobDefinitionDeviceOutput
func (JobDefinitionDeviceOutput) ToJobDefinitionDeviceOutputWithContext ¶
func (o JobDefinitionDeviceOutput) ToJobDefinitionDeviceOutputWithContext(ctx context.Context) JobDefinitionDeviceOutput
type JobDefinitionEcsProperties ¶ added in v0.99.0
type JobDefinitionEcsProperties struct { // An object that contains the properties for the Amazon ECS task definition of a job. // // > This object is currently limited to one element. TaskProperties []JobDefinitionEcsTaskProperties `pulumi:"taskProperties"` }
type JobDefinitionEcsPropertiesArgs ¶ added in v0.99.0
type JobDefinitionEcsPropertiesArgs struct { // An object that contains the properties for the Amazon ECS task definition of a job. // // > This object is currently limited to one element. TaskProperties JobDefinitionEcsTaskPropertiesArrayInput `pulumi:"taskProperties"` }
func (JobDefinitionEcsPropertiesArgs) ElementType ¶ added in v0.99.0
func (JobDefinitionEcsPropertiesArgs) ElementType() reflect.Type
func (JobDefinitionEcsPropertiesArgs) ToJobDefinitionEcsPropertiesOutput ¶ added in v0.99.0
func (i JobDefinitionEcsPropertiesArgs) ToJobDefinitionEcsPropertiesOutput() JobDefinitionEcsPropertiesOutput
func (JobDefinitionEcsPropertiesArgs) ToJobDefinitionEcsPropertiesOutputWithContext ¶ added in v0.99.0
func (i JobDefinitionEcsPropertiesArgs) ToJobDefinitionEcsPropertiesOutputWithContext(ctx context.Context) JobDefinitionEcsPropertiesOutput
func (JobDefinitionEcsPropertiesArgs) ToJobDefinitionEcsPropertiesPtrOutput ¶ added in v0.99.0
func (i JobDefinitionEcsPropertiesArgs) ToJobDefinitionEcsPropertiesPtrOutput() JobDefinitionEcsPropertiesPtrOutput
func (JobDefinitionEcsPropertiesArgs) ToJobDefinitionEcsPropertiesPtrOutputWithContext ¶ added in v0.99.0
func (i JobDefinitionEcsPropertiesArgs) ToJobDefinitionEcsPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEcsPropertiesPtrOutput
type JobDefinitionEcsPropertiesInput ¶ added in v0.99.0
type JobDefinitionEcsPropertiesInput interface { pulumi.Input ToJobDefinitionEcsPropertiesOutput() JobDefinitionEcsPropertiesOutput ToJobDefinitionEcsPropertiesOutputWithContext(context.Context) JobDefinitionEcsPropertiesOutput }
JobDefinitionEcsPropertiesInput is an input type that accepts JobDefinitionEcsPropertiesArgs and JobDefinitionEcsPropertiesOutput values. You can construct a concrete instance of `JobDefinitionEcsPropertiesInput` via:
JobDefinitionEcsPropertiesArgs{...}
type JobDefinitionEcsPropertiesOutput ¶ added in v0.99.0
type JobDefinitionEcsPropertiesOutput struct{ *pulumi.OutputState }
func (JobDefinitionEcsPropertiesOutput) ElementType ¶ added in v0.99.0
func (JobDefinitionEcsPropertiesOutput) ElementType() reflect.Type
func (JobDefinitionEcsPropertiesOutput) TaskProperties ¶ added in v0.99.0
func (o JobDefinitionEcsPropertiesOutput) TaskProperties() JobDefinitionEcsTaskPropertiesArrayOutput
An object that contains the properties for the Amazon ECS task definition of a job.
> This object is currently limited to one element.
func (JobDefinitionEcsPropertiesOutput) ToJobDefinitionEcsPropertiesOutput ¶ added in v0.99.0
func (o JobDefinitionEcsPropertiesOutput) ToJobDefinitionEcsPropertiesOutput() JobDefinitionEcsPropertiesOutput
func (JobDefinitionEcsPropertiesOutput) ToJobDefinitionEcsPropertiesOutputWithContext ¶ added in v0.99.0
func (o JobDefinitionEcsPropertiesOutput) ToJobDefinitionEcsPropertiesOutputWithContext(ctx context.Context) JobDefinitionEcsPropertiesOutput
func (JobDefinitionEcsPropertiesOutput) ToJobDefinitionEcsPropertiesPtrOutput ¶ added in v0.99.0
func (o JobDefinitionEcsPropertiesOutput) ToJobDefinitionEcsPropertiesPtrOutput() JobDefinitionEcsPropertiesPtrOutput
func (JobDefinitionEcsPropertiesOutput) ToJobDefinitionEcsPropertiesPtrOutputWithContext ¶ added in v0.99.0
func (o JobDefinitionEcsPropertiesOutput) ToJobDefinitionEcsPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEcsPropertiesPtrOutput
type JobDefinitionEcsPropertiesPtrInput ¶ added in v0.99.0
type JobDefinitionEcsPropertiesPtrInput interface { pulumi.Input ToJobDefinitionEcsPropertiesPtrOutput() JobDefinitionEcsPropertiesPtrOutput ToJobDefinitionEcsPropertiesPtrOutputWithContext(context.Context) JobDefinitionEcsPropertiesPtrOutput }
JobDefinitionEcsPropertiesPtrInput is an input type that accepts JobDefinitionEcsPropertiesArgs, JobDefinitionEcsPropertiesPtr and JobDefinitionEcsPropertiesPtrOutput values. You can construct a concrete instance of `JobDefinitionEcsPropertiesPtrInput` via:
JobDefinitionEcsPropertiesArgs{...} or: nil
func JobDefinitionEcsPropertiesPtr ¶ added in v0.99.0
func JobDefinitionEcsPropertiesPtr(v *JobDefinitionEcsPropertiesArgs) JobDefinitionEcsPropertiesPtrInput
type JobDefinitionEcsPropertiesPtrOutput ¶ added in v0.99.0
type JobDefinitionEcsPropertiesPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionEcsPropertiesPtrOutput) Elem ¶ added in v0.99.0
func (o JobDefinitionEcsPropertiesPtrOutput) Elem() JobDefinitionEcsPropertiesOutput
func (JobDefinitionEcsPropertiesPtrOutput) ElementType ¶ added in v0.99.0
func (JobDefinitionEcsPropertiesPtrOutput) ElementType() reflect.Type
func (JobDefinitionEcsPropertiesPtrOutput) TaskProperties ¶ added in v0.99.0
func (o JobDefinitionEcsPropertiesPtrOutput) TaskProperties() JobDefinitionEcsTaskPropertiesArrayOutput
An object that contains the properties for the Amazon ECS task definition of a job.
> This object is currently limited to one element.
func (JobDefinitionEcsPropertiesPtrOutput) ToJobDefinitionEcsPropertiesPtrOutput ¶ added in v0.99.0
func (o JobDefinitionEcsPropertiesPtrOutput) ToJobDefinitionEcsPropertiesPtrOutput() JobDefinitionEcsPropertiesPtrOutput
func (JobDefinitionEcsPropertiesPtrOutput) ToJobDefinitionEcsPropertiesPtrOutputWithContext ¶ added in v0.99.0
func (o JobDefinitionEcsPropertiesPtrOutput) ToJobDefinitionEcsPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEcsPropertiesPtrOutput
type JobDefinitionEcsTaskProperties ¶ added in v0.99.0
type JobDefinitionEcsTaskProperties struct { // This object is a list of containers. Containers []JobDefinitionTaskContainerProperties `pulumi:"containers"` // The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate . EphemeralStorage *JobDefinitionEphemeralStorage `pulumi:"ephemeralStorage"` // The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. For more information, see [AWS Batch execution IAM role](https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html) in the *AWS Batch User Guide* . ExecutionRoleArn *string `pulumi:"executionRoleArn"` // The IPC resource namespace to use for the containers in the task. The valid values are `host` , `task` , or `none` . // // If `host` is specified, all containers within the tasks that specified the `host` IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance. // // If `task` is specified, all containers within the specified `task` share the same IPC resources. // // If `none` is specified, the IPC resources within the containers of a task are private, and are not shared with other containers in a task or on the container instance. // // If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance. For more information, see [IPC settings](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#ipc-settings---ipc) in the Docker run reference. IpcMode *string `pulumi:"ipcMode"` // The network configuration for jobs that are running on Fargate resources. Jobs that are running on Amazon EC2 resources must not specify this parameter. NetworkConfiguration *JobDefinitionNetworkConfiguration `pulumi:"networkConfiguration"` // The process namespace to use for the containers in the task. The valid values are `host` or `task` . For example, monitoring sidecars might need `pidMode` to access information about other containers running in the same task. // // If `host` is specified, all containers within the tasks that specified the `host` PID mode on the same container instance share the process namespace with the host Amazon EC2 instance. // // If `task` is specified, all containers within the specified task share the same process namespace. // // If no value is specified, the default is a private namespace for each container. For more information, see [PID settings](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#pid-settings---pid) in the Docker run reference. PidMode *string `pulumi:"pidMode"` // The Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the `LATEST` platform version is used by default. This uses a recent, approved version of the Fargate platform for compute resources. For more information, see [AWS Fargate platform versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* . PlatformVersion *string `pulumi:"platformVersion"` // An object that represents the compute environment architecture for AWS Batch jobs on Fargate. RuntimePlatform *JobDefinitionRuntimePlatform `pulumi:"runtimePlatform"` // The Amazon Resource Name (ARN) that's associated with the Amazon ECS task. // // > This is object is comparable to [ContainerProperties:jobRoleArn](https://docs.aws.amazon.com/batch/latest/APIReference/API_ContainerProperties.html) . TaskRoleArn *string `pulumi:"taskRoleArn"` // A list of volumes that are associated with the job. Volumes []JobDefinitionVolumes `pulumi:"volumes"` }
type JobDefinitionEcsTaskPropertiesArgs ¶ added in v0.99.0
type JobDefinitionEcsTaskPropertiesArgs struct { // This object is a list of containers. Containers JobDefinitionTaskContainerPropertiesArrayInput `pulumi:"containers"` // The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate . EphemeralStorage JobDefinitionEphemeralStoragePtrInput `pulumi:"ephemeralStorage"` // The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. For more information, see [AWS Batch execution IAM role](https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html) in the *AWS Batch User Guide* . ExecutionRoleArn pulumi.StringPtrInput `pulumi:"executionRoleArn"` // The IPC resource namespace to use for the containers in the task. The valid values are `host` , `task` , or `none` . // // If `host` is specified, all containers within the tasks that specified the `host` IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance. // // If `task` is specified, all containers within the specified `task` share the same IPC resources. // // If `none` is specified, the IPC resources within the containers of a task are private, and are not shared with other containers in a task or on the container instance. // // If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance. For more information, see [IPC settings](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#ipc-settings---ipc) in the Docker run reference. IpcMode pulumi.StringPtrInput `pulumi:"ipcMode"` // The network configuration for jobs that are running on Fargate resources. Jobs that are running on Amazon EC2 resources must not specify this parameter. NetworkConfiguration JobDefinitionNetworkConfigurationPtrInput `pulumi:"networkConfiguration"` // The process namespace to use for the containers in the task. The valid values are `host` or `task` . For example, monitoring sidecars might need `pidMode` to access information about other containers running in the same task. // // If `host` is specified, all containers within the tasks that specified the `host` PID mode on the same container instance share the process namespace with the host Amazon EC2 instance. // // If `task` is specified, all containers within the specified task share the same process namespace. // // If no value is specified, the default is a private namespace for each container. For more information, see [PID settings](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#pid-settings---pid) in the Docker run reference. PidMode pulumi.StringPtrInput `pulumi:"pidMode"` // The Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the `LATEST` platform version is used by default. This uses a recent, approved version of the Fargate platform for compute resources. For more information, see [AWS Fargate platform versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* . PlatformVersion pulumi.StringPtrInput `pulumi:"platformVersion"` // An object that represents the compute environment architecture for AWS Batch jobs on Fargate. RuntimePlatform JobDefinitionRuntimePlatformPtrInput `pulumi:"runtimePlatform"` // The Amazon Resource Name (ARN) that's associated with the Amazon ECS task. // // > This is object is comparable to [ContainerProperties:jobRoleArn](https://docs.aws.amazon.com/batch/latest/APIReference/API_ContainerProperties.html) . TaskRoleArn pulumi.StringPtrInput `pulumi:"taskRoleArn"` // A list of volumes that are associated with the job. Volumes JobDefinitionVolumesArrayInput `pulumi:"volumes"` }
func (JobDefinitionEcsTaskPropertiesArgs) ElementType ¶ added in v0.99.0
func (JobDefinitionEcsTaskPropertiesArgs) ElementType() reflect.Type
func (JobDefinitionEcsTaskPropertiesArgs) ToJobDefinitionEcsTaskPropertiesOutput ¶ added in v0.99.0
func (i JobDefinitionEcsTaskPropertiesArgs) ToJobDefinitionEcsTaskPropertiesOutput() JobDefinitionEcsTaskPropertiesOutput
func (JobDefinitionEcsTaskPropertiesArgs) ToJobDefinitionEcsTaskPropertiesOutputWithContext ¶ added in v0.99.0
func (i JobDefinitionEcsTaskPropertiesArgs) ToJobDefinitionEcsTaskPropertiesOutputWithContext(ctx context.Context) JobDefinitionEcsTaskPropertiesOutput
type JobDefinitionEcsTaskPropertiesArray ¶ added in v0.99.0
type JobDefinitionEcsTaskPropertiesArray []JobDefinitionEcsTaskPropertiesInput
func (JobDefinitionEcsTaskPropertiesArray) ElementType ¶ added in v0.99.0
func (JobDefinitionEcsTaskPropertiesArray) ElementType() reflect.Type
func (JobDefinitionEcsTaskPropertiesArray) ToJobDefinitionEcsTaskPropertiesArrayOutput ¶ added in v0.99.0
func (i JobDefinitionEcsTaskPropertiesArray) ToJobDefinitionEcsTaskPropertiesArrayOutput() JobDefinitionEcsTaskPropertiesArrayOutput
func (JobDefinitionEcsTaskPropertiesArray) ToJobDefinitionEcsTaskPropertiesArrayOutputWithContext ¶ added in v0.99.0
func (i JobDefinitionEcsTaskPropertiesArray) ToJobDefinitionEcsTaskPropertiesArrayOutputWithContext(ctx context.Context) JobDefinitionEcsTaskPropertiesArrayOutput
type JobDefinitionEcsTaskPropertiesArrayInput ¶ added in v0.99.0
type JobDefinitionEcsTaskPropertiesArrayInput interface { pulumi.Input ToJobDefinitionEcsTaskPropertiesArrayOutput() JobDefinitionEcsTaskPropertiesArrayOutput ToJobDefinitionEcsTaskPropertiesArrayOutputWithContext(context.Context) JobDefinitionEcsTaskPropertiesArrayOutput }
JobDefinitionEcsTaskPropertiesArrayInput is an input type that accepts JobDefinitionEcsTaskPropertiesArray and JobDefinitionEcsTaskPropertiesArrayOutput values. You can construct a concrete instance of `JobDefinitionEcsTaskPropertiesArrayInput` via:
JobDefinitionEcsTaskPropertiesArray{ JobDefinitionEcsTaskPropertiesArgs{...} }
type JobDefinitionEcsTaskPropertiesArrayOutput ¶ added in v0.99.0
type JobDefinitionEcsTaskPropertiesArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionEcsTaskPropertiesArrayOutput) ElementType ¶ added in v0.99.0
func (JobDefinitionEcsTaskPropertiesArrayOutput) ElementType() reflect.Type
func (JobDefinitionEcsTaskPropertiesArrayOutput) ToJobDefinitionEcsTaskPropertiesArrayOutput ¶ added in v0.99.0
func (o JobDefinitionEcsTaskPropertiesArrayOutput) ToJobDefinitionEcsTaskPropertiesArrayOutput() JobDefinitionEcsTaskPropertiesArrayOutput
func (JobDefinitionEcsTaskPropertiesArrayOutput) ToJobDefinitionEcsTaskPropertiesArrayOutputWithContext ¶ added in v0.99.0
func (o JobDefinitionEcsTaskPropertiesArrayOutput) ToJobDefinitionEcsTaskPropertiesArrayOutputWithContext(ctx context.Context) JobDefinitionEcsTaskPropertiesArrayOutput
type JobDefinitionEcsTaskPropertiesInput ¶ added in v0.99.0
type JobDefinitionEcsTaskPropertiesInput interface { pulumi.Input ToJobDefinitionEcsTaskPropertiesOutput() JobDefinitionEcsTaskPropertiesOutput ToJobDefinitionEcsTaskPropertiesOutputWithContext(context.Context) JobDefinitionEcsTaskPropertiesOutput }
JobDefinitionEcsTaskPropertiesInput is an input type that accepts JobDefinitionEcsTaskPropertiesArgs and JobDefinitionEcsTaskPropertiesOutput values. You can construct a concrete instance of `JobDefinitionEcsTaskPropertiesInput` via:
JobDefinitionEcsTaskPropertiesArgs{...}
type JobDefinitionEcsTaskPropertiesOutput ¶ added in v0.99.0
type JobDefinitionEcsTaskPropertiesOutput struct{ *pulumi.OutputState }
func (JobDefinitionEcsTaskPropertiesOutput) Containers ¶ added in v0.99.0
func (o JobDefinitionEcsTaskPropertiesOutput) Containers() JobDefinitionTaskContainerPropertiesArrayOutput
This object is a list of containers.
func (JobDefinitionEcsTaskPropertiesOutput) ElementType ¶ added in v0.99.0
func (JobDefinitionEcsTaskPropertiesOutput) ElementType() reflect.Type
func (JobDefinitionEcsTaskPropertiesOutput) EphemeralStorage ¶ added in v0.99.0
func (o JobDefinitionEcsTaskPropertiesOutput) EphemeralStorage() JobDefinitionEphemeralStoragePtrOutput
The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate .
func (JobDefinitionEcsTaskPropertiesOutput) ExecutionRoleArn ¶ added in v0.99.0
func (o JobDefinitionEcsTaskPropertiesOutput) ExecutionRoleArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. For more information, see [AWS Batch execution IAM role](https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html) in the *AWS Batch User Guide* .
func (JobDefinitionEcsTaskPropertiesOutput) IpcMode ¶ added in v0.99.0
func (o JobDefinitionEcsTaskPropertiesOutput) IpcMode() pulumi.StringPtrOutput
The IPC resource namespace to use for the containers in the task. The valid values are `host` , `task` , or `none` .
If `host` is specified, all containers within the tasks that specified the `host` IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance.
If `task` is specified, all containers within the specified `task` share the same IPC resources.
If `none` is specified, the IPC resources within the containers of a task are private, and are not shared with other containers in a task or on the container instance.
If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance. For more information, see [IPC settings](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#ipc-settings---ipc) in the Docker run reference.
func (JobDefinitionEcsTaskPropertiesOutput) NetworkConfiguration ¶ added in v0.99.0
func (o JobDefinitionEcsTaskPropertiesOutput) NetworkConfiguration() JobDefinitionNetworkConfigurationPtrOutput
The network configuration for jobs that are running on Fargate resources. Jobs that are running on Amazon EC2 resources must not specify this parameter.
func (JobDefinitionEcsTaskPropertiesOutput) PidMode ¶ added in v0.99.0
func (o JobDefinitionEcsTaskPropertiesOutput) PidMode() pulumi.StringPtrOutput
The process namespace to use for the containers in the task. The valid values are `host` or `task` . For example, monitoring sidecars might need `pidMode` to access information about other containers running in the same task.
If `host` is specified, all containers within the tasks that specified the `host` PID mode on the same container instance share the process namespace with the host Amazon EC2 instance.
If `task` is specified, all containers within the specified task share the same process namespace.
If no value is specified, the default is a private namespace for each container. For more information, see [PID settings](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#pid-settings---pid) in the Docker run reference.
func (JobDefinitionEcsTaskPropertiesOutput) PlatformVersion ¶ added in v0.99.0
func (o JobDefinitionEcsTaskPropertiesOutput) PlatformVersion() pulumi.StringPtrOutput
The Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the `LATEST` platform version is used by default. This uses a recent, approved version of the Fargate platform for compute resources. For more information, see [AWS Fargate platform versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* .
func (JobDefinitionEcsTaskPropertiesOutput) RuntimePlatform ¶ added in v0.99.0
func (o JobDefinitionEcsTaskPropertiesOutput) RuntimePlatform() JobDefinitionRuntimePlatformPtrOutput
An object that represents the compute environment architecture for AWS Batch jobs on Fargate.
func (JobDefinitionEcsTaskPropertiesOutput) TaskRoleArn ¶ added in v0.99.0
func (o JobDefinitionEcsTaskPropertiesOutput) TaskRoleArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) that's associated with the Amazon ECS task.
> This is object is comparable to [ContainerProperties:jobRoleArn](https://docs.aws.amazon.com/batch/latest/APIReference/API_ContainerProperties.html) .
func (JobDefinitionEcsTaskPropertiesOutput) ToJobDefinitionEcsTaskPropertiesOutput ¶ added in v0.99.0
func (o JobDefinitionEcsTaskPropertiesOutput) ToJobDefinitionEcsTaskPropertiesOutput() JobDefinitionEcsTaskPropertiesOutput
func (JobDefinitionEcsTaskPropertiesOutput) ToJobDefinitionEcsTaskPropertiesOutputWithContext ¶ added in v0.99.0
func (o JobDefinitionEcsTaskPropertiesOutput) ToJobDefinitionEcsTaskPropertiesOutputWithContext(ctx context.Context) JobDefinitionEcsTaskPropertiesOutput
func (JobDefinitionEcsTaskPropertiesOutput) Volumes ¶ added in v0.99.0
func (o JobDefinitionEcsTaskPropertiesOutput) Volumes() JobDefinitionVolumesArrayOutput
A list of volumes that are associated with the job.
type JobDefinitionEfsVolumeConfiguration ¶
type JobDefinitionEfsVolumeConfiguration struct { // The authorization configuration details for the Amazon EFS file system. AuthorizationConfig *JobDefinitionAuthorizationConfig `pulumi:"authorizationConfig"` // The Amazon EFS file system ID to use. FileSystemId string `pulumi:"fileSystemId"` // The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume is used instead. Specifying `/` has the same effect as omitting this parameter. The maximum length is 4,096 characters. // // > If an EFS access point is specified in the `authorizationConfig` , the root directory parameter must either be omitted or set to `/` , which enforces the path set on the Amazon EFS access point. RootDirectory *string `pulumi:"rootDirectory"` // Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. If this parameter is omitted, the default value of `DISABLED` is used. For more information, see [Encrypting data in transit](https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html) in the *Amazon Elastic File System User Guide* . TransitEncryption *string `pulumi:"transitEncryption"` // The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. If you don't specify a transit encryption port, it uses the port selection strategy that the Amazon EFS mount helper uses. The value must be between 0 and 65,535. For more information, see [EFS mount helper](https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html) in the *Amazon Elastic File System User Guide* . TransitEncryptionPort *int `pulumi:"transitEncryptionPort"` }
type JobDefinitionEfsVolumeConfigurationArgs ¶
type JobDefinitionEfsVolumeConfigurationArgs struct { // The authorization configuration details for the Amazon EFS file system. AuthorizationConfig JobDefinitionAuthorizationConfigPtrInput `pulumi:"authorizationConfig"` // The Amazon EFS file system ID to use. FileSystemId pulumi.StringInput `pulumi:"fileSystemId"` // The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume is used instead. Specifying `/` has the same effect as omitting this parameter. The maximum length is 4,096 characters. // // > If an EFS access point is specified in the `authorizationConfig` , the root directory parameter must either be omitted or set to `/` , which enforces the path set on the Amazon EFS access point. RootDirectory pulumi.StringPtrInput `pulumi:"rootDirectory"` // Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. If this parameter is omitted, the default value of `DISABLED` is used. For more information, see [Encrypting data in transit](https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html) in the *Amazon Elastic File System User Guide* . TransitEncryption pulumi.StringPtrInput `pulumi:"transitEncryption"` // The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. If you don't specify a transit encryption port, it uses the port selection strategy that the Amazon EFS mount helper uses. The value must be between 0 and 65,535. For more information, see [EFS mount helper](https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html) in the *Amazon Elastic File System User Guide* . TransitEncryptionPort pulumi.IntPtrInput `pulumi:"transitEncryptionPort"` }
func (JobDefinitionEfsVolumeConfigurationArgs) ElementType ¶
func (JobDefinitionEfsVolumeConfigurationArgs) ElementType() reflect.Type
func (JobDefinitionEfsVolumeConfigurationArgs) ToJobDefinitionEfsVolumeConfigurationOutput ¶
func (i JobDefinitionEfsVolumeConfigurationArgs) ToJobDefinitionEfsVolumeConfigurationOutput() JobDefinitionEfsVolumeConfigurationOutput
func (JobDefinitionEfsVolumeConfigurationArgs) ToJobDefinitionEfsVolumeConfigurationOutputWithContext ¶
func (i JobDefinitionEfsVolumeConfigurationArgs) ToJobDefinitionEfsVolumeConfigurationOutputWithContext(ctx context.Context) JobDefinitionEfsVolumeConfigurationOutput
func (JobDefinitionEfsVolumeConfigurationArgs) ToJobDefinitionEfsVolumeConfigurationPtrOutput ¶
func (i JobDefinitionEfsVolumeConfigurationArgs) ToJobDefinitionEfsVolumeConfigurationPtrOutput() JobDefinitionEfsVolumeConfigurationPtrOutput
func (JobDefinitionEfsVolumeConfigurationArgs) ToJobDefinitionEfsVolumeConfigurationPtrOutputWithContext ¶
func (i JobDefinitionEfsVolumeConfigurationArgs) ToJobDefinitionEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionEfsVolumeConfigurationPtrOutput
type JobDefinitionEfsVolumeConfigurationInput ¶
type JobDefinitionEfsVolumeConfigurationInput interface { pulumi.Input ToJobDefinitionEfsVolumeConfigurationOutput() JobDefinitionEfsVolumeConfigurationOutput ToJobDefinitionEfsVolumeConfigurationOutputWithContext(context.Context) JobDefinitionEfsVolumeConfigurationOutput }
JobDefinitionEfsVolumeConfigurationInput is an input type that accepts JobDefinitionEfsVolumeConfigurationArgs and JobDefinitionEfsVolumeConfigurationOutput values. You can construct a concrete instance of `JobDefinitionEfsVolumeConfigurationInput` via:
JobDefinitionEfsVolumeConfigurationArgs{...}
type JobDefinitionEfsVolumeConfigurationOutput ¶
type JobDefinitionEfsVolumeConfigurationOutput struct{ *pulumi.OutputState }
func (JobDefinitionEfsVolumeConfigurationOutput) AuthorizationConfig ¶
func (o JobDefinitionEfsVolumeConfigurationOutput) AuthorizationConfig() JobDefinitionAuthorizationConfigPtrOutput
The authorization configuration details for the Amazon EFS file system.
func (JobDefinitionEfsVolumeConfigurationOutput) ElementType ¶
func (JobDefinitionEfsVolumeConfigurationOutput) ElementType() reflect.Type
func (JobDefinitionEfsVolumeConfigurationOutput) FileSystemId ¶
func (o JobDefinitionEfsVolumeConfigurationOutput) FileSystemId() pulumi.StringOutput
The Amazon EFS file system ID to use.
func (JobDefinitionEfsVolumeConfigurationOutput) RootDirectory ¶
func (o JobDefinitionEfsVolumeConfigurationOutput) RootDirectory() pulumi.StringPtrOutput
The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume is used instead. Specifying `/` has the same effect as omitting this parameter. The maximum length is 4,096 characters.
> If an EFS access point is specified in the `authorizationConfig` , the root directory parameter must either be omitted or set to `/` , which enforces the path set on the Amazon EFS access point.
func (JobDefinitionEfsVolumeConfigurationOutput) ToJobDefinitionEfsVolumeConfigurationOutput ¶
func (o JobDefinitionEfsVolumeConfigurationOutput) ToJobDefinitionEfsVolumeConfigurationOutput() JobDefinitionEfsVolumeConfigurationOutput
func (JobDefinitionEfsVolumeConfigurationOutput) ToJobDefinitionEfsVolumeConfigurationOutputWithContext ¶
func (o JobDefinitionEfsVolumeConfigurationOutput) ToJobDefinitionEfsVolumeConfigurationOutputWithContext(ctx context.Context) JobDefinitionEfsVolumeConfigurationOutput
func (JobDefinitionEfsVolumeConfigurationOutput) ToJobDefinitionEfsVolumeConfigurationPtrOutput ¶
func (o JobDefinitionEfsVolumeConfigurationOutput) ToJobDefinitionEfsVolumeConfigurationPtrOutput() JobDefinitionEfsVolumeConfigurationPtrOutput
func (JobDefinitionEfsVolumeConfigurationOutput) ToJobDefinitionEfsVolumeConfigurationPtrOutputWithContext ¶
func (o JobDefinitionEfsVolumeConfigurationOutput) ToJobDefinitionEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionEfsVolumeConfigurationPtrOutput
func (JobDefinitionEfsVolumeConfigurationOutput) TransitEncryption ¶
func (o JobDefinitionEfsVolumeConfigurationOutput) TransitEncryption() pulumi.StringPtrOutput
Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. If this parameter is omitted, the default value of `DISABLED` is used. For more information, see [Encrypting data in transit](https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html) in the *Amazon Elastic File System User Guide* .
func (JobDefinitionEfsVolumeConfigurationOutput) TransitEncryptionPort ¶
func (o JobDefinitionEfsVolumeConfigurationOutput) TransitEncryptionPort() pulumi.IntPtrOutput
The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. If you don't specify a transit encryption port, it uses the port selection strategy that the Amazon EFS mount helper uses. The value must be between 0 and 65,535. For more information, see [EFS mount helper](https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html) in the *Amazon Elastic File System User Guide* .
type JobDefinitionEfsVolumeConfigurationPtrInput ¶
type JobDefinitionEfsVolumeConfigurationPtrInput interface { pulumi.Input ToJobDefinitionEfsVolumeConfigurationPtrOutput() JobDefinitionEfsVolumeConfigurationPtrOutput ToJobDefinitionEfsVolumeConfigurationPtrOutputWithContext(context.Context) JobDefinitionEfsVolumeConfigurationPtrOutput }
JobDefinitionEfsVolumeConfigurationPtrInput is an input type that accepts JobDefinitionEfsVolumeConfigurationArgs, JobDefinitionEfsVolumeConfigurationPtr and JobDefinitionEfsVolumeConfigurationPtrOutput values. You can construct a concrete instance of `JobDefinitionEfsVolumeConfigurationPtrInput` via:
JobDefinitionEfsVolumeConfigurationArgs{...} or: nil
func JobDefinitionEfsVolumeConfigurationPtr ¶
func JobDefinitionEfsVolumeConfigurationPtr(v *JobDefinitionEfsVolumeConfigurationArgs) JobDefinitionEfsVolumeConfigurationPtrInput
type JobDefinitionEfsVolumeConfigurationPtrOutput ¶
type JobDefinitionEfsVolumeConfigurationPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionEfsVolumeConfigurationPtrOutput) AuthorizationConfig ¶
func (o JobDefinitionEfsVolumeConfigurationPtrOutput) AuthorizationConfig() JobDefinitionAuthorizationConfigPtrOutput
The authorization configuration details for the Amazon EFS file system.
func (JobDefinitionEfsVolumeConfigurationPtrOutput) ElementType ¶
func (JobDefinitionEfsVolumeConfigurationPtrOutput) ElementType() reflect.Type
func (JobDefinitionEfsVolumeConfigurationPtrOutput) FileSystemId ¶
func (o JobDefinitionEfsVolumeConfigurationPtrOutput) FileSystemId() pulumi.StringPtrOutput
The Amazon EFS file system ID to use.
func (JobDefinitionEfsVolumeConfigurationPtrOutput) RootDirectory ¶
func (o JobDefinitionEfsVolumeConfigurationPtrOutput) RootDirectory() pulumi.StringPtrOutput
The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume is used instead. Specifying `/` has the same effect as omitting this parameter. The maximum length is 4,096 characters.
> If an EFS access point is specified in the `authorizationConfig` , the root directory parameter must either be omitted or set to `/` , which enforces the path set on the Amazon EFS access point.
func (JobDefinitionEfsVolumeConfigurationPtrOutput) ToJobDefinitionEfsVolumeConfigurationPtrOutput ¶
func (o JobDefinitionEfsVolumeConfigurationPtrOutput) ToJobDefinitionEfsVolumeConfigurationPtrOutput() JobDefinitionEfsVolumeConfigurationPtrOutput
func (JobDefinitionEfsVolumeConfigurationPtrOutput) ToJobDefinitionEfsVolumeConfigurationPtrOutputWithContext ¶
func (o JobDefinitionEfsVolumeConfigurationPtrOutput) ToJobDefinitionEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionEfsVolumeConfigurationPtrOutput
func (JobDefinitionEfsVolumeConfigurationPtrOutput) TransitEncryption ¶
func (o JobDefinitionEfsVolumeConfigurationPtrOutput) TransitEncryption() pulumi.StringPtrOutput
Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. If this parameter is omitted, the default value of `DISABLED` is used. For more information, see [Encrypting data in transit](https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html) in the *Amazon Elastic File System User Guide* .
func (JobDefinitionEfsVolumeConfigurationPtrOutput) TransitEncryptionPort ¶
func (o JobDefinitionEfsVolumeConfigurationPtrOutput) TransitEncryptionPort() pulumi.IntPtrOutput
The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. If you don't specify a transit encryption port, it uses the port selection strategy that the Amazon EFS mount helper uses. The value must be between 0 and 65,535. For more information, see [EFS mount helper](https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html) in the *Amazon Elastic File System User Guide* .
type JobDefinitionEksContainer ¶ added in v0.41.0
type JobDefinitionEksContainer struct { // An array of arguments to the entrypoint. If this isn't specified, the `CMD` of the container image is used. This corresponds to the `args` member in the [Entrypoint](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) portion of the [Pod](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/) in Kubernetes. Environment variable references are expanded using the container's environment. // // If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example, if the reference is to " `$(NAME1)` " and the `NAME1` environment variable doesn't exist, the command string will remain " `$(NAME1)` ." `$$` is replaced with `$` , and the resulting string isn't expanded. For example, `$$(VAR_NAME)` is passed as `$(VAR_NAME)` whether or not the `VAR_NAME` environment variable exists. For more information, see [Dockerfile reference: CMD](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) and [Define a command and arguments for a pod](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) in the *Kubernetes documentation* . Args []string `pulumi:"args"` // The entrypoint for the container. This isn't run within a shell. If this isn't specified, the `ENTRYPOINT` of the container image is used. Environment variable references are expanded using the container's environment. // // If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example, if the reference is to " `$(NAME1)` " and the `NAME1` environment variable doesn't exist, the command string will remain " `$(NAME1)` ." `$$` is replaced with `$` and the resulting string isn't expanded. For example, `$$(VAR_NAME)` will be passed as `$(VAR_NAME)` whether or not the `VAR_NAME` environment variable exists. The entrypoint can't be updated. For more information, see [ENTRYPOINT](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#entrypoint) in the *Dockerfile reference* and [Define a command and arguments for a container](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) and [Entrypoint](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) in the *Kubernetes documentation* . Command []string `pulumi:"command"` // The environment variables to pass to a container. // // > Environment variables cannot start with " `AWS_BATCH` ". This naming convention is reserved for variables that AWS Batch sets. Env []JobDefinitionEksContainerEnvironmentVariable `pulumi:"env"` // The Docker image used to start the container. Image string `pulumi:"image"` // The image pull policy for the container. Supported values are `Always` , `IfNotPresent` , and `Never` . This parameter defaults to `IfNotPresent` . However, if the `:latest` tag is specified, it defaults to `Always` . For more information, see [Updating images](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/containers/images/#updating-images) in the *Kubernetes documentation* . ImagePullPolicy *string `pulumi:"imagePullPolicy"` // The name of the container. If the name isn't specified, the default name " `Default` " is used. Each container in a pod must have a unique name. Name *string `pulumi:"name"` // The type and amount of resources to assign to a container. The supported resources include `memory` , `cpu` , and `nvidia.com/gpu` . For more information, see [Resource management for pods and containers](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) in the *Kubernetes documentation* . Resources *JobDefinitionEksContainerResourceRequirements `pulumi:"resources"` // The security context for a job. For more information, see [Configure a security context for a pod or container](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) in the *Kubernetes documentation* . SecurityContext *JobDefinitionEksContainerSecurityContext `pulumi:"securityContext"` // The volume mounts for the container. AWS Batch supports `emptyDir` , `hostPath` , and `secret` volume types. For more information about volumes and volume mounts in Kubernetes, see [Volumes](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/) in the *Kubernetes documentation* . VolumeMounts []JobDefinitionEksContainerVolumeMount `pulumi:"volumeMounts"` }
type JobDefinitionEksContainerArgs ¶ added in v0.41.0
type JobDefinitionEksContainerArgs struct { // An array of arguments to the entrypoint. If this isn't specified, the `CMD` of the container image is used. This corresponds to the `args` member in the [Entrypoint](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) portion of the [Pod](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/) in Kubernetes. Environment variable references are expanded using the container's environment. // // If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example, if the reference is to " `$(NAME1)` " and the `NAME1` environment variable doesn't exist, the command string will remain " `$(NAME1)` ." `$$` is replaced with `$` , and the resulting string isn't expanded. For example, `$$(VAR_NAME)` is passed as `$(VAR_NAME)` whether or not the `VAR_NAME` environment variable exists. For more information, see [Dockerfile reference: CMD](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) and [Define a command and arguments for a pod](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) in the *Kubernetes documentation* . Args pulumi.StringArrayInput `pulumi:"args"` // The entrypoint for the container. This isn't run within a shell. If this isn't specified, the `ENTRYPOINT` of the container image is used. Environment variable references are expanded using the container's environment. // // If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example, if the reference is to " `$(NAME1)` " and the `NAME1` environment variable doesn't exist, the command string will remain " `$(NAME1)` ." `$$` is replaced with `$` and the resulting string isn't expanded. For example, `$$(VAR_NAME)` will be passed as `$(VAR_NAME)` whether or not the `VAR_NAME` environment variable exists. The entrypoint can't be updated. For more information, see [ENTRYPOINT](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#entrypoint) in the *Dockerfile reference* and [Define a command and arguments for a container](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) and [Entrypoint](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) in the *Kubernetes documentation* . Command pulumi.StringArrayInput `pulumi:"command"` // The environment variables to pass to a container. // // > Environment variables cannot start with " `AWS_BATCH` ". This naming convention is reserved for variables that AWS Batch sets. Env JobDefinitionEksContainerEnvironmentVariableArrayInput `pulumi:"env"` // The Docker image used to start the container. Image pulumi.StringInput `pulumi:"image"` // The image pull policy for the container. Supported values are `Always` , `IfNotPresent` , and `Never` . This parameter defaults to `IfNotPresent` . However, if the `:latest` tag is specified, it defaults to `Always` . For more information, see [Updating images](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/containers/images/#updating-images) in the *Kubernetes documentation* . ImagePullPolicy pulumi.StringPtrInput `pulumi:"imagePullPolicy"` // The name of the container. If the name isn't specified, the default name " `Default` " is used. Each container in a pod must have a unique name. Name pulumi.StringPtrInput `pulumi:"name"` // The type and amount of resources to assign to a container. The supported resources include `memory` , `cpu` , and `nvidia.com/gpu` . For more information, see [Resource management for pods and containers](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) in the *Kubernetes documentation* . Resources JobDefinitionEksContainerResourceRequirementsPtrInput `pulumi:"resources"` // The security context for a job. For more information, see [Configure a security context for a pod or container](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) in the *Kubernetes documentation* . SecurityContext JobDefinitionEksContainerSecurityContextPtrInput `pulumi:"securityContext"` // The volume mounts for the container. AWS Batch supports `emptyDir` , `hostPath` , and `secret` volume types. For more information about volumes and volume mounts in Kubernetes, see [Volumes](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/) in the *Kubernetes documentation* . VolumeMounts JobDefinitionEksContainerVolumeMountArrayInput `pulumi:"volumeMounts"` }
func (JobDefinitionEksContainerArgs) ElementType ¶ added in v0.41.0
func (JobDefinitionEksContainerArgs) ElementType() reflect.Type
func (JobDefinitionEksContainerArgs) ToJobDefinitionEksContainerOutput ¶ added in v0.41.0
func (i JobDefinitionEksContainerArgs) ToJobDefinitionEksContainerOutput() JobDefinitionEksContainerOutput
func (JobDefinitionEksContainerArgs) ToJobDefinitionEksContainerOutputWithContext ¶ added in v0.41.0
func (i JobDefinitionEksContainerArgs) ToJobDefinitionEksContainerOutputWithContext(ctx context.Context) JobDefinitionEksContainerOutput
type JobDefinitionEksContainerArray ¶ added in v0.41.0
type JobDefinitionEksContainerArray []JobDefinitionEksContainerInput
func (JobDefinitionEksContainerArray) ElementType ¶ added in v0.41.0
func (JobDefinitionEksContainerArray) ElementType() reflect.Type
func (JobDefinitionEksContainerArray) ToJobDefinitionEksContainerArrayOutput ¶ added in v0.41.0
func (i JobDefinitionEksContainerArray) ToJobDefinitionEksContainerArrayOutput() JobDefinitionEksContainerArrayOutput
func (JobDefinitionEksContainerArray) ToJobDefinitionEksContainerArrayOutputWithContext ¶ added in v0.41.0
func (i JobDefinitionEksContainerArray) ToJobDefinitionEksContainerArrayOutputWithContext(ctx context.Context) JobDefinitionEksContainerArrayOutput
type JobDefinitionEksContainerArrayInput ¶ added in v0.41.0
type JobDefinitionEksContainerArrayInput interface { pulumi.Input ToJobDefinitionEksContainerArrayOutput() JobDefinitionEksContainerArrayOutput ToJobDefinitionEksContainerArrayOutputWithContext(context.Context) JobDefinitionEksContainerArrayOutput }
JobDefinitionEksContainerArrayInput is an input type that accepts JobDefinitionEksContainerArray and JobDefinitionEksContainerArrayOutput values. You can construct a concrete instance of `JobDefinitionEksContainerArrayInput` via:
JobDefinitionEksContainerArray{ JobDefinitionEksContainerArgs{...} }
type JobDefinitionEksContainerArrayOutput ¶ added in v0.41.0
type JobDefinitionEksContainerArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksContainerArrayOutput) ElementType ¶ added in v0.41.0
func (JobDefinitionEksContainerArrayOutput) ElementType() reflect.Type
func (JobDefinitionEksContainerArrayOutput) Index ¶ added in v0.41.0
func (o JobDefinitionEksContainerArrayOutput) Index(i pulumi.IntInput) JobDefinitionEksContainerOutput
func (JobDefinitionEksContainerArrayOutput) ToJobDefinitionEksContainerArrayOutput ¶ added in v0.41.0
func (o JobDefinitionEksContainerArrayOutput) ToJobDefinitionEksContainerArrayOutput() JobDefinitionEksContainerArrayOutput
func (JobDefinitionEksContainerArrayOutput) ToJobDefinitionEksContainerArrayOutputWithContext ¶ added in v0.41.0
func (o JobDefinitionEksContainerArrayOutput) ToJobDefinitionEksContainerArrayOutputWithContext(ctx context.Context) JobDefinitionEksContainerArrayOutput
type JobDefinitionEksContainerEnvironmentVariable ¶ added in v0.41.0
type JobDefinitionEksContainerEnvironmentVariableArgs ¶ added in v0.41.0
type JobDefinitionEksContainerEnvironmentVariableArgs struct { // The name of the environment variable. Name pulumi.StringInput `pulumi:"name"` // The value of the environment variable. Value pulumi.StringPtrInput `pulumi:"value"` }
func (JobDefinitionEksContainerEnvironmentVariableArgs) ElementType ¶ added in v0.41.0
func (JobDefinitionEksContainerEnvironmentVariableArgs) ElementType() reflect.Type
func (JobDefinitionEksContainerEnvironmentVariableArgs) ToJobDefinitionEksContainerEnvironmentVariableOutput ¶ added in v0.41.0
func (i JobDefinitionEksContainerEnvironmentVariableArgs) ToJobDefinitionEksContainerEnvironmentVariableOutput() JobDefinitionEksContainerEnvironmentVariableOutput
func (JobDefinitionEksContainerEnvironmentVariableArgs) ToJobDefinitionEksContainerEnvironmentVariableOutputWithContext ¶ added in v0.41.0
func (i JobDefinitionEksContainerEnvironmentVariableArgs) ToJobDefinitionEksContainerEnvironmentVariableOutputWithContext(ctx context.Context) JobDefinitionEksContainerEnvironmentVariableOutput
type JobDefinitionEksContainerEnvironmentVariableArray ¶ added in v0.41.0
type JobDefinitionEksContainerEnvironmentVariableArray []JobDefinitionEksContainerEnvironmentVariableInput
func (JobDefinitionEksContainerEnvironmentVariableArray) ElementType ¶ added in v0.41.0
func (JobDefinitionEksContainerEnvironmentVariableArray) ElementType() reflect.Type
func (JobDefinitionEksContainerEnvironmentVariableArray) ToJobDefinitionEksContainerEnvironmentVariableArrayOutput ¶ added in v0.41.0
func (i JobDefinitionEksContainerEnvironmentVariableArray) ToJobDefinitionEksContainerEnvironmentVariableArrayOutput() JobDefinitionEksContainerEnvironmentVariableArrayOutput
func (JobDefinitionEksContainerEnvironmentVariableArray) ToJobDefinitionEksContainerEnvironmentVariableArrayOutputWithContext ¶ added in v0.41.0
func (i JobDefinitionEksContainerEnvironmentVariableArray) ToJobDefinitionEksContainerEnvironmentVariableArrayOutputWithContext(ctx context.Context) JobDefinitionEksContainerEnvironmentVariableArrayOutput
type JobDefinitionEksContainerEnvironmentVariableArrayInput ¶ added in v0.41.0
type JobDefinitionEksContainerEnvironmentVariableArrayInput interface { pulumi.Input ToJobDefinitionEksContainerEnvironmentVariableArrayOutput() JobDefinitionEksContainerEnvironmentVariableArrayOutput ToJobDefinitionEksContainerEnvironmentVariableArrayOutputWithContext(context.Context) JobDefinitionEksContainerEnvironmentVariableArrayOutput }
JobDefinitionEksContainerEnvironmentVariableArrayInput is an input type that accepts JobDefinitionEksContainerEnvironmentVariableArray and JobDefinitionEksContainerEnvironmentVariableArrayOutput values. You can construct a concrete instance of `JobDefinitionEksContainerEnvironmentVariableArrayInput` via:
JobDefinitionEksContainerEnvironmentVariableArray{ JobDefinitionEksContainerEnvironmentVariableArgs{...} }
type JobDefinitionEksContainerEnvironmentVariableArrayOutput ¶ added in v0.41.0
type JobDefinitionEksContainerEnvironmentVariableArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksContainerEnvironmentVariableArrayOutput) ElementType ¶ added in v0.41.0
func (JobDefinitionEksContainerEnvironmentVariableArrayOutput) ElementType() reflect.Type
func (JobDefinitionEksContainerEnvironmentVariableArrayOutput) ToJobDefinitionEksContainerEnvironmentVariableArrayOutput ¶ added in v0.41.0
func (o JobDefinitionEksContainerEnvironmentVariableArrayOutput) ToJobDefinitionEksContainerEnvironmentVariableArrayOutput() JobDefinitionEksContainerEnvironmentVariableArrayOutput
func (JobDefinitionEksContainerEnvironmentVariableArrayOutput) ToJobDefinitionEksContainerEnvironmentVariableArrayOutputWithContext ¶ added in v0.41.0
func (o JobDefinitionEksContainerEnvironmentVariableArrayOutput) ToJobDefinitionEksContainerEnvironmentVariableArrayOutputWithContext(ctx context.Context) JobDefinitionEksContainerEnvironmentVariableArrayOutput
type JobDefinitionEksContainerEnvironmentVariableInput ¶ added in v0.41.0
type JobDefinitionEksContainerEnvironmentVariableInput interface { pulumi.Input ToJobDefinitionEksContainerEnvironmentVariableOutput() JobDefinitionEksContainerEnvironmentVariableOutput ToJobDefinitionEksContainerEnvironmentVariableOutputWithContext(context.Context) JobDefinitionEksContainerEnvironmentVariableOutput }
JobDefinitionEksContainerEnvironmentVariableInput is an input type that accepts JobDefinitionEksContainerEnvironmentVariableArgs and JobDefinitionEksContainerEnvironmentVariableOutput values. You can construct a concrete instance of `JobDefinitionEksContainerEnvironmentVariableInput` via:
JobDefinitionEksContainerEnvironmentVariableArgs{...}
type JobDefinitionEksContainerEnvironmentVariableOutput ¶ added in v0.41.0
type JobDefinitionEksContainerEnvironmentVariableOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksContainerEnvironmentVariableOutput) ElementType ¶ added in v0.41.0
func (JobDefinitionEksContainerEnvironmentVariableOutput) ElementType() reflect.Type
func (JobDefinitionEksContainerEnvironmentVariableOutput) Name ¶ added in v0.41.0
func (o JobDefinitionEksContainerEnvironmentVariableOutput) Name() pulumi.StringOutput
The name of the environment variable.
func (JobDefinitionEksContainerEnvironmentVariableOutput) ToJobDefinitionEksContainerEnvironmentVariableOutput ¶ added in v0.41.0
func (o JobDefinitionEksContainerEnvironmentVariableOutput) ToJobDefinitionEksContainerEnvironmentVariableOutput() JobDefinitionEksContainerEnvironmentVariableOutput
func (JobDefinitionEksContainerEnvironmentVariableOutput) ToJobDefinitionEksContainerEnvironmentVariableOutputWithContext ¶ added in v0.41.0
func (o JobDefinitionEksContainerEnvironmentVariableOutput) ToJobDefinitionEksContainerEnvironmentVariableOutputWithContext(ctx context.Context) JobDefinitionEksContainerEnvironmentVariableOutput
func (JobDefinitionEksContainerEnvironmentVariableOutput) Value ¶ added in v0.41.0
func (o JobDefinitionEksContainerEnvironmentVariableOutput) Value() pulumi.StringPtrOutput
The value of the environment variable.
type JobDefinitionEksContainerInput ¶ added in v0.41.0
type JobDefinitionEksContainerInput interface { pulumi.Input ToJobDefinitionEksContainerOutput() JobDefinitionEksContainerOutput ToJobDefinitionEksContainerOutputWithContext(context.Context) JobDefinitionEksContainerOutput }
JobDefinitionEksContainerInput is an input type that accepts JobDefinitionEksContainerArgs and JobDefinitionEksContainerOutput values. You can construct a concrete instance of `JobDefinitionEksContainerInput` via:
JobDefinitionEksContainerArgs{...}
type JobDefinitionEksContainerOutput ¶ added in v0.41.0
type JobDefinitionEksContainerOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksContainerOutput) Args ¶ added in v0.41.0
func (o JobDefinitionEksContainerOutput) Args() pulumi.StringArrayOutput
An array of arguments to the entrypoint. If this isn't specified, the `CMD` of the container image is used. This corresponds to the `args` member in the [Entrypoint](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) portion of the [Pod](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/) in Kubernetes. Environment variable references are expanded using the container's environment.
If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example, if the reference is to " `$(NAME1)` " and the `NAME1` environment variable doesn't exist, the command string will remain " `$(NAME1)` ." `$$` is replaced with `$` , and the resulting string isn't expanded. For example, `$$(VAR_NAME)` is passed as `$(VAR_NAME)` whether or not the `VAR_NAME` environment variable exists. For more information, see [Dockerfile reference: CMD](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) and [Define a command and arguments for a pod](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) in the *Kubernetes documentation* .
func (JobDefinitionEksContainerOutput) Command ¶ added in v0.41.0
func (o JobDefinitionEksContainerOutput) Command() pulumi.StringArrayOutput
The entrypoint for the container. This isn't run within a shell. If this isn't specified, the `ENTRYPOINT` of the container image is used. Environment variable references are expanded using the container's environment.
If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example, if the reference is to " `$(NAME1)` " and the `NAME1` environment variable doesn't exist, the command string will remain " `$(NAME1)` ." `$$` is replaced with `$` and the resulting string isn't expanded. For example, `$$(VAR_NAME)` will be passed as `$(VAR_NAME)` whether or not the `VAR_NAME` environment variable exists. The entrypoint can't be updated. For more information, see [ENTRYPOINT](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#entrypoint) in the *Dockerfile reference* and [Define a command and arguments for a container](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) and [Entrypoint](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) in the *Kubernetes documentation* .
func (JobDefinitionEksContainerOutput) ElementType ¶ added in v0.41.0
func (JobDefinitionEksContainerOutput) ElementType() reflect.Type
func (JobDefinitionEksContainerOutput) Env ¶ added in v0.41.0
func (o JobDefinitionEksContainerOutput) Env() JobDefinitionEksContainerEnvironmentVariableArrayOutput
The environment variables to pass to a container.
> Environment variables cannot start with " `AWS_BATCH` ". This naming convention is reserved for variables that AWS Batch sets.
func (JobDefinitionEksContainerOutput) Image ¶ added in v0.41.0
func (o JobDefinitionEksContainerOutput) Image() pulumi.StringOutput
The Docker image used to start the container.
func (JobDefinitionEksContainerOutput) ImagePullPolicy ¶ added in v0.41.0
func (o JobDefinitionEksContainerOutput) ImagePullPolicy() pulumi.StringPtrOutput
The image pull policy for the container. Supported values are `Always` , `IfNotPresent` , and `Never` . This parameter defaults to `IfNotPresent` . However, if the `:latest` tag is specified, it defaults to `Always` . For more information, see [Updating images](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/containers/images/#updating-images) in the *Kubernetes documentation* .
func (JobDefinitionEksContainerOutput) Name ¶ added in v0.41.0
func (o JobDefinitionEksContainerOutput) Name() pulumi.StringPtrOutput
The name of the container. If the name isn't specified, the default name " `Default` " is used. Each container in a pod must have a unique name.
func (JobDefinitionEksContainerOutput) Resources ¶ added in v0.41.0
func (o JobDefinitionEksContainerOutput) Resources() JobDefinitionEksContainerResourceRequirementsPtrOutput
The type and amount of resources to assign to a container. The supported resources include `memory` , `cpu` , and `nvidia.com/gpu` . For more information, see [Resource management for pods and containers](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) in the *Kubernetes documentation* .
func (JobDefinitionEksContainerOutput) SecurityContext ¶ added in v0.41.0
func (o JobDefinitionEksContainerOutput) SecurityContext() JobDefinitionEksContainerSecurityContextPtrOutput
The security context for a job. For more information, see [Configure a security context for a pod or container](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) in the *Kubernetes documentation* .
func (JobDefinitionEksContainerOutput) ToJobDefinitionEksContainerOutput ¶ added in v0.41.0
func (o JobDefinitionEksContainerOutput) ToJobDefinitionEksContainerOutput() JobDefinitionEksContainerOutput
func (JobDefinitionEksContainerOutput) ToJobDefinitionEksContainerOutputWithContext ¶ added in v0.41.0
func (o JobDefinitionEksContainerOutput) ToJobDefinitionEksContainerOutputWithContext(ctx context.Context) JobDefinitionEksContainerOutput
func (JobDefinitionEksContainerOutput) VolumeMounts ¶ added in v0.41.0
func (o JobDefinitionEksContainerOutput) VolumeMounts() JobDefinitionEksContainerVolumeMountArrayOutput
The volume mounts for the container. AWS Batch supports `emptyDir` , `hostPath` , and `secret` volume types. For more information about volumes and volume mounts in Kubernetes, see [Volumes](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/) in the *Kubernetes documentation* .
type JobDefinitionEksContainerResourceRequirements ¶ added in v0.56.0
type JobDefinitionEksContainerResourceRequirements struct { // The type and quantity of the resources to reserve for the container. The values vary based on the `name` that's specified. Resources can be requested using either the `limits` or the `requests` objects. // // - **memory** - The memory hard limit (in MiB) for the container, using whole integers, with a "Mi" suffix. If your container attempts to exceed the memory specified, the container is terminated. You must specify at least 4 MiB of memory for a job. `memory` can be specified in `limits` , `requests` , or both. If `memory` is specified in both places, then the value that's specified in `limits` must be equal to the value that's specified in `requests` . // // > To maximize your resource utilization, provide your jobs with as much memory as possible for the specific instance type that you are using. To learn how, see [Memory management](https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) in the *AWS Batch User Guide* . // - **cpu** - The number of CPUs that's reserved for the container. Values must be an even multiple of `0.25` . `cpu` can be specified in `limits` , `requests` , or both. If `cpu` is specified in both places, then the value that's specified in `limits` must be at least as large as the value that's specified in `requests` . // - **nvidia.com/gpu** - The number of GPUs that's reserved for the container. Values must be a whole integer. `memory` can be specified in `limits` , `requests` , or both. If `memory` is specified in both places, then the value that's specified in `limits` must be equal to the value that's specified in `requests` . Limits interface{} `pulumi:"limits"` // The type and quantity of the resources to request for the container. The values vary based on the `name` that's specified. Resources can be requested by using either the `limits` or the `requests` objects. // // - **memory** - The memory hard limit (in MiB) for the container, using whole integers, with a "Mi" suffix. If your container attempts to exceed the memory specified, the container is terminated. You must specify at least 4 MiB of memory for a job. `memory` can be specified in `limits` , `requests` , or both. If `memory` is specified in both, then the value that's specified in `limits` must be equal to the value that's specified in `requests` . // // > If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see [Memory management](https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) in the *AWS Batch User Guide* . // - **cpu** - The number of CPUs that are reserved for the container. Values must be an even multiple of `0.25` . `cpu` can be specified in `limits` , `requests` , or both. If `cpu` is specified in both, then the value that's specified in `limits` must be at least as large as the value that's specified in `requests` . // - **nvidia.com/gpu** - The number of GPUs that are reserved for the container. Values must be a whole integer. `nvidia.com/gpu` can be specified in `limits` , `requests` , or both. If `nvidia.com/gpu` is specified in both, then the value that's specified in `limits` must be equal to the value that's specified in `requests` . Requests interface{} `pulumi:"requests"` }
type JobDefinitionEksContainerResourceRequirementsArgs ¶ added in v0.56.0
type JobDefinitionEksContainerResourceRequirementsArgs struct { // The type and quantity of the resources to reserve for the container. The values vary based on the `name` that's specified. Resources can be requested using either the `limits` or the `requests` objects. // // - **memory** - The memory hard limit (in MiB) for the container, using whole integers, with a "Mi" suffix. If your container attempts to exceed the memory specified, the container is terminated. You must specify at least 4 MiB of memory for a job. `memory` can be specified in `limits` , `requests` , or both. If `memory` is specified in both places, then the value that's specified in `limits` must be equal to the value that's specified in `requests` . // // > To maximize your resource utilization, provide your jobs with as much memory as possible for the specific instance type that you are using. To learn how, see [Memory management](https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) in the *AWS Batch User Guide* . // - **cpu** - The number of CPUs that's reserved for the container. Values must be an even multiple of `0.25` . `cpu` can be specified in `limits` , `requests` , or both. If `cpu` is specified in both places, then the value that's specified in `limits` must be at least as large as the value that's specified in `requests` . // - **nvidia.com/gpu** - The number of GPUs that's reserved for the container. Values must be a whole integer. `memory` can be specified in `limits` , `requests` , or both. If `memory` is specified in both places, then the value that's specified in `limits` must be equal to the value that's specified in `requests` . Limits pulumi.Input `pulumi:"limits"` // The type and quantity of the resources to request for the container. The values vary based on the `name` that's specified. Resources can be requested by using either the `limits` or the `requests` objects. // // - **memory** - The memory hard limit (in MiB) for the container, using whole integers, with a "Mi" suffix. If your container attempts to exceed the memory specified, the container is terminated. You must specify at least 4 MiB of memory for a job. `memory` can be specified in `limits` , `requests` , or both. If `memory` is specified in both, then the value that's specified in `limits` must be equal to the value that's specified in `requests` . // // > If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see [Memory management](https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) in the *AWS Batch User Guide* . // - **cpu** - The number of CPUs that are reserved for the container. Values must be an even multiple of `0.25` . `cpu` can be specified in `limits` , `requests` , or both. If `cpu` is specified in both, then the value that's specified in `limits` must be at least as large as the value that's specified in `requests` . // - **nvidia.com/gpu** - The number of GPUs that are reserved for the container. Values must be a whole integer. `nvidia.com/gpu` can be specified in `limits` , `requests` , or both. If `nvidia.com/gpu` is specified in both, then the value that's specified in `limits` must be equal to the value that's specified in `requests` . Requests pulumi.Input `pulumi:"requests"` }
func (JobDefinitionEksContainerResourceRequirementsArgs) ElementType ¶ added in v0.56.0
func (JobDefinitionEksContainerResourceRequirementsArgs) ElementType() reflect.Type
func (JobDefinitionEksContainerResourceRequirementsArgs) ToJobDefinitionEksContainerResourceRequirementsOutput ¶ added in v0.56.0
func (i JobDefinitionEksContainerResourceRequirementsArgs) ToJobDefinitionEksContainerResourceRequirementsOutput() JobDefinitionEksContainerResourceRequirementsOutput
func (JobDefinitionEksContainerResourceRequirementsArgs) ToJobDefinitionEksContainerResourceRequirementsOutputWithContext ¶ added in v0.56.0
func (i JobDefinitionEksContainerResourceRequirementsArgs) ToJobDefinitionEksContainerResourceRequirementsOutputWithContext(ctx context.Context) JobDefinitionEksContainerResourceRequirementsOutput
func (JobDefinitionEksContainerResourceRequirementsArgs) ToJobDefinitionEksContainerResourceRequirementsPtrOutput ¶ added in v0.56.0
func (i JobDefinitionEksContainerResourceRequirementsArgs) ToJobDefinitionEksContainerResourceRequirementsPtrOutput() JobDefinitionEksContainerResourceRequirementsPtrOutput
func (JobDefinitionEksContainerResourceRequirementsArgs) ToJobDefinitionEksContainerResourceRequirementsPtrOutputWithContext ¶ added in v0.56.0
func (i JobDefinitionEksContainerResourceRequirementsArgs) ToJobDefinitionEksContainerResourceRequirementsPtrOutputWithContext(ctx context.Context) JobDefinitionEksContainerResourceRequirementsPtrOutput
type JobDefinitionEksContainerResourceRequirementsInput ¶ added in v0.56.0
type JobDefinitionEksContainerResourceRequirementsInput interface { pulumi.Input ToJobDefinitionEksContainerResourceRequirementsOutput() JobDefinitionEksContainerResourceRequirementsOutput ToJobDefinitionEksContainerResourceRequirementsOutputWithContext(context.Context) JobDefinitionEksContainerResourceRequirementsOutput }
JobDefinitionEksContainerResourceRequirementsInput is an input type that accepts JobDefinitionEksContainerResourceRequirementsArgs and JobDefinitionEksContainerResourceRequirementsOutput values. You can construct a concrete instance of `JobDefinitionEksContainerResourceRequirementsInput` via:
JobDefinitionEksContainerResourceRequirementsArgs{...}
type JobDefinitionEksContainerResourceRequirementsOutput ¶ added in v0.56.0
type JobDefinitionEksContainerResourceRequirementsOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksContainerResourceRequirementsOutput) ElementType ¶ added in v0.56.0
func (JobDefinitionEksContainerResourceRequirementsOutput) ElementType() reflect.Type
func (JobDefinitionEksContainerResourceRequirementsOutput) Limits ¶ added in v0.56.0
func (o JobDefinitionEksContainerResourceRequirementsOutput) Limits() pulumi.AnyOutput
The type and quantity of the resources to reserve for the container. The values vary based on the `name` that's specified. Resources can be requested using either the `limits` or the `requests` objects.
- **memory** - The memory hard limit (in MiB) for the container, using whole integers, with a "Mi" suffix. If your container attempts to exceed the memory specified, the container is terminated. You must specify at least 4 MiB of memory for a job. `memory` can be specified in `limits` , `requests` , or both. If `memory` is specified in both places, then the value that's specified in `limits` must be equal to the value that's specified in `requests` .
> To maximize your resource utilization, provide your jobs with as much memory as possible for the specific instance type that you are using. To learn how, see [Memory management](https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) in the *AWS Batch User Guide* . - **cpu** - The number of CPUs that's reserved for the container. Values must be an even multiple of `0.25` . `cpu` can be specified in `limits` , `requests` , or both. If `cpu` is specified in both places, then the value that's specified in `limits` must be at least as large as the value that's specified in `requests` . - **nvidia.com/gpu** - The number of GPUs that's reserved for the container. Values must be a whole integer. `memory` can be specified in `limits` , `requests` , or both. If `memory` is specified in both places, then the value that's specified in `limits` must be equal to the value that's specified in `requests` .
func (JobDefinitionEksContainerResourceRequirementsOutput) Requests ¶ added in v0.56.0
func (o JobDefinitionEksContainerResourceRequirementsOutput) Requests() pulumi.AnyOutput
The type and quantity of the resources to request for the container. The values vary based on the `name` that's specified. Resources can be requested by using either the `limits` or the `requests` objects.
- **memory** - The memory hard limit (in MiB) for the container, using whole integers, with a "Mi" suffix. If your container attempts to exceed the memory specified, the container is terminated. You must specify at least 4 MiB of memory for a job. `memory` can be specified in `limits` , `requests` , or both. If `memory` is specified in both, then the value that's specified in `limits` must be equal to the value that's specified in `requests` .
> If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see [Memory management](https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) in the *AWS Batch User Guide* . - **cpu** - The number of CPUs that are reserved for the container. Values must be an even multiple of `0.25` . `cpu` can be specified in `limits` , `requests` , or both. If `cpu` is specified in both, then the value that's specified in `limits` must be at least as large as the value that's specified in `requests` . - **nvidia.com/gpu** - The number of GPUs that are reserved for the container. Values must be a whole integer. `nvidia.com/gpu` can be specified in `limits` , `requests` , or both. If `nvidia.com/gpu` is specified in both, then the value that's specified in `limits` must be equal to the value that's specified in `requests` .
func (JobDefinitionEksContainerResourceRequirementsOutput) ToJobDefinitionEksContainerResourceRequirementsOutput ¶ added in v0.56.0
func (o JobDefinitionEksContainerResourceRequirementsOutput) ToJobDefinitionEksContainerResourceRequirementsOutput() JobDefinitionEksContainerResourceRequirementsOutput
func (JobDefinitionEksContainerResourceRequirementsOutput) ToJobDefinitionEksContainerResourceRequirementsOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEksContainerResourceRequirementsOutput) ToJobDefinitionEksContainerResourceRequirementsOutputWithContext(ctx context.Context) JobDefinitionEksContainerResourceRequirementsOutput
func (JobDefinitionEksContainerResourceRequirementsOutput) ToJobDefinitionEksContainerResourceRequirementsPtrOutput ¶ added in v0.56.0
func (o JobDefinitionEksContainerResourceRequirementsOutput) ToJobDefinitionEksContainerResourceRequirementsPtrOutput() JobDefinitionEksContainerResourceRequirementsPtrOutput
func (JobDefinitionEksContainerResourceRequirementsOutput) ToJobDefinitionEksContainerResourceRequirementsPtrOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEksContainerResourceRequirementsOutput) ToJobDefinitionEksContainerResourceRequirementsPtrOutputWithContext(ctx context.Context) JobDefinitionEksContainerResourceRequirementsPtrOutput
type JobDefinitionEksContainerResourceRequirementsPtrInput ¶ added in v0.56.0
type JobDefinitionEksContainerResourceRequirementsPtrInput interface { pulumi.Input ToJobDefinitionEksContainerResourceRequirementsPtrOutput() JobDefinitionEksContainerResourceRequirementsPtrOutput ToJobDefinitionEksContainerResourceRequirementsPtrOutputWithContext(context.Context) JobDefinitionEksContainerResourceRequirementsPtrOutput }
JobDefinitionEksContainerResourceRequirementsPtrInput is an input type that accepts JobDefinitionEksContainerResourceRequirementsArgs, JobDefinitionEksContainerResourceRequirementsPtr and JobDefinitionEksContainerResourceRequirementsPtrOutput values. You can construct a concrete instance of `JobDefinitionEksContainerResourceRequirementsPtrInput` via:
JobDefinitionEksContainerResourceRequirementsArgs{...} or: nil
func JobDefinitionEksContainerResourceRequirementsPtr ¶ added in v0.56.0
func JobDefinitionEksContainerResourceRequirementsPtr(v *JobDefinitionEksContainerResourceRequirementsArgs) JobDefinitionEksContainerResourceRequirementsPtrInput
type JobDefinitionEksContainerResourceRequirementsPtrOutput ¶ added in v0.56.0
type JobDefinitionEksContainerResourceRequirementsPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksContainerResourceRequirementsPtrOutput) ElementType ¶ added in v0.56.0
func (JobDefinitionEksContainerResourceRequirementsPtrOutput) ElementType() reflect.Type
func (JobDefinitionEksContainerResourceRequirementsPtrOutput) Limits ¶ added in v0.56.0
func (o JobDefinitionEksContainerResourceRequirementsPtrOutput) Limits() pulumi.AnyOutput
The type and quantity of the resources to reserve for the container. The values vary based on the `name` that's specified. Resources can be requested using either the `limits` or the `requests` objects.
- **memory** - The memory hard limit (in MiB) for the container, using whole integers, with a "Mi" suffix. If your container attempts to exceed the memory specified, the container is terminated. You must specify at least 4 MiB of memory for a job. `memory` can be specified in `limits` , `requests` , or both. If `memory` is specified in both places, then the value that's specified in `limits` must be equal to the value that's specified in `requests` .
> To maximize your resource utilization, provide your jobs with as much memory as possible for the specific instance type that you are using. To learn how, see [Memory management](https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) in the *AWS Batch User Guide* . - **cpu** - The number of CPUs that's reserved for the container. Values must be an even multiple of `0.25` . `cpu` can be specified in `limits` , `requests` , or both. If `cpu` is specified in both places, then the value that's specified in `limits` must be at least as large as the value that's specified in `requests` . - **nvidia.com/gpu** - The number of GPUs that's reserved for the container. Values must be a whole integer. `memory` can be specified in `limits` , `requests` , or both. If `memory` is specified in both places, then the value that's specified in `limits` must be equal to the value that's specified in `requests` .
func (JobDefinitionEksContainerResourceRequirementsPtrOutput) Requests ¶ added in v0.56.0
func (o JobDefinitionEksContainerResourceRequirementsPtrOutput) Requests() pulumi.AnyOutput
The type and quantity of the resources to request for the container. The values vary based on the `name` that's specified. Resources can be requested by using either the `limits` or the `requests` objects.
- **memory** - The memory hard limit (in MiB) for the container, using whole integers, with a "Mi" suffix. If your container attempts to exceed the memory specified, the container is terminated. You must specify at least 4 MiB of memory for a job. `memory` can be specified in `limits` , `requests` , or both. If `memory` is specified in both, then the value that's specified in `limits` must be equal to the value that's specified in `requests` .
> If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see [Memory management](https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) in the *AWS Batch User Guide* . - **cpu** - The number of CPUs that are reserved for the container. Values must be an even multiple of `0.25` . `cpu` can be specified in `limits` , `requests` , or both. If `cpu` is specified in both, then the value that's specified in `limits` must be at least as large as the value that's specified in `requests` . - **nvidia.com/gpu** - The number of GPUs that are reserved for the container. Values must be a whole integer. `nvidia.com/gpu` can be specified in `limits` , `requests` , or both. If `nvidia.com/gpu` is specified in both, then the value that's specified in `limits` must be equal to the value that's specified in `requests` .
func (JobDefinitionEksContainerResourceRequirementsPtrOutput) ToJobDefinitionEksContainerResourceRequirementsPtrOutput ¶ added in v0.56.0
func (o JobDefinitionEksContainerResourceRequirementsPtrOutput) ToJobDefinitionEksContainerResourceRequirementsPtrOutput() JobDefinitionEksContainerResourceRequirementsPtrOutput
func (JobDefinitionEksContainerResourceRequirementsPtrOutput) ToJobDefinitionEksContainerResourceRequirementsPtrOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEksContainerResourceRequirementsPtrOutput) ToJobDefinitionEksContainerResourceRequirementsPtrOutputWithContext(ctx context.Context) JobDefinitionEksContainerResourceRequirementsPtrOutput
type JobDefinitionEksContainerSecurityContext ¶ added in v0.56.0
type JobDefinitionEksContainerSecurityContext struct { // Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent process. The default value is `false` . AllowPrivilegeEscalation *bool `pulumi:"allowPrivilegeEscalation"` // When this parameter is `true` , the container is given elevated permissions on the host container instance. The level of permissions are similar to the `root` user permissions. The default value is `false` . This parameter maps to `privileged` policy in the [Privileged pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#privileged) in the *Kubernetes documentation* . Privileged *bool `pulumi:"privileged"` // When this parameter is `true` , the container is given read-only access to its root file system. The default value is `false` . This parameter maps to `ReadOnlyRootFilesystem` policy in the [Volumes and file systems pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#volumes-and-file-systems) in the *Kubernetes documentation* . ReadOnlyRootFilesystem *bool `pulumi:"readOnlyRootFilesystem"` // When this parameter is specified, the container is run as the specified group ID ( `gid` ). If this parameter isn't specified, the default is the group that's specified in the image metadata. This parameter maps to `RunAsGroup` and `MustRunAs` policy in the [Users and groups pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) in the *Kubernetes documentation* . RunAsGroup *int `pulumi:"runAsGroup"` // When this parameter is specified, the container is run as a user with a `uid` other than 0. If this parameter isn't specified, so such rule is enforced. This parameter maps to `RunAsUser` and `MustRunAsNonRoot` policy in the [Users and groups pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) in the *Kubernetes documentation* . RunAsNonRoot *bool `pulumi:"runAsNonRoot"` // When this parameter is specified, the container is run as the specified user ID ( `uid` ). If this parameter isn't specified, the default is the user that's specified in the image metadata. This parameter maps to `RunAsUser` and `MustRanAs` policy in the [Users and groups pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) in the *Kubernetes documentation* . RunAsUser *int `pulumi:"runAsUser"` }
type JobDefinitionEksContainerSecurityContextArgs ¶ added in v0.56.0
type JobDefinitionEksContainerSecurityContextArgs struct { // Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent process. The default value is `false` . AllowPrivilegeEscalation pulumi.BoolPtrInput `pulumi:"allowPrivilegeEscalation"` // When this parameter is `true` , the container is given elevated permissions on the host container instance. The level of permissions are similar to the `root` user permissions. The default value is `false` . This parameter maps to `privileged` policy in the [Privileged pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#privileged) in the *Kubernetes documentation* . Privileged pulumi.BoolPtrInput `pulumi:"privileged"` // When this parameter is `true` , the container is given read-only access to its root file system. The default value is `false` . This parameter maps to `ReadOnlyRootFilesystem` policy in the [Volumes and file systems pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#volumes-and-file-systems) in the *Kubernetes documentation* . ReadOnlyRootFilesystem pulumi.BoolPtrInput `pulumi:"readOnlyRootFilesystem"` // When this parameter is specified, the container is run as the specified group ID ( `gid` ). If this parameter isn't specified, the default is the group that's specified in the image metadata. This parameter maps to `RunAsGroup` and `MustRunAs` policy in the [Users and groups pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) in the *Kubernetes documentation* . RunAsGroup pulumi.IntPtrInput `pulumi:"runAsGroup"` // When this parameter is specified, the container is run as a user with a `uid` other than 0. If this parameter isn't specified, so such rule is enforced. This parameter maps to `RunAsUser` and `MustRunAsNonRoot` policy in the [Users and groups pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) in the *Kubernetes documentation* . RunAsNonRoot pulumi.BoolPtrInput `pulumi:"runAsNonRoot"` // When this parameter is specified, the container is run as the specified user ID ( `uid` ). If this parameter isn't specified, the default is the user that's specified in the image metadata. This parameter maps to `RunAsUser` and `MustRanAs` policy in the [Users and groups pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) in the *Kubernetes documentation* . RunAsUser pulumi.IntPtrInput `pulumi:"runAsUser"` }
func (JobDefinitionEksContainerSecurityContextArgs) ElementType ¶ added in v0.56.0
func (JobDefinitionEksContainerSecurityContextArgs) ElementType() reflect.Type
func (JobDefinitionEksContainerSecurityContextArgs) ToJobDefinitionEksContainerSecurityContextOutput ¶ added in v0.56.0
func (i JobDefinitionEksContainerSecurityContextArgs) ToJobDefinitionEksContainerSecurityContextOutput() JobDefinitionEksContainerSecurityContextOutput
func (JobDefinitionEksContainerSecurityContextArgs) ToJobDefinitionEksContainerSecurityContextOutputWithContext ¶ added in v0.56.0
func (i JobDefinitionEksContainerSecurityContextArgs) ToJobDefinitionEksContainerSecurityContextOutputWithContext(ctx context.Context) JobDefinitionEksContainerSecurityContextOutput
func (JobDefinitionEksContainerSecurityContextArgs) ToJobDefinitionEksContainerSecurityContextPtrOutput ¶ added in v0.56.0
func (i JobDefinitionEksContainerSecurityContextArgs) ToJobDefinitionEksContainerSecurityContextPtrOutput() JobDefinitionEksContainerSecurityContextPtrOutput
func (JobDefinitionEksContainerSecurityContextArgs) ToJobDefinitionEksContainerSecurityContextPtrOutputWithContext ¶ added in v0.56.0
func (i JobDefinitionEksContainerSecurityContextArgs) ToJobDefinitionEksContainerSecurityContextPtrOutputWithContext(ctx context.Context) JobDefinitionEksContainerSecurityContextPtrOutput
type JobDefinitionEksContainerSecurityContextInput ¶ added in v0.56.0
type JobDefinitionEksContainerSecurityContextInput interface { pulumi.Input ToJobDefinitionEksContainerSecurityContextOutput() JobDefinitionEksContainerSecurityContextOutput ToJobDefinitionEksContainerSecurityContextOutputWithContext(context.Context) JobDefinitionEksContainerSecurityContextOutput }
JobDefinitionEksContainerSecurityContextInput is an input type that accepts JobDefinitionEksContainerSecurityContextArgs and JobDefinitionEksContainerSecurityContextOutput values. You can construct a concrete instance of `JobDefinitionEksContainerSecurityContextInput` via:
JobDefinitionEksContainerSecurityContextArgs{...}
type JobDefinitionEksContainerSecurityContextOutput ¶ added in v0.56.0
type JobDefinitionEksContainerSecurityContextOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksContainerSecurityContextOutput) AllowPrivilegeEscalation ¶ added in v0.101.0
func (o JobDefinitionEksContainerSecurityContextOutput) AllowPrivilegeEscalation() pulumi.BoolPtrOutput
Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent process. The default value is `false` .
func (JobDefinitionEksContainerSecurityContextOutput) ElementType ¶ added in v0.56.0
func (JobDefinitionEksContainerSecurityContextOutput) ElementType() reflect.Type
func (JobDefinitionEksContainerSecurityContextOutput) Privileged ¶ added in v0.56.0
func (o JobDefinitionEksContainerSecurityContextOutput) Privileged() pulumi.BoolPtrOutput
When this parameter is `true` , the container is given elevated permissions on the host container instance. The level of permissions are similar to the `root` user permissions. The default value is `false` . This parameter maps to `privileged` policy in the [Privileged pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#privileged) in the *Kubernetes documentation* .
func (JobDefinitionEksContainerSecurityContextOutput) ReadOnlyRootFilesystem ¶ added in v0.56.0
func (o JobDefinitionEksContainerSecurityContextOutput) ReadOnlyRootFilesystem() pulumi.BoolPtrOutput
When this parameter is `true` , the container is given read-only access to its root file system. The default value is `false` . This parameter maps to `ReadOnlyRootFilesystem` policy in the [Volumes and file systems pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#volumes-and-file-systems) in the *Kubernetes documentation* .
func (JobDefinitionEksContainerSecurityContextOutput) RunAsGroup ¶ added in v0.56.0
func (o JobDefinitionEksContainerSecurityContextOutput) RunAsGroup() pulumi.IntPtrOutput
When this parameter is specified, the container is run as the specified group ID ( `gid` ). If this parameter isn't specified, the default is the group that's specified in the image metadata. This parameter maps to `RunAsGroup` and `MustRunAs` policy in the [Users and groups pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) in the *Kubernetes documentation* .
func (JobDefinitionEksContainerSecurityContextOutput) RunAsNonRoot ¶ added in v0.56.0
func (o JobDefinitionEksContainerSecurityContextOutput) RunAsNonRoot() pulumi.BoolPtrOutput
When this parameter is specified, the container is run as a user with a `uid` other than 0. If this parameter isn't specified, so such rule is enforced. This parameter maps to `RunAsUser` and `MustRunAsNonRoot` policy in the [Users and groups pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) in the *Kubernetes documentation* .
func (JobDefinitionEksContainerSecurityContextOutput) RunAsUser ¶ added in v0.56.0
func (o JobDefinitionEksContainerSecurityContextOutput) RunAsUser() pulumi.IntPtrOutput
When this parameter is specified, the container is run as the specified user ID ( `uid` ). If this parameter isn't specified, the default is the user that's specified in the image metadata. This parameter maps to `RunAsUser` and `MustRanAs` policy in the [Users and groups pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) in the *Kubernetes documentation* .
func (JobDefinitionEksContainerSecurityContextOutput) ToJobDefinitionEksContainerSecurityContextOutput ¶ added in v0.56.0
func (o JobDefinitionEksContainerSecurityContextOutput) ToJobDefinitionEksContainerSecurityContextOutput() JobDefinitionEksContainerSecurityContextOutput
func (JobDefinitionEksContainerSecurityContextOutput) ToJobDefinitionEksContainerSecurityContextOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEksContainerSecurityContextOutput) ToJobDefinitionEksContainerSecurityContextOutputWithContext(ctx context.Context) JobDefinitionEksContainerSecurityContextOutput
func (JobDefinitionEksContainerSecurityContextOutput) ToJobDefinitionEksContainerSecurityContextPtrOutput ¶ added in v0.56.0
func (o JobDefinitionEksContainerSecurityContextOutput) ToJobDefinitionEksContainerSecurityContextPtrOutput() JobDefinitionEksContainerSecurityContextPtrOutput
func (JobDefinitionEksContainerSecurityContextOutput) ToJobDefinitionEksContainerSecurityContextPtrOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEksContainerSecurityContextOutput) ToJobDefinitionEksContainerSecurityContextPtrOutputWithContext(ctx context.Context) JobDefinitionEksContainerSecurityContextPtrOutput
type JobDefinitionEksContainerSecurityContextPtrInput ¶ added in v0.56.0
type JobDefinitionEksContainerSecurityContextPtrInput interface { pulumi.Input ToJobDefinitionEksContainerSecurityContextPtrOutput() JobDefinitionEksContainerSecurityContextPtrOutput ToJobDefinitionEksContainerSecurityContextPtrOutputWithContext(context.Context) JobDefinitionEksContainerSecurityContextPtrOutput }
JobDefinitionEksContainerSecurityContextPtrInput is an input type that accepts JobDefinitionEksContainerSecurityContextArgs, JobDefinitionEksContainerSecurityContextPtr and JobDefinitionEksContainerSecurityContextPtrOutput values. You can construct a concrete instance of `JobDefinitionEksContainerSecurityContextPtrInput` via:
JobDefinitionEksContainerSecurityContextArgs{...} or: nil
func JobDefinitionEksContainerSecurityContextPtr ¶ added in v0.56.0
func JobDefinitionEksContainerSecurityContextPtr(v *JobDefinitionEksContainerSecurityContextArgs) JobDefinitionEksContainerSecurityContextPtrInput
type JobDefinitionEksContainerSecurityContextPtrOutput ¶ added in v0.56.0
type JobDefinitionEksContainerSecurityContextPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksContainerSecurityContextPtrOutput) AllowPrivilegeEscalation ¶ added in v0.101.0
func (o JobDefinitionEksContainerSecurityContextPtrOutput) AllowPrivilegeEscalation() pulumi.BoolPtrOutput
Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent process. The default value is `false` .
func (JobDefinitionEksContainerSecurityContextPtrOutput) ElementType ¶ added in v0.56.0
func (JobDefinitionEksContainerSecurityContextPtrOutput) ElementType() reflect.Type
func (JobDefinitionEksContainerSecurityContextPtrOutput) Privileged ¶ added in v0.56.0
func (o JobDefinitionEksContainerSecurityContextPtrOutput) Privileged() pulumi.BoolPtrOutput
When this parameter is `true` , the container is given elevated permissions on the host container instance. The level of permissions are similar to the `root` user permissions. The default value is `false` . This parameter maps to `privileged` policy in the [Privileged pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#privileged) in the *Kubernetes documentation* .
func (JobDefinitionEksContainerSecurityContextPtrOutput) ReadOnlyRootFilesystem ¶ added in v0.56.0
func (o JobDefinitionEksContainerSecurityContextPtrOutput) ReadOnlyRootFilesystem() pulumi.BoolPtrOutput
When this parameter is `true` , the container is given read-only access to its root file system. The default value is `false` . This parameter maps to `ReadOnlyRootFilesystem` policy in the [Volumes and file systems pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#volumes-and-file-systems) in the *Kubernetes documentation* .
func (JobDefinitionEksContainerSecurityContextPtrOutput) RunAsGroup ¶ added in v0.56.0
func (o JobDefinitionEksContainerSecurityContextPtrOutput) RunAsGroup() pulumi.IntPtrOutput
When this parameter is specified, the container is run as the specified group ID ( `gid` ). If this parameter isn't specified, the default is the group that's specified in the image metadata. This parameter maps to `RunAsGroup` and `MustRunAs` policy in the [Users and groups pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) in the *Kubernetes documentation* .
func (JobDefinitionEksContainerSecurityContextPtrOutput) RunAsNonRoot ¶ added in v0.56.0
func (o JobDefinitionEksContainerSecurityContextPtrOutput) RunAsNonRoot() pulumi.BoolPtrOutput
When this parameter is specified, the container is run as a user with a `uid` other than 0. If this parameter isn't specified, so such rule is enforced. This parameter maps to `RunAsUser` and `MustRunAsNonRoot` policy in the [Users and groups pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) in the *Kubernetes documentation* .
func (JobDefinitionEksContainerSecurityContextPtrOutput) RunAsUser ¶ added in v0.56.0
func (o JobDefinitionEksContainerSecurityContextPtrOutput) RunAsUser() pulumi.IntPtrOutput
When this parameter is specified, the container is run as the specified user ID ( `uid` ). If this parameter isn't specified, the default is the user that's specified in the image metadata. This parameter maps to `RunAsUser` and `MustRanAs` policy in the [Users and groups pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) in the *Kubernetes documentation* .
func (JobDefinitionEksContainerSecurityContextPtrOutput) ToJobDefinitionEksContainerSecurityContextPtrOutput ¶ added in v0.56.0
func (o JobDefinitionEksContainerSecurityContextPtrOutput) ToJobDefinitionEksContainerSecurityContextPtrOutput() JobDefinitionEksContainerSecurityContextPtrOutput
func (JobDefinitionEksContainerSecurityContextPtrOutput) ToJobDefinitionEksContainerSecurityContextPtrOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEksContainerSecurityContextPtrOutput) ToJobDefinitionEksContainerSecurityContextPtrOutputWithContext(ctx context.Context) JobDefinitionEksContainerSecurityContextPtrOutput
type JobDefinitionEksContainerVolumeMount ¶ added in v0.41.0
type JobDefinitionEksContainerVolumeMount struct { // The path on the container where the volume is mounted. MountPath *string `pulumi:"mountPath"` // The name the volume mount. This must match the name of one of the volumes in the pod. Name *string `pulumi:"name"` // If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` . ReadOnly *bool `pulumi:"readOnly"` }
type JobDefinitionEksContainerVolumeMountArgs ¶ added in v0.41.0
type JobDefinitionEksContainerVolumeMountArgs struct { // The path on the container where the volume is mounted. MountPath pulumi.StringPtrInput `pulumi:"mountPath"` // The name the volume mount. This must match the name of one of the volumes in the pod. Name pulumi.StringPtrInput `pulumi:"name"` // If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` . ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"` }
func (JobDefinitionEksContainerVolumeMountArgs) ElementType ¶ added in v0.41.0
func (JobDefinitionEksContainerVolumeMountArgs) ElementType() reflect.Type
func (JobDefinitionEksContainerVolumeMountArgs) ToJobDefinitionEksContainerVolumeMountOutput ¶ added in v0.41.0
func (i JobDefinitionEksContainerVolumeMountArgs) ToJobDefinitionEksContainerVolumeMountOutput() JobDefinitionEksContainerVolumeMountOutput
func (JobDefinitionEksContainerVolumeMountArgs) ToJobDefinitionEksContainerVolumeMountOutputWithContext ¶ added in v0.41.0
func (i JobDefinitionEksContainerVolumeMountArgs) ToJobDefinitionEksContainerVolumeMountOutputWithContext(ctx context.Context) JobDefinitionEksContainerVolumeMountOutput
type JobDefinitionEksContainerVolumeMountArray ¶ added in v0.41.0
type JobDefinitionEksContainerVolumeMountArray []JobDefinitionEksContainerVolumeMountInput
func (JobDefinitionEksContainerVolumeMountArray) ElementType ¶ added in v0.41.0
func (JobDefinitionEksContainerVolumeMountArray) ElementType() reflect.Type
func (JobDefinitionEksContainerVolumeMountArray) ToJobDefinitionEksContainerVolumeMountArrayOutput ¶ added in v0.41.0
func (i JobDefinitionEksContainerVolumeMountArray) ToJobDefinitionEksContainerVolumeMountArrayOutput() JobDefinitionEksContainerVolumeMountArrayOutput
func (JobDefinitionEksContainerVolumeMountArray) ToJobDefinitionEksContainerVolumeMountArrayOutputWithContext ¶ added in v0.41.0
func (i JobDefinitionEksContainerVolumeMountArray) ToJobDefinitionEksContainerVolumeMountArrayOutputWithContext(ctx context.Context) JobDefinitionEksContainerVolumeMountArrayOutput
type JobDefinitionEksContainerVolumeMountArrayInput ¶ added in v0.41.0
type JobDefinitionEksContainerVolumeMountArrayInput interface { pulumi.Input ToJobDefinitionEksContainerVolumeMountArrayOutput() JobDefinitionEksContainerVolumeMountArrayOutput ToJobDefinitionEksContainerVolumeMountArrayOutputWithContext(context.Context) JobDefinitionEksContainerVolumeMountArrayOutput }
JobDefinitionEksContainerVolumeMountArrayInput is an input type that accepts JobDefinitionEksContainerVolumeMountArray and JobDefinitionEksContainerVolumeMountArrayOutput values. You can construct a concrete instance of `JobDefinitionEksContainerVolumeMountArrayInput` via:
JobDefinitionEksContainerVolumeMountArray{ JobDefinitionEksContainerVolumeMountArgs{...} }
type JobDefinitionEksContainerVolumeMountArrayOutput ¶ added in v0.41.0
type JobDefinitionEksContainerVolumeMountArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksContainerVolumeMountArrayOutput) ElementType ¶ added in v0.41.0
func (JobDefinitionEksContainerVolumeMountArrayOutput) ElementType() reflect.Type
func (JobDefinitionEksContainerVolumeMountArrayOutput) ToJobDefinitionEksContainerVolumeMountArrayOutput ¶ added in v0.41.0
func (o JobDefinitionEksContainerVolumeMountArrayOutput) ToJobDefinitionEksContainerVolumeMountArrayOutput() JobDefinitionEksContainerVolumeMountArrayOutput
func (JobDefinitionEksContainerVolumeMountArrayOutput) ToJobDefinitionEksContainerVolumeMountArrayOutputWithContext ¶ added in v0.41.0
func (o JobDefinitionEksContainerVolumeMountArrayOutput) ToJobDefinitionEksContainerVolumeMountArrayOutputWithContext(ctx context.Context) JobDefinitionEksContainerVolumeMountArrayOutput
type JobDefinitionEksContainerVolumeMountInput ¶ added in v0.41.0
type JobDefinitionEksContainerVolumeMountInput interface { pulumi.Input ToJobDefinitionEksContainerVolumeMountOutput() JobDefinitionEksContainerVolumeMountOutput ToJobDefinitionEksContainerVolumeMountOutputWithContext(context.Context) JobDefinitionEksContainerVolumeMountOutput }
JobDefinitionEksContainerVolumeMountInput is an input type that accepts JobDefinitionEksContainerVolumeMountArgs and JobDefinitionEksContainerVolumeMountOutput values. You can construct a concrete instance of `JobDefinitionEksContainerVolumeMountInput` via:
JobDefinitionEksContainerVolumeMountArgs{...}
type JobDefinitionEksContainerVolumeMountOutput ¶ added in v0.41.0
type JobDefinitionEksContainerVolumeMountOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksContainerVolumeMountOutput) ElementType ¶ added in v0.41.0
func (JobDefinitionEksContainerVolumeMountOutput) ElementType() reflect.Type
func (JobDefinitionEksContainerVolumeMountOutput) MountPath ¶ added in v0.41.0
func (o JobDefinitionEksContainerVolumeMountOutput) MountPath() pulumi.StringPtrOutput
The path on the container where the volume is mounted.
func (JobDefinitionEksContainerVolumeMountOutput) Name ¶ added in v0.41.0
func (o JobDefinitionEksContainerVolumeMountOutput) Name() pulumi.StringPtrOutput
The name the volume mount. This must match the name of one of the volumes in the pod.
func (JobDefinitionEksContainerVolumeMountOutput) ReadOnly ¶ added in v0.41.0
func (o JobDefinitionEksContainerVolumeMountOutput) ReadOnly() pulumi.BoolPtrOutput
If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` .
func (JobDefinitionEksContainerVolumeMountOutput) ToJobDefinitionEksContainerVolumeMountOutput ¶ added in v0.41.0
func (o JobDefinitionEksContainerVolumeMountOutput) ToJobDefinitionEksContainerVolumeMountOutput() JobDefinitionEksContainerVolumeMountOutput
func (JobDefinitionEksContainerVolumeMountOutput) ToJobDefinitionEksContainerVolumeMountOutputWithContext ¶ added in v0.41.0
func (o JobDefinitionEksContainerVolumeMountOutput) ToJobDefinitionEksContainerVolumeMountOutputWithContext(ctx context.Context) JobDefinitionEksContainerVolumeMountOutput
type JobDefinitionEksEmptyDir ¶ added in v0.56.0
type JobDefinitionEksEmptyDir struct { // The medium to store the volume. The default value is an empty string, which uses the storage of the node. // // - **""** - *(Default)* Use the disk storage of the node. // - **"Memory"** - Use the `tmpfs` volume that's backed by the RAM of the node. Contents of the volume are lost when the node reboots, and any storage on the volume counts against the container's memory limit. Medium *string `pulumi:"medium"` // The maximum size of the volume. By default, there's no maximum size defined. SizeLimit *string `pulumi:"sizeLimit"` }
type JobDefinitionEksEmptyDirArgs ¶ added in v0.56.0
type JobDefinitionEksEmptyDirArgs struct { // The medium to store the volume. The default value is an empty string, which uses the storage of the node. // // - **""** - *(Default)* Use the disk storage of the node. // - **"Memory"** - Use the `tmpfs` volume that's backed by the RAM of the node. Contents of the volume are lost when the node reboots, and any storage on the volume counts against the container's memory limit. Medium pulumi.StringPtrInput `pulumi:"medium"` // The maximum size of the volume. By default, there's no maximum size defined. SizeLimit pulumi.StringPtrInput `pulumi:"sizeLimit"` }
func (JobDefinitionEksEmptyDirArgs) ElementType ¶ added in v0.56.0
func (JobDefinitionEksEmptyDirArgs) ElementType() reflect.Type
func (JobDefinitionEksEmptyDirArgs) ToJobDefinitionEksEmptyDirOutput ¶ added in v0.56.0
func (i JobDefinitionEksEmptyDirArgs) ToJobDefinitionEksEmptyDirOutput() JobDefinitionEksEmptyDirOutput
func (JobDefinitionEksEmptyDirArgs) ToJobDefinitionEksEmptyDirOutputWithContext ¶ added in v0.56.0
func (i JobDefinitionEksEmptyDirArgs) ToJobDefinitionEksEmptyDirOutputWithContext(ctx context.Context) JobDefinitionEksEmptyDirOutput
func (JobDefinitionEksEmptyDirArgs) ToJobDefinitionEksEmptyDirPtrOutput ¶ added in v0.56.0
func (i JobDefinitionEksEmptyDirArgs) ToJobDefinitionEksEmptyDirPtrOutput() JobDefinitionEksEmptyDirPtrOutput
func (JobDefinitionEksEmptyDirArgs) ToJobDefinitionEksEmptyDirPtrOutputWithContext ¶ added in v0.56.0
func (i JobDefinitionEksEmptyDirArgs) ToJobDefinitionEksEmptyDirPtrOutputWithContext(ctx context.Context) JobDefinitionEksEmptyDirPtrOutput
type JobDefinitionEksEmptyDirInput ¶ added in v0.56.0
type JobDefinitionEksEmptyDirInput interface { pulumi.Input ToJobDefinitionEksEmptyDirOutput() JobDefinitionEksEmptyDirOutput ToJobDefinitionEksEmptyDirOutputWithContext(context.Context) JobDefinitionEksEmptyDirOutput }
JobDefinitionEksEmptyDirInput is an input type that accepts JobDefinitionEksEmptyDirArgs and JobDefinitionEksEmptyDirOutput values. You can construct a concrete instance of `JobDefinitionEksEmptyDirInput` via:
JobDefinitionEksEmptyDirArgs{...}
type JobDefinitionEksEmptyDirOutput ¶ added in v0.56.0
type JobDefinitionEksEmptyDirOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksEmptyDirOutput) ElementType ¶ added in v0.56.0
func (JobDefinitionEksEmptyDirOutput) ElementType() reflect.Type
func (JobDefinitionEksEmptyDirOutput) Medium ¶ added in v0.56.0
func (o JobDefinitionEksEmptyDirOutput) Medium() pulumi.StringPtrOutput
The medium to store the volume. The default value is an empty string, which uses the storage of the node.
- **""** - *(Default)* Use the disk storage of the node. - **"Memory"** - Use the `tmpfs` volume that's backed by the RAM of the node. Contents of the volume are lost when the node reboots, and any storage on the volume counts against the container's memory limit.
func (JobDefinitionEksEmptyDirOutput) SizeLimit ¶ added in v0.56.0
func (o JobDefinitionEksEmptyDirOutput) SizeLimit() pulumi.StringPtrOutput
The maximum size of the volume. By default, there's no maximum size defined.
func (JobDefinitionEksEmptyDirOutput) ToJobDefinitionEksEmptyDirOutput ¶ added in v0.56.0
func (o JobDefinitionEksEmptyDirOutput) ToJobDefinitionEksEmptyDirOutput() JobDefinitionEksEmptyDirOutput
func (JobDefinitionEksEmptyDirOutput) ToJobDefinitionEksEmptyDirOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEksEmptyDirOutput) ToJobDefinitionEksEmptyDirOutputWithContext(ctx context.Context) JobDefinitionEksEmptyDirOutput
func (JobDefinitionEksEmptyDirOutput) ToJobDefinitionEksEmptyDirPtrOutput ¶ added in v0.56.0
func (o JobDefinitionEksEmptyDirOutput) ToJobDefinitionEksEmptyDirPtrOutput() JobDefinitionEksEmptyDirPtrOutput
func (JobDefinitionEksEmptyDirOutput) ToJobDefinitionEksEmptyDirPtrOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEksEmptyDirOutput) ToJobDefinitionEksEmptyDirPtrOutputWithContext(ctx context.Context) JobDefinitionEksEmptyDirPtrOutput
type JobDefinitionEksEmptyDirPtrInput ¶ added in v0.56.0
type JobDefinitionEksEmptyDirPtrInput interface { pulumi.Input ToJobDefinitionEksEmptyDirPtrOutput() JobDefinitionEksEmptyDirPtrOutput ToJobDefinitionEksEmptyDirPtrOutputWithContext(context.Context) JobDefinitionEksEmptyDirPtrOutput }
JobDefinitionEksEmptyDirPtrInput is an input type that accepts JobDefinitionEksEmptyDirArgs, JobDefinitionEksEmptyDirPtr and JobDefinitionEksEmptyDirPtrOutput values. You can construct a concrete instance of `JobDefinitionEksEmptyDirPtrInput` via:
JobDefinitionEksEmptyDirArgs{...} or: nil
func JobDefinitionEksEmptyDirPtr ¶ added in v0.56.0
func JobDefinitionEksEmptyDirPtr(v *JobDefinitionEksEmptyDirArgs) JobDefinitionEksEmptyDirPtrInput
type JobDefinitionEksEmptyDirPtrOutput ¶ added in v0.56.0
type JobDefinitionEksEmptyDirPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksEmptyDirPtrOutput) Elem ¶ added in v0.56.0
func (o JobDefinitionEksEmptyDirPtrOutput) Elem() JobDefinitionEksEmptyDirOutput
func (JobDefinitionEksEmptyDirPtrOutput) ElementType ¶ added in v0.56.0
func (JobDefinitionEksEmptyDirPtrOutput) ElementType() reflect.Type
func (JobDefinitionEksEmptyDirPtrOutput) Medium ¶ added in v0.56.0
func (o JobDefinitionEksEmptyDirPtrOutput) Medium() pulumi.StringPtrOutput
The medium to store the volume. The default value is an empty string, which uses the storage of the node.
- **""** - *(Default)* Use the disk storage of the node. - **"Memory"** - Use the `tmpfs` volume that's backed by the RAM of the node. Contents of the volume are lost when the node reboots, and any storage on the volume counts against the container's memory limit.
func (JobDefinitionEksEmptyDirPtrOutput) SizeLimit ¶ added in v0.56.0
func (o JobDefinitionEksEmptyDirPtrOutput) SizeLimit() pulumi.StringPtrOutput
The maximum size of the volume. By default, there's no maximum size defined.
func (JobDefinitionEksEmptyDirPtrOutput) ToJobDefinitionEksEmptyDirPtrOutput ¶ added in v0.56.0
func (o JobDefinitionEksEmptyDirPtrOutput) ToJobDefinitionEksEmptyDirPtrOutput() JobDefinitionEksEmptyDirPtrOutput
func (JobDefinitionEksEmptyDirPtrOutput) ToJobDefinitionEksEmptyDirPtrOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEksEmptyDirPtrOutput) ToJobDefinitionEksEmptyDirPtrOutputWithContext(ctx context.Context) JobDefinitionEksEmptyDirPtrOutput
type JobDefinitionEksHostPath ¶ added in v0.56.0
type JobDefinitionEksHostPath struct { // The path of the file or directory on the host to mount into containers on the pod. Path *string `pulumi:"path"` }
type JobDefinitionEksHostPathArgs ¶ added in v0.56.0
type JobDefinitionEksHostPathArgs struct { // The path of the file or directory on the host to mount into containers on the pod. Path pulumi.StringPtrInput `pulumi:"path"` }
func (JobDefinitionEksHostPathArgs) ElementType ¶ added in v0.56.0
func (JobDefinitionEksHostPathArgs) ElementType() reflect.Type
func (JobDefinitionEksHostPathArgs) ToJobDefinitionEksHostPathOutput ¶ added in v0.56.0
func (i JobDefinitionEksHostPathArgs) ToJobDefinitionEksHostPathOutput() JobDefinitionEksHostPathOutput
func (JobDefinitionEksHostPathArgs) ToJobDefinitionEksHostPathOutputWithContext ¶ added in v0.56.0
func (i JobDefinitionEksHostPathArgs) ToJobDefinitionEksHostPathOutputWithContext(ctx context.Context) JobDefinitionEksHostPathOutput
func (JobDefinitionEksHostPathArgs) ToJobDefinitionEksHostPathPtrOutput ¶ added in v0.56.0
func (i JobDefinitionEksHostPathArgs) ToJobDefinitionEksHostPathPtrOutput() JobDefinitionEksHostPathPtrOutput
func (JobDefinitionEksHostPathArgs) ToJobDefinitionEksHostPathPtrOutputWithContext ¶ added in v0.56.0
func (i JobDefinitionEksHostPathArgs) ToJobDefinitionEksHostPathPtrOutputWithContext(ctx context.Context) JobDefinitionEksHostPathPtrOutput
type JobDefinitionEksHostPathInput ¶ added in v0.56.0
type JobDefinitionEksHostPathInput interface { pulumi.Input ToJobDefinitionEksHostPathOutput() JobDefinitionEksHostPathOutput ToJobDefinitionEksHostPathOutputWithContext(context.Context) JobDefinitionEksHostPathOutput }
JobDefinitionEksHostPathInput is an input type that accepts JobDefinitionEksHostPathArgs and JobDefinitionEksHostPathOutput values. You can construct a concrete instance of `JobDefinitionEksHostPathInput` via:
JobDefinitionEksHostPathArgs{...}
type JobDefinitionEksHostPathOutput ¶ added in v0.56.0
type JobDefinitionEksHostPathOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksHostPathOutput) ElementType ¶ added in v0.56.0
func (JobDefinitionEksHostPathOutput) ElementType() reflect.Type
func (JobDefinitionEksHostPathOutput) Path ¶ added in v0.56.0
func (o JobDefinitionEksHostPathOutput) Path() pulumi.StringPtrOutput
The path of the file or directory on the host to mount into containers on the pod.
func (JobDefinitionEksHostPathOutput) ToJobDefinitionEksHostPathOutput ¶ added in v0.56.0
func (o JobDefinitionEksHostPathOutput) ToJobDefinitionEksHostPathOutput() JobDefinitionEksHostPathOutput
func (JobDefinitionEksHostPathOutput) ToJobDefinitionEksHostPathOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEksHostPathOutput) ToJobDefinitionEksHostPathOutputWithContext(ctx context.Context) JobDefinitionEksHostPathOutput
func (JobDefinitionEksHostPathOutput) ToJobDefinitionEksHostPathPtrOutput ¶ added in v0.56.0
func (o JobDefinitionEksHostPathOutput) ToJobDefinitionEksHostPathPtrOutput() JobDefinitionEksHostPathPtrOutput
func (JobDefinitionEksHostPathOutput) ToJobDefinitionEksHostPathPtrOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEksHostPathOutput) ToJobDefinitionEksHostPathPtrOutputWithContext(ctx context.Context) JobDefinitionEksHostPathPtrOutput
type JobDefinitionEksHostPathPtrInput ¶ added in v0.56.0
type JobDefinitionEksHostPathPtrInput interface { pulumi.Input ToJobDefinitionEksHostPathPtrOutput() JobDefinitionEksHostPathPtrOutput ToJobDefinitionEksHostPathPtrOutputWithContext(context.Context) JobDefinitionEksHostPathPtrOutput }
JobDefinitionEksHostPathPtrInput is an input type that accepts JobDefinitionEksHostPathArgs, JobDefinitionEksHostPathPtr and JobDefinitionEksHostPathPtrOutput values. You can construct a concrete instance of `JobDefinitionEksHostPathPtrInput` via:
JobDefinitionEksHostPathArgs{...} or: nil
func JobDefinitionEksHostPathPtr ¶ added in v0.56.0
func JobDefinitionEksHostPathPtr(v *JobDefinitionEksHostPathArgs) JobDefinitionEksHostPathPtrInput
type JobDefinitionEksHostPathPtrOutput ¶ added in v0.56.0
type JobDefinitionEksHostPathPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksHostPathPtrOutput) Elem ¶ added in v0.56.0
func (o JobDefinitionEksHostPathPtrOutput) Elem() JobDefinitionEksHostPathOutput
func (JobDefinitionEksHostPathPtrOutput) ElementType ¶ added in v0.56.0
func (JobDefinitionEksHostPathPtrOutput) ElementType() reflect.Type
func (JobDefinitionEksHostPathPtrOutput) Path ¶ added in v0.56.0
func (o JobDefinitionEksHostPathPtrOutput) Path() pulumi.StringPtrOutput
The path of the file or directory on the host to mount into containers on the pod.
func (JobDefinitionEksHostPathPtrOutput) ToJobDefinitionEksHostPathPtrOutput ¶ added in v0.56.0
func (o JobDefinitionEksHostPathPtrOutput) ToJobDefinitionEksHostPathPtrOutput() JobDefinitionEksHostPathPtrOutput
func (JobDefinitionEksHostPathPtrOutput) ToJobDefinitionEksHostPathPtrOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEksHostPathPtrOutput) ToJobDefinitionEksHostPathPtrOutputWithContext(ctx context.Context) JobDefinitionEksHostPathPtrOutput
type JobDefinitionEksProperties ¶ added in v0.41.0
type JobDefinitionEksProperties struct { // The properties for the Kubernetes pod resources of a job. PodProperties *JobDefinitionPodProperties `pulumi:"podProperties"` }
type JobDefinitionEksPropertiesArgs ¶ added in v0.41.0
type JobDefinitionEksPropertiesArgs struct { // The properties for the Kubernetes pod resources of a job. PodProperties JobDefinitionPodPropertiesPtrInput `pulumi:"podProperties"` }
func (JobDefinitionEksPropertiesArgs) ElementType ¶ added in v0.41.0
func (JobDefinitionEksPropertiesArgs) ElementType() reflect.Type
func (JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesOutput ¶ added in v0.41.0
func (i JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesOutput() JobDefinitionEksPropertiesOutput
func (JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesOutputWithContext ¶ added in v0.41.0
func (i JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesOutput
func (JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesPtrOutput ¶ added in v0.41.0
func (i JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesPtrOutput() JobDefinitionEksPropertiesPtrOutput
func (JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesPtrOutputWithContext ¶ added in v0.41.0
func (i JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPtrOutput
type JobDefinitionEksPropertiesInput ¶ added in v0.41.0
type JobDefinitionEksPropertiesInput interface { pulumi.Input ToJobDefinitionEksPropertiesOutput() JobDefinitionEksPropertiesOutput ToJobDefinitionEksPropertiesOutputWithContext(context.Context) JobDefinitionEksPropertiesOutput }
JobDefinitionEksPropertiesInput is an input type that accepts JobDefinitionEksPropertiesArgs and JobDefinitionEksPropertiesOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesInput` via:
JobDefinitionEksPropertiesArgs{...}
type JobDefinitionEksPropertiesOutput ¶ added in v0.41.0
type JobDefinitionEksPropertiesOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksPropertiesOutput) ElementType ¶ added in v0.41.0
func (JobDefinitionEksPropertiesOutput) ElementType() reflect.Type
func (JobDefinitionEksPropertiesOutput) PodProperties ¶ added in v0.41.0
func (o JobDefinitionEksPropertiesOutput) PodProperties() JobDefinitionPodPropertiesPtrOutput
The properties for the Kubernetes pod resources of a job.
func (JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesOutput ¶ added in v0.41.0
func (o JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesOutput() JobDefinitionEksPropertiesOutput
func (JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesOutputWithContext ¶ added in v0.41.0
func (o JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesOutput
func (JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesPtrOutput ¶ added in v0.41.0
func (o JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesPtrOutput() JobDefinitionEksPropertiesPtrOutput
func (JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesPtrOutputWithContext ¶ added in v0.41.0
func (o JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPtrOutput
type JobDefinitionEksPropertiesPtrInput ¶ added in v0.41.0
type JobDefinitionEksPropertiesPtrInput interface { pulumi.Input ToJobDefinitionEksPropertiesPtrOutput() JobDefinitionEksPropertiesPtrOutput ToJobDefinitionEksPropertiesPtrOutputWithContext(context.Context) JobDefinitionEksPropertiesPtrOutput }
JobDefinitionEksPropertiesPtrInput is an input type that accepts JobDefinitionEksPropertiesArgs, JobDefinitionEksPropertiesPtr and JobDefinitionEksPropertiesPtrOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPtrInput` via:
JobDefinitionEksPropertiesArgs{...} or: nil
func JobDefinitionEksPropertiesPtr ¶ added in v0.41.0
func JobDefinitionEksPropertiesPtr(v *JobDefinitionEksPropertiesArgs) JobDefinitionEksPropertiesPtrInput
type JobDefinitionEksPropertiesPtrOutput ¶ added in v0.41.0
type JobDefinitionEksPropertiesPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksPropertiesPtrOutput) Elem ¶ added in v0.41.0
func (o JobDefinitionEksPropertiesPtrOutput) Elem() JobDefinitionEksPropertiesOutput
func (JobDefinitionEksPropertiesPtrOutput) ElementType ¶ added in v0.41.0
func (JobDefinitionEksPropertiesPtrOutput) ElementType() reflect.Type
func (JobDefinitionEksPropertiesPtrOutput) PodProperties ¶ added in v0.41.0
func (o JobDefinitionEksPropertiesPtrOutput) PodProperties() JobDefinitionPodPropertiesPtrOutput
The properties for the Kubernetes pod resources of a job.
func (JobDefinitionEksPropertiesPtrOutput) ToJobDefinitionEksPropertiesPtrOutput ¶ added in v0.41.0
func (o JobDefinitionEksPropertiesPtrOutput) ToJobDefinitionEksPropertiesPtrOutput() JobDefinitionEksPropertiesPtrOutput
func (JobDefinitionEksPropertiesPtrOutput) ToJobDefinitionEksPropertiesPtrOutputWithContext ¶ added in v0.41.0
func (o JobDefinitionEksPropertiesPtrOutput) ToJobDefinitionEksPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPtrOutput
type JobDefinitionEksSecret ¶ added in v0.56.0
type JobDefinitionEksSecret struct { // Specifies whether the secret or the secret's keys must be defined. Optional *bool `pulumi:"optional"` // The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* . SecretName string `pulumi:"secretName"` }
type JobDefinitionEksSecretArgs ¶ added in v0.56.0
type JobDefinitionEksSecretArgs struct { // Specifies whether the secret or the secret's keys must be defined. Optional pulumi.BoolPtrInput `pulumi:"optional"` // The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* . SecretName pulumi.StringInput `pulumi:"secretName"` }
func (JobDefinitionEksSecretArgs) ElementType ¶ added in v0.56.0
func (JobDefinitionEksSecretArgs) ElementType() reflect.Type
func (JobDefinitionEksSecretArgs) ToJobDefinitionEksSecretOutput ¶ added in v0.56.0
func (i JobDefinitionEksSecretArgs) ToJobDefinitionEksSecretOutput() JobDefinitionEksSecretOutput
func (JobDefinitionEksSecretArgs) ToJobDefinitionEksSecretOutputWithContext ¶ added in v0.56.0
func (i JobDefinitionEksSecretArgs) ToJobDefinitionEksSecretOutputWithContext(ctx context.Context) JobDefinitionEksSecretOutput
func (JobDefinitionEksSecretArgs) ToJobDefinitionEksSecretPtrOutput ¶ added in v0.56.0
func (i JobDefinitionEksSecretArgs) ToJobDefinitionEksSecretPtrOutput() JobDefinitionEksSecretPtrOutput
func (JobDefinitionEksSecretArgs) ToJobDefinitionEksSecretPtrOutputWithContext ¶ added in v0.56.0
func (i JobDefinitionEksSecretArgs) ToJobDefinitionEksSecretPtrOutputWithContext(ctx context.Context) JobDefinitionEksSecretPtrOutput
type JobDefinitionEksSecretInput ¶ added in v0.56.0
type JobDefinitionEksSecretInput interface { pulumi.Input ToJobDefinitionEksSecretOutput() JobDefinitionEksSecretOutput ToJobDefinitionEksSecretOutputWithContext(context.Context) JobDefinitionEksSecretOutput }
JobDefinitionEksSecretInput is an input type that accepts JobDefinitionEksSecretArgs and JobDefinitionEksSecretOutput values. You can construct a concrete instance of `JobDefinitionEksSecretInput` via:
JobDefinitionEksSecretArgs{...}
type JobDefinitionEksSecretOutput ¶ added in v0.56.0
type JobDefinitionEksSecretOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksSecretOutput) ElementType ¶ added in v0.56.0
func (JobDefinitionEksSecretOutput) ElementType() reflect.Type
func (JobDefinitionEksSecretOutput) Optional ¶ added in v0.56.0
func (o JobDefinitionEksSecretOutput) Optional() pulumi.BoolPtrOutput
Specifies whether the secret or the secret's keys must be defined.
func (JobDefinitionEksSecretOutput) SecretName ¶ added in v0.56.0
func (o JobDefinitionEksSecretOutput) SecretName() pulumi.StringOutput
The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* .
func (JobDefinitionEksSecretOutput) ToJobDefinitionEksSecretOutput ¶ added in v0.56.0
func (o JobDefinitionEksSecretOutput) ToJobDefinitionEksSecretOutput() JobDefinitionEksSecretOutput
func (JobDefinitionEksSecretOutput) ToJobDefinitionEksSecretOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEksSecretOutput) ToJobDefinitionEksSecretOutputWithContext(ctx context.Context) JobDefinitionEksSecretOutput
func (JobDefinitionEksSecretOutput) ToJobDefinitionEksSecretPtrOutput ¶ added in v0.56.0
func (o JobDefinitionEksSecretOutput) ToJobDefinitionEksSecretPtrOutput() JobDefinitionEksSecretPtrOutput
func (JobDefinitionEksSecretOutput) ToJobDefinitionEksSecretPtrOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEksSecretOutput) ToJobDefinitionEksSecretPtrOutputWithContext(ctx context.Context) JobDefinitionEksSecretPtrOutput
type JobDefinitionEksSecretPtrInput ¶ added in v0.56.0
type JobDefinitionEksSecretPtrInput interface { pulumi.Input ToJobDefinitionEksSecretPtrOutput() JobDefinitionEksSecretPtrOutput ToJobDefinitionEksSecretPtrOutputWithContext(context.Context) JobDefinitionEksSecretPtrOutput }
JobDefinitionEksSecretPtrInput is an input type that accepts JobDefinitionEksSecretArgs, JobDefinitionEksSecretPtr and JobDefinitionEksSecretPtrOutput values. You can construct a concrete instance of `JobDefinitionEksSecretPtrInput` via:
JobDefinitionEksSecretArgs{...} or: nil
func JobDefinitionEksSecretPtr ¶ added in v0.56.0
func JobDefinitionEksSecretPtr(v *JobDefinitionEksSecretArgs) JobDefinitionEksSecretPtrInput
type JobDefinitionEksSecretPtrOutput ¶ added in v0.56.0
type JobDefinitionEksSecretPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksSecretPtrOutput) Elem ¶ added in v0.56.0
func (o JobDefinitionEksSecretPtrOutput) Elem() JobDefinitionEksSecretOutput
func (JobDefinitionEksSecretPtrOutput) ElementType ¶ added in v0.56.0
func (JobDefinitionEksSecretPtrOutput) ElementType() reflect.Type
func (JobDefinitionEksSecretPtrOutput) Optional ¶ added in v0.56.0
func (o JobDefinitionEksSecretPtrOutput) Optional() pulumi.BoolPtrOutput
Specifies whether the secret or the secret's keys must be defined.
func (JobDefinitionEksSecretPtrOutput) SecretName ¶ added in v0.56.0
func (o JobDefinitionEksSecretPtrOutput) SecretName() pulumi.StringPtrOutput
The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* .
func (JobDefinitionEksSecretPtrOutput) ToJobDefinitionEksSecretPtrOutput ¶ added in v0.56.0
func (o JobDefinitionEksSecretPtrOutput) ToJobDefinitionEksSecretPtrOutput() JobDefinitionEksSecretPtrOutput
func (JobDefinitionEksSecretPtrOutput) ToJobDefinitionEksSecretPtrOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEksSecretPtrOutput) ToJobDefinitionEksSecretPtrOutputWithContext(ctx context.Context) JobDefinitionEksSecretPtrOutput
type JobDefinitionEksVolume ¶ added in v0.41.0
type JobDefinitionEksVolume struct { // Specifies the configuration of a Kubernetes `emptyDir` volume. For more information, see [emptyDir](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) in the *Kubernetes documentation* . EmptyDir *JobDefinitionEksEmptyDir `pulumi:"emptyDir"` // Specifies the configuration of a Kubernetes `hostPath` volume. For more information, see [hostPath](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) in the *Kubernetes documentation* . HostPath *JobDefinitionEksHostPath `pulumi:"hostPath"` // The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* . Name string `pulumi:"name"` // Specifies the configuration of a Kubernetes `secret` volume. For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* . Secret *JobDefinitionEksSecret `pulumi:"secret"` }
type JobDefinitionEksVolumeArgs ¶ added in v0.41.0
type JobDefinitionEksVolumeArgs struct { // Specifies the configuration of a Kubernetes `emptyDir` volume. For more information, see [emptyDir](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) in the *Kubernetes documentation* . EmptyDir JobDefinitionEksEmptyDirPtrInput `pulumi:"emptyDir"` // Specifies the configuration of a Kubernetes `hostPath` volume. For more information, see [hostPath](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) in the *Kubernetes documentation* . HostPath JobDefinitionEksHostPathPtrInput `pulumi:"hostPath"` // The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* . Name pulumi.StringInput `pulumi:"name"` // Specifies the configuration of a Kubernetes `secret` volume. For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* . Secret JobDefinitionEksSecretPtrInput `pulumi:"secret"` }
func (JobDefinitionEksVolumeArgs) ElementType ¶ added in v0.41.0
func (JobDefinitionEksVolumeArgs) ElementType() reflect.Type
func (JobDefinitionEksVolumeArgs) ToJobDefinitionEksVolumeOutput ¶ added in v0.41.0
func (i JobDefinitionEksVolumeArgs) ToJobDefinitionEksVolumeOutput() JobDefinitionEksVolumeOutput
func (JobDefinitionEksVolumeArgs) ToJobDefinitionEksVolumeOutputWithContext ¶ added in v0.41.0
func (i JobDefinitionEksVolumeArgs) ToJobDefinitionEksVolumeOutputWithContext(ctx context.Context) JobDefinitionEksVolumeOutput
type JobDefinitionEksVolumeArray ¶ added in v0.41.0
type JobDefinitionEksVolumeArray []JobDefinitionEksVolumeInput
func (JobDefinitionEksVolumeArray) ElementType ¶ added in v0.41.0
func (JobDefinitionEksVolumeArray) ElementType() reflect.Type
func (JobDefinitionEksVolumeArray) ToJobDefinitionEksVolumeArrayOutput ¶ added in v0.41.0
func (i JobDefinitionEksVolumeArray) ToJobDefinitionEksVolumeArrayOutput() JobDefinitionEksVolumeArrayOutput
func (JobDefinitionEksVolumeArray) ToJobDefinitionEksVolumeArrayOutputWithContext ¶ added in v0.41.0
func (i JobDefinitionEksVolumeArray) ToJobDefinitionEksVolumeArrayOutputWithContext(ctx context.Context) JobDefinitionEksVolumeArrayOutput
type JobDefinitionEksVolumeArrayInput ¶ added in v0.41.0
type JobDefinitionEksVolumeArrayInput interface { pulumi.Input ToJobDefinitionEksVolumeArrayOutput() JobDefinitionEksVolumeArrayOutput ToJobDefinitionEksVolumeArrayOutputWithContext(context.Context) JobDefinitionEksVolumeArrayOutput }
JobDefinitionEksVolumeArrayInput is an input type that accepts JobDefinitionEksVolumeArray and JobDefinitionEksVolumeArrayOutput values. You can construct a concrete instance of `JobDefinitionEksVolumeArrayInput` via:
JobDefinitionEksVolumeArray{ JobDefinitionEksVolumeArgs{...} }
type JobDefinitionEksVolumeArrayOutput ¶ added in v0.41.0
type JobDefinitionEksVolumeArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksVolumeArrayOutput) ElementType ¶ added in v0.41.0
func (JobDefinitionEksVolumeArrayOutput) ElementType() reflect.Type
func (JobDefinitionEksVolumeArrayOutput) Index ¶ added in v0.41.0
func (o JobDefinitionEksVolumeArrayOutput) Index(i pulumi.IntInput) JobDefinitionEksVolumeOutput
func (JobDefinitionEksVolumeArrayOutput) ToJobDefinitionEksVolumeArrayOutput ¶ added in v0.41.0
func (o JobDefinitionEksVolumeArrayOutput) ToJobDefinitionEksVolumeArrayOutput() JobDefinitionEksVolumeArrayOutput
func (JobDefinitionEksVolumeArrayOutput) ToJobDefinitionEksVolumeArrayOutputWithContext ¶ added in v0.41.0
func (o JobDefinitionEksVolumeArrayOutput) ToJobDefinitionEksVolumeArrayOutputWithContext(ctx context.Context) JobDefinitionEksVolumeArrayOutput
type JobDefinitionEksVolumeInput ¶ added in v0.41.0
type JobDefinitionEksVolumeInput interface { pulumi.Input ToJobDefinitionEksVolumeOutput() JobDefinitionEksVolumeOutput ToJobDefinitionEksVolumeOutputWithContext(context.Context) JobDefinitionEksVolumeOutput }
JobDefinitionEksVolumeInput is an input type that accepts JobDefinitionEksVolumeArgs and JobDefinitionEksVolumeOutput values. You can construct a concrete instance of `JobDefinitionEksVolumeInput` via:
JobDefinitionEksVolumeArgs{...}
type JobDefinitionEksVolumeOutput ¶ added in v0.41.0
type JobDefinitionEksVolumeOutput struct{ *pulumi.OutputState }
func (JobDefinitionEksVolumeOutput) ElementType ¶ added in v0.41.0
func (JobDefinitionEksVolumeOutput) ElementType() reflect.Type
func (JobDefinitionEksVolumeOutput) EmptyDir ¶ added in v0.41.0
func (o JobDefinitionEksVolumeOutput) EmptyDir() JobDefinitionEksEmptyDirPtrOutput
Specifies the configuration of a Kubernetes `emptyDir` volume. For more information, see [emptyDir](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) in the *Kubernetes documentation* .
func (JobDefinitionEksVolumeOutput) HostPath ¶ added in v0.41.0
func (o JobDefinitionEksVolumeOutput) HostPath() JobDefinitionEksHostPathPtrOutput
Specifies the configuration of a Kubernetes `hostPath` volume. For more information, see [hostPath](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) in the *Kubernetes documentation* .
func (JobDefinitionEksVolumeOutput) Name ¶ added in v0.41.0
func (o JobDefinitionEksVolumeOutput) Name() pulumi.StringOutput
The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* .
func (JobDefinitionEksVolumeOutput) Secret ¶ added in v0.41.0
func (o JobDefinitionEksVolumeOutput) Secret() JobDefinitionEksSecretPtrOutput
Specifies the configuration of a Kubernetes `secret` volume. For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* .
func (JobDefinitionEksVolumeOutput) ToJobDefinitionEksVolumeOutput ¶ added in v0.41.0
func (o JobDefinitionEksVolumeOutput) ToJobDefinitionEksVolumeOutput() JobDefinitionEksVolumeOutput
func (JobDefinitionEksVolumeOutput) ToJobDefinitionEksVolumeOutputWithContext ¶ added in v0.41.0
func (o JobDefinitionEksVolumeOutput) ToJobDefinitionEksVolumeOutputWithContext(ctx context.Context) JobDefinitionEksVolumeOutput
type JobDefinitionEnvironmentArgs ¶
type JobDefinitionEnvironmentArgs struct { // The name of the environment variable. Name pulumi.StringPtrInput `pulumi:"name"` // The value of the environment variable. Value pulumi.StringPtrInput `pulumi:"value"` }
func (JobDefinitionEnvironmentArgs) ElementType ¶
func (JobDefinitionEnvironmentArgs) ElementType() reflect.Type
func (JobDefinitionEnvironmentArgs) ToJobDefinitionEnvironmentOutput ¶
func (i JobDefinitionEnvironmentArgs) ToJobDefinitionEnvironmentOutput() JobDefinitionEnvironmentOutput
func (JobDefinitionEnvironmentArgs) ToJobDefinitionEnvironmentOutputWithContext ¶
func (i JobDefinitionEnvironmentArgs) ToJobDefinitionEnvironmentOutputWithContext(ctx context.Context) JobDefinitionEnvironmentOutput
type JobDefinitionEnvironmentArray ¶
type JobDefinitionEnvironmentArray []JobDefinitionEnvironmentInput
func (JobDefinitionEnvironmentArray) ElementType ¶
func (JobDefinitionEnvironmentArray) ElementType() reflect.Type
func (JobDefinitionEnvironmentArray) ToJobDefinitionEnvironmentArrayOutput ¶
func (i JobDefinitionEnvironmentArray) ToJobDefinitionEnvironmentArrayOutput() JobDefinitionEnvironmentArrayOutput
func (JobDefinitionEnvironmentArray) ToJobDefinitionEnvironmentArrayOutputWithContext ¶
func (i JobDefinitionEnvironmentArray) ToJobDefinitionEnvironmentArrayOutputWithContext(ctx context.Context) JobDefinitionEnvironmentArrayOutput
type JobDefinitionEnvironmentArrayInput ¶
type JobDefinitionEnvironmentArrayInput interface { pulumi.Input ToJobDefinitionEnvironmentArrayOutput() JobDefinitionEnvironmentArrayOutput ToJobDefinitionEnvironmentArrayOutputWithContext(context.Context) JobDefinitionEnvironmentArrayOutput }
JobDefinitionEnvironmentArrayInput is an input type that accepts JobDefinitionEnvironmentArray and JobDefinitionEnvironmentArrayOutput values. You can construct a concrete instance of `JobDefinitionEnvironmentArrayInput` via:
JobDefinitionEnvironmentArray{ JobDefinitionEnvironmentArgs{...} }
type JobDefinitionEnvironmentArrayOutput ¶
type JobDefinitionEnvironmentArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionEnvironmentArrayOutput) ElementType ¶
func (JobDefinitionEnvironmentArrayOutput) ElementType() reflect.Type
func (JobDefinitionEnvironmentArrayOutput) Index ¶
func (o JobDefinitionEnvironmentArrayOutput) Index(i pulumi.IntInput) JobDefinitionEnvironmentOutput
func (JobDefinitionEnvironmentArrayOutput) ToJobDefinitionEnvironmentArrayOutput ¶
func (o JobDefinitionEnvironmentArrayOutput) ToJobDefinitionEnvironmentArrayOutput() JobDefinitionEnvironmentArrayOutput
func (JobDefinitionEnvironmentArrayOutput) ToJobDefinitionEnvironmentArrayOutputWithContext ¶
func (o JobDefinitionEnvironmentArrayOutput) ToJobDefinitionEnvironmentArrayOutputWithContext(ctx context.Context) JobDefinitionEnvironmentArrayOutput
type JobDefinitionEnvironmentInput ¶
type JobDefinitionEnvironmentInput interface { pulumi.Input ToJobDefinitionEnvironmentOutput() JobDefinitionEnvironmentOutput ToJobDefinitionEnvironmentOutputWithContext(context.Context) JobDefinitionEnvironmentOutput }
JobDefinitionEnvironmentInput is an input type that accepts JobDefinitionEnvironmentArgs and JobDefinitionEnvironmentOutput values. You can construct a concrete instance of `JobDefinitionEnvironmentInput` via:
JobDefinitionEnvironmentArgs{...}
type JobDefinitionEnvironmentOutput ¶
type JobDefinitionEnvironmentOutput struct{ *pulumi.OutputState }
func (JobDefinitionEnvironmentOutput) ElementType ¶
func (JobDefinitionEnvironmentOutput) ElementType() reflect.Type
func (JobDefinitionEnvironmentOutput) Name ¶
func (o JobDefinitionEnvironmentOutput) Name() pulumi.StringPtrOutput
The name of the environment variable.
func (JobDefinitionEnvironmentOutput) ToJobDefinitionEnvironmentOutput ¶
func (o JobDefinitionEnvironmentOutput) ToJobDefinitionEnvironmentOutput() JobDefinitionEnvironmentOutput
func (JobDefinitionEnvironmentOutput) ToJobDefinitionEnvironmentOutputWithContext ¶
func (o JobDefinitionEnvironmentOutput) ToJobDefinitionEnvironmentOutputWithContext(ctx context.Context) JobDefinitionEnvironmentOutput
func (JobDefinitionEnvironmentOutput) Value ¶
func (o JobDefinitionEnvironmentOutput) Value() pulumi.StringPtrOutput
The value of the environment variable.
type JobDefinitionEphemeralStorage ¶ added in v0.56.0
type JobDefinitionEphemeralStorage struct { // The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is `21` GiB and the maximum supported value is `200` GiB. SizeInGiB int `pulumi:"sizeInGiB"` }
type JobDefinitionEphemeralStorageArgs ¶ added in v0.56.0
type JobDefinitionEphemeralStorageArgs struct { // The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is `21` GiB and the maximum supported value is `200` GiB. SizeInGiB pulumi.IntInput `pulumi:"sizeInGiB"` }
func (JobDefinitionEphemeralStorageArgs) ElementType ¶ added in v0.56.0
func (JobDefinitionEphemeralStorageArgs) ElementType() reflect.Type
func (JobDefinitionEphemeralStorageArgs) ToJobDefinitionEphemeralStorageOutput ¶ added in v0.56.0
func (i JobDefinitionEphemeralStorageArgs) ToJobDefinitionEphemeralStorageOutput() JobDefinitionEphemeralStorageOutput
func (JobDefinitionEphemeralStorageArgs) ToJobDefinitionEphemeralStorageOutputWithContext ¶ added in v0.56.0
func (i JobDefinitionEphemeralStorageArgs) ToJobDefinitionEphemeralStorageOutputWithContext(ctx context.Context) JobDefinitionEphemeralStorageOutput
func (JobDefinitionEphemeralStorageArgs) ToJobDefinitionEphemeralStoragePtrOutput ¶ added in v0.56.0
func (i JobDefinitionEphemeralStorageArgs) ToJobDefinitionEphemeralStoragePtrOutput() JobDefinitionEphemeralStoragePtrOutput
func (JobDefinitionEphemeralStorageArgs) ToJobDefinitionEphemeralStoragePtrOutputWithContext ¶ added in v0.56.0
func (i JobDefinitionEphemeralStorageArgs) ToJobDefinitionEphemeralStoragePtrOutputWithContext(ctx context.Context) JobDefinitionEphemeralStoragePtrOutput
type JobDefinitionEphemeralStorageInput ¶ added in v0.56.0
type JobDefinitionEphemeralStorageInput interface { pulumi.Input ToJobDefinitionEphemeralStorageOutput() JobDefinitionEphemeralStorageOutput ToJobDefinitionEphemeralStorageOutputWithContext(context.Context) JobDefinitionEphemeralStorageOutput }
JobDefinitionEphemeralStorageInput is an input type that accepts JobDefinitionEphemeralStorageArgs and JobDefinitionEphemeralStorageOutput values. You can construct a concrete instance of `JobDefinitionEphemeralStorageInput` via:
JobDefinitionEphemeralStorageArgs{...}
type JobDefinitionEphemeralStorageOutput ¶ added in v0.56.0
type JobDefinitionEphemeralStorageOutput struct{ *pulumi.OutputState }
func (JobDefinitionEphemeralStorageOutput) ElementType ¶ added in v0.56.0
func (JobDefinitionEphemeralStorageOutput) ElementType() reflect.Type
func (JobDefinitionEphemeralStorageOutput) SizeInGiB ¶ added in v0.56.0
func (o JobDefinitionEphemeralStorageOutput) SizeInGiB() pulumi.IntOutput
The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is `21` GiB and the maximum supported value is `200` GiB.
func (JobDefinitionEphemeralStorageOutput) ToJobDefinitionEphemeralStorageOutput ¶ added in v0.56.0
func (o JobDefinitionEphemeralStorageOutput) ToJobDefinitionEphemeralStorageOutput() JobDefinitionEphemeralStorageOutput
func (JobDefinitionEphemeralStorageOutput) ToJobDefinitionEphemeralStorageOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEphemeralStorageOutput) ToJobDefinitionEphemeralStorageOutputWithContext(ctx context.Context) JobDefinitionEphemeralStorageOutput
func (JobDefinitionEphemeralStorageOutput) ToJobDefinitionEphemeralStoragePtrOutput ¶ added in v0.56.0
func (o JobDefinitionEphemeralStorageOutput) ToJobDefinitionEphemeralStoragePtrOutput() JobDefinitionEphemeralStoragePtrOutput
func (JobDefinitionEphemeralStorageOutput) ToJobDefinitionEphemeralStoragePtrOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEphemeralStorageOutput) ToJobDefinitionEphemeralStoragePtrOutputWithContext(ctx context.Context) JobDefinitionEphemeralStoragePtrOutput
type JobDefinitionEphemeralStoragePtrInput ¶ added in v0.56.0
type JobDefinitionEphemeralStoragePtrInput interface { pulumi.Input ToJobDefinitionEphemeralStoragePtrOutput() JobDefinitionEphemeralStoragePtrOutput ToJobDefinitionEphemeralStoragePtrOutputWithContext(context.Context) JobDefinitionEphemeralStoragePtrOutput }
JobDefinitionEphemeralStoragePtrInput is an input type that accepts JobDefinitionEphemeralStorageArgs, JobDefinitionEphemeralStoragePtr and JobDefinitionEphemeralStoragePtrOutput values. You can construct a concrete instance of `JobDefinitionEphemeralStoragePtrInput` via:
JobDefinitionEphemeralStorageArgs{...} or: nil
func JobDefinitionEphemeralStoragePtr ¶ added in v0.56.0
func JobDefinitionEphemeralStoragePtr(v *JobDefinitionEphemeralStorageArgs) JobDefinitionEphemeralStoragePtrInput
type JobDefinitionEphemeralStoragePtrOutput ¶ added in v0.56.0
type JobDefinitionEphemeralStoragePtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionEphemeralStoragePtrOutput) ElementType ¶ added in v0.56.0
func (JobDefinitionEphemeralStoragePtrOutput) ElementType() reflect.Type
func (JobDefinitionEphemeralStoragePtrOutput) SizeInGiB ¶ added in v0.56.0
func (o JobDefinitionEphemeralStoragePtrOutput) SizeInGiB() pulumi.IntPtrOutput
The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is `21` GiB and the maximum supported value is `200` GiB.
func (JobDefinitionEphemeralStoragePtrOutput) ToJobDefinitionEphemeralStoragePtrOutput ¶ added in v0.56.0
func (o JobDefinitionEphemeralStoragePtrOutput) ToJobDefinitionEphemeralStoragePtrOutput() JobDefinitionEphemeralStoragePtrOutput
func (JobDefinitionEphemeralStoragePtrOutput) ToJobDefinitionEphemeralStoragePtrOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionEphemeralStoragePtrOutput) ToJobDefinitionEphemeralStoragePtrOutputWithContext(ctx context.Context) JobDefinitionEphemeralStoragePtrOutput
type JobDefinitionEvaluateOnExit ¶
type JobDefinitionEvaluateOnExit struct { // Specifies the action to take if all of the specified conditions ( `onStatusReason` , `onReason` , and `onExitCode` ) are met. The values aren't case sensitive. Action string `pulumi:"action"` // Contains a glob pattern to match against the decimal representation of the `ExitCode` returned for a job. The pattern can be up to 512 characters long. It can contain only numbers, and can end with an asterisk (*) so that only the start of the string needs to be an exact match. // // The string can contain up to 512 characters. OnExitCode *string `pulumi:"onExitCode"` // Contains a glob pattern to match against the `Reason` returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match. OnReason *string `pulumi:"onReason"` // Contains a glob pattern to match against the `StatusReason` returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white spaces (including spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match. OnStatusReason *string `pulumi:"onStatusReason"` }
type JobDefinitionEvaluateOnExitArgs ¶
type JobDefinitionEvaluateOnExitArgs struct { // Specifies the action to take if all of the specified conditions ( `onStatusReason` , `onReason` , and `onExitCode` ) are met. The values aren't case sensitive. Action pulumi.StringInput `pulumi:"action"` // Contains a glob pattern to match against the decimal representation of the `ExitCode` returned for a job. The pattern can be up to 512 characters long. It can contain only numbers, and can end with an asterisk (*) so that only the start of the string needs to be an exact match. // // The string can contain up to 512 characters. OnExitCode pulumi.StringPtrInput `pulumi:"onExitCode"` // Contains a glob pattern to match against the `Reason` returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match. OnReason pulumi.StringPtrInput `pulumi:"onReason"` // Contains a glob pattern to match against the `StatusReason` returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white spaces (including spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match. OnStatusReason pulumi.StringPtrInput `pulumi:"onStatusReason"` }
func (JobDefinitionEvaluateOnExitArgs) ElementType ¶
func (JobDefinitionEvaluateOnExitArgs) ElementType() reflect.Type
func (JobDefinitionEvaluateOnExitArgs) ToJobDefinitionEvaluateOnExitOutput ¶
func (i JobDefinitionEvaluateOnExitArgs) ToJobDefinitionEvaluateOnExitOutput() JobDefinitionEvaluateOnExitOutput
func (JobDefinitionEvaluateOnExitArgs) ToJobDefinitionEvaluateOnExitOutputWithContext ¶
func (i JobDefinitionEvaluateOnExitArgs) ToJobDefinitionEvaluateOnExitOutputWithContext(ctx context.Context) JobDefinitionEvaluateOnExitOutput
type JobDefinitionEvaluateOnExitArray ¶
type JobDefinitionEvaluateOnExitArray []JobDefinitionEvaluateOnExitInput
func (JobDefinitionEvaluateOnExitArray) ElementType ¶
func (JobDefinitionEvaluateOnExitArray) ElementType() reflect.Type
func (JobDefinitionEvaluateOnExitArray) ToJobDefinitionEvaluateOnExitArrayOutput ¶
func (i JobDefinitionEvaluateOnExitArray) ToJobDefinitionEvaluateOnExitArrayOutput() JobDefinitionEvaluateOnExitArrayOutput
func (JobDefinitionEvaluateOnExitArray) ToJobDefinitionEvaluateOnExitArrayOutputWithContext ¶
func (i JobDefinitionEvaluateOnExitArray) ToJobDefinitionEvaluateOnExitArrayOutputWithContext(ctx context.Context) JobDefinitionEvaluateOnExitArrayOutput
type JobDefinitionEvaluateOnExitArrayInput ¶
type JobDefinitionEvaluateOnExitArrayInput interface { pulumi.Input ToJobDefinitionEvaluateOnExitArrayOutput() JobDefinitionEvaluateOnExitArrayOutput ToJobDefinitionEvaluateOnExitArrayOutputWithContext(context.Context) JobDefinitionEvaluateOnExitArrayOutput }
JobDefinitionEvaluateOnExitArrayInput is an input type that accepts JobDefinitionEvaluateOnExitArray and JobDefinitionEvaluateOnExitArrayOutput values. You can construct a concrete instance of `JobDefinitionEvaluateOnExitArrayInput` via:
JobDefinitionEvaluateOnExitArray{ JobDefinitionEvaluateOnExitArgs{...} }
type JobDefinitionEvaluateOnExitArrayOutput ¶
type JobDefinitionEvaluateOnExitArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionEvaluateOnExitArrayOutput) ElementType ¶
func (JobDefinitionEvaluateOnExitArrayOutput) ElementType() reflect.Type
func (JobDefinitionEvaluateOnExitArrayOutput) ToJobDefinitionEvaluateOnExitArrayOutput ¶
func (o JobDefinitionEvaluateOnExitArrayOutput) ToJobDefinitionEvaluateOnExitArrayOutput() JobDefinitionEvaluateOnExitArrayOutput
func (JobDefinitionEvaluateOnExitArrayOutput) ToJobDefinitionEvaluateOnExitArrayOutputWithContext ¶
func (o JobDefinitionEvaluateOnExitArrayOutput) ToJobDefinitionEvaluateOnExitArrayOutputWithContext(ctx context.Context) JobDefinitionEvaluateOnExitArrayOutput
type JobDefinitionEvaluateOnExitInput ¶
type JobDefinitionEvaluateOnExitInput interface { pulumi.Input ToJobDefinitionEvaluateOnExitOutput() JobDefinitionEvaluateOnExitOutput ToJobDefinitionEvaluateOnExitOutputWithContext(context.Context) JobDefinitionEvaluateOnExitOutput }
JobDefinitionEvaluateOnExitInput is an input type that accepts JobDefinitionEvaluateOnExitArgs and JobDefinitionEvaluateOnExitOutput values. You can construct a concrete instance of `JobDefinitionEvaluateOnExitInput` via:
JobDefinitionEvaluateOnExitArgs{...}
type JobDefinitionEvaluateOnExitOutput ¶
type JobDefinitionEvaluateOnExitOutput struct{ *pulumi.OutputState }
func (JobDefinitionEvaluateOnExitOutput) Action ¶
func (o JobDefinitionEvaluateOnExitOutput) Action() pulumi.StringOutput
Specifies the action to take if all of the specified conditions ( `onStatusReason` , `onReason` , and `onExitCode` ) are met. The values aren't case sensitive.
func (JobDefinitionEvaluateOnExitOutput) ElementType ¶
func (JobDefinitionEvaluateOnExitOutput) ElementType() reflect.Type
func (JobDefinitionEvaluateOnExitOutput) OnExitCode ¶
func (o JobDefinitionEvaluateOnExitOutput) OnExitCode() pulumi.StringPtrOutput
Contains a glob pattern to match against the decimal representation of the `ExitCode` returned for a job. The pattern can be up to 512 characters long. It can contain only numbers, and can end with an asterisk (*) so that only the start of the string needs to be an exact match.
The string can contain up to 512 characters.
func (JobDefinitionEvaluateOnExitOutput) OnReason ¶
func (o JobDefinitionEvaluateOnExitOutput) OnReason() pulumi.StringPtrOutput
Contains a glob pattern to match against the `Reason` returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
func (JobDefinitionEvaluateOnExitOutput) OnStatusReason ¶
func (o JobDefinitionEvaluateOnExitOutput) OnStatusReason() pulumi.StringPtrOutput
Contains a glob pattern to match against the `StatusReason` returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white spaces (including spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
func (JobDefinitionEvaluateOnExitOutput) ToJobDefinitionEvaluateOnExitOutput ¶
func (o JobDefinitionEvaluateOnExitOutput) ToJobDefinitionEvaluateOnExitOutput() JobDefinitionEvaluateOnExitOutput
func (JobDefinitionEvaluateOnExitOutput) ToJobDefinitionEvaluateOnExitOutputWithContext ¶
func (o JobDefinitionEvaluateOnExitOutput) ToJobDefinitionEvaluateOnExitOutputWithContext(ctx context.Context) JobDefinitionEvaluateOnExitOutput
type JobDefinitionFargatePlatformConfiguration ¶
type JobDefinitionFargatePlatformConfiguration struct { // The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the `LATEST` platform version is used by default. This uses a recent, approved version of the AWS Fargate platform for compute resources. For more information, see [AWS Fargate platform versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* . PlatformVersion *string `pulumi:"platformVersion"` }
type JobDefinitionFargatePlatformConfigurationArgs ¶
type JobDefinitionFargatePlatformConfigurationArgs struct { // The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the `LATEST` platform version is used by default. This uses a recent, approved version of the AWS Fargate platform for compute resources. For more information, see [AWS Fargate platform versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* . PlatformVersion pulumi.StringPtrInput `pulumi:"platformVersion"` }
func (JobDefinitionFargatePlatformConfigurationArgs) ElementType ¶
func (JobDefinitionFargatePlatformConfigurationArgs) ElementType() reflect.Type
func (JobDefinitionFargatePlatformConfigurationArgs) ToJobDefinitionFargatePlatformConfigurationOutput ¶
func (i JobDefinitionFargatePlatformConfigurationArgs) ToJobDefinitionFargatePlatformConfigurationOutput() JobDefinitionFargatePlatformConfigurationOutput
func (JobDefinitionFargatePlatformConfigurationArgs) ToJobDefinitionFargatePlatformConfigurationOutputWithContext ¶
func (i JobDefinitionFargatePlatformConfigurationArgs) ToJobDefinitionFargatePlatformConfigurationOutputWithContext(ctx context.Context) JobDefinitionFargatePlatformConfigurationOutput
func (JobDefinitionFargatePlatformConfigurationArgs) ToJobDefinitionFargatePlatformConfigurationPtrOutput ¶
func (i JobDefinitionFargatePlatformConfigurationArgs) ToJobDefinitionFargatePlatformConfigurationPtrOutput() JobDefinitionFargatePlatformConfigurationPtrOutput
func (JobDefinitionFargatePlatformConfigurationArgs) ToJobDefinitionFargatePlatformConfigurationPtrOutputWithContext ¶
func (i JobDefinitionFargatePlatformConfigurationArgs) ToJobDefinitionFargatePlatformConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionFargatePlatformConfigurationPtrOutput
type JobDefinitionFargatePlatformConfigurationInput ¶
type JobDefinitionFargatePlatformConfigurationInput interface { pulumi.Input ToJobDefinitionFargatePlatformConfigurationOutput() JobDefinitionFargatePlatformConfigurationOutput ToJobDefinitionFargatePlatformConfigurationOutputWithContext(context.Context) JobDefinitionFargatePlatformConfigurationOutput }
JobDefinitionFargatePlatformConfigurationInput is an input type that accepts JobDefinitionFargatePlatformConfigurationArgs and JobDefinitionFargatePlatformConfigurationOutput values. You can construct a concrete instance of `JobDefinitionFargatePlatformConfigurationInput` via:
JobDefinitionFargatePlatformConfigurationArgs{...}
type JobDefinitionFargatePlatformConfigurationOutput ¶
type JobDefinitionFargatePlatformConfigurationOutput struct{ *pulumi.OutputState }
func (JobDefinitionFargatePlatformConfigurationOutput) ElementType ¶
func (JobDefinitionFargatePlatformConfigurationOutput) ElementType() reflect.Type
func (JobDefinitionFargatePlatformConfigurationOutput) PlatformVersion ¶
func (o JobDefinitionFargatePlatformConfigurationOutput) PlatformVersion() pulumi.StringPtrOutput
The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the `LATEST` platform version is used by default. This uses a recent, approved version of the AWS Fargate platform for compute resources. For more information, see [AWS Fargate platform versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* .
func (JobDefinitionFargatePlatformConfigurationOutput) ToJobDefinitionFargatePlatformConfigurationOutput ¶
func (o JobDefinitionFargatePlatformConfigurationOutput) ToJobDefinitionFargatePlatformConfigurationOutput() JobDefinitionFargatePlatformConfigurationOutput
func (JobDefinitionFargatePlatformConfigurationOutput) ToJobDefinitionFargatePlatformConfigurationOutputWithContext ¶
func (o JobDefinitionFargatePlatformConfigurationOutput) ToJobDefinitionFargatePlatformConfigurationOutputWithContext(ctx context.Context) JobDefinitionFargatePlatformConfigurationOutput
func (JobDefinitionFargatePlatformConfigurationOutput) ToJobDefinitionFargatePlatformConfigurationPtrOutput ¶
func (o JobDefinitionFargatePlatformConfigurationOutput) ToJobDefinitionFargatePlatformConfigurationPtrOutput() JobDefinitionFargatePlatformConfigurationPtrOutput
func (JobDefinitionFargatePlatformConfigurationOutput) ToJobDefinitionFargatePlatformConfigurationPtrOutputWithContext ¶
func (o JobDefinitionFargatePlatformConfigurationOutput) ToJobDefinitionFargatePlatformConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionFargatePlatformConfigurationPtrOutput
type JobDefinitionFargatePlatformConfigurationPtrInput ¶
type JobDefinitionFargatePlatformConfigurationPtrInput interface { pulumi.Input ToJobDefinitionFargatePlatformConfigurationPtrOutput() JobDefinitionFargatePlatformConfigurationPtrOutput ToJobDefinitionFargatePlatformConfigurationPtrOutputWithContext(context.Context) JobDefinitionFargatePlatformConfigurationPtrOutput }
JobDefinitionFargatePlatformConfigurationPtrInput is an input type that accepts JobDefinitionFargatePlatformConfigurationArgs, JobDefinitionFargatePlatformConfigurationPtr and JobDefinitionFargatePlatformConfigurationPtrOutput values. You can construct a concrete instance of `JobDefinitionFargatePlatformConfigurationPtrInput` via:
JobDefinitionFargatePlatformConfigurationArgs{...} or: nil
func JobDefinitionFargatePlatformConfigurationPtr ¶
func JobDefinitionFargatePlatformConfigurationPtr(v *JobDefinitionFargatePlatformConfigurationArgs) JobDefinitionFargatePlatformConfigurationPtrInput
type JobDefinitionFargatePlatformConfigurationPtrOutput ¶
type JobDefinitionFargatePlatformConfigurationPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionFargatePlatformConfigurationPtrOutput) ElementType ¶
func (JobDefinitionFargatePlatformConfigurationPtrOutput) ElementType() reflect.Type
func (JobDefinitionFargatePlatformConfigurationPtrOutput) PlatformVersion ¶
func (o JobDefinitionFargatePlatformConfigurationPtrOutput) PlatformVersion() pulumi.StringPtrOutput
The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the `LATEST` platform version is used by default. This uses a recent, approved version of the AWS Fargate platform for compute resources. For more information, see [AWS Fargate platform versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* .
func (JobDefinitionFargatePlatformConfigurationPtrOutput) ToJobDefinitionFargatePlatformConfigurationPtrOutput ¶
func (o JobDefinitionFargatePlatformConfigurationPtrOutput) ToJobDefinitionFargatePlatformConfigurationPtrOutput() JobDefinitionFargatePlatformConfigurationPtrOutput
func (JobDefinitionFargatePlatformConfigurationPtrOutput) ToJobDefinitionFargatePlatformConfigurationPtrOutputWithContext ¶
func (o JobDefinitionFargatePlatformConfigurationPtrOutput) ToJobDefinitionFargatePlatformConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionFargatePlatformConfigurationPtrOutput
type JobDefinitionImagePullSecret ¶ added in v0.101.0
type JobDefinitionImagePullSecret struct { // Provides a unique identifier for the `ImagePullSecret` . This object is required when `EksPodProperties$imagePullSecrets` is used. Name string `pulumi:"name"` }
type JobDefinitionImagePullSecretArgs ¶ added in v0.101.0
type JobDefinitionImagePullSecretArgs struct { // Provides a unique identifier for the `ImagePullSecret` . This object is required when `EksPodProperties$imagePullSecrets` is used. Name pulumi.StringInput `pulumi:"name"` }
func (JobDefinitionImagePullSecretArgs) ElementType ¶ added in v0.101.0
func (JobDefinitionImagePullSecretArgs) ElementType() reflect.Type
func (JobDefinitionImagePullSecretArgs) ToJobDefinitionImagePullSecretOutput ¶ added in v0.101.0
func (i JobDefinitionImagePullSecretArgs) ToJobDefinitionImagePullSecretOutput() JobDefinitionImagePullSecretOutput
func (JobDefinitionImagePullSecretArgs) ToJobDefinitionImagePullSecretOutputWithContext ¶ added in v0.101.0
func (i JobDefinitionImagePullSecretArgs) ToJobDefinitionImagePullSecretOutputWithContext(ctx context.Context) JobDefinitionImagePullSecretOutput
type JobDefinitionImagePullSecretArray ¶ added in v0.101.0
type JobDefinitionImagePullSecretArray []JobDefinitionImagePullSecretInput
func (JobDefinitionImagePullSecretArray) ElementType ¶ added in v0.101.0
func (JobDefinitionImagePullSecretArray) ElementType() reflect.Type
func (JobDefinitionImagePullSecretArray) ToJobDefinitionImagePullSecretArrayOutput ¶ added in v0.101.0
func (i JobDefinitionImagePullSecretArray) ToJobDefinitionImagePullSecretArrayOutput() JobDefinitionImagePullSecretArrayOutput
func (JobDefinitionImagePullSecretArray) ToJobDefinitionImagePullSecretArrayOutputWithContext ¶ added in v0.101.0
func (i JobDefinitionImagePullSecretArray) ToJobDefinitionImagePullSecretArrayOutputWithContext(ctx context.Context) JobDefinitionImagePullSecretArrayOutput
type JobDefinitionImagePullSecretArrayInput ¶ added in v0.101.0
type JobDefinitionImagePullSecretArrayInput interface { pulumi.Input ToJobDefinitionImagePullSecretArrayOutput() JobDefinitionImagePullSecretArrayOutput ToJobDefinitionImagePullSecretArrayOutputWithContext(context.Context) JobDefinitionImagePullSecretArrayOutput }
JobDefinitionImagePullSecretArrayInput is an input type that accepts JobDefinitionImagePullSecretArray and JobDefinitionImagePullSecretArrayOutput values. You can construct a concrete instance of `JobDefinitionImagePullSecretArrayInput` via:
JobDefinitionImagePullSecretArray{ JobDefinitionImagePullSecretArgs{...} }
type JobDefinitionImagePullSecretArrayOutput ¶ added in v0.101.0
type JobDefinitionImagePullSecretArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionImagePullSecretArrayOutput) ElementType ¶ added in v0.101.0
func (JobDefinitionImagePullSecretArrayOutput) ElementType() reflect.Type
func (JobDefinitionImagePullSecretArrayOutput) ToJobDefinitionImagePullSecretArrayOutput ¶ added in v0.101.0
func (o JobDefinitionImagePullSecretArrayOutput) ToJobDefinitionImagePullSecretArrayOutput() JobDefinitionImagePullSecretArrayOutput
func (JobDefinitionImagePullSecretArrayOutput) ToJobDefinitionImagePullSecretArrayOutputWithContext ¶ added in v0.101.0
func (o JobDefinitionImagePullSecretArrayOutput) ToJobDefinitionImagePullSecretArrayOutputWithContext(ctx context.Context) JobDefinitionImagePullSecretArrayOutput
type JobDefinitionImagePullSecretInput ¶ added in v0.101.0
type JobDefinitionImagePullSecretInput interface { pulumi.Input ToJobDefinitionImagePullSecretOutput() JobDefinitionImagePullSecretOutput ToJobDefinitionImagePullSecretOutputWithContext(context.Context) JobDefinitionImagePullSecretOutput }
JobDefinitionImagePullSecretInput is an input type that accepts JobDefinitionImagePullSecretArgs and JobDefinitionImagePullSecretOutput values. You can construct a concrete instance of `JobDefinitionImagePullSecretInput` via:
JobDefinitionImagePullSecretArgs{...}
type JobDefinitionImagePullSecretOutput ¶ added in v0.101.0
type JobDefinitionImagePullSecretOutput struct{ *pulumi.OutputState }
func (JobDefinitionImagePullSecretOutput) ElementType ¶ added in v0.101.0
func (JobDefinitionImagePullSecretOutput) ElementType() reflect.Type
func (JobDefinitionImagePullSecretOutput) Name ¶ added in v0.101.0
func (o JobDefinitionImagePullSecretOutput) Name() pulumi.StringOutput
Provides a unique identifier for the `ImagePullSecret` . This object is required when `EksPodProperties$imagePullSecrets` is used.
func (JobDefinitionImagePullSecretOutput) ToJobDefinitionImagePullSecretOutput ¶ added in v0.101.0
func (o JobDefinitionImagePullSecretOutput) ToJobDefinitionImagePullSecretOutput() JobDefinitionImagePullSecretOutput
func (JobDefinitionImagePullSecretOutput) ToJobDefinitionImagePullSecretOutputWithContext ¶ added in v0.101.0
func (o JobDefinitionImagePullSecretOutput) ToJobDefinitionImagePullSecretOutputWithContext(ctx context.Context) JobDefinitionImagePullSecretOutput
type JobDefinitionInput ¶
type JobDefinitionInput interface { pulumi.Input ToJobDefinitionOutput() JobDefinitionOutput ToJobDefinitionOutputWithContext(ctx context.Context) JobDefinitionOutput }
type JobDefinitionLinuxParameters ¶
type JobDefinitionLinuxParameters struct { // Any of the host devices to expose to the container. This parameter maps to `Devices` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--device` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs. Devices []JobDefinitionDevice `pulumi:"devices"` // If true, run an `init` process inside the container that forwards signals and reaps processes. This parameter maps to the `--init` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"` InitProcessEnabled *bool `pulumi:"initProcessEnabled"` // The total amount of swap memory (in MiB) a container can use. This parameter is translated to the `--memory-swap` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) where the value is the sum of the container memory plus the `maxSwap` value. For more information, see [`--memory-swap` details](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/resource_constraints/#--memory-swap-details) in the Docker documentation. // // If a `maxSwap` value of `0` is specified, the container doesn't use swap. Accepted values are `0` or any positive integer. If the `maxSwap` parameter is omitted, the container doesn't use the swap configuration for the container instance that it's running on. A `maxSwap` value must be set for the `swappiness` parameter to be used. // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs. MaxSwap *int `pulumi:"maxSwap"` // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs. SharedMemorySize *int `pulumi:"sharedMemorySize"` // You can use this parameter to tune a container's memory swappiness behavior. A `swappiness` value of `0` causes swapping to not occur unless absolutely necessary. A `swappiness` value of `100` causes pages to be swapped aggressively. Valid values are whole numbers between `0` and `100` . If the `swappiness` parameter isn't specified, a default value of `60` is used. If a value isn't specified for `maxSwap` , then this parameter is ignored. If `maxSwap` is set to 0, the container doesn't use swap. This parameter maps to the `--memory-swappiness` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . // // Consider the following when you use a per-container swap configuration. // // - Swap space must be enabled and allocated on the container instance for the containers to use. // // > By default, the Amazon ECS optimized AMIs don't have swap enabled. You must enable swap on the instance to use this feature. For more information, see [Instance store swap volumes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-store-swap-volumes.html) in the *Amazon EC2 User Guide for Linux Instances* or [How do I allocate memory to work as swap space in an Amazon EC2 instance by using a swap file?](https://docs.aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-swap-file/) // - The swap space parameters are only supported for job definitions using EC2 resources. // - If the `maxSwap` and `swappiness` parameters are omitted from a job definition, each container has a default `swappiness` value of 60. Moreover, the total swap usage is limited to two times the memory reservation of the container. // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs. Swappiness *int `pulumi:"swappiness"` // The container path, mount options, and size (in MiB) of the `tmpfs` mount. This parameter maps to the `--tmpfs` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide this parameter for this resource type. Tmpfs []JobDefinitionTmpfs `pulumi:"tmpfs"` }
type JobDefinitionLinuxParametersArgs ¶
type JobDefinitionLinuxParametersArgs struct { // Any of the host devices to expose to the container. This parameter maps to `Devices` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--device` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs. Devices JobDefinitionDeviceArrayInput `pulumi:"devices"` // If true, run an `init` process inside the container that forwards signals and reaps processes. This parameter maps to the `--init` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"` InitProcessEnabled pulumi.BoolPtrInput `pulumi:"initProcessEnabled"` // The total amount of swap memory (in MiB) a container can use. This parameter is translated to the `--memory-swap` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) where the value is the sum of the container memory plus the `maxSwap` value. For more information, see [`--memory-swap` details](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/resource_constraints/#--memory-swap-details) in the Docker documentation. // // If a `maxSwap` value of `0` is specified, the container doesn't use swap. Accepted values are `0` or any positive integer. If the `maxSwap` parameter is omitted, the container doesn't use the swap configuration for the container instance that it's running on. A `maxSwap` value must be set for the `swappiness` parameter to be used. // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs. MaxSwap pulumi.IntPtrInput `pulumi:"maxSwap"` // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs. SharedMemorySize pulumi.IntPtrInput `pulumi:"sharedMemorySize"` // You can use this parameter to tune a container's memory swappiness behavior. A `swappiness` value of `0` causes swapping to not occur unless absolutely necessary. A `swappiness` value of `100` causes pages to be swapped aggressively. Valid values are whole numbers between `0` and `100` . If the `swappiness` parameter isn't specified, a default value of `60` is used. If a value isn't specified for `maxSwap` , then this parameter is ignored. If `maxSwap` is set to 0, the container doesn't use swap. This parameter maps to the `--memory-swappiness` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . // // Consider the following when you use a per-container swap configuration. // // - Swap space must be enabled and allocated on the container instance for the containers to use. // // > By default, the Amazon ECS optimized AMIs don't have swap enabled. You must enable swap on the instance to use this feature. For more information, see [Instance store swap volumes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-store-swap-volumes.html) in the *Amazon EC2 User Guide for Linux Instances* or [How do I allocate memory to work as swap space in an Amazon EC2 instance by using a swap file?](https://docs.aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-swap-file/) // - The swap space parameters are only supported for job definitions using EC2 resources. // - If the `maxSwap` and `swappiness` parameters are omitted from a job definition, each container has a default `swappiness` value of 60. Moreover, the total swap usage is limited to two times the memory reservation of the container. // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs. Swappiness pulumi.IntPtrInput `pulumi:"swappiness"` // The container path, mount options, and size (in MiB) of the `tmpfs` mount. This parameter maps to the `--tmpfs` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . // // > This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide this parameter for this resource type. Tmpfs JobDefinitionTmpfsArrayInput `pulumi:"tmpfs"` }
func (JobDefinitionLinuxParametersArgs) ElementType ¶
func (JobDefinitionLinuxParametersArgs) ElementType() reflect.Type
func (JobDefinitionLinuxParametersArgs) ToJobDefinitionLinuxParametersOutput ¶
func (i JobDefinitionLinuxParametersArgs) ToJobDefinitionLinuxParametersOutput() JobDefinitionLinuxParametersOutput
func (JobDefinitionLinuxParametersArgs) ToJobDefinitionLinuxParametersOutputWithContext ¶
func (i JobDefinitionLinuxParametersArgs) ToJobDefinitionLinuxParametersOutputWithContext(ctx context.Context) JobDefinitionLinuxParametersOutput
func (JobDefinitionLinuxParametersArgs) ToJobDefinitionLinuxParametersPtrOutput ¶
func (i JobDefinitionLinuxParametersArgs) ToJobDefinitionLinuxParametersPtrOutput() JobDefinitionLinuxParametersPtrOutput
func (JobDefinitionLinuxParametersArgs) ToJobDefinitionLinuxParametersPtrOutputWithContext ¶
func (i JobDefinitionLinuxParametersArgs) ToJobDefinitionLinuxParametersPtrOutputWithContext(ctx context.Context) JobDefinitionLinuxParametersPtrOutput
type JobDefinitionLinuxParametersInput ¶
type JobDefinitionLinuxParametersInput interface { pulumi.Input ToJobDefinitionLinuxParametersOutput() JobDefinitionLinuxParametersOutput ToJobDefinitionLinuxParametersOutputWithContext(context.Context) JobDefinitionLinuxParametersOutput }
JobDefinitionLinuxParametersInput is an input type that accepts JobDefinitionLinuxParametersArgs and JobDefinitionLinuxParametersOutput values. You can construct a concrete instance of `JobDefinitionLinuxParametersInput` via:
JobDefinitionLinuxParametersArgs{...}
type JobDefinitionLinuxParametersOutput ¶
type JobDefinitionLinuxParametersOutput struct{ *pulumi.OutputState }
func (JobDefinitionLinuxParametersOutput) Devices ¶
func (o JobDefinitionLinuxParametersOutput) Devices() JobDefinitionDeviceArrayOutput
Any of the host devices to expose to the container. This parameter maps to `Devices` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--device` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs.
func (JobDefinitionLinuxParametersOutput) ElementType ¶
func (JobDefinitionLinuxParametersOutput) ElementType() reflect.Type
func (JobDefinitionLinuxParametersOutput) InitProcessEnabled ¶
func (o JobDefinitionLinuxParametersOutput) InitProcessEnabled() pulumi.BoolPtrOutput
If true, run an `init` process inside the container that forwards signals and reaps processes. This parameter maps to the `--init` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"`
func (JobDefinitionLinuxParametersOutput) MaxSwap ¶
func (o JobDefinitionLinuxParametersOutput) MaxSwap() pulumi.IntPtrOutput
The total amount of swap memory (in MiB) a container can use. This parameter is translated to the `--memory-swap` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) where the value is the sum of the container memory plus the `maxSwap` value. For more information, see [`--memory-swap` details](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/resource_constraints/#--memory-swap-details) in the Docker documentation.
If a `maxSwap` value of `0` is specified, the container doesn't use swap. Accepted values are `0` or any positive integer. If the `maxSwap` parameter is omitted, the container doesn't use the swap configuration for the container instance that it's running on. A `maxSwap` value must be set for the `swappiness` parameter to be used.
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs.
func (JobDefinitionLinuxParametersOutput) SharedMemorySize ¶
func (o JobDefinitionLinuxParametersOutput) SharedMemorySize() pulumi.IntPtrOutput
The value for the size (in MiB) of the `/dev/shm` volume. This parameter maps to the `--shm-size` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs.
func (JobDefinitionLinuxParametersOutput) Swappiness ¶
func (o JobDefinitionLinuxParametersOutput) Swappiness() pulumi.IntPtrOutput
You can use this parameter to tune a container's memory swappiness behavior. A `swappiness` value of `0` causes swapping to not occur unless absolutely necessary. A `swappiness` value of `100` causes pages to be swapped aggressively. Valid values are whole numbers between `0` and `100` . If the `swappiness` parameter isn't specified, a default value of `60` is used. If a value isn't specified for `maxSwap` , then this parameter is ignored. If `maxSwap` is set to 0, the container doesn't use swap. This parameter maps to the `--memory-swappiness` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
Consider the following when you use a per-container swap configuration.
- Swap space must be enabled and allocated on the container instance for the containers to use.
> By default, the Amazon ECS optimized AMIs don't have swap enabled. You must enable swap on the instance to use this feature. For more information, see [Instance store swap volumes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-store-swap-volumes.html) in the *Amazon EC2 User Guide for Linux Instances* or [How do I allocate memory to work as swap space in an Amazon EC2 instance by using a swap file?](https://docs.aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-swap-file/) - The swap space parameters are only supported for job definitions using EC2 resources. - If the `maxSwap` and `swappiness` parameters are omitted from a job definition, each container has a default `swappiness` value of 60. Moreover, the total swap usage is limited to two times the memory reservation of the container.
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs.
func (JobDefinitionLinuxParametersOutput) Tmpfs ¶
func (o JobDefinitionLinuxParametersOutput) Tmpfs() JobDefinitionTmpfsArrayOutput
The container path, mount options, and size (in MiB) of the `tmpfs` mount. This parameter maps to the `--tmpfs` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide this parameter for this resource type.
func (JobDefinitionLinuxParametersOutput) ToJobDefinitionLinuxParametersOutput ¶
func (o JobDefinitionLinuxParametersOutput) ToJobDefinitionLinuxParametersOutput() JobDefinitionLinuxParametersOutput
func (JobDefinitionLinuxParametersOutput) ToJobDefinitionLinuxParametersOutputWithContext ¶
func (o JobDefinitionLinuxParametersOutput) ToJobDefinitionLinuxParametersOutputWithContext(ctx context.Context) JobDefinitionLinuxParametersOutput
func (JobDefinitionLinuxParametersOutput) ToJobDefinitionLinuxParametersPtrOutput ¶
func (o JobDefinitionLinuxParametersOutput) ToJobDefinitionLinuxParametersPtrOutput() JobDefinitionLinuxParametersPtrOutput
func (JobDefinitionLinuxParametersOutput) ToJobDefinitionLinuxParametersPtrOutputWithContext ¶
func (o JobDefinitionLinuxParametersOutput) ToJobDefinitionLinuxParametersPtrOutputWithContext(ctx context.Context) JobDefinitionLinuxParametersPtrOutput
type JobDefinitionLinuxParametersPtrInput ¶
type JobDefinitionLinuxParametersPtrInput interface { pulumi.Input ToJobDefinitionLinuxParametersPtrOutput() JobDefinitionLinuxParametersPtrOutput ToJobDefinitionLinuxParametersPtrOutputWithContext(context.Context) JobDefinitionLinuxParametersPtrOutput }
JobDefinitionLinuxParametersPtrInput is an input type that accepts JobDefinitionLinuxParametersArgs, JobDefinitionLinuxParametersPtr and JobDefinitionLinuxParametersPtrOutput values. You can construct a concrete instance of `JobDefinitionLinuxParametersPtrInput` via:
JobDefinitionLinuxParametersArgs{...} or: nil
func JobDefinitionLinuxParametersPtr ¶
func JobDefinitionLinuxParametersPtr(v *JobDefinitionLinuxParametersArgs) JobDefinitionLinuxParametersPtrInput
type JobDefinitionLinuxParametersPtrOutput ¶
type JobDefinitionLinuxParametersPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionLinuxParametersPtrOutput) Devices ¶
func (o JobDefinitionLinuxParametersPtrOutput) Devices() JobDefinitionDeviceArrayOutput
Any of the host devices to expose to the container. This parameter maps to `Devices` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--device` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs.
func (JobDefinitionLinuxParametersPtrOutput) ElementType ¶
func (JobDefinitionLinuxParametersPtrOutput) ElementType() reflect.Type
func (JobDefinitionLinuxParametersPtrOutput) InitProcessEnabled ¶
func (o JobDefinitionLinuxParametersPtrOutput) InitProcessEnabled() pulumi.BoolPtrOutput
If true, run an `init` process inside the container that forwards signals and reaps processes. This parameter maps to the `--init` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"`
func (JobDefinitionLinuxParametersPtrOutput) MaxSwap ¶
func (o JobDefinitionLinuxParametersPtrOutput) MaxSwap() pulumi.IntPtrOutput
The total amount of swap memory (in MiB) a container can use. This parameter is translated to the `--memory-swap` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) where the value is the sum of the container memory plus the `maxSwap` value. For more information, see [`--memory-swap` details](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/resource_constraints/#--memory-swap-details) in the Docker documentation.
If a `maxSwap` value of `0` is specified, the container doesn't use swap. Accepted values are `0` or any positive integer. If the `maxSwap` parameter is omitted, the container doesn't use the swap configuration for the container instance that it's running on. A `maxSwap` value must be set for the `swappiness` parameter to be used.
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs.
func (JobDefinitionLinuxParametersPtrOutput) SharedMemorySize ¶
func (o JobDefinitionLinuxParametersPtrOutput) SharedMemorySize() pulumi.IntPtrOutput
The value for the size (in MiB) of the `/dev/shm` volume. This parameter maps to the `--shm-size` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs.
func (JobDefinitionLinuxParametersPtrOutput) Swappiness ¶
func (o JobDefinitionLinuxParametersPtrOutput) Swappiness() pulumi.IntPtrOutput
You can use this parameter to tune a container's memory swappiness behavior. A `swappiness` value of `0` causes swapping to not occur unless absolutely necessary. A `swappiness` value of `100` causes pages to be swapped aggressively. Valid values are whole numbers between `0` and `100` . If the `swappiness` parameter isn't specified, a default value of `60` is used. If a value isn't specified for `maxSwap` , then this parameter is ignored. If `maxSwap` is set to 0, the container doesn't use swap. This parameter maps to the `--memory-swappiness` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
Consider the following when you use a per-container swap configuration.
- Swap space must be enabled and allocated on the container instance for the containers to use.
> By default, the Amazon ECS optimized AMIs don't have swap enabled. You must enable swap on the instance to use this feature. For more information, see [Instance store swap volumes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-store-swap-volumes.html) in the *Amazon EC2 User Guide for Linux Instances* or [How do I allocate memory to work as swap space in an Amazon EC2 instance by using a swap file?](https://docs.aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-swap-file/) - The swap space parameters are only supported for job definitions using EC2 resources. - If the `maxSwap` and `swappiness` parameters are omitted from a job definition, each container has a default `swappiness` value of 60. Moreover, the total swap usage is limited to two times the memory reservation of the container.
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs.
func (JobDefinitionLinuxParametersPtrOutput) Tmpfs ¶
func (o JobDefinitionLinuxParametersPtrOutput) Tmpfs() JobDefinitionTmpfsArrayOutput
The container path, mount options, and size (in MiB) of the `tmpfs` mount. This parameter maps to the `--tmpfs` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
> This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide this parameter for this resource type.
func (JobDefinitionLinuxParametersPtrOutput) ToJobDefinitionLinuxParametersPtrOutput ¶
func (o JobDefinitionLinuxParametersPtrOutput) ToJobDefinitionLinuxParametersPtrOutput() JobDefinitionLinuxParametersPtrOutput
func (JobDefinitionLinuxParametersPtrOutput) ToJobDefinitionLinuxParametersPtrOutputWithContext ¶
func (o JobDefinitionLinuxParametersPtrOutput) ToJobDefinitionLinuxParametersPtrOutputWithContext(ctx context.Context) JobDefinitionLinuxParametersPtrOutput
type JobDefinitionLogConfiguration ¶
type JobDefinitionLogConfiguration struct { // The log driver to use for the container. The valid values that are listed for this parameter are log drivers that the Amazon ECS container agent can communicate with by default. // // The supported log drivers are `awslogs` , `fluentd` , `gelf` , `json-file` , `journald` , `logentries` , `syslog` , and `splunk` . // // > Jobs that are running on Fargate resources are restricted to the `awslogs` and `splunk` log drivers. // // - **awslogs** - Specifies the Amazon CloudWatch Logs logging driver. For more information, see [Using the awslogs log driver](https://docs.aws.amazon.com/batch/latest/userguide/using_awslogs.html) in the *AWS Batch User Guide* and [Amazon CloudWatch Logs logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/awslogs/) in the Docker documentation. // - **fluentd** - Specifies the Fluentd logging driver. For more information including usage and options, see [Fluentd logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/fluentd/) in the *Docker documentation* . // - **gelf** - Specifies the Graylog Extended Format (GELF) logging driver. For more information including usage and options, see [Graylog Extended Format logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/gelf/) in the *Docker documentation* . // - **journald** - Specifies the journald logging driver. For more information including usage and options, see [Journald logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/journald/) in the *Docker documentation* . // - **json-file** - Specifies the JSON file logging driver. For more information including usage and options, see [JSON File logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/json-file/) in the *Docker documentation* . // - **splunk** - Specifies the Splunk logging driver. For more information including usage and options, see [Splunk logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/splunk/) in the *Docker documentation* . // - **syslog** - Specifies the syslog logging driver. For more information including usage and options, see [Syslog logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/syslog/) in the *Docker documentation* . // // > If you have a custom driver that's not listed earlier that you want to work with the Amazon ECS container agent, you can fork the Amazon ECS container agent project that's [available on GitHub](https://docs.aws.amazon.com/https://github.com/aws/amazon-ecs-agent) and customize it to work with that driver. We encourage you to submit pull requests for changes that you want to have included. However, Amazon Web Services doesn't currently support running modified copies of this software. // // This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"` LogDriver string `pulumi:"logDriver"` // The configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"` Options interface{} `pulumi:"options"` // The secrets to pass to the log configuration. For more information, see [Specifying sensitive data](https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html) in the *AWS Batch User Guide* . SecretOptions []JobDefinitionSecret `pulumi:"secretOptions"` }
type JobDefinitionLogConfigurationArgs ¶
type JobDefinitionLogConfigurationArgs struct { // The log driver to use for the container. The valid values that are listed for this parameter are log drivers that the Amazon ECS container agent can communicate with by default. // // The supported log drivers are `awslogs` , `fluentd` , `gelf` , `json-file` , `journald` , `logentries` , `syslog` , and `splunk` . // // > Jobs that are running on Fargate resources are restricted to the `awslogs` and `splunk` log drivers. // // - **awslogs** - Specifies the Amazon CloudWatch Logs logging driver. For more information, see [Using the awslogs log driver](https://docs.aws.amazon.com/batch/latest/userguide/using_awslogs.html) in the *AWS Batch User Guide* and [Amazon CloudWatch Logs logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/awslogs/) in the Docker documentation. // - **fluentd** - Specifies the Fluentd logging driver. For more information including usage and options, see [Fluentd logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/fluentd/) in the *Docker documentation* . // - **gelf** - Specifies the Graylog Extended Format (GELF) logging driver. For more information including usage and options, see [Graylog Extended Format logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/gelf/) in the *Docker documentation* . // - **journald** - Specifies the journald logging driver. For more information including usage and options, see [Journald logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/journald/) in the *Docker documentation* . // - **json-file** - Specifies the JSON file logging driver. For more information including usage and options, see [JSON File logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/json-file/) in the *Docker documentation* . // - **splunk** - Specifies the Splunk logging driver. For more information including usage and options, see [Splunk logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/splunk/) in the *Docker documentation* . // - **syslog** - Specifies the syslog logging driver. For more information including usage and options, see [Syslog logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/syslog/) in the *Docker documentation* . // // > If you have a custom driver that's not listed earlier that you want to work with the Amazon ECS container agent, you can fork the Amazon ECS container agent project that's [available on GitHub](https://docs.aws.amazon.com/https://github.com/aws/amazon-ecs-agent) and customize it to work with that driver. We encourage you to submit pull requests for changes that you want to have included. However, Amazon Web Services doesn't currently support running modified copies of this software. // // This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"` LogDriver pulumi.StringInput `pulumi:"logDriver"` // The configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"` Options pulumi.Input `pulumi:"options"` // The secrets to pass to the log configuration. For more information, see [Specifying sensitive data](https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html) in the *AWS Batch User Guide* . SecretOptions JobDefinitionSecretArrayInput `pulumi:"secretOptions"` }
func (JobDefinitionLogConfigurationArgs) ElementType ¶
func (JobDefinitionLogConfigurationArgs) ElementType() reflect.Type
func (JobDefinitionLogConfigurationArgs) ToJobDefinitionLogConfigurationOutput ¶
func (i JobDefinitionLogConfigurationArgs) ToJobDefinitionLogConfigurationOutput() JobDefinitionLogConfigurationOutput
func (JobDefinitionLogConfigurationArgs) ToJobDefinitionLogConfigurationOutputWithContext ¶
func (i JobDefinitionLogConfigurationArgs) ToJobDefinitionLogConfigurationOutputWithContext(ctx context.Context) JobDefinitionLogConfigurationOutput
func (JobDefinitionLogConfigurationArgs) ToJobDefinitionLogConfigurationPtrOutput ¶
func (i JobDefinitionLogConfigurationArgs) ToJobDefinitionLogConfigurationPtrOutput() JobDefinitionLogConfigurationPtrOutput
func (JobDefinitionLogConfigurationArgs) ToJobDefinitionLogConfigurationPtrOutputWithContext ¶
func (i JobDefinitionLogConfigurationArgs) ToJobDefinitionLogConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionLogConfigurationPtrOutput
type JobDefinitionLogConfigurationInput ¶
type JobDefinitionLogConfigurationInput interface { pulumi.Input ToJobDefinitionLogConfigurationOutput() JobDefinitionLogConfigurationOutput ToJobDefinitionLogConfigurationOutputWithContext(context.Context) JobDefinitionLogConfigurationOutput }
JobDefinitionLogConfigurationInput is an input type that accepts JobDefinitionLogConfigurationArgs and JobDefinitionLogConfigurationOutput values. You can construct a concrete instance of `JobDefinitionLogConfigurationInput` via:
JobDefinitionLogConfigurationArgs{...}
type JobDefinitionLogConfigurationOutput ¶
type JobDefinitionLogConfigurationOutput struct{ *pulumi.OutputState }
func (JobDefinitionLogConfigurationOutput) ElementType ¶
func (JobDefinitionLogConfigurationOutput) ElementType() reflect.Type
func (JobDefinitionLogConfigurationOutput) LogDriver ¶
func (o JobDefinitionLogConfigurationOutput) LogDriver() pulumi.StringOutput
The log driver to use for the container. The valid values that are listed for this parameter are log drivers that the Amazon ECS container agent can communicate with by default.
The supported log drivers are `awslogs` , `fluentd` , `gelf` , `json-file` , `journald` , `logentries` , `syslog` , and `splunk` .
> Jobs that are running on Fargate resources are restricted to the `awslogs` and `splunk` log drivers.
- **awslogs** - Specifies the Amazon CloudWatch Logs logging driver. For more information, see [Using the awslogs log driver](https://docs.aws.amazon.com/batch/latest/userguide/using_awslogs.html) in the *AWS Batch User Guide* and [Amazon CloudWatch Logs logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/awslogs/) in the Docker documentation. - **fluentd** - Specifies the Fluentd logging driver. For more information including usage and options, see [Fluentd logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/fluentd/) in the *Docker documentation* . - **gelf** - Specifies the Graylog Extended Format (GELF) logging driver. For more information including usage and options, see [Graylog Extended Format logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/gelf/) in the *Docker documentation* . - **journald** - Specifies the journald logging driver. For more information including usage and options, see [Journald logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/journald/) in the *Docker documentation* . - **json-file** - Specifies the JSON file logging driver. For more information including usage and options, see [JSON File logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/json-file/) in the *Docker documentation* . - **splunk** - Specifies the Splunk logging driver. For more information including usage and options, see [Splunk logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/splunk/) in the *Docker documentation* . - **syslog** - Specifies the syslog logging driver. For more information including usage and options, see [Syslog logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/syslog/) in the *Docker documentation* .
> If you have a custom driver that's not listed earlier that you want to work with the Amazon ECS container agent, you can fork the Amazon ECS container agent project that's [available on GitHub](https://docs.aws.amazon.com/https://github.com/aws/amazon-ecs-agent) and customize it to work with that driver. We encourage you to submit pull requests for changes that you want to have included. However, Amazon Web Services doesn't currently support running modified copies of this software.
This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"`
func (JobDefinitionLogConfigurationOutput) Options ¶
func (o JobDefinitionLogConfigurationOutput) Options() pulumi.AnyOutput
The configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"`
func (JobDefinitionLogConfigurationOutput) SecretOptions ¶
func (o JobDefinitionLogConfigurationOutput) SecretOptions() JobDefinitionSecretArrayOutput
The secrets to pass to the log configuration. For more information, see [Specifying sensitive data](https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html) in the *AWS Batch User Guide* .
func (JobDefinitionLogConfigurationOutput) ToJobDefinitionLogConfigurationOutput ¶
func (o JobDefinitionLogConfigurationOutput) ToJobDefinitionLogConfigurationOutput() JobDefinitionLogConfigurationOutput
func (JobDefinitionLogConfigurationOutput) ToJobDefinitionLogConfigurationOutputWithContext ¶
func (o JobDefinitionLogConfigurationOutput) ToJobDefinitionLogConfigurationOutputWithContext(ctx context.Context) JobDefinitionLogConfigurationOutput
func (JobDefinitionLogConfigurationOutput) ToJobDefinitionLogConfigurationPtrOutput ¶
func (o JobDefinitionLogConfigurationOutput) ToJobDefinitionLogConfigurationPtrOutput() JobDefinitionLogConfigurationPtrOutput
func (JobDefinitionLogConfigurationOutput) ToJobDefinitionLogConfigurationPtrOutputWithContext ¶
func (o JobDefinitionLogConfigurationOutput) ToJobDefinitionLogConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionLogConfigurationPtrOutput
type JobDefinitionLogConfigurationPtrInput ¶
type JobDefinitionLogConfigurationPtrInput interface { pulumi.Input ToJobDefinitionLogConfigurationPtrOutput() JobDefinitionLogConfigurationPtrOutput ToJobDefinitionLogConfigurationPtrOutputWithContext(context.Context) JobDefinitionLogConfigurationPtrOutput }
JobDefinitionLogConfigurationPtrInput is an input type that accepts JobDefinitionLogConfigurationArgs, JobDefinitionLogConfigurationPtr and JobDefinitionLogConfigurationPtrOutput values. You can construct a concrete instance of `JobDefinitionLogConfigurationPtrInput` via:
JobDefinitionLogConfigurationArgs{...} or: nil
func JobDefinitionLogConfigurationPtr ¶
func JobDefinitionLogConfigurationPtr(v *JobDefinitionLogConfigurationArgs) JobDefinitionLogConfigurationPtrInput
type JobDefinitionLogConfigurationPtrOutput ¶
type JobDefinitionLogConfigurationPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionLogConfigurationPtrOutput) ElementType ¶
func (JobDefinitionLogConfigurationPtrOutput) ElementType() reflect.Type
func (JobDefinitionLogConfigurationPtrOutput) LogDriver ¶
func (o JobDefinitionLogConfigurationPtrOutput) LogDriver() pulumi.StringPtrOutput
The log driver to use for the container. The valid values that are listed for this parameter are log drivers that the Amazon ECS container agent can communicate with by default.
The supported log drivers are `awslogs` , `fluentd` , `gelf` , `json-file` , `journald` , `logentries` , `syslog` , and `splunk` .
> Jobs that are running on Fargate resources are restricted to the `awslogs` and `splunk` log drivers.
- **awslogs** - Specifies the Amazon CloudWatch Logs logging driver. For more information, see [Using the awslogs log driver](https://docs.aws.amazon.com/batch/latest/userguide/using_awslogs.html) in the *AWS Batch User Guide* and [Amazon CloudWatch Logs logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/awslogs/) in the Docker documentation. - **fluentd** - Specifies the Fluentd logging driver. For more information including usage and options, see [Fluentd logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/fluentd/) in the *Docker documentation* . - **gelf** - Specifies the Graylog Extended Format (GELF) logging driver. For more information including usage and options, see [Graylog Extended Format logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/gelf/) in the *Docker documentation* . - **journald** - Specifies the journald logging driver. For more information including usage and options, see [Journald logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/journald/) in the *Docker documentation* . - **json-file** - Specifies the JSON file logging driver. For more information including usage and options, see [JSON File logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/json-file/) in the *Docker documentation* . - **splunk** - Specifies the Splunk logging driver. For more information including usage and options, see [Splunk logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/splunk/) in the *Docker documentation* . - **syslog** - Specifies the syslog logging driver. For more information including usage and options, see [Syslog logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/syslog/) in the *Docker documentation* .
> If you have a custom driver that's not listed earlier that you want to work with the Amazon ECS container agent, you can fork the Amazon ECS container agent project that's [available on GitHub](https://docs.aws.amazon.com/https://github.com/aws/amazon-ecs-agent) and customize it to work with that driver. We encourage you to submit pull requests for changes that you want to have included. However, Amazon Web Services doesn't currently support running modified copies of this software.
This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"`
func (JobDefinitionLogConfigurationPtrOutput) Options ¶
func (o JobDefinitionLogConfigurationPtrOutput) Options() pulumi.AnyOutput
The configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"`
func (JobDefinitionLogConfigurationPtrOutput) SecretOptions ¶
func (o JobDefinitionLogConfigurationPtrOutput) SecretOptions() JobDefinitionSecretArrayOutput
The secrets to pass to the log configuration. For more information, see [Specifying sensitive data](https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html) in the *AWS Batch User Guide* .
func (JobDefinitionLogConfigurationPtrOutput) ToJobDefinitionLogConfigurationPtrOutput ¶
func (o JobDefinitionLogConfigurationPtrOutput) ToJobDefinitionLogConfigurationPtrOutput() JobDefinitionLogConfigurationPtrOutput
func (JobDefinitionLogConfigurationPtrOutput) ToJobDefinitionLogConfigurationPtrOutputWithContext ¶
func (o JobDefinitionLogConfigurationPtrOutput) ToJobDefinitionLogConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionLogConfigurationPtrOutput
type JobDefinitionMetadata ¶ added in v0.56.0
type JobDefinitionMetadata struct {
// Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object.
Labels interface{} `pulumi:"labels"`
}
type JobDefinitionMetadataArgs ¶ added in v0.56.0
type JobDefinitionMetadataArgs struct { // Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object. Labels pulumi.Input `pulumi:"labels"` }
func (JobDefinitionMetadataArgs) ElementType ¶ added in v0.56.0
func (JobDefinitionMetadataArgs) ElementType() reflect.Type
func (JobDefinitionMetadataArgs) ToJobDefinitionMetadataOutput ¶ added in v0.56.0
func (i JobDefinitionMetadataArgs) ToJobDefinitionMetadataOutput() JobDefinitionMetadataOutput
func (JobDefinitionMetadataArgs) ToJobDefinitionMetadataOutputWithContext ¶ added in v0.56.0
func (i JobDefinitionMetadataArgs) ToJobDefinitionMetadataOutputWithContext(ctx context.Context) JobDefinitionMetadataOutput
func (JobDefinitionMetadataArgs) ToJobDefinitionMetadataPtrOutput ¶ added in v0.56.0
func (i JobDefinitionMetadataArgs) ToJobDefinitionMetadataPtrOutput() JobDefinitionMetadataPtrOutput
func (JobDefinitionMetadataArgs) ToJobDefinitionMetadataPtrOutputWithContext ¶ added in v0.56.0
func (i JobDefinitionMetadataArgs) ToJobDefinitionMetadataPtrOutputWithContext(ctx context.Context) JobDefinitionMetadataPtrOutput
type JobDefinitionMetadataInput ¶ added in v0.56.0
type JobDefinitionMetadataInput interface { pulumi.Input ToJobDefinitionMetadataOutput() JobDefinitionMetadataOutput ToJobDefinitionMetadataOutputWithContext(context.Context) JobDefinitionMetadataOutput }
JobDefinitionMetadataInput is an input type that accepts JobDefinitionMetadataArgs and JobDefinitionMetadataOutput values. You can construct a concrete instance of `JobDefinitionMetadataInput` via:
JobDefinitionMetadataArgs{...}
type JobDefinitionMetadataOutput ¶ added in v0.56.0
type JobDefinitionMetadataOutput struct{ *pulumi.OutputState }
func (JobDefinitionMetadataOutput) ElementType ¶ added in v0.56.0
func (JobDefinitionMetadataOutput) ElementType() reflect.Type
func (JobDefinitionMetadataOutput) Labels ¶ added in v0.56.0
func (o JobDefinitionMetadataOutput) Labels() pulumi.AnyOutput
Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object.
func (JobDefinitionMetadataOutput) ToJobDefinitionMetadataOutput ¶ added in v0.56.0
func (o JobDefinitionMetadataOutput) ToJobDefinitionMetadataOutput() JobDefinitionMetadataOutput
func (JobDefinitionMetadataOutput) ToJobDefinitionMetadataOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionMetadataOutput) ToJobDefinitionMetadataOutputWithContext(ctx context.Context) JobDefinitionMetadataOutput
func (JobDefinitionMetadataOutput) ToJobDefinitionMetadataPtrOutput ¶ added in v0.56.0
func (o JobDefinitionMetadataOutput) ToJobDefinitionMetadataPtrOutput() JobDefinitionMetadataPtrOutput
func (JobDefinitionMetadataOutput) ToJobDefinitionMetadataPtrOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionMetadataOutput) ToJobDefinitionMetadataPtrOutputWithContext(ctx context.Context) JobDefinitionMetadataPtrOutput
type JobDefinitionMetadataPtrInput ¶ added in v0.56.0
type JobDefinitionMetadataPtrInput interface { pulumi.Input ToJobDefinitionMetadataPtrOutput() JobDefinitionMetadataPtrOutput ToJobDefinitionMetadataPtrOutputWithContext(context.Context) JobDefinitionMetadataPtrOutput }
JobDefinitionMetadataPtrInput is an input type that accepts JobDefinitionMetadataArgs, JobDefinitionMetadataPtr and JobDefinitionMetadataPtrOutput values. You can construct a concrete instance of `JobDefinitionMetadataPtrInput` via:
JobDefinitionMetadataArgs{...} or: nil
func JobDefinitionMetadataPtr ¶ added in v0.56.0
func JobDefinitionMetadataPtr(v *JobDefinitionMetadataArgs) JobDefinitionMetadataPtrInput
type JobDefinitionMetadataPtrOutput ¶ added in v0.56.0
type JobDefinitionMetadataPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionMetadataPtrOutput) Elem ¶ added in v0.56.0
func (o JobDefinitionMetadataPtrOutput) Elem() JobDefinitionMetadataOutput
func (JobDefinitionMetadataPtrOutput) ElementType ¶ added in v0.56.0
func (JobDefinitionMetadataPtrOutput) ElementType() reflect.Type
func (JobDefinitionMetadataPtrOutput) Labels ¶ added in v0.56.0
func (o JobDefinitionMetadataPtrOutput) Labels() pulumi.AnyOutput
Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object.
func (JobDefinitionMetadataPtrOutput) ToJobDefinitionMetadataPtrOutput ¶ added in v0.56.0
func (o JobDefinitionMetadataPtrOutput) ToJobDefinitionMetadataPtrOutput() JobDefinitionMetadataPtrOutput
func (JobDefinitionMetadataPtrOutput) ToJobDefinitionMetadataPtrOutputWithContext ¶ added in v0.56.0
func (o JobDefinitionMetadataPtrOutput) ToJobDefinitionMetadataPtrOutputWithContext(ctx context.Context) JobDefinitionMetadataPtrOutput
type JobDefinitionMountPoints ¶
type JobDefinitionMountPoints struct { // The path on the container where the host volume is mounted. ContainerPath *string `pulumi:"containerPath"` // If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` . ReadOnly *bool `pulumi:"readOnly"` // The name of the volume to mount. SourceVolume *string `pulumi:"sourceVolume"` }
type JobDefinitionMountPointsArgs ¶
type JobDefinitionMountPointsArgs struct { // The path on the container where the host volume is mounted. ContainerPath pulumi.StringPtrInput `pulumi:"containerPath"` // If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` . ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"` // The name of the volume to mount. SourceVolume pulumi.StringPtrInput `pulumi:"sourceVolume"` }
func (JobDefinitionMountPointsArgs) ElementType ¶
func (JobDefinitionMountPointsArgs) ElementType() reflect.Type
func (JobDefinitionMountPointsArgs) ToJobDefinitionMountPointsOutput ¶
func (i JobDefinitionMountPointsArgs) ToJobDefinitionMountPointsOutput() JobDefinitionMountPointsOutput
func (JobDefinitionMountPointsArgs) ToJobDefinitionMountPointsOutputWithContext ¶
func (i JobDefinitionMountPointsArgs) ToJobDefinitionMountPointsOutputWithContext(ctx context.Context) JobDefinitionMountPointsOutput
type JobDefinitionMountPointsArray ¶
type JobDefinitionMountPointsArray []JobDefinitionMountPointsInput
func (JobDefinitionMountPointsArray) ElementType ¶
func (JobDefinitionMountPointsArray) ElementType() reflect.Type
func (JobDefinitionMountPointsArray) ToJobDefinitionMountPointsArrayOutput ¶
func (i JobDefinitionMountPointsArray) ToJobDefinitionMountPointsArrayOutput() JobDefinitionMountPointsArrayOutput
func (JobDefinitionMountPointsArray) ToJobDefinitionMountPointsArrayOutputWithContext ¶
func (i JobDefinitionMountPointsArray) ToJobDefinitionMountPointsArrayOutputWithContext(ctx context.Context) JobDefinitionMountPointsArrayOutput
type JobDefinitionMountPointsArrayInput ¶
type JobDefinitionMountPointsArrayInput interface { pulumi.Input ToJobDefinitionMountPointsArrayOutput() JobDefinitionMountPointsArrayOutput ToJobDefinitionMountPointsArrayOutputWithContext(context.Context) JobDefinitionMountPointsArrayOutput }
JobDefinitionMountPointsArrayInput is an input type that accepts JobDefinitionMountPointsArray and JobDefinitionMountPointsArrayOutput values. You can construct a concrete instance of `JobDefinitionMountPointsArrayInput` via:
JobDefinitionMountPointsArray{ JobDefinitionMountPointsArgs{...} }
type JobDefinitionMountPointsArrayOutput ¶
type JobDefinitionMountPointsArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionMountPointsArrayOutput) ElementType ¶
func (JobDefinitionMountPointsArrayOutput) ElementType() reflect.Type
func (JobDefinitionMountPointsArrayOutput) Index ¶
func (o JobDefinitionMountPointsArrayOutput) Index(i pulumi.IntInput) JobDefinitionMountPointsOutput
func (JobDefinitionMountPointsArrayOutput) ToJobDefinitionMountPointsArrayOutput ¶
func (o JobDefinitionMountPointsArrayOutput) ToJobDefinitionMountPointsArrayOutput() JobDefinitionMountPointsArrayOutput
func (JobDefinitionMountPointsArrayOutput) ToJobDefinitionMountPointsArrayOutputWithContext ¶
func (o JobDefinitionMountPointsArrayOutput) ToJobDefinitionMountPointsArrayOutputWithContext(ctx context.Context) JobDefinitionMountPointsArrayOutput
type JobDefinitionMountPointsInput ¶
type JobDefinitionMountPointsInput interface { pulumi.Input ToJobDefinitionMountPointsOutput() JobDefinitionMountPointsOutput ToJobDefinitionMountPointsOutputWithContext(context.Context) JobDefinitionMountPointsOutput }
JobDefinitionMountPointsInput is an input type that accepts JobDefinitionMountPointsArgs and JobDefinitionMountPointsOutput values. You can construct a concrete instance of `JobDefinitionMountPointsInput` via:
JobDefinitionMountPointsArgs{...}
type JobDefinitionMountPointsOutput ¶
type JobDefinitionMountPointsOutput struct{ *pulumi.OutputState }
func (JobDefinitionMountPointsOutput) ContainerPath ¶
func (o JobDefinitionMountPointsOutput) ContainerPath() pulumi.StringPtrOutput
The path on the container where the host volume is mounted.
func (JobDefinitionMountPointsOutput) ElementType ¶
func (JobDefinitionMountPointsOutput) ElementType() reflect.Type
func (JobDefinitionMountPointsOutput) ReadOnly ¶
func (o JobDefinitionMountPointsOutput) ReadOnly() pulumi.BoolPtrOutput
If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` .
func (JobDefinitionMountPointsOutput) SourceVolume ¶
func (o JobDefinitionMountPointsOutput) SourceVolume() pulumi.StringPtrOutput
The name of the volume to mount.
func (JobDefinitionMountPointsOutput) ToJobDefinitionMountPointsOutput ¶
func (o JobDefinitionMountPointsOutput) ToJobDefinitionMountPointsOutput() JobDefinitionMountPointsOutput
func (JobDefinitionMountPointsOutput) ToJobDefinitionMountPointsOutputWithContext ¶
func (o JobDefinitionMountPointsOutput) ToJobDefinitionMountPointsOutputWithContext(ctx context.Context) JobDefinitionMountPointsOutput
type JobDefinitionNetworkConfiguration ¶
type JobDefinitionNetworkConfiguration struct { // Indicates whether the job has a public IP address. For a job that's running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, to pull container images), the private subnet requires a NAT gateway be attached to route requests to the internet. For more information, see [Amazon ECS task networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) in the *Amazon Elastic Container Service Developer Guide* . The default value is " `DISABLED` ". AssignPublicIp *string `pulumi:"assignPublicIp"` }
type JobDefinitionNetworkConfigurationArgs ¶
type JobDefinitionNetworkConfigurationArgs struct { // Indicates whether the job has a public IP address. For a job that's running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, to pull container images), the private subnet requires a NAT gateway be attached to route requests to the internet. For more information, see [Amazon ECS task networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) in the *Amazon Elastic Container Service Developer Guide* . The default value is " `DISABLED` ". AssignPublicIp pulumi.StringPtrInput `pulumi:"assignPublicIp"` }
func (JobDefinitionNetworkConfigurationArgs) ElementType ¶
func (JobDefinitionNetworkConfigurationArgs) ElementType() reflect.Type
func (JobDefinitionNetworkConfigurationArgs) ToJobDefinitionNetworkConfigurationOutput ¶
func (i JobDefinitionNetworkConfigurationArgs) ToJobDefinitionNetworkConfigurationOutput() JobDefinitionNetworkConfigurationOutput
func (JobDefinitionNetworkConfigurationArgs) ToJobDefinitionNetworkConfigurationOutputWithContext ¶
func (i JobDefinitionNetworkConfigurationArgs) ToJobDefinitionNetworkConfigurationOutputWithContext(ctx context.Context) JobDefinitionNetworkConfigurationOutput
func (JobDefinitionNetworkConfigurationArgs) ToJobDefinitionNetworkConfigurationPtrOutput ¶
func (i JobDefinitionNetworkConfigurationArgs) ToJobDefinitionNetworkConfigurationPtrOutput() JobDefinitionNetworkConfigurationPtrOutput
func (JobDefinitionNetworkConfigurationArgs) ToJobDefinitionNetworkConfigurationPtrOutputWithContext ¶
func (i JobDefinitionNetworkConfigurationArgs) ToJobDefinitionNetworkConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionNetworkConfigurationPtrOutput
type JobDefinitionNetworkConfigurationInput ¶
type JobDefinitionNetworkConfigurationInput interface { pulumi.Input ToJobDefinitionNetworkConfigurationOutput() JobDefinitionNetworkConfigurationOutput ToJobDefinitionNetworkConfigurationOutputWithContext(context.Context) JobDefinitionNetworkConfigurationOutput }
JobDefinitionNetworkConfigurationInput is an input type that accepts JobDefinitionNetworkConfigurationArgs and JobDefinitionNetworkConfigurationOutput values. You can construct a concrete instance of `JobDefinitionNetworkConfigurationInput` via:
JobDefinitionNetworkConfigurationArgs{...}
type JobDefinitionNetworkConfigurationOutput ¶
type JobDefinitionNetworkConfigurationOutput struct{ *pulumi.OutputState }
func (JobDefinitionNetworkConfigurationOutput) AssignPublicIp ¶
func (o JobDefinitionNetworkConfigurationOutput) AssignPublicIp() pulumi.StringPtrOutput
Indicates whether the job has a public IP address. For a job that's running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, to pull container images), the private subnet requires a NAT gateway be attached to route requests to the internet. For more information, see [Amazon ECS task networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) in the *Amazon Elastic Container Service Developer Guide* . The default value is " `DISABLED` ".
func (JobDefinitionNetworkConfigurationOutput) ElementType ¶
func (JobDefinitionNetworkConfigurationOutput) ElementType() reflect.Type
func (JobDefinitionNetworkConfigurationOutput) ToJobDefinitionNetworkConfigurationOutput ¶
func (o JobDefinitionNetworkConfigurationOutput) ToJobDefinitionNetworkConfigurationOutput() JobDefinitionNetworkConfigurationOutput
func (JobDefinitionNetworkConfigurationOutput) ToJobDefinitionNetworkConfigurationOutputWithContext ¶
func (o JobDefinitionNetworkConfigurationOutput) ToJobDefinitionNetworkConfigurationOutputWithContext(ctx context.Context) JobDefinitionNetworkConfigurationOutput
func (JobDefinitionNetworkConfigurationOutput) ToJobDefinitionNetworkConfigurationPtrOutput ¶
func (o JobDefinitionNetworkConfigurationOutput) ToJobDefinitionNetworkConfigurationPtrOutput() JobDefinitionNetworkConfigurationPtrOutput
func (JobDefinitionNetworkConfigurationOutput) ToJobDefinitionNetworkConfigurationPtrOutputWithContext ¶
func (o JobDefinitionNetworkConfigurationOutput) ToJobDefinitionNetworkConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionNetworkConfigurationPtrOutput
type JobDefinitionNetworkConfigurationPtrInput ¶
type JobDefinitionNetworkConfigurationPtrInput interface { pulumi.Input ToJobDefinitionNetworkConfigurationPtrOutput() JobDefinitionNetworkConfigurationPtrOutput ToJobDefinitionNetworkConfigurationPtrOutputWithContext(context.Context) JobDefinitionNetworkConfigurationPtrOutput }
JobDefinitionNetworkConfigurationPtrInput is an input type that accepts JobDefinitionNetworkConfigurationArgs, JobDefinitionNetworkConfigurationPtr and JobDefinitionNetworkConfigurationPtrOutput values. You can construct a concrete instance of `JobDefinitionNetworkConfigurationPtrInput` via:
JobDefinitionNetworkConfigurationArgs{...} or: nil
func JobDefinitionNetworkConfigurationPtr ¶
func JobDefinitionNetworkConfigurationPtr(v *JobDefinitionNetworkConfigurationArgs) JobDefinitionNetworkConfigurationPtrInput
type JobDefinitionNetworkConfigurationPtrOutput ¶
type JobDefinitionNetworkConfigurationPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionNetworkConfigurationPtrOutput) AssignPublicIp ¶
func (o JobDefinitionNetworkConfigurationPtrOutput) AssignPublicIp() pulumi.StringPtrOutput
Indicates whether the job has a public IP address. For a job that's running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, to pull container images), the private subnet requires a NAT gateway be attached to route requests to the internet. For more information, see [Amazon ECS task networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) in the *Amazon Elastic Container Service Developer Guide* . The default value is " `DISABLED` ".
func (JobDefinitionNetworkConfigurationPtrOutput) ElementType ¶
func (JobDefinitionNetworkConfigurationPtrOutput) ElementType() reflect.Type
func (JobDefinitionNetworkConfigurationPtrOutput) ToJobDefinitionNetworkConfigurationPtrOutput ¶
func (o JobDefinitionNetworkConfigurationPtrOutput) ToJobDefinitionNetworkConfigurationPtrOutput() JobDefinitionNetworkConfigurationPtrOutput
func (JobDefinitionNetworkConfigurationPtrOutput) ToJobDefinitionNetworkConfigurationPtrOutputWithContext ¶
func (o JobDefinitionNetworkConfigurationPtrOutput) ToJobDefinitionNetworkConfigurationPtrOutputWithContext(ctx context.Context) JobDefinitionNetworkConfigurationPtrOutput
type JobDefinitionNodeProperties ¶
type JobDefinitionNodeProperties struct { // Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes. MainNode int `pulumi:"mainNode"` // A list of node ranges and their properties that are associated with a multi-node parallel job. NodeRangeProperties []JobDefinitionNodeRangeProperty `pulumi:"nodeRangeProperties"` // The number of nodes that are associated with a multi-node parallel job. NumNodes int `pulumi:"numNodes"` }
type JobDefinitionNodePropertiesArgs ¶
type JobDefinitionNodePropertiesArgs struct { // Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes. MainNode pulumi.IntInput `pulumi:"mainNode"` // A list of node ranges and their properties that are associated with a multi-node parallel job. NodeRangeProperties JobDefinitionNodeRangePropertyArrayInput `pulumi:"nodeRangeProperties"` // The number of nodes that are associated with a multi-node parallel job. NumNodes pulumi.IntInput `pulumi:"numNodes"` }
func (JobDefinitionNodePropertiesArgs) ElementType ¶
func (JobDefinitionNodePropertiesArgs) ElementType() reflect.Type
func (JobDefinitionNodePropertiesArgs) ToJobDefinitionNodePropertiesOutput ¶
func (i JobDefinitionNodePropertiesArgs) ToJobDefinitionNodePropertiesOutput() JobDefinitionNodePropertiesOutput
func (JobDefinitionNodePropertiesArgs) ToJobDefinitionNodePropertiesOutputWithContext ¶
func (i JobDefinitionNodePropertiesArgs) ToJobDefinitionNodePropertiesOutputWithContext(ctx context.Context) JobDefinitionNodePropertiesOutput
func (JobDefinitionNodePropertiesArgs) ToJobDefinitionNodePropertiesPtrOutput ¶
func (i JobDefinitionNodePropertiesArgs) ToJobDefinitionNodePropertiesPtrOutput() JobDefinitionNodePropertiesPtrOutput
func (JobDefinitionNodePropertiesArgs) ToJobDefinitionNodePropertiesPtrOutputWithContext ¶
func (i JobDefinitionNodePropertiesArgs) ToJobDefinitionNodePropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionNodePropertiesPtrOutput
type JobDefinitionNodePropertiesInput ¶
type JobDefinitionNodePropertiesInput interface { pulumi.Input ToJobDefinitionNodePropertiesOutput() JobDefinitionNodePropertiesOutput ToJobDefinitionNodePropertiesOutputWithContext(context.Context) JobDefinitionNodePropertiesOutput }
JobDefinitionNodePropertiesInput is an input type that accepts JobDefinitionNodePropertiesArgs and JobDefinitionNodePropertiesOutput values. You can construct a concrete instance of `JobDefinitionNodePropertiesInput` via:
JobDefinitionNodePropertiesArgs{...}
type JobDefinitionNodePropertiesOutput ¶
type JobDefinitionNodePropertiesOutput struct{ *pulumi.OutputState }
func (JobDefinitionNodePropertiesOutput) ElementType ¶
func (JobDefinitionNodePropertiesOutput) ElementType() reflect.Type
func (JobDefinitionNodePropertiesOutput) MainNode ¶
func (o JobDefinitionNodePropertiesOutput) MainNode() pulumi.IntOutput
Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
func (JobDefinitionNodePropertiesOutput) NodeRangeProperties ¶
func (o JobDefinitionNodePropertiesOutput) NodeRangeProperties() JobDefinitionNodeRangePropertyArrayOutput
A list of node ranges and their properties that are associated with a multi-node parallel job.
func (JobDefinitionNodePropertiesOutput) NumNodes ¶
func (o JobDefinitionNodePropertiesOutput) NumNodes() pulumi.IntOutput
The number of nodes that are associated with a multi-node parallel job.
func (JobDefinitionNodePropertiesOutput) ToJobDefinitionNodePropertiesOutput ¶
func (o JobDefinitionNodePropertiesOutput) ToJobDefinitionNodePropertiesOutput() JobDefinitionNodePropertiesOutput
func (JobDefinitionNodePropertiesOutput) ToJobDefinitionNodePropertiesOutputWithContext ¶
func (o JobDefinitionNodePropertiesOutput) ToJobDefinitionNodePropertiesOutputWithContext(ctx context.Context) JobDefinitionNodePropertiesOutput
func (JobDefinitionNodePropertiesOutput) ToJobDefinitionNodePropertiesPtrOutput ¶
func (o JobDefinitionNodePropertiesOutput) ToJobDefinitionNodePropertiesPtrOutput() JobDefinitionNodePropertiesPtrOutput
func (JobDefinitionNodePropertiesOutput) ToJobDefinitionNodePropertiesPtrOutputWithContext ¶
func (o JobDefinitionNodePropertiesOutput) ToJobDefinitionNodePropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionNodePropertiesPtrOutput
type JobDefinitionNodePropertiesPtrInput ¶
type JobDefinitionNodePropertiesPtrInput interface { pulumi.Input ToJobDefinitionNodePropertiesPtrOutput() JobDefinitionNodePropertiesPtrOutput ToJobDefinitionNodePropertiesPtrOutputWithContext(context.Context) JobDefinitionNodePropertiesPtrOutput }
JobDefinitionNodePropertiesPtrInput is an input type that accepts JobDefinitionNodePropertiesArgs, JobDefinitionNodePropertiesPtr and JobDefinitionNodePropertiesPtrOutput values. You can construct a concrete instance of `JobDefinitionNodePropertiesPtrInput` via:
JobDefinitionNodePropertiesArgs{...} or: nil
func JobDefinitionNodePropertiesPtr ¶
func JobDefinitionNodePropertiesPtr(v *JobDefinitionNodePropertiesArgs) JobDefinitionNodePropertiesPtrInput
type JobDefinitionNodePropertiesPtrOutput ¶
type JobDefinitionNodePropertiesPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionNodePropertiesPtrOutput) ElementType ¶
func (JobDefinitionNodePropertiesPtrOutput) ElementType() reflect.Type
func (JobDefinitionNodePropertiesPtrOutput) MainNode ¶
func (o JobDefinitionNodePropertiesPtrOutput) MainNode() pulumi.IntPtrOutput
Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
func (JobDefinitionNodePropertiesPtrOutput) NodeRangeProperties ¶
func (o JobDefinitionNodePropertiesPtrOutput) NodeRangeProperties() JobDefinitionNodeRangePropertyArrayOutput
A list of node ranges and their properties that are associated with a multi-node parallel job.
func (JobDefinitionNodePropertiesPtrOutput) NumNodes ¶
func (o JobDefinitionNodePropertiesPtrOutput) NumNodes() pulumi.IntPtrOutput
The number of nodes that are associated with a multi-node parallel job.
func (JobDefinitionNodePropertiesPtrOutput) ToJobDefinitionNodePropertiesPtrOutput ¶
func (o JobDefinitionNodePropertiesPtrOutput) ToJobDefinitionNodePropertiesPtrOutput() JobDefinitionNodePropertiesPtrOutput
func (JobDefinitionNodePropertiesPtrOutput) ToJobDefinitionNodePropertiesPtrOutputWithContext ¶
func (o JobDefinitionNodePropertiesPtrOutput) ToJobDefinitionNodePropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionNodePropertiesPtrOutput
type JobDefinitionNodeRangeProperty ¶
type JobDefinitionNodeRangeProperty struct { // The container details for the node range. Container *JobDefinitionContainerProperties `pulumi:"container"` // This is an object that represents the properties of the node range for a multi-node parallel job. EcsProperties *JobDefinitionEcsProperties `pulumi:"ecsProperties"` // This is an object that represents the properties of the node range for a multi-node parallel job. EksProperties *JobDefinitionEksProperties `pulumi:"eksProperties"` // The instance types of the underlying host infrastructure of a multi-node parallel job. // // > This parameter isn't applicable to jobs that are running on Fargate resources. // > // > In addition, this list object is currently limited to one element. InstanceTypes []string `pulumi:"instanceTypes"` // The range of nodes, using node index values. A range of `0:3` indicates nodes with index values of `0` through `3` . If the starting range value is omitted ( `:n` ), then `0` is used to start the range. If the ending range value is omitted ( `n:` ), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes ( `0:n` ). You can nest node ranges (for example, `0:10` and `4:5` ). In this case, the `4:5` range properties override the `0:10` properties. TargetNodes string `pulumi:"targetNodes"` }
type JobDefinitionNodeRangePropertyArgs ¶
type JobDefinitionNodeRangePropertyArgs struct { // The container details for the node range. Container JobDefinitionContainerPropertiesPtrInput `pulumi:"container"` // This is an object that represents the properties of the node range for a multi-node parallel job. EcsProperties JobDefinitionEcsPropertiesPtrInput `pulumi:"ecsProperties"` // This is an object that represents the properties of the node range for a multi-node parallel job. EksProperties JobDefinitionEksPropertiesPtrInput `pulumi:"eksProperties"` // The instance types of the underlying host infrastructure of a multi-node parallel job. // // > This parameter isn't applicable to jobs that are running on Fargate resources. // > // > In addition, this list object is currently limited to one element. InstanceTypes pulumi.StringArrayInput `pulumi:"instanceTypes"` // The range of nodes, using node index values. A range of `0:3` indicates nodes with index values of `0` through `3` . If the starting range value is omitted ( `:n` ), then `0` is used to start the range. If the ending range value is omitted ( `n:` ), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes ( `0:n` ). You can nest node ranges (for example, `0:10` and `4:5` ). In this case, the `4:5` range properties override the `0:10` properties. TargetNodes pulumi.StringInput `pulumi:"targetNodes"` }
func (JobDefinitionNodeRangePropertyArgs) ElementType ¶
func (JobDefinitionNodeRangePropertyArgs) ElementType() reflect.Type
func (JobDefinitionNodeRangePropertyArgs) ToJobDefinitionNodeRangePropertyOutput ¶
func (i JobDefinitionNodeRangePropertyArgs) ToJobDefinitionNodeRangePropertyOutput() JobDefinitionNodeRangePropertyOutput
func (JobDefinitionNodeRangePropertyArgs) ToJobDefinitionNodeRangePropertyOutputWithContext ¶
func (i JobDefinitionNodeRangePropertyArgs) ToJobDefinitionNodeRangePropertyOutputWithContext(ctx context.Context) JobDefinitionNodeRangePropertyOutput
type JobDefinitionNodeRangePropertyArray ¶
type JobDefinitionNodeRangePropertyArray []JobDefinitionNodeRangePropertyInput
func (JobDefinitionNodeRangePropertyArray) ElementType ¶
func (JobDefinitionNodeRangePropertyArray) ElementType() reflect.Type
func (JobDefinitionNodeRangePropertyArray) ToJobDefinitionNodeRangePropertyArrayOutput ¶
func (i JobDefinitionNodeRangePropertyArray) ToJobDefinitionNodeRangePropertyArrayOutput() JobDefinitionNodeRangePropertyArrayOutput
func (JobDefinitionNodeRangePropertyArray) ToJobDefinitionNodeRangePropertyArrayOutputWithContext ¶
func (i JobDefinitionNodeRangePropertyArray) ToJobDefinitionNodeRangePropertyArrayOutputWithContext(ctx context.Context) JobDefinitionNodeRangePropertyArrayOutput
type JobDefinitionNodeRangePropertyArrayInput ¶
type JobDefinitionNodeRangePropertyArrayInput interface { pulumi.Input ToJobDefinitionNodeRangePropertyArrayOutput() JobDefinitionNodeRangePropertyArrayOutput ToJobDefinitionNodeRangePropertyArrayOutputWithContext(context.Context) JobDefinitionNodeRangePropertyArrayOutput }
JobDefinitionNodeRangePropertyArrayInput is an input type that accepts JobDefinitionNodeRangePropertyArray and JobDefinitionNodeRangePropertyArrayOutput values. You can construct a concrete instance of `JobDefinitionNodeRangePropertyArrayInput` via:
JobDefinitionNodeRangePropertyArray{ JobDefinitionNodeRangePropertyArgs{...} }
type JobDefinitionNodeRangePropertyArrayOutput ¶
type JobDefinitionNodeRangePropertyArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionNodeRangePropertyArrayOutput) ElementType ¶
func (JobDefinitionNodeRangePropertyArrayOutput) ElementType() reflect.Type
func (JobDefinitionNodeRangePropertyArrayOutput) ToJobDefinitionNodeRangePropertyArrayOutput ¶
func (o JobDefinitionNodeRangePropertyArrayOutput) ToJobDefinitionNodeRangePropertyArrayOutput() JobDefinitionNodeRangePropertyArrayOutput
func (JobDefinitionNodeRangePropertyArrayOutput) ToJobDefinitionNodeRangePropertyArrayOutputWithContext ¶
func (o JobDefinitionNodeRangePropertyArrayOutput) ToJobDefinitionNodeRangePropertyArrayOutputWithContext(ctx context.Context) JobDefinitionNodeRangePropertyArrayOutput
type JobDefinitionNodeRangePropertyInput ¶
type JobDefinitionNodeRangePropertyInput interface { pulumi.Input ToJobDefinitionNodeRangePropertyOutput() JobDefinitionNodeRangePropertyOutput ToJobDefinitionNodeRangePropertyOutputWithContext(context.Context) JobDefinitionNodeRangePropertyOutput }
JobDefinitionNodeRangePropertyInput is an input type that accepts JobDefinitionNodeRangePropertyArgs and JobDefinitionNodeRangePropertyOutput values. You can construct a concrete instance of `JobDefinitionNodeRangePropertyInput` via:
JobDefinitionNodeRangePropertyArgs{...}
type JobDefinitionNodeRangePropertyOutput ¶
type JobDefinitionNodeRangePropertyOutput struct{ *pulumi.OutputState }
func (JobDefinitionNodeRangePropertyOutput) Container ¶
func (o JobDefinitionNodeRangePropertyOutput) Container() JobDefinitionContainerPropertiesPtrOutput
The container details for the node range.
func (JobDefinitionNodeRangePropertyOutput) EcsProperties ¶ added in v0.99.0
func (o JobDefinitionNodeRangePropertyOutput) EcsProperties() JobDefinitionEcsPropertiesPtrOutput
This is an object that represents the properties of the node range for a multi-node parallel job.
func (JobDefinitionNodeRangePropertyOutput) EksProperties ¶ added in v0.113.0
func (o JobDefinitionNodeRangePropertyOutput) EksProperties() JobDefinitionEksPropertiesPtrOutput
This is an object that represents the properties of the node range for a multi-node parallel job.
func (JobDefinitionNodeRangePropertyOutput) ElementType ¶
func (JobDefinitionNodeRangePropertyOutput) ElementType() reflect.Type
func (JobDefinitionNodeRangePropertyOutput) InstanceTypes ¶ added in v0.99.0
func (o JobDefinitionNodeRangePropertyOutput) InstanceTypes() pulumi.StringArrayOutput
The instance types of the underlying host infrastructure of a multi-node parallel job.
> This parameter isn't applicable to jobs that are running on Fargate resources. > > In addition, this list object is currently limited to one element.
func (JobDefinitionNodeRangePropertyOutput) TargetNodes ¶
func (o JobDefinitionNodeRangePropertyOutput) TargetNodes() pulumi.StringOutput
The range of nodes, using node index values. A range of `0:3` indicates nodes with index values of `0` through `3` . If the starting range value is omitted ( `:n` ), then `0` is used to start the range. If the ending range value is omitted ( `n:` ), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes ( `0:n` ). You can nest node ranges (for example, `0:10` and `4:5` ). In this case, the `4:5` range properties override the `0:10` properties.
func (JobDefinitionNodeRangePropertyOutput) ToJobDefinitionNodeRangePropertyOutput ¶
func (o JobDefinitionNodeRangePropertyOutput) ToJobDefinitionNodeRangePropertyOutput() JobDefinitionNodeRangePropertyOutput
func (JobDefinitionNodeRangePropertyOutput) ToJobDefinitionNodeRangePropertyOutputWithContext ¶
func (o JobDefinitionNodeRangePropertyOutput) ToJobDefinitionNodeRangePropertyOutputWithContext(ctx context.Context) JobDefinitionNodeRangePropertyOutput
type JobDefinitionOutput ¶
type JobDefinitionOutput struct{ *pulumi.OutputState }
func (JobDefinitionOutput) AwsId ¶ added in v0.99.0
func (o JobDefinitionOutput) AwsId() pulumi.StringOutput
func (JobDefinitionOutput) ContainerProperties ¶ added in v0.17.0
func (o JobDefinitionOutput) ContainerProperties() JobDefinitionContainerPropertiesPtrOutput
An object with properties specific to Amazon ECS-based jobs. When `containerProperties` is used in the job definition, it can't be used in addition to `eksProperties` , `ecsProperties` , or `nodeProperties` .
func (JobDefinitionOutput) EcsProperties ¶ added in v0.99.0
func (o JobDefinitionOutput) EcsProperties() JobDefinitionEcsPropertiesPtrOutput
An object that contains the properties for the Amazon ECS resources of a job.When `ecsProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `eksProperties` , or `nodeProperties` .
func (JobDefinitionOutput) EksProperties ¶ added in v0.41.0
func (o JobDefinitionOutput) EksProperties() JobDefinitionEksPropertiesPtrOutput
An object with properties that are specific to Amazon EKS-based jobs. When `eksProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `ecsProperties` , or `nodeProperties` .
func (JobDefinitionOutput) ElementType ¶
func (JobDefinitionOutput) ElementType() reflect.Type
func (JobDefinitionOutput) JobDefinitionName ¶ added in v0.17.0
func (o JobDefinitionOutput) JobDefinitionName() pulumi.StringPtrOutput
The name of the job definition.
func (JobDefinitionOutput) NodeProperties ¶ added in v0.17.0
func (o JobDefinitionOutput) NodeProperties() JobDefinitionNodePropertiesPtrOutput
An object with properties that are specific to multi-node parallel jobs. When `nodeProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `ecsProperties` , or `eksProperties` .
> If the job runs on Fargate resources, don't specify `nodeProperties` . Use `containerProperties` instead.
func (JobDefinitionOutput) Parameters ¶ added in v0.17.0
func (o JobDefinitionOutput) Parameters() pulumi.AnyOutput
Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are specified as a key-value pair mapping. Parameters in a `SubmitJob` request override any corresponding parameter defaults from the job definition. For more information about specifying parameters, see [Job definition parameters](https://docs.aws.amazon.com/batch/latest/userguide/job_definition_parameters.html) in the *AWS Batch User Guide* .
Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Batch::JobDefinition` for more information about the expected schema for this property.
func (JobDefinitionOutput) PlatformCapabilities ¶ added in v0.17.0
func (o JobDefinitionOutput) PlatformCapabilities() pulumi.StringArrayOutput
The platform capabilities required by the job definition. If no value is specified, it defaults to `EC2` . Jobs run on Fargate resources specify `FARGATE` .
func (JobDefinitionOutput) PropagateTags ¶ added in v0.17.0
func (o JobDefinitionOutput) PropagateTags() pulumi.BoolPtrOutput
Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the tasks when the tasks are created. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the `FAILED` state.
func (JobDefinitionOutput) RetryStrategy ¶ added in v0.17.0
func (o JobDefinitionOutput) RetryStrategy() JobDefinitionRetryStrategyPtrOutput
The retry strategy to use for failed jobs that are submitted with this job definition.
func (JobDefinitionOutput) SchedulingPriority ¶ added in v0.17.0
func (o JobDefinitionOutput) SchedulingPriority() pulumi.IntPtrOutput
The scheduling priority of the job definition. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority.
func (JobDefinitionOutput) Tags ¶ added in v0.17.0
func (o JobDefinitionOutput) Tags() pulumi.AnyOutput
The tags that are applied to the job definition.
Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Batch::JobDefinition` for more information about the expected schema for this property.
func (JobDefinitionOutput) Timeout ¶ added in v0.17.0
func (o JobDefinitionOutput) Timeout() JobDefinitionTimeoutPtrOutput
The timeout time for jobs that are submitted with this job definition. After the amount of time you specify passes, AWS Batch terminates your jobs if they aren't finished.
func (JobDefinitionOutput) ToJobDefinitionOutput ¶
func (o JobDefinitionOutput) ToJobDefinitionOutput() JobDefinitionOutput
func (JobDefinitionOutput) ToJobDefinitionOutputWithContext ¶
func (o JobDefinitionOutput) ToJobDefinitionOutputWithContext(ctx context.Context) JobDefinitionOutput
func (JobDefinitionOutput) Type ¶ added in v0.17.0
func (o JobDefinitionOutput) Type() pulumi.StringOutput
The type of job definition. For more information about multi-node parallel jobs, see [Creating a multi-node parallel job definition](https://docs.aws.amazon.com/batch/latest/userguide/multi-node-job-def.html) in the *AWS Batch User Guide* .
- If the value is `container` , then one of the following is required: `containerProperties` , `ecsProperties` , or `eksProperties` . - If the value is `multinode` , then `nodeProperties` is required.
> If the job is run on Fargate resources, then `multinode` isn't supported.
type JobDefinitionPodProperties ¶ added in v0.41.0
type JobDefinitionPodProperties struct { // The properties of the container that's used on the Amazon EKS pod. Containers []JobDefinitionEksContainer `pulumi:"containers"` // The DNS policy for the pod. The default value is `ClusterFirst` . If the `hostNetwork` parameter is not specified, the default is `ClusterFirstWithHostNet` . `ClusterFirst` indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see [Pod's DNS policy](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy) in the *Kubernetes documentation* . // // Valid values: `Default` | `ClusterFirst` | `ClusterFirstWithHostNet` DnsPolicy *string `pulumi:"dnsPolicy"` // Indicates if the pod uses the hosts' network IP address. The default value is `true` . Setting this to `false` enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. For more information, see [Host namespaces](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#host-namespaces) and [Pod networking](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/workloads/pods/#pod-networking) in the *Kubernetes documentation* . HostNetwork *bool `pulumi:"hostNetwork"` ImagePullSecrets []JobDefinitionImagePullSecret `pulumi:"imagePullSecrets"` // These containers run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. For more information, see [Init Containers](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/workloads/pods/init-containers/) in the *Kubernetes documentation* . // // > This object is limited to 10 elements InitContainers []JobDefinitionEksContainer `pulumi:"initContainers"` // Metadata about the Kubernetes pod. For more information, see [Understanding Kubernetes Objects](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/) in the *Kubernetes documentation* . Metadata *JobDefinitionMetadata `pulumi:"metadata"` // The name of the service account that's used to run the pod. For more information, see [Kubernetes service accounts](https://docs.aws.amazon.com/eks/latest/userguide/service-accounts.html) and [Configure a Kubernetes service account to assume an IAM role](https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html) in the *Amazon EKS User Guide* and [Configure service accounts for pods](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/) in the *Kubernetes documentation* . ServiceAccountName *string `pulumi:"serviceAccountName"` ShareProcessNamespace *bool `pulumi:"shareProcessNamespace"` // Specifies the volumes for a job definition that uses Amazon EKS resources. Volumes []JobDefinitionEksVolume `pulumi:"volumes"` }
type JobDefinitionPodPropertiesArgs ¶ added in v0.41.0
type JobDefinitionPodPropertiesArgs struct { // The properties of the container that's used on the Amazon EKS pod. Containers JobDefinitionEksContainerArrayInput `pulumi:"containers"` // The DNS policy for the pod. The default value is `ClusterFirst` . If the `hostNetwork` parameter is not specified, the default is `ClusterFirstWithHostNet` . `ClusterFirst` indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see [Pod's DNS policy](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy) in the *Kubernetes documentation* . // // Valid values: `Default` | `ClusterFirst` | `ClusterFirstWithHostNet` DnsPolicy pulumi.StringPtrInput `pulumi:"dnsPolicy"` // Indicates if the pod uses the hosts' network IP address. The default value is `true` . Setting this to `false` enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. For more information, see [Host namespaces](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#host-namespaces) and [Pod networking](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/workloads/pods/#pod-networking) in the *Kubernetes documentation* . HostNetwork pulumi.BoolPtrInput `pulumi:"hostNetwork"` ImagePullSecrets JobDefinitionImagePullSecretArrayInput `pulumi:"imagePullSecrets"` // These containers run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. For more information, see [Init Containers](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/workloads/pods/init-containers/) in the *Kubernetes documentation* . // // > This object is limited to 10 elements InitContainers JobDefinitionEksContainerArrayInput `pulumi:"initContainers"` // Metadata about the Kubernetes pod. For more information, see [Understanding Kubernetes Objects](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/) in the *Kubernetes documentation* . Metadata JobDefinitionMetadataPtrInput `pulumi:"metadata"` // The name of the service account that's used to run the pod. For more information, see [Kubernetes service accounts](https://docs.aws.amazon.com/eks/latest/userguide/service-accounts.html) and [Configure a Kubernetes service account to assume an IAM role](https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html) in the *Amazon EKS User Guide* and [Configure service accounts for pods](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/) in the *Kubernetes documentation* . ServiceAccountName pulumi.StringPtrInput `pulumi:"serviceAccountName"` ShareProcessNamespace pulumi.BoolPtrInput `pulumi:"shareProcessNamespace"` // Specifies the volumes for a job definition that uses Amazon EKS resources. Volumes JobDefinitionEksVolumeArrayInput `pulumi:"volumes"` }
func (JobDefinitionPodPropertiesArgs) ElementType ¶ added in v0.41.0
func (JobDefinitionPodPropertiesArgs) ElementType() reflect.Type
func (JobDefinitionPodPropertiesArgs) ToJobDefinitionPodPropertiesOutput ¶ added in v0.41.0
func (i JobDefinitionPodPropertiesArgs) ToJobDefinitionPodPropertiesOutput() JobDefinitionPodPropertiesOutput
func (JobDefinitionPodPropertiesArgs) ToJobDefinitionPodPropertiesOutputWithContext ¶ added in v0.41.0
func (i JobDefinitionPodPropertiesArgs) ToJobDefinitionPodPropertiesOutputWithContext(ctx context.Context) JobDefinitionPodPropertiesOutput
func (JobDefinitionPodPropertiesArgs) ToJobDefinitionPodPropertiesPtrOutput ¶ added in v0.41.0
func (i JobDefinitionPodPropertiesArgs) ToJobDefinitionPodPropertiesPtrOutput() JobDefinitionPodPropertiesPtrOutput
func (JobDefinitionPodPropertiesArgs) ToJobDefinitionPodPropertiesPtrOutputWithContext ¶ added in v0.41.0
func (i JobDefinitionPodPropertiesArgs) ToJobDefinitionPodPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionPodPropertiesPtrOutput
type JobDefinitionPodPropertiesInput ¶ added in v0.41.0
type JobDefinitionPodPropertiesInput interface { pulumi.Input ToJobDefinitionPodPropertiesOutput() JobDefinitionPodPropertiesOutput ToJobDefinitionPodPropertiesOutputWithContext(context.Context) JobDefinitionPodPropertiesOutput }
JobDefinitionPodPropertiesInput is an input type that accepts JobDefinitionPodPropertiesArgs and JobDefinitionPodPropertiesOutput values. You can construct a concrete instance of `JobDefinitionPodPropertiesInput` via:
JobDefinitionPodPropertiesArgs{...}
type JobDefinitionPodPropertiesOutput ¶ added in v0.41.0
type JobDefinitionPodPropertiesOutput struct{ *pulumi.OutputState }
func (JobDefinitionPodPropertiesOutput) Containers ¶ added in v0.41.0
func (o JobDefinitionPodPropertiesOutput) Containers() JobDefinitionEksContainerArrayOutput
The properties of the container that's used on the Amazon EKS pod.
func (JobDefinitionPodPropertiesOutput) DnsPolicy ¶ added in v0.41.0
func (o JobDefinitionPodPropertiesOutput) DnsPolicy() pulumi.StringPtrOutput
The DNS policy for the pod. The default value is `ClusterFirst` . If the `hostNetwork` parameter is not specified, the default is `ClusterFirstWithHostNet` . `ClusterFirst` indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see [Pod's DNS policy](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy) in the *Kubernetes documentation* .
Valid values: `Default` | `ClusterFirst` | `ClusterFirstWithHostNet`
func (JobDefinitionPodPropertiesOutput) ElementType ¶ added in v0.41.0
func (JobDefinitionPodPropertiesOutput) ElementType() reflect.Type
func (JobDefinitionPodPropertiesOutput) HostNetwork ¶ added in v0.41.0
func (o JobDefinitionPodPropertiesOutput) HostNetwork() pulumi.BoolPtrOutput
Indicates if the pod uses the hosts' network IP address. The default value is `true` . Setting this to `false` enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. For more information, see [Host namespaces](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#host-namespaces) and [Pod networking](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/workloads/pods/#pod-networking) in the *Kubernetes documentation* .
func (JobDefinitionPodPropertiesOutput) ImagePullSecrets ¶ added in v0.101.0
func (o JobDefinitionPodPropertiesOutput) ImagePullSecrets() JobDefinitionImagePullSecretArrayOutput
func (JobDefinitionPodPropertiesOutput) InitContainers ¶ added in v0.99.0
func (o JobDefinitionPodPropertiesOutput) InitContainers() JobDefinitionEksContainerArrayOutput
These containers run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. For more information, see [Init Containers](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/workloads/pods/init-containers/) in the *Kubernetes documentation* .
> This object is limited to 10 elements
func (JobDefinitionPodPropertiesOutput) Metadata ¶ added in v0.56.0
func (o JobDefinitionPodPropertiesOutput) Metadata() JobDefinitionMetadataPtrOutput
Metadata about the Kubernetes pod. For more information, see [Understanding Kubernetes Objects](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/) in the *Kubernetes documentation* .
func (JobDefinitionPodPropertiesOutput) ServiceAccountName ¶ added in v0.41.0
func (o JobDefinitionPodPropertiesOutput) ServiceAccountName() pulumi.StringPtrOutput
The name of the service account that's used to run the pod. For more information, see [Kubernetes service accounts](https://docs.aws.amazon.com/eks/latest/userguide/service-accounts.html) and [Configure a Kubernetes service account to assume an IAM role](https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html) in the *Amazon EKS User Guide* and [Configure service accounts for pods](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/) in the *Kubernetes documentation* .
func (JobDefinitionPodPropertiesOutput) ShareProcessNamespace ¶ added in v0.99.0
func (o JobDefinitionPodPropertiesOutput) ShareProcessNamespace() pulumi.BoolPtrOutput
Indicates if the processes in a container are shared, or visible, to other containers in the same pod. For more information, see [Share Process Namespace between Containers in a Pod](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/) .
func (JobDefinitionPodPropertiesOutput) ToJobDefinitionPodPropertiesOutput ¶ added in v0.41.0
func (o JobDefinitionPodPropertiesOutput) ToJobDefinitionPodPropertiesOutput() JobDefinitionPodPropertiesOutput
func (JobDefinitionPodPropertiesOutput) ToJobDefinitionPodPropertiesOutputWithContext ¶ added in v0.41.0
func (o JobDefinitionPodPropertiesOutput) ToJobDefinitionPodPropertiesOutputWithContext(ctx context.Context) JobDefinitionPodPropertiesOutput
func (JobDefinitionPodPropertiesOutput) ToJobDefinitionPodPropertiesPtrOutput ¶ added in v0.41.0
func (o JobDefinitionPodPropertiesOutput) ToJobDefinitionPodPropertiesPtrOutput() JobDefinitionPodPropertiesPtrOutput
func (JobDefinitionPodPropertiesOutput) ToJobDefinitionPodPropertiesPtrOutputWithContext ¶ added in v0.41.0
func (o JobDefinitionPodPropertiesOutput) ToJobDefinitionPodPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionPodPropertiesPtrOutput
func (JobDefinitionPodPropertiesOutput) Volumes ¶ added in v0.41.0
func (o JobDefinitionPodPropertiesOutput) Volumes() JobDefinitionEksVolumeArrayOutput
Specifies the volumes for a job definition that uses Amazon EKS resources.
type JobDefinitionPodPropertiesPtrInput ¶ added in v0.41.0
type JobDefinitionPodPropertiesPtrInput interface { pulumi.Input ToJobDefinitionPodPropertiesPtrOutput() JobDefinitionPodPropertiesPtrOutput ToJobDefinitionPodPropertiesPtrOutputWithContext(context.Context) JobDefinitionPodPropertiesPtrOutput }
JobDefinitionPodPropertiesPtrInput is an input type that accepts JobDefinitionPodPropertiesArgs, JobDefinitionPodPropertiesPtr and JobDefinitionPodPropertiesPtrOutput values. You can construct a concrete instance of `JobDefinitionPodPropertiesPtrInput` via:
JobDefinitionPodPropertiesArgs{...} or: nil
func JobDefinitionPodPropertiesPtr ¶ added in v0.41.0
func JobDefinitionPodPropertiesPtr(v *JobDefinitionPodPropertiesArgs) JobDefinitionPodPropertiesPtrInput
type JobDefinitionPodPropertiesPtrOutput ¶ added in v0.41.0
type JobDefinitionPodPropertiesPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionPodPropertiesPtrOutput) Containers ¶ added in v0.41.0
func (o JobDefinitionPodPropertiesPtrOutput) Containers() JobDefinitionEksContainerArrayOutput
The properties of the container that's used on the Amazon EKS pod.
func (JobDefinitionPodPropertiesPtrOutput) DnsPolicy ¶ added in v0.41.0
func (o JobDefinitionPodPropertiesPtrOutput) DnsPolicy() pulumi.StringPtrOutput
The DNS policy for the pod. The default value is `ClusterFirst` . If the `hostNetwork` parameter is not specified, the default is `ClusterFirstWithHostNet` . `ClusterFirst` indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see [Pod's DNS policy](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy) in the *Kubernetes documentation* .
Valid values: `Default` | `ClusterFirst` | `ClusterFirstWithHostNet`
func (JobDefinitionPodPropertiesPtrOutput) Elem ¶ added in v0.41.0
func (o JobDefinitionPodPropertiesPtrOutput) Elem() JobDefinitionPodPropertiesOutput
func (JobDefinitionPodPropertiesPtrOutput) ElementType ¶ added in v0.41.0
func (JobDefinitionPodPropertiesPtrOutput) ElementType() reflect.Type
func (JobDefinitionPodPropertiesPtrOutput) HostNetwork ¶ added in v0.41.0
func (o JobDefinitionPodPropertiesPtrOutput) HostNetwork() pulumi.BoolPtrOutput
Indicates if the pod uses the hosts' network IP address. The default value is `true` . Setting this to `false` enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. For more information, see [Host namespaces](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#host-namespaces) and [Pod networking](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/workloads/pods/#pod-networking) in the *Kubernetes documentation* .
func (JobDefinitionPodPropertiesPtrOutput) ImagePullSecrets ¶ added in v0.101.0
func (o JobDefinitionPodPropertiesPtrOutput) ImagePullSecrets() JobDefinitionImagePullSecretArrayOutput
func (JobDefinitionPodPropertiesPtrOutput) InitContainers ¶ added in v0.99.0
func (o JobDefinitionPodPropertiesPtrOutput) InitContainers() JobDefinitionEksContainerArrayOutput
These containers run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. For more information, see [Init Containers](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/workloads/pods/init-containers/) in the *Kubernetes documentation* .
> This object is limited to 10 elements
func (JobDefinitionPodPropertiesPtrOutput) Metadata ¶ added in v0.56.0
func (o JobDefinitionPodPropertiesPtrOutput) Metadata() JobDefinitionMetadataPtrOutput
Metadata about the Kubernetes pod. For more information, see [Understanding Kubernetes Objects](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/) in the *Kubernetes documentation* .
func (JobDefinitionPodPropertiesPtrOutput) ServiceAccountName ¶ added in v0.41.0
func (o JobDefinitionPodPropertiesPtrOutput) ServiceAccountName() pulumi.StringPtrOutput
The name of the service account that's used to run the pod. For more information, see [Kubernetes service accounts](https://docs.aws.amazon.com/eks/latest/userguide/service-accounts.html) and [Configure a Kubernetes service account to assume an IAM role](https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html) in the *Amazon EKS User Guide* and [Configure service accounts for pods](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/) in the *Kubernetes documentation* .
func (JobDefinitionPodPropertiesPtrOutput) ShareProcessNamespace ¶ added in v0.99.0
func (o JobDefinitionPodPropertiesPtrOutput) ShareProcessNamespace() pulumi.BoolPtrOutput
Indicates if the processes in a container are shared, or visible, to other containers in the same pod. For more information, see [Share Process Namespace between Containers in a Pod](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/) .
func (JobDefinitionPodPropertiesPtrOutput) ToJobDefinitionPodPropertiesPtrOutput ¶ added in v0.41.0
func (o JobDefinitionPodPropertiesPtrOutput) ToJobDefinitionPodPropertiesPtrOutput() JobDefinitionPodPropertiesPtrOutput
func (JobDefinitionPodPropertiesPtrOutput) ToJobDefinitionPodPropertiesPtrOutputWithContext ¶ added in v0.41.0
func (o JobDefinitionPodPropertiesPtrOutput) ToJobDefinitionPodPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionPodPropertiesPtrOutput
func (JobDefinitionPodPropertiesPtrOutput) Volumes ¶ added in v0.41.0
func (o JobDefinitionPodPropertiesPtrOutput) Volumes() JobDefinitionEksVolumeArrayOutput
Specifies the volumes for a job definition that uses Amazon EKS resources.
type JobDefinitionRepositoryCredentials ¶ added in v0.97.0
type JobDefinitionRepositoryCredentials struct { // The Amazon Resource Name (ARN) of the secret containing the private repository credentials. CredentialsParameter string `pulumi:"credentialsParameter"` }
type JobDefinitionRepositoryCredentialsArgs ¶ added in v0.97.0
type JobDefinitionRepositoryCredentialsArgs struct { // The Amazon Resource Name (ARN) of the secret containing the private repository credentials. CredentialsParameter pulumi.StringInput `pulumi:"credentialsParameter"` }
func (JobDefinitionRepositoryCredentialsArgs) ElementType ¶ added in v0.97.0
func (JobDefinitionRepositoryCredentialsArgs) ElementType() reflect.Type
func (JobDefinitionRepositoryCredentialsArgs) ToJobDefinitionRepositoryCredentialsOutput ¶ added in v0.97.0
func (i JobDefinitionRepositoryCredentialsArgs) ToJobDefinitionRepositoryCredentialsOutput() JobDefinitionRepositoryCredentialsOutput
func (JobDefinitionRepositoryCredentialsArgs) ToJobDefinitionRepositoryCredentialsOutputWithContext ¶ added in v0.97.0
func (i JobDefinitionRepositoryCredentialsArgs) ToJobDefinitionRepositoryCredentialsOutputWithContext(ctx context.Context) JobDefinitionRepositoryCredentialsOutput
func (JobDefinitionRepositoryCredentialsArgs) ToJobDefinitionRepositoryCredentialsPtrOutput ¶ added in v0.97.0
func (i JobDefinitionRepositoryCredentialsArgs) ToJobDefinitionRepositoryCredentialsPtrOutput() JobDefinitionRepositoryCredentialsPtrOutput
func (JobDefinitionRepositoryCredentialsArgs) ToJobDefinitionRepositoryCredentialsPtrOutputWithContext ¶ added in v0.97.0
func (i JobDefinitionRepositoryCredentialsArgs) ToJobDefinitionRepositoryCredentialsPtrOutputWithContext(ctx context.Context) JobDefinitionRepositoryCredentialsPtrOutput
type JobDefinitionRepositoryCredentialsInput ¶ added in v0.97.0
type JobDefinitionRepositoryCredentialsInput interface { pulumi.Input ToJobDefinitionRepositoryCredentialsOutput() JobDefinitionRepositoryCredentialsOutput ToJobDefinitionRepositoryCredentialsOutputWithContext(context.Context) JobDefinitionRepositoryCredentialsOutput }
JobDefinitionRepositoryCredentialsInput is an input type that accepts JobDefinitionRepositoryCredentialsArgs and JobDefinitionRepositoryCredentialsOutput values. You can construct a concrete instance of `JobDefinitionRepositoryCredentialsInput` via:
JobDefinitionRepositoryCredentialsArgs{...}
type JobDefinitionRepositoryCredentialsOutput ¶ added in v0.97.0
type JobDefinitionRepositoryCredentialsOutput struct{ *pulumi.OutputState }
func (JobDefinitionRepositoryCredentialsOutput) CredentialsParameter ¶ added in v0.97.0
func (o JobDefinitionRepositoryCredentialsOutput) CredentialsParameter() pulumi.StringOutput
The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
func (JobDefinitionRepositoryCredentialsOutput) ElementType ¶ added in v0.97.0
func (JobDefinitionRepositoryCredentialsOutput) ElementType() reflect.Type
func (JobDefinitionRepositoryCredentialsOutput) ToJobDefinitionRepositoryCredentialsOutput ¶ added in v0.97.0
func (o JobDefinitionRepositoryCredentialsOutput) ToJobDefinitionRepositoryCredentialsOutput() JobDefinitionRepositoryCredentialsOutput
func (JobDefinitionRepositoryCredentialsOutput) ToJobDefinitionRepositoryCredentialsOutputWithContext ¶ added in v0.97.0
func (o JobDefinitionRepositoryCredentialsOutput) ToJobDefinitionRepositoryCredentialsOutputWithContext(ctx context.Context) JobDefinitionRepositoryCredentialsOutput
func (JobDefinitionRepositoryCredentialsOutput) ToJobDefinitionRepositoryCredentialsPtrOutput ¶ added in v0.97.0
func (o JobDefinitionRepositoryCredentialsOutput) ToJobDefinitionRepositoryCredentialsPtrOutput() JobDefinitionRepositoryCredentialsPtrOutput
func (JobDefinitionRepositoryCredentialsOutput) ToJobDefinitionRepositoryCredentialsPtrOutputWithContext ¶ added in v0.97.0
func (o JobDefinitionRepositoryCredentialsOutput) ToJobDefinitionRepositoryCredentialsPtrOutputWithContext(ctx context.Context) JobDefinitionRepositoryCredentialsPtrOutput
type JobDefinitionRepositoryCredentialsPtrInput ¶ added in v0.97.0
type JobDefinitionRepositoryCredentialsPtrInput interface { pulumi.Input ToJobDefinitionRepositoryCredentialsPtrOutput() JobDefinitionRepositoryCredentialsPtrOutput ToJobDefinitionRepositoryCredentialsPtrOutputWithContext(context.Context) JobDefinitionRepositoryCredentialsPtrOutput }
JobDefinitionRepositoryCredentialsPtrInput is an input type that accepts JobDefinitionRepositoryCredentialsArgs, JobDefinitionRepositoryCredentialsPtr and JobDefinitionRepositoryCredentialsPtrOutput values. You can construct a concrete instance of `JobDefinitionRepositoryCredentialsPtrInput` via:
JobDefinitionRepositoryCredentialsArgs{...} or: nil
func JobDefinitionRepositoryCredentialsPtr ¶ added in v0.97.0
func JobDefinitionRepositoryCredentialsPtr(v *JobDefinitionRepositoryCredentialsArgs) JobDefinitionRepositoryCredentialsPtrInput
type JobDefinitionRepositoryCredentialsPtrOutput ¶ added in v0.97.0
type JobDefinitionRepositoryCredentialsPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionRepositoryCredentialsPtrOutput) CredentialsParameter ¶ added in v0.97.0
func (o JobDefinitionRepositoryCredentialsPtrOutput) CredentialsParameter() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
func (JobDefinitionRepositoryCredentialsPtrOutput) ElementType ¶ added in v0.97.0
func (JobDefinitionRepositoryCredentialsPtrOutput) ElementType() reflect.Type
func (JobDefinitionRepositoryCredentialsPtrOutput) ToJobDefinitionRepositoryCredentialsPtrOutput ¶ added in v0.97.0
func (o JobDefinitionRepositoryCredentialsPtrOutput) ToJobDefinitionRepositoryCredentialsPtrOutput() JobDefinitionRepositoryCredentialsPtrOutput
func (JobDefinitionRepositoryCredentialsPtrOutput) ToJobDefinitionRepositoryCredentialsPtrOutputWithContext ¶ added in v0.97.0
func (o JobDefinitionRepositoryCredentialsPtrOutput) ToJobDefinitionRepositoryCredentialsPtrOutputWithContext(ctx context.Context) JobDefinitionRepositoryCredentialsPtrOutput
type JobDefinitionResourceRequirement ¶
type JobDefinitionResourceRequirement struct { // The type of resource to assign to a container. The supported resources include `GPU` , `MEMORY` , and `VCPU` . Type *string `pulumi:"type"` // The quantity of the specified resource to reserve for the container. The values vary based on the `type` specified. // // - **type="GPU"** - The number of physical GPUs to reserve for the container. Make sure that the number of GPUs reserved for all containers in a job doesn't exceed the number of available GPUs on the compute resource that the job is launched on. // // > GPUs aren't available for jobs that are running on Fargate resources. // - **type="MEMORY"** - The memory hard limit (in MiB) present to the container. This parameter is supported for jobs that are running on Amazon EC2 resources. If your container attempts to exceed the memory specified, the container is terminated. This parameter maps to `Memory` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--memory` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . You must specify at least 4 MiB of memory for a job. This is required but can be specified in several places for multi-node parallel (MNP) jobs. It must be specified for each node at least once. This parameter maps to `Memory` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--memory` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . // // > If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see [Memory management](https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) in the *AWS Batch User Guide* . // // For jobs that are running on Fargate resources, then `value` is the hard limit (in MiB), and must match one of the supported values and the `VCPU` values must be one of the values supported for that memory value. // // - **value = 512** - `VCPU` = 0.25 // - **value = 1024** - `VCPU` = 0.25 or 0.5 // - **value = 2048** - `VCPU` = 0.25, 0.5, or 1 // - **value = 3072** - `VCPU` = 0.5, or 1 // - **value = 4096** - `VCPU` = 0.5, 1, or 2 // - **value = 5120, 6144, or 7168** - `VCPU` = 1 or 2 // - **value = 8192** - `VCPU` = 1, 2, or 4 // - **value = 9216, 10240, 11264, 12288, 13312, 14336, or 15360** - `VCPU` = 2 or 4 // - **value = 16384** - `VCPU` = 2, 4, or 8 // - **value = 17408, 18432, 19456, 21504, 22528, 23552, 25600, 26624, 27648, 29696, or 30720** - `VCPU` = 4 // - **value = 20480, 24576, or 28672** - `VCPU` = 4 or 8 // - **value = 36864, 45056, 53248, or 61440** - `VCPU` = 8 // - **value = 32768, 40960, 49152, or 57344** - `VCPU` = 8 or 16 // - **value = 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880** - `VCPU` = 16 // - **type="VCPU"** - The number of vCPUs reserved for the container. This parameter maps to `CpuShares` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--cpu-shares` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . Each vCPU is equivalent to 1,024 CPU shares. For Amazon EC2 resources, you must specify at least one vCPU. This is required but can be specified in several places; it must be specified for each node at least once. // // The default for the Fargate On-Demand vCPU resource count quota is 6 vCPUs. For more information about Fargate quotas, see [AWS Fargate quotas](https://docs.aws.amazon.com/general/latest/gr/ecs-service.html#service-quotas-fargate) in the *AWS General Reference* . // // For jobs that are running on Fargate resources, then `value` must match one of the supported values and the `MEMORY` values must be one of the values supported for that `VCPU` value. The supported values are 0.25, 0.5, 1, 2, 4, 8, and 16 // // - **value = 0.25** - `MEMORY` = 512, 1024, or 2048 // - **value = 0.5** - `MEMORY` = 1024, 2048, 3072, or 4096 // - **value = 1** - `MEMORY` = 2048, 3072, 4096, 5120, 6144, 7168, or 8192 // - **value = 2** - `MEMORY` = 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384 // - **value = 4** - `MEMORY` = 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, 16384, 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720 // - **value = 8** - `MEMORY` = 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, or 61440 // - **value = 16** - `MEMORY` = 32768, 40960, 49152, 57344, 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880 Value *string `pulumi:"value"` }
type JobDefinitionResourceRequirementArgs ¶
type JobDefinitionResourceRequirementArgs struct { // The type of resource to assign to a container. The supported resources include `GPU` , `MEMORY` , and `VCPU` . Type pulumi.StringPtrInput `pulumi:"type"` // The quantity of the specified resource to reserve for the container. The values vary based on the `type` specified. // // - **type="GPU"** - The number of physical GPUs to reserve for the container. Make sure that the number of GPUs reserved for all containers in a job doesn't exceed the number of available GPUs on the compute resource that the job is launched on. // // > GPUs aren't available for jobs that are running on Fargate resources. // - **type="MEMORY"** - The memory hard limit (in MiB) present to the container. This parameter is supported for jobs that are running on Amazon EC2 resources. If your container attempts to exceed the memory specified, the container is terminated. This parameter maps to `Memory` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--memory` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . You must specify at least 4 MiB of memory for a job. This is required but can be specified in several places for multi-node parallel (MNP) jobs. It must be specified for each node at least once. This parameter maps to `Memory` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--memory` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . // // > If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see [Memory management](https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) in the *AWS Batch User Guide* . // // For jobs that are running on Fargate resources, then `value` is the hard limit (in MiB), and must match one of the supported values and the `VCPU` values must be one of the values supported for that memory value. // // - **value = 512** - `VCPU` = 0.25 // - **value = 1024** - `VCPU` = 0.25 or 0.5 // - **value = 2048** - `VCPU` = 0.25, 0.5, or 1 // - **value = 3072** - `VCPU` = 0.5, or 1 // - **value = 4096** - `VCPU` = 0.5, 1, or 2 // - **value = 5120, 6144, or 7168** - `VCPU` = 1 or 2 // - **value = 8192** - `VCPU` = 1, 2, or 4 // - **value = 9216, 10240, 11264, 12288, 13312, 14336, or 15360** - `VCPU` = 2 or 4 // - **value = 16384** - `VCPU` = 2, 4, or 8 // - **value = 17408, 18432, 19456, 21504, 22528, 23552, 25600, 26624, 27648, 29696, or 30720** - `VCPU` = 4 // - **value = 20480, 24576, or 28672** - `VCPU` = 4 or 8 // - **value = 36864, 45056, 53248, or 61440** - `VCPU` = 8 // - **value = 32768, 40960, 49152, or 57344** - `VCPU` = 8 or 16 // - **value = 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880** - `VCPU` = 16 // - **type="VCPU"** - The number of vCPUs reserved for the container. This parameter maps to `CpuShares` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--cpu-shares` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . Each vCPU is equivalent to 1,024 CPU shares. For Amazon EC2 resources, you must specify at least one vCPU. This is required but can be specified in several places; it must be specified for each node at least once. // // The default for the Fargate On-Demand vCPU resource count quota is 6 vCPUs. For more information about Fargate quotas, see [AWS Fargate quotas](https://docs.aws.amazon.com/general/latest/gr/ecs-service.html#service-quotas-fargate) in the *AWS General Reference* . // // For jobs that are running on Fargate resources, then `value` must match one of the supported values and the `MEMORY` values must be one of the values supported for that `VCPU` value. The supported values are 0.25, 0.5, 1, 2, 4, 8, and 16 // // - **value = 0.25** - `MEMORY` = 512, 1024, or 2048 // - **value = 0.5** - `MEMORY` = 1024, 2048, 3072, or 4096 // - **value = 1** - `MEMORY` = 2048, 3072, 4096, 5120, 6144, 7168, or 8192 // - **value = 2** - `MEMORY` = 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384 // - **value = 4** - `MEMORY` = 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, 16384, 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720 // - **value = 8** - `MEMORY` = 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, or 61440 // - **value = 16** - `MEMORY` = 32768, 40960, 49152, 57344, 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880 Value pulumi.StringPtrInput `pulumi:"value"` }
func (JobDefinitionResourceRequirementArgs) ElementType ¶
func (JobDefinitionResourceRequirementArgs) ElementType() reflect.Type
func (JobDefinitionResourceRequirementArgs) ToJobDefinitionResourceRequirementOutput ¶
func (i JobDefinitionResourceRequirementArgs) ToJobDefinitionResourceRequirementOutput() JobDefinitionResourceRequirementOutput
func (JobDefinitionResourceRequirementArgs) ToJobDefinitionResourceRequirementOutputWithContext ¶
func (i JobDefinitionResourceRequirementArgs) ToJobDefinitionResourceRequirementOutputWithContext(ctx context.Context) JobDefinitionResourceRequirementOutput
type JobDefinitionResourceRequirementArray ¶
type JobDefinitionResourceRequirementArray []JobDefinitionResourceRequirementInput
func (JobDefinitionResourceRequirementArray) ElementType ¶
func (JobDefinitionResourceRequirementArray) ElementType() reflect.Type
func (JobDefinitionResourceRequirementArray) ToJobDefinitionResourceRequirementArrayOutput ¶
func (i JobDefinitionResourceRequirementArray) ToJobDefinitionResourceRequirementArrayOutput() JobDefinitionResourceRequirementArrayOutput
func (JobDefinitionResourceRequirementArray) ToJobDefinitionResourceRequirementArrayOutputWithContext ¶
func (i JobDefinitionResourceRequirementArray) ToJobDefinitionResourceRequirementArrayOutputWithContext(ctx context.Context) JobDefinitionResourceRequirementArrayOutput
type JobDefinitionResourceRequirementArrayInput ¶
type JobDefinitionResourceRequirementArrayInput interface { pulumi.Input ToJobDefinitionResourceRequirementArrayOutput() JobDefinitionResourceRequirementArrayOutput ToJobDefinitionResourceRequirementArrayOutputWithContext(context.Context) JobDefinitionResourceRequirementArrayOutput }
JobDefinitionResourceRequirementArrayInput is an input type that accepts JobDefinitionResourceRequirementArray and JobDefinitionResourceRequirementArrayOutput values. You can construct a concrete instance of `JobDefinitionResourceRequirementArrayInput` via:
JobDefinitionResourceRequirementArray{ JobDefinitionResourceRequirementArgs{...} }
type JobDefinitionResourceRequirementArrayOutput ¶
type JobDefinitionResourceRequirementArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionResourceRequirementArrayOutput) ElementType ¶
func (JobDefinitionResourceRequirementArrayOutput) ElementType() reflect.Type
func (JobDefinitionResourceRequirementArrayOutput) ToJobDefinitionResourceRequirementArrayOutput ¶
func (o JobDefinitionResourceRequirementArrayOutput) ToJobDefinitionResourceRequirementArrayOutput() JobDefinitionResourceRequirementArrayOutput
func (JobDefinitionResourceRequirementArrayOutput) ToJobDefinitionResourceRequirementArrayOutputWithContext ¶
func (o JobDefinitionResourceRequirementArrayOutput) ToJobDefinitionResourceRequirementArrayOutputWithContext(ctx context.Context) JobDefinitionResourceRequirementArrayOutput
type JobDefinitionResourceRequirementInput ¶
type JobDefinitionResourceRequirementInput interface { pulumi.Input ToJobDefinitionResourceRequirementOutput() JobDefinitionResourceRequirementOutput ToJobDefinitionResourceRequirementOutputWithContext(context.Context) JobDefinitionResourceRequirementOutput }
JobDefinitionResourceRequirementInput is an input type that accepts JobDefinitionResourceRequirementArgs and JobDefinitionResourceRequirementOutput values. You can construct a concrete instance of `JobDefinitionResourceRequirementInput` via:
JobDefinitionResourceRequirementArgs{...}
type JobDefinitionResourceRequirementOutput ¶
type JobDefinitionResourceRequirementOutput struct{ *pulumi.OutputState }
func (JobDefinitionResourceRequirementOutput) ElementType ¶
func (JobDefinitionResourceRequirementOutput) ElementType() reflect.Type
func (JobDefinitionResourceRequirementOutput) ToJobDefinitionResourceRequirementOutput ¶
func (o JobDefinitionResourceRequirementOutput) ToJobDefinitionResourceRequirementOutput() JobDefinitionResourceRequirementOutput
func (JobDefinitionResourceRequirementOutput) ToJobDefinitionResourceRequirementOutputWithContext ¶
func (o JobDefinitionResourceRequirementOutput) ToJobDefinitionResourceRequirementOutputWithContext(ctx context.Context) JobDefinitionResourceRequirementOutput
func (JobDefinitionResourceRequirementOutput) Type ¶
func (o JobDefinitionResourceRequirementOutput) Type() pulumi.StringPtrOutput
The type of resource to assign to a container. The supported resources include `GPU` , `MEMORY` , and `VCPU` .
func (JobDefinitionResourceRequirementOutput) Value ¶
func (o JobDefinitionResourceRequirementOutput) Value() pulumi.StringPtrOutput
The quantity of the specified resource to reserve for the container. The values vary based on the `type` specified.
- **type="GPU"** - The number of physical GPUs to reserve for the container. Make sure that the number of GPUs reserved for all containers in a job doesn't exceed the number of available GPUs on the compute resource that the job is launched on.
> GPUs aren't available for jobs that are running on Fargate resources. - **type="MEMORY"** - The memory hard limit (in MiB) present to the container. This parameter is supported for jobs that are running on Amazon EC2 resources. If your container attempts to exceed the memory specified, the container is terminated. This parameter maps to `Memory` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--memory` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . You must specify at least 4 MiB of memory for a job. This is required but can be specified in several places for multi-node parallel (MNP) jobs. It must be specified for each node at least once. This parameter maps to `Memory` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--memory` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
> If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see [Memory management](https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) in the *AWS Batch User Guide* .
For jobs that are running on Fargate resources, then `value` is the hard limit (in MiB), and must match one of the supported values and the `VCPU` values must be one of the values supported for that memory value.
- **value = 512** - `VCPU` = 0.25 - **value = 1024** - `VCPU` = 0.25 or 0.5 - **value = 2048** - `VCPU` = 0.25, 0.5, or 1 - **value = 3072** - `VCPU` = 0.5, or 1 - **value = 4096** - `VCPU` = 0.5, 1, or 2 - **value = 5120, 6144, or 7168** - `VCPU` = 1 or 2 - **value = 8192** - `VCPU` = 1, 2, or 4 - **value = 9216, 10240, 11264, 12288, 13312, 14336, or 15360** - `VCPU` = 2 or 4 - **value = 16384** - `VCPU` = 2, 4, or 8 - **value = 17408, 18432, 19456, 21504, 22528, 23552, 25600, 26624, 27648, 29696, or 30720** - `VCPU` = 4 - **value = 20480, 24576, or 28672** - `VCPU` = 4 or 8 - **value = 36864, 45056, 53248, or 61440** - `VCPU` = 8 - **value = 32768, 40960, 49152, or 57344** - `VCPU` = 8 or 16 - **value = 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880** - `VCPU` = 16 - **type="VCPU"** - The number of vCPUs reserved for the container. This parameter maps to `CpuShares` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--cpu-shares` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . Each vCPU is equivalent to 1,024 CPU shares. For Amazon EC2 resources, you must specify at least one vCPU. This is required but can be specified in several places; it must be specified for each node at least once.
The default for the Fargate On-Demand vCPU resource count quota is 6 vCPUs. For more information about Fargate quotas, see [AWS Fargate quotas](https://docs.aws.amazon.com/general/latest/gr/ecs-service.html#service-quotas-fargate) in the *AWS General Reference* .
For jobs that are running on Fargate resources, then `value` must match one of the supported values and the `MEMORY` values must be one of the values supported for that `VCPU` value. The supported values are 0.25, 0.5, 1, 2, 4, 8, and 16
- **value = 0.25** - `MEMORY` = 512, 1024, or 2048 - **value = 0.5** - `MEMORY` = 1024, 2048, 3072, or 4096 - **value = 1** - `MEMORY` = 2048, 3072, 4096, 5120, 6144, 7168, or 8192 - **value = 2** - `MEMORY` = 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384 - **value = 4** - `MEMORY` = 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, 16384, 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720 - **value = 8** - `MEMORY` = 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, or 61440 - **value = 16** - `MEMORY` = 32768, 40960, 49152, 57344, 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880
type JobDefinitionRetryStrategy ¶
type JobDefinitionRetryStrategy struct { // The number of times to move a job to the `RUNNABLE` status. You can specify between 1 and 10 attempts. If the value of `attempts` is greater than one, the job is retried on failure the same number of attempts as the value. Attempts *int `pulumi:"attempts"` // Array of up to 5 objects that specify the conditions where jobs are retried or failed. If this parameter is specified, then the `attempts` parameter must also be specified. If none of the listed conditions match, then the job is retried. EvaluateOnExit []JobDefinitionEvaluateOnExit `pulumi:"evaluateOnExit"` }
type JobDefinitionRetryStrategyArgs ¶
type JobDefinitionRetryStrategyArgs struct { // The number of times to move a job to the `RUNNABLE` status. You can specify between 1 and 10 attempts. If the value of `attempts` is greater than one, the job is retried on failure the same number of attempts as the value. Attempts pulumi.IntPtrInput `pulumi:"attempts"` // Array of up to 5 objects that specify the conditions where jobs are retried or failed. If this parameter is specified, then the `attempts` parameter must also be specified. If none of the listed conditions match, then the job is retried. EvaluateOnExit JobDefinitionEvaluateOnExitArrayInput `pulumi:"evaluateOnExit"` }
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 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 can specify between 1 and 10 attempts. If the value of `attempts` is greater than one, the job is retried on failure the same number of attempts as the value.
func (JobDefinitionRetryStrategyOutput) ElementType ¶
func (JobDefinitionRetryStrategyOutput) ElementType() reflect.Type
func (JobDefinitionRetryStrategyOutput) EvaluateOnExit ¶
func (o JobDefinitionRetryStrategyOutput) EvaluateOnExit() JobDefinitionEvaluateOnExitArrayOutput
Array of up to 5 objects that specify the conditions where jobs are retried or failed. If this parameter is specified, then the `attempts` parameter must also be specified. If none of the listed conditions match, then the job is retried.
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 can specify between 1 and 10 attempts. If the value of `attempts` is greater than one, the job is retried on failure the same number of attempts as the value.
func (JobDefinitionRetryStrategyPtrOutput) Elem ¶
func (o JobDefinitionRetryStrategyPtrOutput) Elem() JobDefinitionRetryStrategyOutput
func (JobDefinitionRetryStrategyPtrOutput) ElementType ¶
func (JobDefinitionRetryStrategyPtrOutput) ElementType() reflect.Type
func (JobDefinitionRetryStrategyPtrOutput) EvaluateOnExit ¶
func (o JobDefinitionRetryStrategyPtrOutput) EvaluateOnExit() JobDefinitionEvaluateOnExitArrayOutput
Array of up to 5 objects that specify the conditions where jobs are retried or failed. If this parameter is specified, then the `attempts` parameter must also be specified. If none of the listed conditions match, then the job is retried.
func (JobDefinitionRetryStrategyPtrOutput) ToJobDefinitionRetryStrategyPtrOutput ¶
func (o JobDefinitionRetryStrategyPtrOutput) ToJobDefinitionRetryStrategyPtrOutput() JobDefinitionRetryStrategyPtrOutput
func (JobDefinitionRetryStrategyPtrOutput) ToJobDefinitionRetryStrategyPtrOutputWithContext ¶
func (o JobDefinitionRetryStrategyPtrOutput) ToJobDefinitionRetryStrategyPtrOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyPtrOutput
type JobDefinitionRuntimePlatform ¶ added in v0.69.0
type JobDefinitionRuntimePlatform struct { // The vCPU architecture. The default value is `X86_64` . Valid values are `X86_64` and `ARM64` . // // > This parameter must be set to `X86_64` for Windows containers. > Fargate Spot is not supported for `ARM64` and Windows-based containers on Fargate. A job queue will be blocked if a Fargate `ARM64` or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach both `FARGATE` and `FARGATE_SPOT` compute environments to the same job queue. CpuArchitecture *string `pulumi:"cpuArchitecture"` // The operating system for the compute environment. Valid values are: `LINUX` (default), `WINDOWS_SERVER_2019_CORE` , `WINDOWS_SERVER_2019_FULL` , `WINDOWS_SERVER_2022_CORE` , and `WINDOWS_SERVER_2022_FULL` . // // > The following parameters can’t be set for Windows containers: `linuxParameters` , `privileged` , `user` , `ulimits` , `readonlyRootFilesystem` , and `efsVolumeConfiguration` . > The AWS Batch Scheduler checks the compute environments that are attached to the job queue before registering a task definition with Fargate. In this scenario, the job queue is where the job is submitted. If the job requires a Windows container and the first compute environment is `LINUX` , the compute environment is skipped and the next compute environment is checked until a Windows-based compute environment is found. > Fargate Spot is not supported for `ARM64` and Windows-based containers on Fargate. A job queue will be blocked if a Fargate `ARM64` or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach both `FARGATE` and `FARGATE_SPOT` compute environments to the same job queue. OperatingSystemFamily *string `pulumi:"operatingSystemFamily"` }
type JobDefinitionRuntimePlatformArgs ¶ added in v0.69.0
type JobDefinitionRuntimePlatformArgs struct { // The vCPU architecture. The default value is `X86_64` . Valid values are `X86_64` and `ARM64` . // // > This parameter must be set to `X86_64` for Windows containers. > Fargate Spot is not supported for `ARM64` and Windows-based containers on Fargate. A job queue will be blocked if a Fargate `ARM64` or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach both `FARGATE` and `FARGATE_SPOT` compute environments to the same job queue. CpuArchitecture pulumi.StringPtrInput `pulumi:"cpuArchitecture"` // The operating system for the compute environment. Valid values are: `LINUX` (default), `WINDOWS_SERVER_2019_CORE` , `WINDOWS_SERVER_2019_FULL` , `WINDOWS_SERVER_2022_CORE` , and `WINDOWS_SERVER_2022_FULL` . // // > The following parameters can’t be set for Windows containers: `linuxParameters` , `privileged` , `user` , `ulimits` , `readonlyRootFilesystem` , and `efsVolumeConfiguration` . > The AWS Batch Scheduler checks the compute environments that are attached to the job queue before registering a task definition with Fargate. In this scenario, the job queue is where the job is submitted. If the job requires a Windows container and the first compute environment is `LINUX` , the compute environment is skipped and the next compute environment is checked until a Windows-based compute environment is found. > Fargate Spot is not supported for `ARM64` and Windows-based containers on Fargate. A job queue will be blocked if a Fargate `ARM64` or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach both `FARGATE` and `FARGATE_SPOT` compute environments to the same job queue. OperatingSystemFamily pulumi.StringPtrInput `pulumi:"operatingSystemFamily"` }
func (JobDefinitionRuntimePlatformArgs) ElementType ¶ added in v0.69.0
func (JobDefinitionRuntimePlatformArgs) ElementType() reflect.Type
func (JobDefinitionRuntimePlatformArgs) ToJobDefinitionRuntimePlatformOutput ¶ added in v0.69.0
func (i JobDefinitionRuntimePlatformArgs) ToJobDefinitionRuntimePlatformOutput() JobDefinitionRuntimePlatformOutput
func (JobDefinitionRuntimePlatformArgs) ToJobDefinitionRuntimePlatformOutputWithContext ¶ added in v0.69.0
func (i JobDefinitionRuntimePlatformArgs) ToJobDefinitionRuntimePlatformOutputWithContext(ctx context.Context) JobDefinitionRuntimePlatformOutput
func (JobDefinitionRuntimePlatformArgs) ToJobDefinitionRuntimePlatformPtrOutput ¶ added in v0.69.0
func (i JobDefinitionRuntimePlatformArgs) ToJobDefinitionRuntimePlatformPtrOutput() JobDefinitionRuntimePlatformPtrOutput
func (JobDefinitionRuntimePlatformArgs) ToJobDefinitionRuntimePlatformPtrOutputWithContext ¶ added in v0.69.0
func (i JobDefinitionRuntimePlatformArgs) ToJobDefinitionRuntimePlatformPtrOutputWithContext(ctx context.Context) JobDefinitionRuntimePlatformPtrOutput
type JobDefinitionRuntimePlatformInput ¶ added in v0.69.0
type JobDefinitionRuntimePlatformInput interface { pulumi.Input ToJobDefinitionRuntimePlatformOutput() JobDefinitionRuntimePlatformOutput ToJobDefinitionRuntimePlatformOutputWithContext(context.Context) JobDefinitionRuntimePlatformOutput }
JobDefinitionRuntimePlatformInput is an input type that accepts JobDefinitionRuntimePlatformArgs and JobDefinitionRuntimePlatformOutput values. You can construct a concrete instance of `JobDefinitionRuntimePlatformInput` via:
JobDefinitionRuntimePlatformArgs{...}
type JobDefinitionRuntimePlatformOutput ¶ added in v0.69.0
type JobDefinitionRuntimePlatformOutput struct{ *pulumi.OutputState }
func (JobDefinitionRuntimePlatformOutput) CpuArchitecture ¶ added in v0.69.0
func (o JobDefinitionRuntimePlatformOutput) CpuArchitecture() pulumi.StringPtrOutput
The vCPU architecture. The default value is `X86_64` . Valid values are `X86_64` and `ARM64` .
> This parameter must be set to `X86_64` for Windows containers. > Fargate Spot is not supported for `ARM64` and Windows-based containers on Fargate. A job queue will be blocked if a Fargate `ARM64` or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach both `FARGATE` and `FARGATE_SPOT` compute environments to the same job queue.
func (JobDefinitionRuntimePlatformOutput) ElementType ¶ added in v0.69.0
func (JobDefinitionRuntimePlatformOutput) ElementType() reflect.Type
func (JobDefinitionRuntimePlatformOutput) OperatingSystemFamily ¶ added in v0.69.0
func (o JobDefinitionRuntimePlatformOutput) OperatingSystemFamily() pulumi.StringPtrOutput
The operating system for the compute environment. Valid values are: `LINUX` (default), `WINDOWS_SERVER_2019_CORE` , `WINDOWS_SERVER_2019_FULL` , `WINDOWS_SERVER_2022_CORE` , and `WINDOWS_SERVER_2022_FULL` .
> The following parameters can’t be set for Windows containers: `linuxParameters` , `privileged` , `user` , `ulimits` , `readonlyRootFilesystem` , and `efsVolumeConfiguration` . > The AWS Batch Scheduler checks the compute environments that are attached to the job queue before registering a task definition with Fargate. In this scenario, the job queue is where the job is submitted. If the job requires a Windows container and the first compute environment is `LINUX` , the compute environment is skipped and the next compute environment is checked until a Windows-based compute environment is found. > Fargate Spot is not supported for `ARM64` and Windows-based containers on Fargate. A job queue will be blocked if a Fargate `ARM64` or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach both `FARGATE` and `FARGATE_SPOT` compute environments to the same job queue.
func (JobDefinitionRuntimePlatformOutput) ToJobDefinitionRuntimePlatformOutput ¶ added in v0.69.0
func (o JobDefinitionRuntimePlatformOutput) ToJobDefinitionRuntimePlatformOutput() JobDefinitionRuntimePlatformOutput
func (JobDefinitionRuntimePlatformOutput) ToJobDefinitionRuntimePlatformOutputWithContext ¶ added in v0.69.0
func (o JobDefinitionRuntimePlatformOutput) ToJobDefinitionRuntimePlatformOutputWithContext(ctx context.Context) JobDefinitionRuntimePlatformOutput
func (JobDefinitionRuntimePlatformOutput) ToJobDefinitionRuntimePlatformPtrOutput ¶ added in v0.69.0
func (o JobDefinitionRuntimePlatformOutput) ToJobDefinitionRuntimePlatformPtrOutput() JobDefinitionRuntimePlatformPtrOutput
func (JobDefinitionRuntimePlatformOutput) ToJobDefinitionRuntimePlatformPtrOutputWithContext ¶ added in v0.69.0
func (o JobDefinitionRuntimePlatformOutput) ToJobDefinitionRuntimePlatformPtrOutputWithContext(ctx context.Context) JobDefinitionRuntimePlatformPtrOutput
type JobDefinitionRuntimePlatformPtrInput ¶ added in v0.69.0
type JobDefinitionRuntimePlatformPtrInput interface { pulumi.Input ToJobDefinitionRuntimePlatformPtrOutput() JobDefinitionRuntimePlatformPtrOutput ToJobDefinitionRuntimePlatformPtrOutputWithContext(context.Context) JobDefinitionRuntimePlatformPtrOutput }
JobDefinitionRuntimePlatformPtrInput is an input type that accepts JobDefinitionRuntimePlatformArgs, JobDefinitionRuntimePlatformPtr and JobDefinitionRuntimePlatformPtrOutput values. You can construct a concrete instance of `JobDefinitionRuntimePlatformPtrInput` via:
JobDefinitionRuntimePlatformArgs{...} or: nil
func JobDefinitionRuntimePlatformPtr ¶ added in v0.69.0
func JobDefinitionRuntimePlatformPtr(v *JobDefinitionRuntimePlatformArgs) JobDefinitionRuntimePlatformPtrInput
type JobDefinitionRuntimePlatformPtrOutput ¶ added in v0.69.0
type JobDefinitionRuntimePlatformPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionRuntimePlatformPtrOutput) CpuArchitecture ¶ added in v0.69.0
func (o JobDefinitionRuntimePlatformPtrOutput) CpuArchitecture() pulumi.StringPtrOutput
The vCPU architecture. The default value is `X86_64` . Valid values are `X86_64` and `ARM64` .
> This parameter must be set to `X86_64` for Windows containers. > Fargate Spot is not supported for `ARM64` and Windows-based containers on Fargate. A job queue will be blocked if a Fargate `ARM64` or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach both `FARGATE` and `FARGATE_SPOT` compute environments to the same job queue.
func (JobDefinitionRuntimePlatformPtrOutput) ElementType ¶ added in v0.69.0
func (JobDefinitionRuntimePlatformPtrOutput) ElementType() reflect.Type
func (JobDefinitionRuntimePlatformPtrOutput) OperatingSystemFamily ¶ added in v0.69.0
func (o JobDefinitionRuntimePlatformPtrOutput) OperatingSystemFamily() pulumi.StringPtrOutput
The operating system for the compute environment. Valid values are: `LINUX` (default), `WINDOWS_SERVER_2019_CORE` , `WINDOWS_SERVER_2019_FULL` , `WINDOWS_SERVER_2022_CORE` , and `WINDOWS_SERVER_2022_FULL` .
> The following parameters can’t be set for Windows containers: `linuxParameters` , `privileged` , `user` , `ulimits` , `readonlyRootFilesystem` , and `efsVolumeConfiguration` . > The AWS Batch Scheduler checks the compute environments that are attached to the job queue before registering a task definition with Fargate. In this scenario, the job queue is where the job is submitted. If the job requires a Windows container and the first compute environment is `LINUX` , the compute environment is skipped and the next compute environment is checked until a Windows-based compute environment is found. > Fargate Spot is not supported for `ARM64` and Windows-based containers on Fargate. A job queue will be blocked if a Fargate `ARM64` or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach both `FARGATE` and `FARGATE_SPOT` compute environments to the same job queue.
func (JobDefinitionRuntimePlatformPtrOutput) ToJobDefinitionRuntimePlatformPtrOutput ¶ added in v0.69.0
func (o JobDefinitionRuntimePlatformPtrOutput) ToJobDefinitionRuntimePlatformPtrOutput() JobDefinitionRuntimePlatformPtrOutput
func (JobDefinitionRuntimePlatformPtrOutput) ToJobDefinitionRuntimePlatformPtrOutputWithContext ¶ added in v0.69.0
func (o JobDefinitionRuntimePlatformPtrOutput) ToJobDefinitionRuntimePlatformPtrOutputWithContext(ctx context.Context) JobDefinitionRuntimePlatformPtrOutput
type JobDefinitionSecret ¶
type JobDefinitionSecret struct { // The name of the secret. Name string `pulumi:"name"` // The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. // // > If the AWS Systems Manager Parameter Store parameter exists in the same Region as the job you're launching, then you can use either the full Amazon Resource Name (ARN) or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified. ValueFrom string `pulumi:"valueFrom"` }
type JobDefinitionSecretArgs ¶
type JobDefinitionSecretArgs struct { // The name of the secret. Name pulumi.StringInput `pulumi:"name"` // The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. // // > If the AWS Systems Manager Parameter Store parameter exists in the same Region as the job you're launching, then you can use either the full Amazon Resource Name (ARN) or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified. ValueFrom pulumi.StringInput `pulumi:"valueFrom"` }
func (JobDefinitionSecretArgs) ElementType ¶
func (JobDefinitionSecretArgs) ElementType() reflect.Type
func (JobDefinitionSecretArgs) ToJobDefinitionSecretOutput ¶
func (i JobDefinitionSecretArgs) ToJobDefinitionSecretOutput() JobDefinitionSecretOutput
func (JobDefinitionSecretArgs) ToJobDefinitionSecretOutputWithContext ¶
func (i JobDefinitionSecretArgs) ToJobDefinitionSecretOutputWithContext(ctx context.Context) JobDefinitionSecretOutput
type JobDefinitionSecretArray ¶
type JobDefinitionSecretArray []JobDefinitionSecretInput
func (JobDefinitionSecretArray) ElementType ¶
func (JobDefinitionSecretArray) ElementType() reflect.Type
func (JobDefinitionSecretArray) ToJobDefinitionSecretArrayOutput ¶
func (i JobDefinitionSecretArray) ToJobDefinitionSecretArrayOutput() JobDefinitionSecretArrayOutput
func (JobDefinitionSecretArray) ToJobDefinitionSecretArrayOutputWithContext ¶
func (i JobDefinitionSecretArray) ToJobDefinitionSecretArrayOutputWithContext(ctx context.Context) JobDefinitionSecretArrayOutput
type JobDefinitionSecretArrayInput ¶
type JobDefinitionSecretArrayInput interface { pulumi.Input ToJobDefinitionSecretArrayOutput() JobDefinitionSecretArrayOutput ToJobDefinitionSecretArrayOutputWithContext(context.Context) JobDefinitionSecretArrayOutput }
JobDefinitionSecretArrayInput is an input type that accepts JobDefinitionSecretArray and JobDefinitionSecretArrayOutput values. You can construct a concrete instance of `JobDefinitionSecretArrayInput` via:
JobDefinitionSecretArray{ JobDefinitionSecretArgs{...} }
type JobDefinitionSecretArrayOutput ¶
type JobDefinitionSecretArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionSecretArrayOutput) ElementType ¶
func (JobDefinitionSecretArrayOutput) ElementType() reflect.Type
func (JobDefinitionSecretArrayOutput) Index ¶
func (o JobDefinitionSecretArrayOutput) Index(i pulumi.IntInput) JobDefinitionSecretOutput
func (JobDefinitionSecretArrayOutput) ToJobDefinitionSecretArrayOutput ¶
func (o JobDefinitionSecretArrayOutput) ToJobDefinitionSecretArrayOutput() JobDefinitionSecretArrayOutput
func (JobDefinitionSecretArrayOutput) ToJobDefinitionSecretArrayOutputWithContext ¶
func (o JobDefinitionSecretArrayOutput) ToJobDefinitionSecretArrayOutputWithContext(ctx context.Context) JobDefinitionSecretArrayOutput
type JobDefinitionSecretInput ¶
type JobDefinitionSecretInput interface { pulumi.Input ToJobDefinitionSecretOutput() JobDefinitionSecretOutput ToJobDefinitionSecretOutputWithContext(context.Context) JobDefinitionSecretOutput }
JobDefinitionSecretInput is an input type that accepts JobDefinitionSecretArgs and JobDefinitionSecretOutput values. You can construct a concrete instance of `JobDefinitionSecretInput` via:
JobDefinitionSecretArgs{...}
type JobDefinitionSecretOutput ¶
type JobDefinitionSecretOutput struct{ *pulumi.OutputState }
func (JobDefinitionSecretOutput) ElementType ¶
func (JobDefinitionSecretOutput) ElementType() reflect.Type
func (JobDefinitionSecretOutput) Name ¶
func (o JobDefinitionSecretOutput) Name() pulumi.StringOutput
The name of the secret.
func (JobDefinitionSecretOutput) ToJobDefinitionSecretOutput ¶
func (o JobDefinitionSecretOutput) ToJobDefinitionSecretOutput() JobDefinitionSecretOutput
func (JobDefinitionSecretOutput) ToJobDefinitionSecretOutputWithContext ¶
func (o JobDefinitionSecretOutput) ToJobDefinitionSecretOutputWithContext(ctx context.Context) JobDefinitionSecretOutput
func (JobDefinitionSecretOutput) ValueFrom ¶
func (o JobDefinitionSecretOutput) ValueFrom() pulumi.StringOutput
The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.
> If the AWS Systems Manager Parameter Store parameter exists in the same Region as the job you're launching, then you can use either the full Amazon Resource Name (ARN) or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.
type JobDefinitionState ¶
type JobDefinitionState struct { }
func (JobDefinitionState) ElementType ¶
func (JobDefinitionState) ElementType() reflect.Type
type JobDefinitionTaskContainerDependency ¶ added in v0.99.0
type JobDefinitionTaskContainerDependency struct { // The dependency condition of the container. The following are the available conditions and their behavior: // // - `START` - This condition emulates the behavior of links and volumes today. It validates that a dependent container is started before permitting other containers to start. // - `COMPLETE` - This condition validates that a dependent container runs to completion (exits) before permitting other containers to start. This can be useful for nonessential containers that run a script and then exit. This condition can't be set on an essential container. // - `SUCCESS` - This condition is the same as `COMPLETE` , but it also requires that the container exits with a zero status. This condition can't be set on an essential container. Condition string `pulumi:"condition"` // A unique identifier for the container. ContainerName string `pulumi:"containerName"` }
type JobDefinitionTaskContainerDependencyArgs ¶ added in v0.99.0
type JobDefinitionTaskContainerDependencyArgs struct { // The dependency condition of the container. The following are the available conditions and their behavior: // // - `START` - This condition emulates the behavior of links and volumes today. It validates that a dependent container is started before permitting other containers to start. // - `COMPLETE` - This condition validates that a dependent container runs to completion (exits) before permitting other containers to start. This can be useful for nonessential containers that run a script and then exit. This condition can't be set on an essential container. // - `SUCCESS` - This condition is the same as `COMPLETE` , but it also requires that the container exits with a zero status. This condition can't be set on an essential container. Condition pulumi.StringInput `pulumi:"condition"` // A unique identifier for the container. ContainerName pulumi.StringInput `pulumi:"containerName"` }
func (JobDefinitionTaskContainerDependencyArgs) ElementType ¶ added in v0.99.0
func (JobDefinitionTaskContainerDependencyArgs) ElementType() reflect.Type
func (JobDefinitionTaskContainerDependencyArgs) ToJobDefinitionTaskContainerDependencyOutput ¶ added in v0.99.0
func (i JobDefinitionTaskContainerDependencyArgs) ToJobDefinitionTaskContainerDependencyOutput() JobDefinitionTaskContainerDependencyOutput
func (JobDefinitionTaskContainerDependencyArgs) ToJobDefinitionTaskContainerDependencyOutputWithContext ¶ added in v0.99.0
func (i JobDefinitionTaskContainerDependencyArgs) ToJobDefinitionTaskContainerDependencyOutputWithContext(ctx context.Context) JobDefinitionTaskContainerDependencyOutput
type JobDefinitionTaskContainerDependencyArray ¶ added in v0.99.0
type JobDefinitionTaskContainerDependencyArray []JobDefinitionTaskContainerDependencyInput
func (JobDefinitionTaskContainerDependencyArray) ElementType ¶ added in v0.99.0
func (JobDefinitionTaskContainerDependencyArray) ElementType() reflect.Type
func (JobDefinitionTaskContainerDependencyArray) ToJobDefinitionTaskContainerDependencyArrayOutput ¶ added in v0.99.0
func (i JobDefinitionTaskContainerDependencyArray) ToJobDefinitionTaskContainerDependencyArrayOutput() JobDefinitionTaskContainerDependencyArrayOutput
func (JobDefinitionTaskContainerDependencyArray) ToJobDefinitionTaskContainerDependencyArrayOutputWithContext ¶ added in v0.99.0
func (i JobDefinitionTaskContainerDependencyArray) ToJobDefinitionTaskContainerDependencyArrayOutputWithContext(ctx context.Context) JobDefinitionTaskContainerDependencyArrayOutput
type JobDefinitionTaskContainerDependencyArrayInput ¶ added in v0.99.0
type JobDefinitionTaskContainerDependencyArrayInput interface { pulumi.Input ToJobDefinitionTaskContainerDependencyArrayOutput() JobDefinitionTaskContainerDependencyArrayOutput ToJobDefinitionTaskContainerDependencyArrayOutputWithContext(context.Context) JobDefinitionTaskContainerDependencyArrayOutput }
JobDefinitionTaskContainerDependencyArrayInput is an input type that accepts JobDefinitionTaskContainerDependencyArray and JobDefinitionTaskContainerDependencyArrayOutput values. You can construct a concrete instance of `JobDefinitionTaskContainerDependencyArrayInput` via:
JobDefinitionTaskContainerDependencyArray{ JobDefinitionTaskContainerDependencyArgs{...} }
type JobDefinitionTaskContainerDependencyArrayOutput ¶ added in v0.99.0
type JobDefinitionTaskContainerDependencyArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionTaskContainerDependencyArrayOutput) ElementType ¶ added in v0.99.0
func (JobDefinitionTaskContainerDependencyArrayOutput) ElementType() reflect.Type
func (JobDefinitionTaskContainerDependencyArrayOutput) ToJobDefinitionTaskContainerDependencyArrayOutput ¶ added in v0.99.0
func (o JobDefinitionTaskContainerDependencyArrayOutput) ToJobDefinitionTaskContainerDependencyArrayOutput() JobDefinitionTaskContainerDependencyArrayOutput
func (JobDefinitionTaskContainerDependencyArrayOutput) ToJobDefinitionTaskContainerDependencyArrayOutputWithContext ¶ added in v0.99.0
func (o JobDefinitionTaskContainerDependencyArrayOutput) ToJobDefinitionTaskContainerDependencyArrayOutputWithContext(ctx context.Context) JobDefinitionTaskContainerDependencyArrayOutput
type JobDefinitionTaskContainerDependencyInput ¶ added in v0.99.0
type JobDefinitionTaskContainerDependencyInput interface { pulumi.Input ToJobDefinitionTaskContainerDependencyOutput() JobDefinitionTaskContainerDependencyOutput ToJobDefinitionTaskContainerDependencyOutputWithContext(context.Context) JobDefinitionTaskContainerDependencyOutput }
JobDefinitionTaskContainerDependencyInput is an input type that accepts JobDefinitionTaskContainerDependencyArgs and JobDefinitionTaskContainerDependencyOutput values. You can construct a concrete instance of `JobDefinitionTaskContainerDependencyInput` via:
JobDefinitionTaskContainerDependencyArgs{...}
type JobDefinitionTaskContainerDependencyOutput ¶ added in v0.99.0
type JobDefinitionTaskContainerDependencyOutput struct{ *pulumi.OutputState }
func (JobDefinitionTaskContainerDependencyOutput) Condition ¶ added in v0.99.0
func (o JobDefinitionTaskContainerDependencyOutput) Condition() pulumi.StringOutput
The dependency condition of the container. The following are the available conditions and their behavior:
- `START` - This condition emulates the behavior of links and volumes today. It validates that a dependent container is started before permitting other containers to start. - `COMPLETE` - This condition validates that a dependent container runs to completion (exits) before permitting other containers to start. This can be useful for nonessential containers that run a script and then exit. This condition can't be set on an essential container. - `SUCCESS` - This condition is the same as `COMPLETE` , but it also requires that the container exits with a zero status. This condition can't be set on an essential container.
func (JobDefinitionTaskContainerDependencyOutput) ContainerName ¶ added in v0.99.0
func (o JobDefinitionTaskContainerDependencyOutput) ContainerName() pulumi.StringOutput
A unique identifier for the container.
func (JobDefinitionTaskContainerDependencyOutput) ElementType ¶ added in v0.99.0
func (JobDefinitionTaskContainerDependencyOutput) ElementType() reflect.Type
func (JobDefinitionTaskContainerDependencyOutput) ToJobDefinitionTaskContainerDependencyOutput ¶ added in v0.99.0
func (o JobDefinitionTaskContainerDependencyOutput) ToJobDefinitionTaskContainerDependencyOutput() JobDefinitionTaskContainerDependencyOutput
func (JobDefinitionTaskContainerDependencyOutput) ToJobDefinitionTaskContainerDependencyOutputWithContext ¶ added in v0.99.0
func (o JobDefinitionTaskContainerDependencyOutput) ToJobDefinitionTaskContainerDependencyOutputWithContext(ctx context.Context) JobDefinitionTaskContainerDependencyOutput
type JobDefinitionTaskContainerProperties ¶ added in v0.99.0
type JobDefinitionTaskContainerProperties struct { // The command that's passed to the container. This parameter maps to `Cmd` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `COMMAND` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . For more information, see [Dockerfile reference: CMD](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) . Command []string `pulumi:"command"` // A list of containers that this container depends on. DependsOn []JobDefinitionTaskContainerDependency `pulumi:"dependsOn"` // The environment variables to pass to a container. This parameter maps to Env inthe [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--env` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . // // > We don't recommend using plaintext environment variables for sensitive information, such as credential data. > Environment variables cannot start with `AWS_BATCH` . This naming convention is reserved for variables that AWS Batch sets. Environment []JobDefinitionEnvironment `pulumi:"environment"` // If the essential parameter of a container is marked as `true` , and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the `essential` parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. // // All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see [Application Architecture](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html) in the *Amazon Elastic Container Service Developer Guide* . Essential *bool `pulumi:"essential"` // The image used to start a container. This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either `repository-url/image:tag` or `repository-url/image@digest` . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to `Image` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `IMAGE` parameter of the [*docker run*](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . Image string `pulumi:"image"` // Linux-specific modifications that are applied to the container, such as Linux kernel capabilities. For more information, see [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html) . LinuxParameters *JobDefinitionLinuxParameters `pulumi:"linuxParameters"` // The log configuration specification for the container. // // This parameter maps to `LogConfig` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--log-driver` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . // // By default, containers use the same logging driver that the Docker daemon uses. However the container can use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information about the options for different supported log drivers, see [Configure logging drivers](https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/) in the *Docker documentation* . // // > Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon (shown in the `LogConfiguration` data type). Additional log drivers may be available in future releases of the Amazon ECS container agent. // // This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version `--format '{{.Server.APIVersion}}'` // // > The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before containers placed on that instance can use these log configuration options. For more information, see [Amazon ECS container agent configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide* . LogConfiguration *JobDefinitionLogConfiguration `pulumi:"logConfiguration"` // The mount points for data volumes in your container. // // This parameter maps to `Volumes` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the [--volume](https://docs.aws.amazon.com/) option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . // // Windows containers can mount whole directories on the same drive as `$env:ProgramData` . Windows containers can't mount directories on a different drive, and mount point can't be across drives. MountPoints []JobDefinitionMountPoints `pulumi:"mountPoints"` // The name of a container. The name can be used as a unique identifier to target your `dependsOn` and `Overrides` objects. Name *string `pulumi:"name"` // When this parameter is `true` , the container is given elevated privileges on the host container instance (similar to the `root` user). This parameter maps to `Privileged` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--privileged` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . // // > This parameter is not supported for Windows containers or tasks run on Fargate. Privileged *bool `pulumi:"privileged"` // When this parameter is true, the container is given read-only access to its root file system. This parameter maps to `ReadonlyRootfs` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--read-only` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . // // > This parameter is not supported for Windows containers. ReadonlyRootFilesystem *bool `pulumi:"readonlyRootFilesystem"` // The private repository authentication credentials to use. RepositoryCredentials *JobDefinitionRepositoryCredentials `pulumi:"repositoryCredentials"` // The type and amount of a resource to assign to a container. The only supported resource is a GPU. ResourceRequirements []JobDefinitionResourceRequirement `pulumi:"resourceRequirements"` // The secrets to pass to the container. For more information, see [Specifying Sensitive Data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) in the Amazon Elastic Container Service Developer Guide. Secrets []JobDefinitionSecret `pulumi:"secrets"` // A list of `ulimits` to set in the container. If a `ulimit` value is specified in a task definition, it overrides the default values set by Docker. This parameter maps to `Ulimits` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--ulimit` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . // // Amazon ECS tasks hosted on Fargate use the default resource limit values set by the operating system with the exception of the nofile resource limit parameter which Fargate overrides. The `nofile` resource limit sets a restriction on the number of open files that a container can use. The default `nofile` soft limit is `1024` and the default hard limit is `65535` . // // This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version `--format '{{.Server.APIVersion}}'` // // > This parameter is not supported for Windows containers. Ulimits []JobDefinitionUlimit `pulumi:"ulimits"` // The user to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run. // // > When running tasks using the `host` network mode, don't run containers using the `root user (UID 0)` . We recommend using a non-root user for better security. // // You can specify the `user` using the following formats. If specifying a UID or GID, you must specify it as a positive integer. // // - `user` // - `user:group` // - `uid` // - `uid:gid` // - `user:gi` // - `uid:group` // // > This parameter is not supported for Windows containers. User *string `pulumi:"user"` }
type JobDefinitionTaskContainerPropertiesArgs ¶ added in v0.99.0
type JobDefinitionTaskContainerPropertiesArgs struct { // The command that's passed to the container. This parameter maps to `Cmd` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `COMMAND` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . For more information, see [Dockerfile reference: CMD](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) . Command pulumi.StringArrayInput `pulumi:"command"` // A list of containers that this container depends on. DependsOn JobDefinitionTaskContainerDependencyArrayInput `pulumi:"dependsOn"` // The environment variables to pass to a container. This parameter maps to Env inthe [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--env` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . // // > We don't recommend using plaintext environment variables for sensitive information, such as credential data. > Environment variables cannot start with `AWS_BATCH` . This naming convention is reserved for variables that AWS Batch sets. Environment JobDefinitionEnvironmentArrayInput `pulumi:"environment"` // If the essential parameter of a container is marked as `true` , and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the `essential` parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. // // All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see [Application Architecture](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html) in the *Amazon Elastic Container Service Developer Guide* . Essential pulumi.BoolPtrInput `pulumi:"essential"` // The image used to start a container. This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either `repository-url/image:tag` or `repository-url/image@digest` . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to `Image` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `IMAGE` parameter of the [*docker run*](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . Image pulumi.StringInput `pulumi:"image"` // Linux-specific modifications that are applied to the container, such as Linux kernel capabilities. For more information, see [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html) . LinuxParameters JobDefinitionLinuxParametersPtrInput `pulumi:"linuxParameters"` // The log configuration specification for the container. // // This parameter maps to `LogConfig` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--log-driver` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . // // By default, containers use the same logging driver that the Docker daemon uses. However the container can use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information about the options for different supported log drivers, see [Configure logging drivers](https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/) in the *Docker documentation* . // // > Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon (shown in the `LogConfiguration` data type). Additional log drivers may be available in future releases of the Amazon ECS container agent. // // This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version `--format '{{.Server.APIVersion}}'` // // > The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before containers placed on that instance can use these log configuration options. For more information, see [Amazon ECS container agent configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide* . LogConfiguration JobDefinitionLogConfigurationPtrInput `pulumi:"logConfiguration"` // The mount points for data volumes in your container. // // This parameter maps to `Volumes` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the [--volume](https://docs.aws.amazon.com/) option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . // // Windows containers can mount whole directories on the same drive as `$env:ProgramData` . Windows containers can't mount directories on a different drive, and mount point can't be across drives. MountPoints JobDefinitionMountPointsArrayInput `pulumi:"mountPoints"` // The name of a container. The name can be used as a unique identifier to target your `dependsOn` and `Overrides` objects. Name pulumi.StringPtrInput `pulumi:"name"` // When this parameter is `true` , the container is given elevated privileges on the host container instance (similar to the `root` user). This parameter maps to `Privileged` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--privileged` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . // // > This parameter is not supported for Windows containers or tasks run on Fargate. Privileged pulumi.BoolPtrInput `pulumi:"privileged"` // When this parameter is true, the container is given read-only access to its root file system. This parameter maps to `ReadonlyRootfs` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--read-only` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . // // > This parameter is not supported for Windows containers. ReadonlyRootFilesystem pulumi.BoolPtrInput `pulumi:"readonlyRootFilesystem"` // The private repository authentication credentials to use. RepositoryCredentials JobDefinitionRepositoryCredentialsPtrInput `pulumi:"repositoryCredentials"` // The type and amount of a resource to assign to a container. The only supported resource is a GPU. ResourceRequirements JobDefinitionResourceRequirementArrayInput `pulumi:"resourceRequirements"` // The secrets to pass to the container. For more information, see [Specifying Sensitive Data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) in the Amazon Elastic Container Service Developer Guide. Secrets JobDefinitionSecretArrayInput `pulumi:"secrets"` // A list of `ulimits` to set in the container. If a `ulimit` value is specified in a task definition, it overrides the default values set by Docker. This parameter maps to `Ulimits` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--ulimit` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . // // Amazon ECS tasks hosted on Fargate use the default resource limit values set by the operating system with the exception of the nofile resource limit parameter which Fargate overrides. The `nofile` resource limit sets a restriction on the number of open files that a container can use. The default `nofile` soft limit is `1024` and the default hard limit is `65535` . // // This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version `--format '{{.Server.APIVersion}}'` // // > This parameter is not supported for Windows containers. Ulimits JobDefinitionUlimitArrayInput `pulumi:"ulimits"` // The user to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run. // // > When running tasks using the `host` network mode, don't run containers using the `root user (UID 0)` . We recommend using a non-root user for better security. // // You can specify the `user` using the following formats. If specifying a UID or GID, you must specify it as a positive integer. // // - `user` // - `user:group` // - `uid` // - `uid:gid` // - `user:gi` // - `uid:group` // // > This parameter is not supported for Windows containers. User pulumi.StringPtrInput `pulumi:"user"` }
func (JobDefinitionTaskContainerPropertiesArgs) ElementType ¶ added in v0.99.0
func (JobDefinitionTaskContainerPropertiesArgs) ElementType() reflect.Type
func (JobDefinitionTaskContainerPropertiesArgs) ToJobDefinitionTaskContainerPropertiesOutput ¶ added in v0.99.0
func (i JobDefinitionTaskContainerPropertiesArgs) ToJobDefinitionTaskContainerPropertiesOutput() JobDefinitionTaskContainerPropertiesOutput
func (JobDefinitionTaskContainerPropertiesArgs) ToJobDefinitionTaskContainerPropertiesOutputWithContext ¶ added in v0.99.0
func (i JobDefinitionTaskContainerPropertiesArgs) ToJobDefinitionTaskContainerPropertiesOutputWithContext(ctx context.Context) JobDefinitionTaskContainerPropertiesOutput
type JobDefinitionTaskContainerPropertiesArray ¶ added in v0.99.0
type JobDefinitionTaskContainerPropertiesArray []JobDefinitionTaskContainerPropertiesInput
func (JobDefinitionTaskContainerPropertiesArray) ElementType ¶ added in v0.99.0
func (JobDefinitionTaskContainerPropertiesArray) ElementType() reflect.Type
func (JobDefinitionTaskContainerPropertiesArray) ToJobDefinitionTaskContainerPropertiesArrayOutput ¶ added in v0.99.0
func (i JobDefinitionTaskContainerPropertiesArray) ToJobDefinitionTaskContainerPropertiesArrayOutput() JobDefinitionTaskContainerPropertiesArrayOutput
func (JobDefinitionTaskContainerPropertiesArray) ToJobDefinitionTaskContainerPropertiesArrayOutputWithContext ¶ added in v0.99.0
func (i JobDefinitionTaskContainerPropertiesArray) ToJobDefinitionTaskContainerPropertiesArrayOutputWithContext(ctx context.Context) JobDefinitionTaskContainerPropertiesArrayOutput
type JobDefinitionTaskContainerPropertiesArrayInput ¶ added in v0.99.0
type JobDefinitionTaskContainerPropertiesArrayInput interface { pulumi.Input ToJobDefinitionTaskContainerPropertiesArrayOutput() JobDefinitionTaskContainerPropertiesArrayOutput ToJobDefinitionTaskContainerPropertiesArrayOutputWithContext(context.Context) JobDefinitionTaskContainerPropertiesArrayOutput }
JobDefinitionTaskContainerPropertiesArrayInput is an input type that accepts JobDefinitionTaskContainerPropertiesArray and JobDefinitionTaskContainerPropertiesArrayOutput values. You can construct a concrete instance of `JobDefinitionTaskContainerPropertiesArrayInput` via:
JobDefinitionTaskContainerPropertiesArray{ JobDefinitionTaskContainerPropertiesArgs{...} }
type JobDefinitionTaskContainerPropertiesArrayOutput ¶ added in v0.99.0
type JobDefinitionTaskContainerPropertiesArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionTaskContainerPropertiesArrayOutput) ElementType ¶ added in v0.99.0
func (JobDefinitionTaskContainerPropertiesArrayOutput) ElementType() reflect.Type
func (JobDefinitionTaskContainerPropertiesArrayOutput) ToJobDefinitionTaskContainerPropertiesArrayOutput ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesArrayOutput) ToJobDefinitionTaskContainerPropertiesArrayOutput() JobDefinitionTaskContainerPropertiesArrayOutput
func (JobDefinitionTaskContainerPropertiesArrayOutput) ToJobDefinitionTaskContainerPropertiesArrayOutputWithContext ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesArrayOutput) ToJobDefinitionTaskContainerPropertiesArrayOutputWithContext(ctx context.Context) JobDefinitionTaskContainerPropertiesArrayOutput
type JobDefinitionTaskContainerPropertiesInput ¶ added in v0.99.0
type JobDefinitionTaskContainerPropertiesInput interface { pulumi.Input ToJobDefinitionTaskContainerPropertiesOutput() JobDefinitionTaskContainerPropertiesOutput ToJobDefinitionTaskContainerPropertiesOutputWithContext(context.Context) JobDefinitionTaskContainerPropertiesOutput }
JobDefinitionTaskContainerPropertiesInput is an input type that accepts JobDefinitionTaskContainerPropertiesArgs and JobDefinitionTaskContainerPropertiesOutput values. You can construct a concrete instance of `JobDefinitionTaskContainerPropertiesInput` via:
JobDefinitionTaskContainerPropertiesArgs{...}
type JobDefinitionTaskContainerPropertiesOutput ¶ added in v0.99.0
type JobDefinitionTaskContainerPropertiesOutput struct{ *pulumi.OutputState }
func (JobDefinitionTaskContainerPropertiesOutput) Command ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) Command() pulumi.StringArrayOutput
The command that's passed to the container. This parameter maps to `Cmd` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `COMMAND` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . For more information, see [Dockerfile reference: CMD](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) .
func (JobDefinitionTaskContainerPropertiesOutput) DependsOn ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) DependsOn() JobDefinitionTaskContainerDependencyArrayOutput
A list of containers that this container depends on.
func (JobDefinitionTaskContainerPropertiesOutput) ElementType ¶ added in v0.99.0
func (JobDefinitionTaskContainerPropertiesOutput) ElementType() reflect.Type
func (JobDefinitionTaskContainerPropertiesOutput) Environment ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) Environment() JobDefinitionEnvironmentArrayOutput
The environment variables to pass to a container. This parameter maps to Env inthe [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--env` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
> We don't recommend using plaintext environment variables for sensitive information, such as credential data. > Environment variables cannot start with `AWS_BATCH` . This naming convention is reserved for variables that AWS Batch sets.
func (JobDefinitionTaskContainerPropertiesOutput) Essential ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) Essential() pulumi.BoolPtrOutput
If the essential parameter of a container is marked as `true` , and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the `essential` parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential.
All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see [Application Architecture](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html) in the *Amazon Elastic Container Service Developer Guide* .
func (JobDefinitionTaskContainerPropertiesOutput) Image ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) Image() pulumi.StringOutput
The image used to start a container. This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either `repository-url/image:tag` or `repository-url/image@digest` . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to `Image` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `IMAGE` parameter of the [*docker run*](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
func (JobDefinitionTaskContainerPropertiesOutput) LinuxParameters ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) LinuxParameters() JobDefinitionLinuxParametersPtrOutput
Linux-specific modifications that are applied to the container, such as Linux kernel capabilities. For more information, see [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html) .
func (JobDefinitionTaskContainerPropertiesOutput) LogConfiguration ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) LogConfiguration() JobDefinitionLogConfigurationPtrOutput
The log configuration specification for the container.
This parameter maps to `LogConfig` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--log-driver` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
By default, containers use the same logging driver that the Docker daemon uses. However the container can use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information about the options for different supported log drivers, see [Configure logging drivers](https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/) in the *Docker documentation* .
> Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon (shown in the `LogConfiguration` data type). Additional log drivers may be available in future releases of the Amazon ECS container agent.
This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version `--format '{{.Server.APIVersion}}'`
> The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before containers placed on that instance can use these log configuration options. For more information, see [Amazon ECS container agent configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide* .
func (JobDefinitionTaskContainerPropertiesOutput) MountPoints ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) MountPoints() JobDefinitionMountPointsArrayOutput
The mount points for data volumes in your container.
This parameter maps to `Volumes` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the [--volume](https://docs.aws.amazon.com/) option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
Windows containers can mount whole directories on the same drive as `$env:ProgramData` . Windows containers can't mount directories on a different drive, and mount point can't be across drives.
func (JobDefinitionTaskContainerPropertiesOutput) Name ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) Name() pulumi.StringPtrOutput
The name of a container. The name can be used as a unique identifier to target your `dependsOn` and `Overrides` objects.
func (JobDefinitionTaskContainerPropertiesOutput) Privileged ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) Privileged() pulumi.BoolPtrOutput
When this parameter is `true` , the container is given elevated privileges on the host container instance (similar to the `root` user). This parameter maps to `Privileged` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--privileged` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
> This parameter is not supported for Windows containers or tasks run on Fargate.
func (JobDefinitionTaskContainerPropertiesOutput) ReadonlyRootFilesystem ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) ReadonlyRootFilesystem() pulumi.BoolPtrOutput
When this parameter is true, the container is given read-only access to its root file system. This parameter maps to `ReadonlyRootfs` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--read-only` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
> This parameter is not supported for Windows containers.
func (JobDefinitionTaskContainerPropertiesOutput) RepositoryCredentials ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) RepositoryCredentials() JobDefinitionRepositoryCredentialsPtrOutput
The private repository authentication credentials to use.
func (JobDefinitionTaskContainerPropertiesOutput) ResourceRequirements ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) ResourceRequirements() JobDefinitionResourceRequirementArrayOutput
The type and amount of a resource to assign to a container. The only supported resource is a GPU.
func (JobDefinitionTaskContainerPropertiesOutput) Secrets ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) Secrets() JobDefinitionSecretArrayOutput
The secrets to pass to the container. For more information, see [Specifying Sensitive Data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) in the Amazon Elastic Container Service Developer Guide.
func (JobDefinitionTaskContainerPropertiesOutput) ToJobDefinitionTaskContainerPropertiesOutput ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) ToJobDefinitionTaskContainerPropertiesOutput() JobDefinitionTaskContainerPropertiesOutput
func (JobDefinitionTaskContainerPropertiesOutput) ToJobDefinitionTaskContainerPropertiesOutputWithContext ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) ToJobDefinitionTaskContainerPropertiesOutputWithContext(ctx context.Context) JobDefinitionTaskContainerPropertiesOutput
func (JobDefinitionTaskContainerPropertiesOutput) Ulimits ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) Ulimits() JobDefinitionUlimitArrayOutput
A list of `ulimits` to set in the container. If a `ulimit` value is specified in a task definition, it overrides the default values set by Docker. This parameter maps to `Ulimits` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--ulimit` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
Amazon ECS tasks hosted on Fargate use the default resource limit values set by the operating system with the exception of the nofile resource limit parameter which Fargate overrides. The `nofile` resource limit sets a restriction on the number of open files that a container can use. The default `nofile` soft limit is `1024` and the default hard limit is `65535` .
This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version `--format '{{.Server.APIVersion}}'`
> This parameter is not supported for Windows containers.
func (JobDefinitionTaskContainerPropertiesOutput) User ¶ added in v0.99.0
func (o JobDefinitionTaskContainerPropertiesOutput) User() pulumi.StringPtrOutput
The user to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run.
> When running tasks using the `host` network mode, don't run containers using the `root user (UID 0)` . We recommend using a non-root user for better security.
You can specify the `user` using the following formats. If specifying a UID or GID, you must specify it as a positive integer.
- `user` - `user:group` - `uid` - `uid:gid` - `user:gi` - `uid:group`
> This parameter is not supported for Windows containers.
type JobDefinitionTimeout ¶
type JobDefinitionTimeout struct { // The job timeout time (in seconds) that's measured from the job attempt's `startedAt` timestamp. After this time passes, AWS Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds. // // For array jobs, the timeout applies to the child jobs, not to the parent array job. // // For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes. AttemptDurationSeconds *int `pulumi:"attemptDurationSeconds"` }
type JobDefinitionTimeoutArgs ¶
type JobDefinitionTimeoutArgs struct { // The job timeout time (in seconds) that's measured from the job attempt's `startedAt` timestamp. After this time passes, AWS Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds. // // For array jobs, the timeout applies to the child jobs, not to the parent array job. // // For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes. 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 job timeout time (in seconds) that's measured from the job attempt's `startedAt` timestamp. After this time passes, AWS Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds.
For array jobs, the timeout applies to the child jobs, not to the parent array job.
For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.
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 job timeout time (in seconds) that's measured from the job attempt's `startedAt` timestamp. After this time passes, AWS Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds.
For array jobs, the timeout applies to the child jobs, not to the parent array job.
For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.
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 JobDefinitionTmpfs ¶
type JobDefinitionTmpfs struct { // The absolute file path in the container where the `tmpfs` volume is mounted. ContainerPath string `pulumi:"containerPath"` // The list of `tmpfs` volume mount options. // // Valid values: " `defaults` " | " `ro` " | " `rw` " | " `suid` " | " `nosuid` " | " `dev` " | " `nodev` " | " `exec` " | " `noexec` " | " `sync` " | " `async` " | " `dirsync` " | " `remount` " | " `mand` " | " `nomand` " | " `atime` " | " `noatime` " | " `diratime` " | " `nodiratime` " | " `bind` " | " `rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime` " | " `norelatime` " | " `strictatime` " | " `nostrictatime` " | " `mode` " | " `uid` " | " `gid` " | " `nr_inodes` " | " `nr_blocks` " | " `mpol` " MountOptions []string `pulumi:"mountOptions"` // The size (in MiB) of the `tmpfs` volume. Size int `pulumi:"size"` }
type JobDefinitionTmpfsArgs ¶
type JobDefinitionTmpfsArgs struct { // The absolute file path in the container where the `tmpfs` volume is mounted. ContainerPath pulumi.StringInput `pulumi:"containerPath"` // The list of `tmpfs` volume mount options. // // Valid values: " `defaults` " | " `ro` " | " `rw` " | " `suid` " | " `nosuid` " | " `dev` " | " `nodev` " | " `exec` " | " `noexec` " | " `sync` " | " `async` " | " `dirsync` " | " `remount` " | " `mand` " | " `nomand` " | " `atime` " | " `noatime` " | " `diratime` " | " `nodiratime` " | " `bind` " | " `rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime` " | " `norelatime` " | " `strictatime` " | " `nostrictatime` " | " `mode` " | " `uid` " | " `gid` " | " `nr_inodes` " | " `nr_blocks` " | " `mpol` " MountOptions pulumi.StringArrayInput `pulumi:"mountOptions"` // The size (in MiB) of the `tmpfs` volume. Size pulumi.IntInput `pulumi:"size"` }
func (JobDefinitionTmpfsArgs) ElementType ¶
func (JobDefinitionTmpfsArgs) ElementType() reflect.Type
func (JobDefinitionTmpfsArgs) ToJobDefinitionTmpfsOutput ¶
func (i JobDefinitionTmpfsArgs) ToJobDefinitionTmpfsOutput() JobDefinitionTmpfsOutput
func (JobDefinitionTmpfsArgs) ToJobDefinitionTmpfsOutputWithContext ¶
func (i JobDefinitionTmpfsArgs) ToJobDefinitionTmpfsOutputWithContext(ctx context.Context) JobDefinitionTmpfsOutput
type JobDefinitionTmpfsArray ¶
type JobDefinitionTmpfsArray []JobDefinitionTmpfsInput
func (JobDefinitionTmpfsArray) ElementType ¶
func (JobDefinitionTmpfsArray) ElementType() reflect.Type
func (JobDefinitionTmpfsArray) ToJobDefinitionTmpfsArrayOutput ¶
func (i JobDefinitionTmpfsArray) ToJobDefinitionTmpfsArrayOutput() JobDefinitionTmpfsArrayOutput
func (JobDefinitionTmpfsArray) ToJobDefinitionTmpfsArrayOutputWithContext ¶
func (i JobDefinitionTmpfsArray) ToJobDefinitionTmpfsArrayOutputWithContext(ctx context.Context) JobDefinitionTmpfsArrayOutput
type JobDefinitionTmpfsArrayInput ¶
type JobDefinitionTmpfsArrayInput interface { pulumi.Input ToJobDefinitionTmpfsArrayOutput() JobDefinitionTmpfsArrayOutput ToJobDefinitionTmpfsArrayOutputWithContext(context.Context) JobDefinitionTmpfsArrayOutput }
JobDefinitionTmpfsArrayInput is an input type that accepts JobDefinitionTmpfsArray and JobDefinitionTmpfsArrayOutput values. You can construct a concrete instance of `JobDefinitionTmpfsArrayInput` via:
JobDefinitionTmpfsArray{ JobDefinitionTmpfsArgs{...} }
type JobDefinitionTmpfsArrayOutput ¶
type JobDefinitionTmpfsArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionTmpfsArrayOutput) ElementType ¶
func (JobDefinitionTmpfsArrayOutput) ElementType() reflect.Type
func (JobDefinitionTmpfsArrayOutput) Index ¶
func (o JobDefinitionTmpfsArrayOutput) Index(i pulumi.IntInput) JobDefinitionTmpfsOutput
func (JobDefinitionTmpfsArrayOutput) ToJobDefinitionTmpfsArrayOutput ¶
func (o JobDefinitionTmpfsArrayOutput) ToJobDefinitionTmpfsArrayOutput() JobDefinitionTmpfsArrayOutput
func (JobDefinitionTmpfsArrayOutput) ToJobDefinitionTmpfsArrayOutputWithContext ¶
func (o JobDefinitionTmpfsArrayOutput) ToJobDefinitionTmpfsArrayOutputWithContext(ctx context.Context) JobDefinitionTmpfsArrayOutput
type JobDefinitionTmpfsInput ¶
type JobDefinitionTmpfsInput interface { pulumi.Input ToJobDefinitionTmpfsOutput() JobDefinitionTmpfsOutput ToJobDefinitionTmpfsOutputWithContext(context.Context) JobDefinitionTmpfsOutput }
JobDefinitionTmpfsInput is an input type that accepts JobDefinitionTmpfsArgs and JobDefinitionTmpfsOutput values. You can construct a concrete instance of `JobDefinitionTmpfsInput` via:
JobDefinitionTmpfsArgs{...}
type JobDefinitionTmpfsOutput ¶
type JobDefinitionTmpfsOutput struct{ *pulumi.OutputState }
func (JobDefinitionTmpfsOutput) ContainerPath ¶
func (o JobDefinitionTmpfsOutput) ContainerPath() pulumi.StringOutput
The absolute file path in the container where the `tmpfs` volume is mounted.
func (JobDefinitionTmpfsOutput) ElementType ¶
func (JobDefinitionTmpfsOutput) ElementType() reflect.Type
func (JobDefinitionTmpfsOutput) MountOptions ¶
func (o JobDefinitionTmpfsOutput) MountOptions() pulumi.StringArrayOutput
The list of `tmpfs` volume mount options.
Valid values: " `defaults` " | " `ro` " | " `rw` " | " `suid` " | " `nosuid` " | " `dev` " | " `nodev` " | " `exec` " | " `noexec` " | " `sync` " | " `async` " | " `dirsync` " | " `remount` " | " `mand` " | " `nomand` " | " `atime` " | " `noatime` " | " `diratime` " | " `nodiratime` " | " `bind` " | " `rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime` " | " `norelatime` " | " `strictatime` " | " `nostrictatime` " | " `mode` " | " `uid` " | " `gid` " | " `nr_inodes` " | " `nr_blocks` " | " `mpol` "
func (JobDefinitionTmpfsOutput) Size ¶
func (o JobDefinitionTmpfsOutput) Size() pulumi.IntOutput
The size (in MiB) of the `tmpfs` volume.
func (JobDefinitionTmpfsOutput) ToJobDefinitionTmpfsOutput ¶
func (o JobDefinitionTmpfsOutput) ToJobDefinitionTmpfsOutput() JobDefinitionTmpfsOutput
func (JobDefinitionTmpfsOutput) ToJobDefinitionTmpfsOutputWithContext ¶
func (o JobDefinitionTmpfsOutput) ToJobDefinitionTmpfsOutputWithContext(ctx context.Context) JobDefinitionTmpfsOutput
type JobDefinitionUlimit ¶
type JobDefinitionUlimit struct { // The hard limit for the `ulimit` type. HardLimit int `pulumi:"hardLimit"` // The `type` of the `ulimit` . Valid values are: `core` | `cpu` | `data` | `fsize` | `locks` | `memlock` | `msgqueue` | `nice` | `nofile` | `nproc` | `rss` | `rtprio` | `rttime` | `sigpending` | `stack` . Name string `pulumi:"name"` // The soft limit for the `ulimit` type. SoftLimit int `pulumi:"softLimit"` }
type JobDefinitionUlimitArgs ¶
type JobDefinitionUlimitArgs struct { // The hard limit for the `ulimit` type. HardLimit pulumi.IntInput `pulumi:"hardLimit"` // The `type` of the `ulimit` . Valid values are: `core` | `cpu` | `data` | `fsize` | `locks` | `memlock` | `msgqueue` | `nice` | `nofile` | `nproc` | `rss` | `rtprio` | `rttime` | `sigpending` | `stack` . Name pulumi.StringInput `pulumi:"name"` // The soft limit for the `ulimit` type. SoftLimit pulumi.IntInput `pulumi:"softLimit"` }
func (JobDefinitionUlimitArgs) ElementType ¶
func (JobDefinitionUlimitArgs) ElementType() reflect.Type
func (JobDefinitionUlimitArgs) ToJobDefinitionUlimitOutput ¶
func (i JobDefinitionUlimitArgs) ToJobDefinitionUlimitOutput() JobDefinitionUlimitOutput
func (JobDefinitionUlimitArgs) ToJobDefinitionUlimitOutputWithContext ¶
func (i JobDefinitionUlimitArgs) ToJobDefinitionUlimitOutputWithContext(ctx context.Context) JobDefinitionUlimitOutput
type JobDefinitionUlimitArray ¶
type JobDefinitionUlimitArray []JobDefinitionUlimitInput
func (JobDefinitionUlimitArray) ElementType ¶
func (JobDefinitionUlimitArray) ElementType() reflect.Type
func (JobDefinitionUlimitArray) ToJobDefinitionUlimitArrayOutput ¶
func (i JobDefinitionUlimitArray) ToJobDefinitionUlimitArrayOutput() JobDefinitionUlimitArrayOutput
func (JobDefinitionUlimitArray) ToJobDefinitionUlimitArrayOutputWithContext ¶
func (i JobDefinitionUlimitArray) ToJobDefinitionUlimitArrayOutputWithContext(ctx context.Context) JobDefinitionUlimitArrayOutput
type JobDefinitionUlimitArrayInput ¶
type JobDefinitionUlimitArrayInput interface { pulumi.Input ToJobDefinitionUlimitArrayOutput() JobDefinitionUlimitArrayOutput ToJobDefinitionUlimitArrayOutputWithContext(context.Context) JobDefinitionUlimitArrayOutput }
JobDefinitionUlimitArrayInput is an input type that accepts JobDefinitionUlimitArray and JobDefinitionUlimitArrayOutput values. You can construct a concrete instance of `JobDefinitionUlimitArrayInput` via:
JobDefinitionUlimitArray{ JobDefinitionUlimitArgs{...} }
type JobDefinitionUlimitArrayOutput ¶
type JobDefinitionUlimitArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionUlimitArrayOutput) ElementType ¶
func (JobDefinitionUlimitArrayOutput) ElementType() reflect.Type
func (JobDefinitionUlimitArrayOutput) Index ¶
func (o JobDefinitionUlimitArrayOutput) Index(i pulumi.IntInput) JobDefinitionUlimitOutput
func (JobDefinitionUlimitArrayOutput) ToJobDefinitionUlimitArrayOutput ¶
func (o JobDefinitionUlimitArrayOutput) ToJobDefinitionUlimitArrayOutput() JobDefinitionUlimitArrayOutput
func (JobDefinitionUlimitArrayOutput) ToJobDefinitionUlimitArrayOutputWithContext ¶
func (o JobDefinitionUlimitArrayOutput) ToJobDefinitionUlimitArrayOutputWithContext(ctx context.Context) JobDefinitionUlimitArrayOutput
type JobDefinitionUlimitInput ¶
type JobDefinitionUlimitInput interface { pulumi.Input ToJobDefinitionUlimitOutput() JobDefinitionUlimitOutput ToJobDefinitionUlimitOutputWithContext(context.Context) JobDefinitionUlimitOutput }
JobDefinitionUlimitInput is an input type that accepts JobDefinitionUlimitArgs and JobDefinitionUlimitOutput values. You can construct a concrete instance of `JobDefinitionUlimitInput` via:
JobDefinitionUlimitArgs{...}
type JobDefinitionUlimitOutput ¶
type JobDefinitionUlimitOutput struct{ *pulumi.OutputState }
func (JobDefinitionUlimitOutput) ElementType ¶
func (JobDefinitionUlimitOutput) ElementType() reflect.Type
func (JobDefinitionUlimitOutput) HardLimit ¶
func (o JobDefinitionUlimitOutput) HardLimit() pulumi.IntOutput
The hard limit for the `ulimit` type.
func (JobDefinitionUlimitOutput) Name ¶
func (o JobDefinitionUlimitOutput) Name() pulumi.StringOutput
The `type` of the `ulimit` . Valid values are: `core` | `cpu` | `data` | `fsize` | `locks` | `memlock` | `msgqueue` | `nice` | `nofile` | `nproc` | `rss` | `rtprio` | `rttime` | `sigpending` | `stack` .
func (JobDefinitionUlimitOutput) SoftLimit ¶
func (o JobDefinitionUlimitOutput) SoftLimit() pulumi.IntOutput
The soft limit for the `ulimit` type.
func (JobDefinitionUlimitOutput) ToJobDefinitionUlimitOutput ¶
func (o JobDefinitionUlimitOutput) ToJobDefinitionUlimitOutput() JobDefinitionUlimitOutput
func (JobDefinitionUlimitOutput) ToJobDefinitionUlimitOutputWithContext ¶
func (o JobDefinitionUlimitOutput) ToJobDefinitionUlimitOutputWithContext(ctx context.Context) JobDefinitionUlimitOutput
type JobDefinitionVolumes ¶
type JobDefinitionVolumes struct { // This is used when you're using an Amazon Elastic File System file system for job storage. For more information, see [Amazon EFS Volumes](https://docs.aws.amazon.com/batch/latest/userguide/efs-volumes.html) in the *AWS Batch User Guide* . EfsVolumeConfiguration *JobDefinitionEfsVolumeConfiguration `pulumi:"efsVolumeConfiguration"` // The contents of the `host` parameter determine whether your data volume persists on the host container instance and where it's stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data isn't guaranteed to persist after the containers that are associated with it stop running. // // > This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided. Host *JobDefinitionVolumesHost `pulumi:"host"` // The name of the volume. It can be up to 255 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). This name is referenced in the `sourceVolume` parameter of container definition `mountPoints` . Name *string `pulumi:"name"` }
type JobDefinitionVolumesArgs ¶
type JobDefinitionVolumesArgs struct { // This is used when you're using an Amazon Elastic File System file system for job storage. For more information, see [Amazon EFS Volumes](https://docs.aws.amazon.com/batch/latest/userguide/efs-volumes.html) in the *AWS Batch User Guide* . EfsVolumeConfiguration JobDefinitionEfsVolumeConfigurationPtrInput `pulumi:"efsVolumeConfiguration"` // The contents of the `host` parameter determine whether your data volume persists on the host container instance and where it's stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data isn't guaranteed to persist after the containers that are associated with it stop running. // // > This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided. Host JobDefinitionVolumesHostPtrInput `pulumi:"host"` // The name of the volume. It can be up to 255 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). This name is referenced in the `sourceVolume` parameter of container definition `mountPoints` . Name pulumi.StringPtrInput `pulumi:"name"` }
func (JobDefinitionVolumesArgs) ElementType ¶
func (JobDefinitionVolumesArgs) ElementType() reflect.Type
func (JobDefinitionVolumesArgs) ToJobDefinitionVolumesOutput ¶
func (i JobDefinitionVolumesArgs) ToJobDefinitionVolumesOutput() JobDefinitionVolumesOutput
func (JobDefinitionVolumesArgs) ToJobDefinitionVolumesOutputWithContext ¶
func (i JobDefinitionVolumesArgs) ToJobDefinitionVolumesOutputWithContext(ctx context.Context) JobDefinitionVolumesOutput
type JobDefinitionVolumesArray ¶
type JobDefinitionVolumesArray []JobDefinitionVolumesInput
func (JobDefinitionVolumesArray) ElementType ¶
func (JobDefinitionVolumesArray) ElementType() reflect.Type
func (JobDefinitionVolumesArray) ToJobDefinitionVolumesArrayOutput ¶
func (i JobDefinitionVolumesArray) ToJobDefinitionVolumesArrayOutput() JobDefinitionVolumesArrayOutput
func (JobDefinitionVolumesArray) ToJobDefinitionVolumesArrayOutputWithContext ¶
func (i JobDefinitionVolumesArray) ToJobDefinitionVolumesArrayOutputWithContext(ctx context.Context) JobDefinitionVolumesArrayOutput
type JobDefinitionVolumesArrayInput ¶
type JobDefinitionVolumesArrayInput interface { pulumi.Input ToJobDefinitionVolumesArrayOutput() JobDefinitionVolumesArrayOutput ToJobDefinitionVolumesArrayOutputWithContext(context.Context) JobDefinitionVolumesArrayOutput }
JobDefinitionVolumesArrayInput is an input type that accepts JobDefinitionVolumesArray and JobDefinitionVolumesArrayOutput values. You can construct a concrete instance of `JobDefinitionVolumesArrayInput` via:
JobDefinitionVolumesArray{ JobDefinitionVolumesArgs{...} }
type JobDefinitionVolumesArrayOutput ¶
type JobDefinitionVolumesArrayOutput struct{ *pulumi.OutputState }
func (JobDefinitionVolumesArrayOutput) ElementType ¶
func (JobDefinitionVolumesArrayOutput) ElementType() reflect.Type
func (JobDefinitionVolumesArrayOutput) Index ¶
func (o JobDefinitionVolumesArrayOutput) Index(i pulumi.IntInput) JobDefinitionVolumesOutput
func (JobDefinitionVolumesArrayOutput) ToJobDefinitionVolumesArrayOutput ¶
func (o JobDefinitionVolumesArrayOutput) ToJobDefinitionVolumesArrayOutput() JobDefinitionVolumesArrayOutput
func (JobDefinitionVolumesArrayOutput) ToJobDefinitionVolumesArrayOutputWithContext ¶
func (o JobDefinitionVolumesArrayOutput) ToJobDefinitionVolumesArrayOutputWithContext(ctx context.Context) JobDefinitionVolumesArrayOutput
type JobDefinitionVolumesHost ¶
type JobDefinitionVolumesHost struct { // The path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported. // // > This parameter isn't applicable to jobs that run on Fargate resources. Don't provide this for these jobs. SourcePath *string `pulumi:"sourcePath"` }
type JobDefinitionVolumesHostArgs ¶
type JobDefinitionVolumesHostArgs struct { // The path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported. // // > This parameter isn't applicable to jobs that run on Fargate resources. Don't provide this for these jobs. SourcePath pulumi.StringPtrInput `pulumi:"sourcePath"` }
func (JobDefinitionVolumesHostArgs) ElementType ¶
func (JobDefinitionVolumesHostArgs) ElementType() reflect.Type
func (JobDefinitionVolumesHostArgs) ToJobDefinitionVolumesHostOutput ¶
func (i JobDefinitionVolumesHostArgs) ToJobDefinitionVolumesHostOutput() JobDefinitionVolumesHostOutput
func (JobDefinitionVolumesHostArgs) ToJobDefinitionVolumesHostOutputWithContext ¶
func (i JobDefinitionVolumesHostArgs) ToJobDefinitionVolumesHostOutputWithContext(ctx context.Context) JobDefinitionVolumesHostOutput
func (JobDefinitionVolumesHostArgs) ToJobDefinitionVolumesHostPtrOutput ¶
func (i JobDefinitionVolumesHostArgs) ToJobDefinitionVolumesHostPtrOutput() JobDefinitionVolumesHostPtrOutput
func (JobDefinitionVolumesHostArgs) ToJobDefinitionVolumesHostPtrOutputWithContext ¶
func (i JobDefinitionVolumesHostArgs) ToJobDefinitionVolumesHostPtrOutputWithContext(ctx context.Context) JobDefinitionVolumesHostPtrOutput
type JobDefinitionVolumesHostInput ¶
type JobDefinitionVolumesHostInput interface { pulumi.Input ToJobDefinitionVolumesHostOutput() JobDefinitionVolumesHostOutput ToJobDefinitionVolumesHostOutputWithContext(context.Context) JobDefinitionVolumesHostOutput }
JobDefinitionVolumesHostInput is an input type that accepts JobDefinitionVolumesHostArgs and JobDefinitionVolumesHostOutput values. You can construct a concrete instance of `JobDefinitionVolumesHostInput` via:
JobDefinitionVolumesHostArgs{...}
type JobDefinitionVolumesHostOutput ¶
type JobDefinitionVolumesHostOutput struct{ *pulumi.OutputState }
func (JobDefinitionVolumesHostOutput) ElementType ¶
func (JobDefinitionVolumesHostOutput) ElementType() reflect.Type
func (JobDefinitionVolumesHostOutput) SourcePath ¶
func (o JobDefinitionVolumesHostOutput) SourcePath() pulumi.StringPtrOutput
The path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.
> This parameter isn't applicable to jobs that run on Fargate resources. Don't provide this for these jobs.
func (JobDefinitionVolumesHostOutput) ToJobDefinitionVolumesHostOutput ¶
func (o JobDefinitionVolumesHostOutput) ToJobDefinitionVolumesHostOutput() JobDefinitionVolumesHostOutput
func (JobDefinitionVolumesHostOutput) ToJobDefinitionVolumesHostOutputWithContext ¶
func (o JobDefinitionVolumesHostOutput) ToJobDefinitionVolumesHostOutputWithContext(ctx context.Context) JobDefinitionVolumesHostOutput
func (JobDefinitionVolumesHostOutput) ToJobDefinitionVolumesHostPtrOutput ¶
func (o JobDefinitionVolumesHostOutput) ToJobDefinitionVolumesHostPtrOutput() JobDefinitionVolumesHostPtrOutput
func (JobDefinitionVolumesHostOutput) ToJobDefinitionVolumesHostPtrOutputWithContext ¶
func (o JobDefinitionVolumesHostOutput) ToJobDefinitionVolumesHostPtrOutputWithContext(ctx context.Context) JobDefinitionVolumesHostPtrOutput
type JobDefinitionVolumesHostPtrInput ¶
type JobDefinitionVolumesHostPtrInput interface { pulumi.Input ToJobDefinitionVolumesHostPtrOutput() JobDefinitionVolumesHostPtrOutput ToJobDefinitionVolumesHostPtrOutputWithContext(context.Context) JobDefinitionVolumesHostPtrOutput }
JobDefinitionVolumesHostPtrInput is an input type that accepts JobDefinitionVolumesHostArgs, JobDefinitionVolumesHostPtr and JobDefinitionVolumesHostPtrOutput values. You can construct a concrete instance of `JobDefinitionVolumesHostPtrInput` via:
JobDefinitionVolumesHostArgs{...} or: nil
func JobDefinitionVolumesHostPtr ¶
func JobDefinitionVolumesHostPtr(v *JobDefinitionVolumesHostArgs) JobDefinitionVolumesHostPtrInput
type JobDefinitionVolumesHostPtrOutput ¶
type JobDefinitionVolumesHostPtrOutput struct{ *pulumi.OutputState }
func (JobDefinitionVolumesHostPtrOutput) Elem ¶
func (o JobDefinitionVolumesHostPtrOutput) Elem() JobDefinitionVolumesHostOutput
func (JobDefinitionVolumesHostPtrOutput) ElementType ¶
func (JobDefinitionVolumesHostPtrOutput) ElementType() reflect.Type
func (JobDefinitionVolumesHostPtrOutput) SourcePath ¶
func (o JobDefinitionVolumesHostPtrOutput) SourcePath() pulumi.StringPtrOutput
The path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.
> This parameter isn't applicable to jobs that run on Fargate resources. Don't provide this for these jobs.
func (JobDefinitionVolumesHostPtrOutput) ToJobDefinitionVolumesHostPtrOutput ¶
func (o JobDefinitionVolumesHostPtrOutput) ToJobDefinitionVolumesHostPtrOutput() JobDefinitionVolumesHostPtrOutput
func (JobDefinitionVolumesHostPtrOutput) ToJobDefinitionVolumesHostPtrOutputWithContext ¶
func (o JobDefinitionVolumesHostPtrOutput) ToJobDefinitionVolumesHostPtrOutputWithContext(ctx context.Context) JobDefinitionVolumesHostPtrOutput
type JobDefinitionVolumesInput ¶
type JobDefinitionVolumesInput interface { pulumi.Input ToJobDefinitionVolumesOutput() JobDefinitionVolumesOutput ToJobDefinitionVolumesOutputWithContext(context.Context) JobDefinitionVolumesOutput }
JobDefinitionVolumesInput is an input type that accepts JobDefinitionVolumesArgs and JobDefinitionVolumesOutput values. You can construct a concrete instance of `JobDefinitionVolumesInput` via:
JobDefinitionVolumesArgs{...}
type JobDefinitionVolumesOutput ¶
type JobDefinitionVolumesOutput struct{ *pulumi.OutputState }
func (JobDefinitionVolumesOutput) EfsVolumeConfiguration ¶
func (o JobDefinitionVolumesOutput) EfsVolumeConfiguration() JobDefinitionEfsVolumeConfigurationPtrOutput
This is used when you're using an Amazon Elastic File System file system for job storage. For more information, see [Amazon EFS Volumes](https://docs.aws.amazon.com/batch/latest/userguide/efs-volumes.html) in the *AWS Batch User Guide* .
func (JobDefinitionVolumesOutput) ElementType ¶
func (JobDefinitionVolumesOutput) ElementType() reflect.Type
func (JobDefinitionVolumesOutput) Host ¶
func (o JobDefinitionVolumesOutput) Host() JobDefinitionVolumesHostPtrOutput
The contents of the `host` parameter determine whether your data volume persists on the host container instance and where it's stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data isn't guaranteed to persist after the containers that are associated with it stop running.
> This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.
func (JobDefinitionVolumesOutput) Name ¶
func (o JobDefinitionVolumesOutput) Name() pulumi.StringPtrOutput
The name of the volume. It can be up to 255 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). This name is referenced in the `sourceVolume` parameter of container definition `mountPoints` .
func (JobDefinitionVolumesOutput) ToJobDefinitionVolumesOutput ¶
func (o JobDefinitionVolumesOutput) ToJobDefinitionVolumesOutput() JobDefinitionVolumesOutput
func (JobDefinitionVolumesOutput) ToJobDefinitionVolumesOutputWithContext ¶
func (o JobDefinitionVolumesOutput) ToJobDefinitionVolumesOutputWithContext(ctx context.Context) JobDefinitionVolumesOutput
type JobQueue ¶
type JobQueue struct { pulumi.CustomResourceState // The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment runs a specific job. Compute environments must be in the `VALID` state before you can associate them with a job queue. You can associate up to three compute environments with a job queue. All of the compute environments must be either EC2 ( `EC2` or `SPOT` ) or Fargate ( `FARGATE` or `FARGATE_SPOT` ); EC2 and Fargate compute environments can't be mixed. // // > All compute environments that are associated with a job queue must share the same architecture. AWS Batch doesn't support mixing compute environment architecture types in a single job queue. ComputeEnvironmentOrder JobQueueComputeEnvironmentOrderArrayOutput `pulumi:"computeEnvironmentOrder"` // Returns the job queue ARN, such as `batch: *us-east-1* : *111122223333* :job-queue/ *JobQueueName*` . JobQueueArn pulumi.StringOutput `pulumi:"jobQueueArn"` // The name of the job queue. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). JobQueueName pulumi.StringPtrOutput `pulumi:"jobQueueName"` // The set of actions that AWS Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. AWS Batch will perform each action after `maxTimeSeconds` has passed. JobStateTimeLimitActions JobQueueJobStateTimeLimitActionArrayOutput `pulumi:"jobStateTimeLimitActions"` // The priority of the job queue. Job queues with a higher priority (or a higher integer value for the `priority` parameter) are evaluated first when associated with the same compute environment. Priority is determined in descending order. For example, a job queue with a priority value of `10` is given scheduling preference over a job queue with a priority value of `1` . All of the compute environments must be either EC2 ( `EC2` or `SPOT` ) or Fargate ( `FARGATE` or `FARGATE_SPOT` ); EC2 and Fargate compute environments can't be mixed. Priority pulumi.IntOutput `pulumi:"priority"` // The Amazon Resource Name (ARN) of the scheduling policy. The format is `aws: *Partition* :batch: *Region* : *Account* :scheduling-policy/ *Name*` . For example, `aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy` . SchedulingPolicyArn pulumi.StringPtrOutput `pulumi:"schedulingPolicyArn"` // The state of the job queue. If the job queue state is `ENABLED` , it is able to accept jobs. If the job queue state is `DISABLED` , new jobs can't be added to the queue, but jobs already in the queue can finish. State JobQueueStateEnumPtrOutput `pulumi:"state"` // A key-value pair to associate with a resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Resource Type definition for AWS::Batch::JobQueue
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 { // The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment runs a specific job. Compute environments must be in the `VALID` state before you can associate them with a job queue. You can associate up to three compute environments with a job queue. All of the compute environments must be either EC2 ( `EC2` or `SPOT` ) or Fargate ( `FARGATE` or `FARGATE_SPOT` ); EC2 and Fargate compute environments can't be mixed. // // > All compute environments that are associated with a job queue must share the same architecture. AWS Batch doesn't support mixing compute environment architecture types in a single job queue. ComputeEnvironmentOrder JobQueueComputeEnvironmentOrderArrayInput // The name of the job queue. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). JobQueueName pulumi.StringPtrInput // The set of actions that AWS Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. AWS Batch will perform each action after `maxTimeSeconds` has passed. JobStateTimeLimitActions JobQueueJobStateTimeLimitActionArrayInput // The priority of the job queue. Job queues with a higher priority (or a higher integer value for the `priority` parameter) are evaluated first when associated with the same compute environment. Priority is determined in descending order. For example, a job queue with a priority value of `10` is given scheduling preference over a job queue with a priority value of `1` . All of the compute environments must be either EC2 ( `EC2` or `SPOT` ) or Fargate ( `FARGATE` or `FARGATE_SPOT` ); EC2 and Fargate compute environments can't be mixed. Priority pulumi.IntInput // The Amazon Resource Name (ARN) of the scheduling policy. The format is `aws: *Partition* :batch: *Region* : *Account* :scheduling-policy/ *Name*` . For example, `aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy` . SchedulingPolicyArn pulumi.StringPtrInput // The state of the job queue. If the job queue state is `ENABLED` , it is able to accept jobs. If the job queue state is `DISABLED` , new jobs can't be added to the queue, but jobs already in the queue can finish. State JobQueueStateEnumPtrInput // A key-value pair to associate with a resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a JobQueue resource.
func (JobQueueArgs) ElementType ¶
func (JobQueueArgs) ElementType() reflect.Type
type JobQueueComputeEnvironmentOrder ¶
type JobQueueComputeEnvironmentOrder struct { // The Amazon Resource Name (ARN) of the compute environment. ComputeEnvironment string `pulumi:"computeEnvironment"` // The order of the compute environment. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower `order` integer value is tried for job placement first. Order int `pulumi:"order"` }
type JobQueueComputeEnvironmentOrderArgs ¶
type JobQueueComputeEnvironmentOrderArgs struct { // The Amazon Resource Name (ARN) of the compute environment. ComputeEnvironment pulumi.StringInput `pulumi:"computeEnvironment"` // The order of the compute environment. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower `order` integer value is tried for job placement first. Order pulumi.IntInput `pulumi:"order"` }
func (JobQueueComputeEnvironmentOrderArgs) ElementType ¶
func (JobQueueComputeEnvironmentOrderArgs) ElementType() reflect.Type
func (JobQueueComputeEnvironmentOrderArgs) ToJobQueueComputeEnvironmentOrderOutput ¶
func (i JobQueueComputeEnvironmentOrderArgs) ToJobQueueComputeEnvironmentOrderOutput() JobQueueComputeEnvironmentOrderOutput
func (JobQueueComputeEnvironmentOrderArgs) ToJobQueueComputeEnvironmentOrderOutputWithContext ¶
func (i JobQueueComputeEnvironmentOrderArgs) ToJobQueueComputeEnvironmentOrderOutputWithContext(ctx context.Context) JobQueueComputeEnvironmentOrderOutput
type JobQueueComputeEnvironmentOrderArray ¶
type JobQueueComputeEnvironmentOrderArray []JobQueueComputeEnvironmentOrderInput
func (JobQueueComputeEnvironmentOrderArray) ElementType ¶
func (JobQueueComputeEnvironmentOrderArray) ElementType() reflect.Type
func (JobQueueComputeEnvironmentOrderArray) ToJobQueueComputeEnvironmentOrderArrayOutput ¶
func (i JobQueueComputeEnvironmentOrderArray) ToJobQueueComputeEnvironmentOrderArrayOutput() JobQueueComputeEnvironmentOrderArrayOutput
func (JobQueueComputeEnvironmentOrderArray) ToJobQueueComputeEnvironmentOrderArrayOutputWithContext ¶
func (i JobQueueComputeEnvironmentOrderArray) ToJobQueueComputeEnvironmentOrderArrayOutputWithContext(ctx context.Context) JobQueueComputeEnvironmentOrderArrayOutput
type JobQueueComputeEnvironmentOrderArrayInput ¶
type JobQueueComputeEnvironmentOrderArrayInput interface { pulumi.Input ToJobQueueComputeEnvironmentOrderArrayOutput() JobQueueComputeEnvironmentOrderArrayOutput ToJobQueueComputeEnvironmentOrderArrayOutputWithContext(context.Context) JobQueueComputeEnvironmentOrderArrayOutput }
JobQueueComputeEnvironmentOrderArrayInput is an input type that accepts JobQueueComputeEnvironmentOrderArray and JobQueueComputeEnvironmentOrderArrayOutput values. You can construct a concrete instance of `JobQueueComputeEnvironmentOrderArrayInput` via:
JobQueueComputeEnvironmentOrderArray{ JobQueueComputeEnvironmentOrderArgs{...} }
type JobQueueComputeEnvironmentOrderArrayOutput ¶
type JobQueueComputeEnvironmentOrderArrayOutput struct{ *pulumi.OutputState }
func (JobQueueComputeEnvironmentOrderArrayOutput) ElementType ¶
func (JobQueueComputeEnvironmentOrderArrayOutput) ElementType() reflect.Type
func (JobQueueComputeEnvironmentOrderArrayOutput) ToJobQueueComputeEnvironmentOrderArrayOutput ¶
func (o JobQueueComputeEnvironmentOrderArrayOutput) ToJobQueueComputeEnvironmentOrderArrayOutput() JobQueueComputeEnvironmentOrderArrayOutput
func (JobQueueComputeEnvironmentOrderArrayOutput) ToJobQueueComputeEnvironmentOrderArrayOutputWithContext ¶
func (o JobQueueComputeEnvironmentOrderArrayOutput) ToJobQueueComputeEnvironmentOrderArrayOutputWithContext(ctx context.Context) JobQueueComputeEnvironmentOrderArrayOutput
type JobQueueComputeEnvironmentOrderInput ¶
type JobQueueComputeEnvironmentOrderInput interface { pulumi.Input ToJobQueueComputeEnvironmentOrderOutput() JobQueueComputeEnvironmentOrderOutput ToJobQueueComputeEnvironmentOrderOutputWithContext(context.Context) JobQueueComputeEnvironmentOrderOutput }
JobQueueComputeEnvironmentOrderInput is an input type that accepts JobQueueComputeEnvironmentOrderArgs and JobQueueComputeEnvironmentOrderOutput values. You can construct a concrete instance of `JobQueueComputeEnvironmentOrderInput` via:
JobQueueComputeEnvironmentOrderArgs{...}
type JobQueueComputeEnvironmentOrderOutput ¶
type JobQueueComputeEnvironmentOrderOutput struct{ *pulumi.OutputState }
func (JobQueueComputeEnvironmentOrderOutput) ComputeEnvironment ¶
func (o JobQueueComputeEnvironmentOrderOutput) ComputeEnvironment() pulumi.StringOutput
The Amazon Resource Name (ARN) of the compute environment.
func (JobQueueComputeEnvironmentOrderOutput) ElementType ¶
func (JobQueueComputeEnvironmentOrderOutput) ElementType() reflect.Type
func (JobQueueComputeEnvironmentOrderOutput) Order ¶
func (o JobQueueComputeEnvironmentOrderOutput) Order() pulumi.IntOutput
The order of the compute environment. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower `order` integer value is tried for job placement first.
func (JobQueueComputeEnvironmentOrderOutput) ToJobQueueComputeEnvironmentOrderOutput ¶
func (o JobQueueComputeEnvironmentOrderOutput) ToJobQueueComputeEnvironmentOrderOutput() JobQueueComputeEnvironmentOrderOutput
func (JobQueueComputeEnvironmentOrderOutput) ToJobQueueComputeEnvironmentOrderOutputWithContext ¶
func (o JobQueueComputeEnvironmentOrderOutput) ToJobQueueComputeEnvironmentOrderOutputWithContext(ctx context.Context) JobQueueComputeEnvironmentOrderOutput
type JobQueueInput ¶
type JobQueueInput interface { pulumi.Input ToJobQueueOutput() JobQueueOutput ToJobQueueOutputWithContext(ctx context.Context) JobQueueOutput }
type JobQueueJobStateTimeLimitAction ¶ added in v0.99.0
type JobQueueJobStateTimeLimitAction struct { // The action to take when a job is at the head of the job queue in the specified state for the specified period of time. The only supported value is `CANCEL` , which will cancel the job. Action JobQueueJobStateTimeLimitActionAction `pulumi:"action"` // The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. The minimum value is 600 (10 minutes) and the maximum value is 86,400 (24 hours). MaxTimeSeconds int `pulumi:"maxTimeSeconds"` // The reason to log for the action being taken. Reason string `pulumi:"reason"` // The state of the job needed to trigger the action. The only supported value is `RUNNABLE` . State JobQueueJobStateTimeLimitActionState `pulumi:"state"` }
type JobQueueJobStateTimeLimitActionAction ¶ added in v0.99.0
type JobQueueJobStateTimeLimitActionAction string
The action to take when a job is at the head of the job queue in the specified state for the specified period of time. The only supported value is `CANCEL` , which will cancel the job.
func (JobQueueJobStateTimeLimitActionAction) ElementType ¶ added in v0.99.0
func (JobQueueJobStateTimeLimitActionAction) ElementType() reflect.Type
func (JobQueueJobStateTimeLimitActionAction) ToJobQueueJobStateTimeLimitActionActionOutput ¶ added in v0.99.0
func (e JobQueueJobStateTimeLimitActionAction) ToJobQueueJobStateTimeLimitActionActionOutput() JobQueueJobStateTimeLimitActionActionOutput
func (JobQueueJobStateTimeLimitActionAction) ToJobQueueJobStateTimeLimitActionActionOutputWithContext ¶ added in v0.99.0
func (e JobQueueJobStateTimeLimitActionAction) ToJobQueueJobStateTimeLimitActionActionOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionActionOutput
func (JobQueueJobStateTimeLimitActionAction) ToJobQueueJobStateTimeLimitActionActionPtrOutput ¶ added in v0.99.0
func (e JobQueueJobStateTimeLimitActionAction) ToJobQueueJobStateTimeLimitActionActionPtrOutput() JobQueueJobStateTimeLimitActionActionPtrOutput
func (JobQueueJobStateTimeLimitActionAction) ToJobQueueJobStateTimeLimitActionActionPtrOutputWithContext ¶ added in v0.99.0
func (e JobQueueJobStateTimeLimitActionAction) ToJobQueueJobStateTimeLimitActionActionPtrOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionActionPtrOutput
func (JobQueueJobStateTimeLimitActionAction) ToStringOutput ¶ added in v0.99.0
func (e JobQueueJobStateTimeLimitActionAction) ToStringOutput() pulumi.StringOutput
func (JobQueueJobStateTimeLimitActionAction) ToStringOutputWithContext ¶ added in v0.99.0
func (e JobQueueJobStateTimeLimitActionAction) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (JobQueueJobStateTimeLimitActionAction) ToStringPtrOutput ¶ added in v0.99.0
func (e JobQueueJobStateTimeLimitActionAction) ToStringPtrOutput() pulumi.StringPtrOutput
func (JobQueueJobStateTimeLimitActionAction) ToStringPtrOutputWithContext ¶ added in v0.99.0
func (e JobQueueJobStateTimeLimitActionAction) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type JobQueueJobStateTimeLimitActionActionInput ¶ added in v0.99.0
type JobQueueJobStateTimeLimitActionActionInput interface { pulumi.Input ToJobQueueJobStateTimeLimitActionActionOutput() JobQueueJobStateTimeLimitActionActionOutput ToJobQueueJobStateTimeLimitActionActionOutputWithContext(context.Context) JobQueueJobStateTimeLimitActionActionOutput }
JobQueueJobStateTimeLimitActionActionInput is an input type that accepts values of the JobQueueJobStateTimeLimitActionAction enum A concrete instance of `JobQueueJobStateTimeLimitActionActionInput` can be one of the following:
JobQueueJobStateTimeLimitActionActionCancel
type JobQueueJobStateTimeLimitActionActionOutput ¶ added in v0.99.0
type JobQueueJobStateTimeLimitActionActionOutput struct{ *pulumi.OutputState }
func (JobQueueJobStateTimeLimitActionActionOutput) ElementType ¶ added in v0.99.0
func (JobQueueJobStateTimeLimitActionActionOutput) ElementType() reflect.Type
func (JobQueueJobStateTimeLimitActionActionOutput) ToJobQueueJobStateTimeLimitActionActionOutput ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionActionOutput) ToJobQueueJobStateTimeLimitActionActionOutput() JobQueueJobStateTimeLimitActionActionOutput
func (JobQueueJobStateTimeLimitActionActionOutput) ToJobQueueJobStateTimeLimitActionActionOutputWithContext ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionActionOutput) ToJobQueueJobStateTimeLimitActionActionOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionActionOutput
func (JobQueueJobStateTimeLimitActionActionOutput) ToJobQueueJobStateTimeLimitActionActionPtrOutput ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionActionOutput) ToJobQueueJobStateTimeLimitActionActionPtrOutput() JobQueueJobStateTimeLimitActionActionPtrOutput
func (JobQueueJobStateTimeLimitActionActionOutput) ToJobQueueJobStateTimeLimitActionActionPtrOutputWithContext ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionActionOutput) ToJobQueueJobStateTimeLimitActionActionPtrOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionActionPtrOutput
func (JobQueueJobStateTimeLimitActionActionOutput) ToStringOutput ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionActionOutput) ToStringOutput() pulumi.StringOutput
func (JobQueueJobStateTimeLimitActionActionOutput) ToStringOutputWithContext ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionActionOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (JobQueueJobStateTimeLimitActionActionOutput) ToStringPtrOutput ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionActionOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (JobQueueJobStateTimeLimitActionActionOutput) ToStringPtrOutputWithContext ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionActionOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type JobQueueJobStateTimeLimitActionActionPtrInput ¶ added in v0.99.0
type JobQueueJobStateTimeLimitActionActionPtrInput interface { pulumi.Input ToJobQueueJobStateTimeLimitActionActionPtrOutput() JobQueueJobStateTimeLimitActionActionPtrOutput ToJobQueueJobStateTimeLimitActionActionPtrOutputWithContext(context.Context) JobQueueJobStateTimeLimitActionActionPtrOutput }
func JobQueueJobStateTimeLimitActionActionPtr ¶ added in v0.99.0
func JobQueueJobStateTimeLimitActionActionPtr(v string) JobQueueJobStateTimeLimitActionActionPtrInput
type JobQueueJobStateTimeLimitActionActionPtrOutput ¶ added in v0.99.0
type JobQueueJobStateTimeLimitActionActionPtrOutput struct{ *pulumi.OutputState }
func (JobQueueJobStateTimeLimitActionActionPtrOutput) ElementType ¶ added in v0.99.0
func (JobQueueJobStateTimeLimitActionActionPtrOutput) ElementType() reflect.Type
func (JobQueueJobStateTimeLimitActionActionPtrOutput) ToJobQueueJobStateTimeLimitActionActionPtrOutput ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionActionPtrOutput) ToJobQueueJobStateTimeLimitActionActionPtrOutput() JobQueueJobStateTimeLimitActionActionPtrOutput
func (JobQueueJobStateTimeLimitActionActionPtrOutput) ToJobQueueJobStateTimeLimitActionActionPtrOutputWithContext ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionActionPtrOutput) ToJobQueueJobStateTimeLimitActionActionPtrOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionActionPtrOutput
func (JobQueueJobStateTimeLimitActionActionPtrOutput) ToStringPtrOutput ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionActionPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (JobQueueJobStateTimeLimitActionActionPtrOutput) ToStringPtrOutputWithContext ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionActionPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type JobQueueJobStateTimeLimitActionArgs ¶ added in v0.99.0
type JobQueueJobStateTimeLimitActionArgs struct { // The action to take when a job is at the head of the job queue in the specified state for the specified period of time. The only supported value is `CANCEL` , which will cancel the job. Action JobQueueJobStateTimeLimitActionActionInput `pulumi:"action"` // The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. The minimum value is 600 (10 minutes) and the maximum value is 86,400 (24 hours). MaxTimeSeconds pulumi.IntInput `pulumi:"maxTimeSeconds"` // The reason to log for the action being taken. Reason pulumi.StringInput `pulumi:"reason"` // The state of the job needed to trigger the action. The only supported value is `RUNNABLE` . State JobQueueJobStateTimeLimitActionStateInput `pulumi:"state"` }
func (JobQueueJobStateTimeLimitActionArgs) ElementType ¶ added in v0.99.0
func (JobQueueJobStateTimeLimitActionArgs) ElementType() reflect.Type
func (JobQueueJobStateTimeLimitActionArgs) ToJobQueueJobStateTimeLimitActionOutput ¶ added in v0.99.0
func (i JobQueueJobStateTimeLimitActionArgs) ToJobQueueJobStateTimeLimitActionOutput() JobQueueJobStateTimeLimitActionOutput
func (JobQueueJobStateTimeLimitActionArgs) ToJobQueueJobStateTimeLimitActionOutputWithContext ¶ added in v0.99.0
func (i JobQueueJobStateTimeLimitActionArgs) ToJobQueueJobStateTimeLimitActionOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionOutput
type JobQueueJobStateTimeLimitActionArray ¶ added in v0.99.0
type JobQueueJobStateTimeLimitActionArray []JobQueueJobStateTimeLimitActionInput
func (JobQueueJobStateTimeLimitActionArray) ElementType ¶ added in v0.99.0
func (JobQueueJobStateTimeLimitActionArray) ElementType() reflect.Type
func (JobQueueJobStateTimeLimitActionArray) ToJobQueueJobStateTimeLimitActionArrayOutput ¶ added in v0.99.0
func (i JobQueueJobStateTimeLimitActionArray) ToJobQueueJobStateTimeLimitActionArrayOutput() JobQueueJobStateTimeLimitActionArrayOutput
func (JobQueueJobStateTimeLimitActionArray) ToJobQueueJobStateTimeLimitActionArrayOutputWithContext ¶ added in v0.99.0
func (i JobQueueJobStateTimeLimitActionArray) ToJobQueueJobStateTimeLimitActionArrayOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionArrayOutput
type JobQueueJobStateTimeLimitActionArrayInput ¶ added in v0.99.0
type JobQueueJobStateTimeLimitActionArrayInput interface { pulumi.Input ToJobQueueJobStateTimeLimitActionArrayOutput() JobQueueJobStateTimeLimitActionArrayOutput ToJobQueueJobStateTimeLimitActionArrayOutputWithContext(context.Context) JobQueueJobStateTimeLimitActionArrayOutput }
JobQueueJobStateTimeLimitActionArrayInput is an input type that accepts JobQueueJobStateTimeLimitActionArray and JobQueueJobStateTimeLimitActionArrayOutput values. You can construct a concrete instance of `JobQueueJobStateTimeLimitActionArrayInput` via:
JobQueueJobStateTimeLimitActionArray{ JobQueueJobStateTimeLimitActionArgs{...} }
type JobQueueJobStateTimeLimitActionArrayOutput ¶ added in v0.99.0
type JobQueueJobStateTimeLimitActionArrayOutput struct{ *pulumi.OutputState }
func (JobQueueJobStateTimeLimitActionArrayOutput) ElementType ¶ added in v0.99.0
func (JobQueueJobStateTimeLimitActionArrayOutput) ElementType() reflect.Type
func (JobQueueJobStateTimeLimitActionArrayOutput) ToJobQueueJobStateTimeLimitActionArrayOutput ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionArrayOutput) ToJobQueueJobStateTimeLimitActionArrayOutput() JobQueueJobStateTimeLimitActionArrayOutput
func (JobQueueJobStateTimeLimitActionArrayOutput) ToJobQueueJobStateTimeLimitActionArrayOutputWithContext ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionArrayOutput) ToJobQueueJobStateTimeLimitActionArrayOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionArrayOutput
type JobQueueJobStateTimeLimitActionInput ¶ added in v0.99.0
type JobQueueJobStateTimeLimitActionInput interface { pulumi.Input ToJobQueueJobStateTimeLimitActionOutput() JobQueueJobStateTimeLimitActionOutput ToJobQueueJobStateTimeLimitActionOutputWithContext(context.Context) JobQueueJobStateTimeLimitActionOutput }
JobQueueJobStateTimeLimitActionInput is an input type that accepts JobQueueJobStateTimeLimitActionArgs and JobQueueJobStateTimeLimitActionOutput values. You can construct a concrete instance of `JobQueueJobStateTimeLimitActionInput` via:
JobQueueJobStateTimeLimitActionArgs{...}
type JobQueueJobStateTimeLimitActionOutput ¶ added in v0.99.0
type JobQueueJobStateTimeLimitActionOutput struct{ *pulumi.OutputState }
func (JobQueueJobStateTimeLimitActionOutput) Action ¶ added in v0.99.0
The action to take when a job is at the head of the job queue in the specified state for the specified period of time. The only supported value is `CANCEL` , which will cancel the job.
func (JobQueueJobStateTimeLimitActionOutput) ElementType ¶ added in v0.99.0
func (JobQueueJobStateTimeLimitActionOutput) ElementType() reflect.Type
func (JobQueueJobStateTimeLimitActionOutput) MaxTimeSeconds ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionOutput) MaxTimeSeconds() pulumi.IntOutput
The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. The minimum value is 600 (10 minutes) and the maximum value is 86,400 (24 hours).
func (JobQueueJobStateTimeLimitActionOutput) Reason ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionOutput) Reason() pulumi.StringOutput
The reason to log for the action being taken.
func (JobQueueJobStateTimeLimitActionOutput) State ¶ added in v0.99.0
The state of the job needed to trigger the action. The only supported value is `RUNNABLE` .
func (JobQueueJobStateTimeLimitActionOutput) ToJobQueueJobStateTimeLimitActionOutput ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionOutput) ToJobQueueJobStateTimeLimitActionOutput() JobQueueJobStateTimeLimitActionOutput
func (JobQueueJobStateTimeLimitActionOutput) ToJobQueueJobStateTimeLimitActionOutputWithContext ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionOutput) ToJobQueueJobStateTimeLimitActionOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionOutput
type JobQueueJobStateTimeLimitActionState ¶ added in v0.99.0
type JobQueueJobStateTimeLimitActionState string
The state of the job needed to trigger the action. The only supported value is `RUNNABLE` .
func (JobQueueJobStateTimeLimitActionState) ElementType ¶ added in v0.99.0
func (JobQueueJobStateTimeLimitActionState) ElementType() reflect.Type
func (JobQueueJobStateTimeLimitActionState) ToJobQueueJobStateTimeLimitActionStateOutput ¶ added in v0.99.0
func (e JobQueueJobStateTimeLimitActionState) ToJobQueueJobStateTimeLimitActionStateOutput() JobQueueJobStateTimeLimitActionStateOutput
func (JobQueueJobStateTimeLimitActionState) ToJobQueueJobStateTimeLimitActionStateOutputWithContext ¶ added in v0.99.0
func (e JobQueueJobStateTimeLimitActionState) ToJobQueueJobStateTimeLimitActionStateOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionStateOutput
func (JobQueueJobStateTimeLimitActionState) ToJobQueueJobStateTimeLimitActionStatePtrOutput ¶ added in v0.99.0
func (e JobQueueJobStateTimeLimitActionState) ToJobQueueJobStateTimeLimitActionStatePtrOutput() JobQueueJobStateTimeLimitActionStatePtrOutput
func (JobQueueJobStateTimeLimitActionState) ToJobQueueJobStateTimeLimitActionStatePtrOutputWithContext ¶ added in v0.99.0
func (e JobQueueJobStateTimeLimitActionState) ToJobQueueJobStateTimeLimitActionStatePtrOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionStatePtrOutput
func (JobQueueJobStateTimeLimitActionState) ToStringOutput ¶ added in v0.99.0
func (e JobQueueJobStateTimeLimitActionState) ToStringOutput() pulumi.StringOutput
func (JobQueueJobStateTimeLimitActionState) ToStringOutputWithContext ¶ added in v0.99.0
func (e JobQueueJobStateTimeLimitActionState) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (JobQueueJobStateTimeLimitActionState) ToStringPtrOutput ¶ added in v0.99.0
func (e JobQueueJobStateTimeLimitActionState) ToStringPtrOutput() pulumi.StringPtrOutput
func (JobQueueJobStateTimeLimitActionState) ToStringPtrOutputWithContext ¶ added in v0.99.0
func (e JobQueueJobStateTimeLimitActionState) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type JobQueueJobStateTimeLimitActionStateInput ¶ added in v0.99.0
type JobQueueJobStateTimeLimitActionStateInput interface { pulumi.Input ToJobQueueJobStateTimeLimitActionStateOutput() JobQueueJobStateTimeLimitActionStateOutput ToJobQueueJobStateTimeLimitActionStateOutputWithContext(context.Context) JobQueueJobStateTimeLimitActionStateOutput }
JobQueueJobStateTimeLimitActionStateInput is an input type that accepts values of the JobQueueJobStateTimeLimitActionState enum A concrete instance of `JobQueueJobStateTimeLimitActionStateInput` can be one of the following:
JobQueueJobStateTimeLimitActionStateRunnable
type JobQueueJobStateTimeLimitActionStateOutput ¶ added in v0.99.0
type JobQueueJobStateTimeLimitActionStateOutput struct{ *pulumi.OutputState }
func (JobQueueJobStateTimeLimitActionStateOutput) ElementType ¶ added in v0.99.0
func (JobQueueJobStateTimeLimitActionStateOutput) ElementType() reflect.Type
func (JobQueueJobStateTimeLimitActionStateOutput) ToJobQueueJobStateTimeLimitActionStateOutput ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionStateOutput) ToJobQueueJobStateTimeLimitActionStateOutput() JobQueueJobStateTimeLimitActionStateOutput
func (JobQueueJobStateTimeLimitActionStateOutput) ToJobQueueJobStateTimeLimitActionStateOutputWithContext ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionStateOutput) ToJobQueueJobStateTimeLimitActionStateOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionStateOutput
func (JobQueueJobStateTimeLimitActionStateOutput) ToJobQueueJobStateTimeLimitActionStatePtrOutput ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionStateOutput) ToJobQueueJobStateTimeLimitActionStatePtrOutput() JobQueueJobStateTimeLimitActionStatePtrOutput
func (JobQueueJobStateTimeLimitActionStateOutput) ToJobQueueJobStateTimeLimitActionStatePtrOutputWithContext ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionStateOutput) ToJobQueueJobStateTimeLimitActionStatePtrOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionStatePtrOutput
func (JobQueueJobStateTimeLimitActionStateOutput) ToStringOutput ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionStateOutput) ToStringOutput() pulumi.StringOutput
func (JobQueueJobStateTimeLimitActionStateOutput) ToStringOutputWithContext ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionStateOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (JobQueueJobStateTimeLimitActionStateOutput) ToStringPtrOutput ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionStateOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (JobQueueJobStateTimeLimitActionStateOutput) ToStringPtrOutputWithContext ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionStateOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type JobQueueJobStateTimeLimitActionStatePtrInput ¶ added in v0.99.0
type JobQueueJobStateTimeLimitActionStatePtrInput interface { pulumi.Input ToJobQueueJobStateTimeLimitActionStatePtrOutput() JobQueueJobStateTimeLimitActionStatePtrOutput ToJobQueueJobStateTimeLimitActionStatePtrOutputWithContext(context.Context) JobQueueJobStateTimeLimitActionStatePtrOutput }
func JobQueueJobStateTimeLimitActionStatePtr ¶ added in v0.99.0
func JobQueueJobStateTimeLimitActionStatePtr(v string) JobQueueJobStateTimeLimitActionStatePtrInput
type JobQueueJobStateTimeLimitActionStatePtrOutput ¶ added in v0.99.0
type JobQueueJobStateTimeLimitActionStatePtrOutput struct{ *pulumi.OutputState }
func (JobQueueJobStateTimeLimitActionStatePtrOutput) ElementType ¶ added in v0.99.0
func (JobQueueJobStateTimeLimitActionStatePtrOutput) ElementType() reflect.Type
func (JobQueueJobStateTimeLimitActionStatePtrOutput) ToJobQueueJobStateTimeLimitActionStatePtrOutput ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionStatePtrOutput) ToJobQueueJobStateTimeLimitActionStatePtrOutput() JobQueueJobStateTimeLimitActionStatePtrOutput
func (JobQueueJobStateTimeLimitActionStatePtrOutput) ToJobQueueJobStateTimeLimitActionStatePtrOutputWithContext ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionStatePtrOutput) ToJobQueueJobStateTimeLimitActionStatePtrOutputWithContext(ctx context.Context) JobQueueJobStateTimeLimitActionStatePtrOutput
func (JobQueueJobStateTimeLimitActionStatePtrOutput) ToStringPtrOutput ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionStatePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (JobQueueJobStateTimeLimitActionStatePtrOutput) ToStringPtrOutputWithContext ¶ added in v0.99.0
func (o JobQueueJobStateTimeLimitActionStatePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type JobQueueOutput ¶
type JobQueueOutput struct{ *pulumi.OutputState }
func (JobQueueOutput) ComputeEnvironmentOrder ¶ added in v0.17.0
func (o JobQueueOutput) ComputeEnvironmentOrder() JobQueueComputeEnvironmentOrderArrayOutput
The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment runs a specific job. Compute environments must be in the `VALID` state before you can associate them with a job queue. You can associate up to three compute environments with a job queue. All of the compute environments must be either EC2 ( `EC2` or `SPOT` ) or Fargate ( `FARGATE` or `FARGATE_SPOT` ); EC2 and Fargate compute environments can't be mixed.
> All compute environments that are associated with a job queue must share the same architecture. AWS Batch doesn't support mixing compute environment architecture types in a single job queue.
func (JobQueueOutput) ElementType ¶
func (JobQueueOutput) ElementType() reflect.Type
func (JobQueueOutput) JobQueueArn ¶ added in v0.17.0
func (o JobQueueOutput) JobQueueArn() pulumi.StringOutput
Returns the job queue ARN, such as `batch: *us-east-1* : *111122223333* :job-queue/ *JobQueueName*` .
func (JobQueueOutput) JobQueueName ¶ added in v0.17.0
func (o JobQueueOutput) JobQueueName() pulumi.StringPtrOutput
The name of the job queue. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
func (JobQueueOutput) JobStateTimeLimitActions ¶ added in v0.99.0
func (o JobQueueOutput) JobStateTimeLimitActions() JobQueueJobStateTimeLimitActionArrayOutput
The set of actions that AWS Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. AWS Batch will perform each action after `maxTimeSeconds` has passed.
func (JobQueueOutput) Priority ¶ added in v0.17.0
func (o JobQueueOutput) Priority() pulumi.IntOutput
The priority of the job queue. Job queues with a higher priority (or a higher integer value for the `priority` parameter) are evaluated first when associated with the same compute environment. Priority is determined in descending order. For example, a job queue with a priority value of `10` is given scheduling preference over a job queue with a priority value of `1` . All of the compute environments must be either EC2 ( `EC2` or `SPOT` ) or Fargate ( `FARGATE` or `FARGATE_SPOT` ); EC2 and Fargate compute environments can't be mixed.
func (JobQueueOutput) SchedulingPolicyArn ¶ added in v0.17.0
func (o JobQueueOutput) SchedulingPolicyArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the scheduling policy. The format is `aws: *Partition* :batch: *Region* : *Account* :scheduling-policy/ *Name*` . For example, `aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy` .
func (JobQueueOutput) State ¶ added in v0.17.0
func (o JobQueueOutput) State() JobQueueStateEnumPtrOutput
The state of the job queue. If the job queue state is `ENABLED` , it is able to accept jobs. If the job queue state is `DISABLED` , new jobs can't be added to the queue, but jobs already in the queue can finish.
func (JobQueueOutput) Tags ¶ added in v0.17.0
func (o JobQueueOutput) Tags() pulumi.StringMapOutput
A key-value pair to associate with a resource.
func (JobQueueOutput) ToJobQueueOutput ¶
func (o JobQueueOutput) ToJobQueueOutput() JobQueueOutput
func (JobQueueOutput) ToJobQueueOutputWithContext ¶
func (o JobQueueOutput) ToJobQueueOutputWithContext(ctx context.Context) JobQueueOutput
type JobQueueState ¶
type JobQueueState struct { }
func (JobQueueState) ElementType ¶
func (JobQueueState) ElementType() reflect.Type
type JobQueueStateEnum ¶ added in v0.13.0
type JobQueueStateEnum string
The state of the job queue. If the job queue state is `ENABLED` , it is able to accept jobs. If the job queue state is `DISABLED` , new jobs can't be added to the queue, but jobs already in the queue can finish.
func (JobQueueStateEnum) ElementType ¶ added in v0.13.0
func (JobQueueStateEnum) ElementType() reflect.Type
func (JobQueueStateEnum) ToJobQueueStateEnumOutput ¶ added in v0.13.0
func (e JobQueueStateEnum) ToJobQueueStateEnumOutput() JobQueueStateEnumOutput
func (JobQueueStateEnum) ToJobQueueStateEnumOutputWithContext ¶ added in v0.13.0
func (e JobQueueStateEnum) ToJobQueueStateEnumOutputWithContext(ctx context.Context) JobQueueStateEnumOutput
func (JobQueueStateEnum) ToJobQueueStateEnumPtrOutput ¶ added in v0.13.0
func (e JobQueueStateEnum) ToJobQueueStateEnumPtrOutput() JobQueueStateEnumPtrOutput
func (JobQueueStateEnum) ToJobQueueStateEnumPtrOutputWithContext ¶ added in v0.13.0
func (e JobQueueStateEnum) ToJobQueueStateEnumPtrOutputWithContext(ctx context.Context) JobQueueStateEnumPtrOutput
func (JobQueueStateEnum) ToStringOutput ¶ added in v0.13.0
func (e JobQueueStateEnum) ToStringOutput() pulumi.StringOutput
func (JobQueueStateEnum) ToStringOutputWithContext ¶ added in v0.13.0
func (e JobQueueStateEnum) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (JobQueueStateEnum) ToStringPtrOutput ¶ added in v0.13.0
func (e JobQueueStateEnum) ToStringPtrOutput() pulumi.StringPtrOutput
func (JobQueueStateEnum) ToStringPtrOutputWithContext ¶ added in v0.13.0
func (e JobQueueStateEnum) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type JobQueueStateEnumInput ¶ added in v0.13.0
type JobQueueStateEnumInput interface { pulumi.Input ToJobQueueStateEnumOutput() JobQueueStateEnumOutput ToJobQueueStateEnumOutputWithContext(context.Context) JobQueueStateEnumOutput }
JobQueueStateEnumInput is an input type that accepts values of the JobQueueStateEnum enum A concrete instance of `JobQueueStateEnumInput` can be one of the following:
JobQueueStateEnumDisabled JobQueueStateEnumEnabled
type JobQueueStateEnumOutput ¶ added in v0.13.0
type JobQueueStateEnumOutput struct{ *pulumi.OutputState }
func (JobQueueStateEnumOutput) ElementType ¶ added in v0.13.0
func (JobQueueStateEnumOutput) ElementType() reflect.Type
func (JobQueueStateEnumOutput) ToJobQueueStateEnumOutput ¶ added in v0.13.0
func (o JobQueueStateEnumOutput) ToJobQueueStateEnumOutput() JobQueueStateEnumOutput
func (JobQueueStateEnumOutput) ToJobQueueStateEnumOutputWithContext ¶ added in v0.13.0
func (o JobQueueStateEnumOutput) ToJobQueueStateEnumOutputWithContext(ctx context.Context) JobQueueStateEnumOutput
func (JobQueueStateEnumOutput) ToJobQueueStateEnumPtrOutput ¶ added in v0.13.0
func (o JobQueueStateEnumOutput) ToJobQueueStateEnumPtrOutput() JobQueueStateEnumPtrOutput
func (JobQueueStateEnumOutput) ToJobQueueStateEnumPtrOutputWithContext ¶ added in v0.13.0
func (o JobQueueStateEnumOutput) ToJobQueueStateEnumPtrOutputWithContext(ctx context.Context) JobQueueStateEnumPtrOutput
func (JobQueueStateEnumOutput) ToStringOutput ¶ added in v0.13.0
func (o JobQueueStateEnumOutput) ToStringOutput() pulumi.StringOutput
func (JobQueueStateEnumOutput) ToStringOutputWithContext ¶ added in v0.13.0
func (o JobQueueStateEnumOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (JobQueueStateEnumOutput) ToStringPtrOutput ¶ added in v0.13.0
func (o JobQueueStateEnumOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (JobQueueStateEnumOutput) ToStringPtrOutputWithContext ¶ added in v0.13.0
func (o JobQueueStateEnumOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type JobQueueStateEnumPtrInput ¶ added in v0.13.0
type JobQueueStateEnumPtrInput interface { pulumi.Input ToJobQueueStateEnumPtrOutput() JobQueueStateEnumPtrOutput ToJobQueueStateEnumPtrOutputWithContext(context.Context) JobQueueStateEnumPtrOutput }
func JobQueueStateEnumPtr ¶ added in v0.13.0
func JobQueueStateEnumPtr(v string) JobQueueStateEnumPtrInput
type JobQueueStateEnumPtrOutput ¶ added in v0.13.0
type JobQueueStateEnumPtrOutput struct{ *pulumi.OutputState }
func (JobQueueStateEnumPtrOutput) Elem ¶ added in v0.13.0
func (o JobQueueStateEnumPtrOutput) Elem() JobQueueStateEnumOutput
func (JobQueueStateEnumPtrOutput) ElementType ¶ added in v0.13.0
func (JobQueueStateEnumPtrOutput) ElementType() reflect.Type
func (JobQueueStateEnumPtrOutput) ToJobQueueStateEnumPtrOutput ¶ added in v0.13.0
func (o JobQueueStateEnumPtrOutput) ToJobQueueStateEnumPtrOutput() JobQueueStateEnumPtrOutput
func (JobQueueStateEnumPtrOutput) ToJobQueueStateEnumPtrOutputWithContext ¶ added in v0.13.0
func (o JobQueueStateEnumPtrOutput) ToJobQueueStateEnumPtrOutputWithContext(ctx context.Context) JobQueueStateEnumPtrOutput
func (JobQueueStateEnumPtrOutput) ToStringPtrOutput ¶ added in v0.13.0
func (o JobQueueStateEnumPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (JobQueueStateEnumPtrOutput) ToStringPtrOutputWithContext ¶ added in v0.13.0
func (o JobQueueStateEnumPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type LookupComputeEnvironmentArgs ¶ added in v0.12.0
type LookupComputeEnvironmentArgs struct { // Returns the compute environment ARN, such as `batch: *us-east-1* : *111122223333* :compute-environment/ *ComputeEnvironmentName*` . ComputeEnvironmentArn string `pulumi:"computeEnvironmentArn"` }
type LookupComputeEnvironmentOutputArgs ¶ added in v0.12.0
type LookupComputeEnvironmentOutputArgs struct { // Returns the compute environment ARN, such as `batch: *us-east-1* : *111122223333* :compute-environment/ *ComputeEnvironmentName*` . ComputeEnvironmentArn pulumi.StringInput `pulumi:"computeEnvironmentArn"` }
func (LookupComputeEnvironmentOutputArgs) ElementType ¶ added in v0.12.0
func (LookupComputeEnvironmentOutputArgs) ElementType() reflect.Type
type LookupComputeEnvironmentResult ¶ added in v0.12.0
type LookupComputeEnvironmentResult struct { // Returns the compute environment ARN, such as `batch: *us-east-1* : *111122223333* :compute-environment/ *ComputeEnvironmentName*` . ComputeEnvironmentArn *string `pulumi:"computeEnvironmentArn"` // The ComputeResources property type specifies details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. For more information, see [Compute Environments](https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) in the ** . ComputeResources *ComputeEnvironmentComputeResources `pulumi:"computeResources"` // The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. For more information, see [AWS Batch service IAM role](https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html) in the *AWS Batch User Guide* . // // > If your account already created the AWS Batch service-linked role, that role is used by default for your compute environment unless you specify a different role here. If the AWS Batch service-linked role doesn't exist in your account, and no role is specified here, the service attempts to create the AWS Batch service-linked role in your account. // // If your specified role has a path other than `/` , then you must specify either the full role ARN (recommended) or prefix the role name with the path. For example, if a role with the name `bar` has a path of `/foo/` , specify `/foo/bar` as the role name. For more information, see [Friendly names and paths](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names) in the *IAM User Guide* . // // > Depending on how you created your AWS Batch service role, its ARN might contain the `service-role` path prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN doesn't use the `service-role` path prefix. Because of this, we recommend that you specify the full ARN of your service role when you create compute environments. ServiceRole *string `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. // // If the state is `ENABLED` , then the AWS Batch scheduler can attempt to place jobs from an associated job queue on the compute resources within the environment. If the compute environment is managed, then it can scale its instances out or in automatically, based on the job queue demand. // // If the state is `DISABLED` , then the AWS Batch scheduler doesn't attempt to place jobs within the environment. Jobs in a `STARTING` or `RUNNING` state continue to progress normally. Managed compute environments in the `DISABLED` state don't scale out. // // > Compute environments in a `DISABLED` state may continue to incur billing charges. To prevent additional charges, turn off and then delete the compute environment. For more information, see [State](https://docs.aws.amazon.com/batch/latest/userguide/compute_environment_parameters.html#compute_environment_state) in the *AWS Batch User Guide* . // // When an instance is idle, the instance scales down to the `minvCpus` value. However, the instance size doesn't change. For example, consider a `c5.8xlarge` instance with a `minvCpus` value of `4` and a `desiredvCpus` value of `36` . This instance doesn't scale down to a `c5.large` instance. State *string `pulumi:"state"` // The maximum number of vCPUs for an unmanaged compute environment. This parameter is only used for fair share scheduling to reserve vCPU capacity for new share identifiers. If this parameter isn't provided for a fair share job queue, no vCPU capacity is reserved. // // > This parameter is only supported when the `type` parameter is set to `UNMANAGED` . UnmanagedvCpus *int `pulumi:"unmanagedvCpus"` }
func LookupComputeEnvironment ¶ added in v0.12.0
func LookupComputeEnvironment(ctx *pulumi.Context, args *LookupComputeEnvironmentArgs, opts ...pulumi.InvokeOption) (*LookupComputeEnvironmentResult, error)
Resource Type definition for AWS::Batch::ComputeEnvironment
type LookupComputeEnvironmentResultOutput ¶ added in v0.12.0
type LookupComputeEnvironmentResultOutput struct{ *pulumi.OutputState }
func LookupComputeEnvironmentOutput ¶ added in v0.12.0
func LookupComputeEnvironmentOutput(ctx *pulumi.Context, args LookupComputeEnvironmentOutputArgs, opts ...pulumi.InvokeOption) LookupComputeEnvironmentResultOutput
func (LookupComputeEnvironmentResultOutput) ComputeEnvironmentArn ¶ added in v0.13.0
func (o LookupComputeEnvironmentResultOutput) ComputeEnvironmentArn() pulumi.StringPtrOutput
Returns the compute environment ARN, such as `batch: *us-east-1* : *111122223333* :compute-environment/ *ComputeEnvironmentName*` .
func (LookupComputeEnvironmentResultOutput) ComputeResources ¶ added in v0.12.0
func (o LookupComputeEnvironmentResultOutput) ComputeResources() ComputeEnvironmentComputeResourcesPtrOutput
The ComputeResources property type specifies details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. For more information, see [Compute Environments](https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) in the ** .
func (LookupComputeEnvironmentResultOutput) ElementType ¶ added in v0.12.0
func (LookupComputeEnvironmentResultOutput) ElementType() reflect.Type
func (LookupComputeEnvironmentResultOutput) ServiceRole ¶ added in v0.12.0
func (o LookupComputeEnvironmentResultOutput) ServiceRole() pulumi.StringPtrOutput
The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. For more information, see [AWS Batch service IAM role](https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html) in the *AWS Batch User Guide* .
> If your account already created the AWS Batch service-linked role, that role is used by default for your compute environment unless you specify a different role here. If the AWS Batch service-linked role doesn't exist in your account, and no role is specified here, the service attempts to create the AWS Batch service-linked role in your account.
If your specified role has a path other than `/` , then you must specify either the full role ARN (recommended) or prefix the role name with the path. For example, if a role with the name `bar` has a path of `/foo/` , specify `/foo/bar` as the role name. For more information, see [Friendly names and paths](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names) in the *IAM User Guide* .
> Depending on how you created your AWS Batch service role, its ARN might contain the `service-role` path prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN doesn't use the `service-role` path prefix. Because of this, we recommend that you specify the full ARN of your service role when you create compute environments.
func (LookupComputeEnvironmentResultOutput) State ¶ added in v0.12.0
func (o LookupComputeEnvironmentResultOutput) 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.
If the state is `ENABLED` , then the AWS Batch scheduler can attempt to place jobs from an associated job queue on the compute resources within the environment. If the compute environment is managed, then it can scale its instances out or in automatically, based on the job queue demand.
If the state is `DISABLED` , then the AWS Batch scheduler doesn't attempt to place jobs within the environment. Jobs in a `STARTING` or `RUNNING` state continue to progress normally. Managed compute environments in the `DISABLED` state don't scale out.
> Compute environments in a `DISABLED` state may continue to incur billing charges. To prevent additional charges, turn off and then delete the compute environment. For more information, see [State](https://docs.aws.amazon.com/batch/latest/userguide/compute_environment_parameters.html#compute_environment_state) in the *AWS Batch User Guide* .
When an instance is idle, the instance scales down to the `minvCpus` value. However, the instance size doesn't change. For example, consider a `c5.8xlarge` instance with a `minvCpus` value of `4` and a `desiredvCpus` value of `36` . This instance doesn't scale down to a `c5.large` instance.
func (LookupComputeEnvironmentResultOutput) ToLookupComputeEnvironmentResultOutput ¶ added in v0.12.0
func (o LookupComputeEnvironmentResultOutput) ToLookupComputeEnvironmentResultOutput() LookupComputeEnvironmentResultOutput
func (LookupComputeEnvironmentResultOutput) ToLookupComputeEnvironmentResultOutputWithContext ¶ added in v0.12.0
func (o LookupComputeEnvironmentResultOutput) ToLookupComputeEnvironmentResultOutputWithContext(ctx context.Context) LookupComputeEnvironmentResultOutput
func (LookupComputeEnvironmentResultOutput) UnmanagedvCpus ¶ added in v0.12.0
func (o LookupComputeEnvironmentResultOutput) UnmanagedvCpus() pulumi.IntPtrOutput
The maximum number of vCPUs for an unmanaged compute environment. This parameter is only used for fair share scheduling to reserve vCPU capacity for new share identifiers. If this parameter isn't provided for a fair share job queue, no vCPU capacity is reserved.
> This parameter is only supported when the `type` parameter is set to `UNMANAGED` .
type LookupJobDefinitionArgs ¶ added in v0.12.0
type LookupJobDefinitionArgs struct {
Id string `pulumi:"id"`
}
type LookupJobDefinitionOutputArgs ¶ added in v0.12.0
type LookupJobDefinitionOutputArgs struct {
Id pulumi.StringInput `pulumi:"id"`
}
func (LookupJobDefinitionOutputArgs) ElementType ¶ added in v0.12.0
func (LookupJobDefinitionOutputArgs) ElementType() reflect.Type
type LookupJobDefinitionResult ¶ added in v0.12.0
type LookupJobDefinitionResult struct { // An object with properties specific to Amazon ECS-based jobs. When `containerProperties` is used in the job definition, it can't be used in addition to `eksProperties` , `ecsProperties` , or `nodeProperties` . ContainerProperties *JobDefinitionContainerProperties `pulumi:"containerProperties"` // An object that contains the properties for the Amazon ECS resources of a job.When `ecsProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `eksProperties` , or `nodeProperties` . EcsProperties *JobDefinitionEcsProperties `pulumi:"ecsProperties"` // An object with properties that are specific to Amazon EKS-based jobs. When `eksProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `ecsProperties` , or `nodeProperties` . EksProperties *JobDefinitionEksProperties `pulumi:"eksProperties"` Id *string `pulumi:"id"` // An object with properties that are specific to multi-node parallel jobs. When `nodeProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `ecsProperties` , or `eksProperties` . // // > If the job runs on Fargate resources, don't specify `nodeProperties` . Use `containerProperties` instead. NodeProperties *JobDefinitionNodeProperties `pulumi:"nodeProperties"` // Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are specified as a key-value pair mapping. Parameters in a `SubmitJob` request override any corresponding parameter defaults from the job definition. For more information about specifying parameters, see [Job definition parameters](https://docs.aws.amazon.com/batch/latest/userguide/job_definition_parameters.html) in the *AWS Batch User Guide* . // // Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Batch::JobDefinition` for more information about the expected schema for this property. Parameters interface{} `pulumi:"parameters"` // The platform capabilities required by the job definition. If no value is specified, it defaults to `EC2` . Jobs run on Fargate resources specify `FARGATE` . PlatformCapabilities []string `pulumi:"platformCapabilities"` // Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the tasks when the tasks are created. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the `FAILED` state. PropagateTags *bool `pulumi:"propagateTags"` // The retry strategy to use for failed jobs that are submitted with this job definition. RetryStrategy *JobDefinitionRetryStrategy `pulumi:"retryStrategy"` // The scheduling priority of the job definition. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority. SchedulingPriority *int `pulumi:"schedulingPriority"` // The timeout time for jobs that are submitted with this job definition. After the amount of time you specify passes, AWS Batch terminates your jobs if they aren't finished. Timeout *JobDefinitionTimeout `pulumi:"timeout"` // The type of job definition. For more information about multi-node parallel jobs, see [Creating a multi-node parallel job definition](https://docs.aws.amazon.com/batch/latest/userguide/multi-node-job-def.html) in the *AWS Batch User Guide* . // // - If the value is `container` , then one of the following is required: `containerProperties` , `ecsProperties` , or `eksProperties` . // - If the value is `multinode` , then `nodeProperties` is required. // // > If the job is run on Fargate resources, then `multinode` isn't supported. Type *string `pulumi:"type"` }
func LookupJobDefinition ¶ added in v0.12.0
func LookupJobDefinition(ctx *pulumi.Context, args *LookupJobDefinitionArgs, opts ...pulumi.InvokeOption) (*LookupJobDefinitionResult, error)
Resource Type definition for AWS::Batch::JobDefinition
type LookupJobDefinitionResultOutput ¶ added in v0.12.0
type LookupJobDefinitionResultOutput struct{ *pulumi.OutputState }
func LookupJobDefinitionOutput ¶ added in v0.12.0
func LookupJobDefinitionOutput(ctx *pulumi.Context, args LookupJobDefinitionOutputArgs, opts ...pulumi.InvokeOption) LookupJobDefinitionResultOutput
func (LookupJobDefinitionResultOutput) ContainerProperties ¶ added in v0.12.0
func (o LookupJobDefinitionResultOutput) ContainerProperties() JobDefinitionContainerPropertiesPtrOutput
An object with properties specific to Amazon ECS-based jobs. When `containerProperties` is used in the job definition, it can't be used in addition to `eksProperties` , `ecsProperties` , or `nodeProperties` .
func (LookupJobDefinitionResultOutput) EcsProperties ¶ added in v0.99.0
func (o LookupJobDefinitionResultOutput) EcsProperties() JobDefinitionEcsPropertiesPtrOutput
An object that contains the properties for the Amazon ECS resources of a job.When `ecsProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `eksProperties` , or `nodeProperties` .
func (LookupJobDefinitionResultOutput) EksProperties ¶ added in v0.41.0
func (o LookupJobDefinitionResultOutput) EksProperties() JobDefinitionEksPropertiesPtrOutput
An object with properties that are specific to Amazon EKS-based jobs. When `eksProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `ecsProperties` , or `nodeProperties` .
func (LookupJobDefinitionResultOutput) ElementType ¶ added in v0.12.0
func (LookupJobDefinitionResultOutput) ElementType() reflect.Type
func (LookupJobDefinitionResultOutput) Id ¶ added in v0.12.0
func (o LookupJobDefinitionResultOutput) Id() pulumi.StringPtrOutput
func (LookupJobDefinitionResultOutput) NodeProperties ¶ added in v0.12.0
func (o LookupJobDefinitionResultOutput) NodeProperties() JobDefinitionNodePropertiesPtrOutput
An object with properties that are specific to multi-node parallel jobs. When `nodeProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `ecsProperties` , or `eksProperties` .
> If the job runs on Fargate resources, don't specify `nodeProperties` . Use `containerProperties` instead.
func (LookupJobDefinitionResultOutput) Parameters ¶ added in v0.12.0
func (o LookupJobDefinitionResultOutput) Parameters() pulumi.AnyOutput
Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are specified as a key-value pair mapping. Parameters in a `SubmitJob` request override any corresponding parameter defaults from the job definition. For more information about specifying parameters, see [Job definition parameters](https://docs.aws.amazon.com/batch/latest/userguide/job_definition_parameters.html) in the *AWS Batch User Guide* .
Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Batch::JobDefinition` for more information about the expected schema for this property.
func (LookupJobDefinitionResultOutput) PlatformCapabilities ¶ added in v0.12.0
func (o LookupJobDefinitionResultOutput) PlatformCapabilities() pulumi.StringArrayOutput
The platform capabilities required by the job definition. If no value is specified, it defaults to `EC2` . Jobs run on Fargate resources specify `FARGATE` .
func (LookupJobDefinitionResultOutput) PropagateTags ¶ added in v0.12.0
func (o LookupJobDefinitionResultOutput) PropagateTags() pulumi.BoolPtrOutput
Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the tasks when the tasks are created. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the `FAILED` state.
func (LookupJobDefinitionResultOutput) RetryStrategy ¶ added in v0.12.0
func (o LookupJobDefinitionResultOutput) RetryStrategy() JobDefinitionRetryStrategyPtrOutput
The retry strategy to use for failed jobs that are submitted with this job definition.
func (LookupJobDefinitionResultOutput) SchedulingPriority ¶ added in v0.12.0
func (o LookupJobDefinitionResultOutput) SchedulingPriority() pulumi.IntPtrOutput
The scheduling priority of the job definition. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority.
func (LookupJobDefinitionResultOutput) Timeout ¶ added in v0.12.0
func (o LookupJobDefinitionResultOutput) Timeout() JobDefinitionTimeoutPtrOutput
The timeout time for jobs that are submitted with this job definition. After the amount of time you specify passes, AWS Batch terminates your jobs if they aren't finished.
func (LookupJobDefinitionResultOutput) ToLookupJobDefinitionResultOutput ¶ added in v0.12.0
func (o LookupJobDefinitionResultOutput) ToLookupJobDefinitionResultOutput() LookupJobDefinitionResultOutput
func (LookupJobDefinitionResultOutput) ToLookupJobDefinitionResultOutputWithContext ¶ added in v0.12.0
func (o LookupJobDefinitionResultOutput) ToLookupJobDefinitionResultOutputWithContext(ctx context.Context) LookupJobDefinitionResultOutput
func (LookupJobDefinitionResultOutput) Type ¶ added in v0.12.0
func (o LookupJobDefinitionResultOutput) Type() pulumi.StringPtrOutput
The type of job definition. For more information about multi-node parallel jobs, see [Creating a multi-node parallel job definition](https://docs.aws.amazon.com/batch/latest/userguide/multi-node-job-def.html) in the *AWS Batch User Guide* .
- If the value is `container` , then one of the following is required: `containerProperties` , `ecsProperties` , or `eksProperties` . - If the value is `multinode` , then `nodeProperties` is required.
> If the job is run on Fargate resources, then `multinode` isn't supported.
type LookupJobQueueArgs ¶ added in v0.12.0
type LookupJobQueueArgs struct { // Returns the job queue ARN, such as `batch: *us-east-1* : *111122223333* :job-queue/ *JobQueueName*` . JobQueueArn string `pulumi:"jobQueueArn"` }
type LookupJobQueueOutputArgs ¶ added in v0.12.0
type LookupJobQueueOutputArgs struct { // Returns the job queue ARN, such as `batch: *us-east-1* : *111122223333* :job-queue/ *JobQueueName*` . JobQueueArn pulumi.StringInput `pulumi:"jobQueueArn"` }
func (LookupJobQueueOutputArgs) ElementType ¶ added in v0.12.0
func (LookupJobQueueOutputArgs) ElementType() reflect.Type
type LookupJobQueueResult ¶ added in v0.12.0
type LookupJobQueueResult struct { // The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment runs a specific job. Compute environments must be in the `VALID` state before you can associate them with a job queue. You can associate up to three compute environments with a job queue. All of the compute environments must be either EC2 ( `EC2` or `SPOT` ) or Fargate ( `FARGATE` or `FARGATE_SPOT` ); EC2 and Fargate compute environments can't be mixed. // // > All compute environments that are associated with a job queue must share the same architecture. AWS Batch doesn't support mixing compute environment architecture types in a single job queue. ComputeEnvironmentOrder []JobQueueComputeEnvironmentOrder `pulumi:"computeEnvironmentOrder"` // Returns the job queue ARN, such as `batch: *us-east-1* : *111122223333* :job-queue/ *JobQueueName*` . JobQueueArn *string `pulumi:"jobQueueArn"` // The set of actions that AWS Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. AWS Batch will perform each action after `maxTimeSeconds` has passed. JobStateTimeLimitActions []JobQueueJobStateTimeLimitAction `pulumi:"jobStateTimeLimitActions"` // The priority of the job queue. Job queues with a higher priority (or a higher integer value for the `priority` parameter) are evaluated first when associated with the same compute environment. Priority is determined in descending order. For example, a job queue with a priority value of `10` is given scheduling preference over a job queue with a priority value of `1` . All of the compute environments must be either EC2 ( `EC2` or `SPOT` ) or Fargate ( `FARGATE` or `FARGATE_SPOT` ); EC2 and Fargate compute environments can't be mixed. Priority *int `pulumi:"priority"` // The Amazon Resource Name (ARN) of the scheduling policy. The format is `aws: *Partition* :batch: *Region* : *Account* :scheduling-policy/ *Name*` . For example, `aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy` . SchedulingPolicyArn *string `pulumi:"schedulingPolicyArn"` // The state of the job queue. If the job queue state is `ENABLED` , it is able to accept jobs. If the job queue state is `DISABLED` , new jobs can't be added to the queue, but jobs already in the queue can finish. State *JobQueueStateEnum `pulumi:"state"` }
func LookupJobQueue ¶ added in v0.12.0
func LookupJobQueue(ctx *pulumi.Context, args *LookupJobQueueArgs, opts ...pulumi.InvokeOption) (*LookupJobQueueResult, error)
Resource Type definition for AWS::Batch::JobQueue
type LookupJobQueueResultOutput ¶ added in v0.12.0
type LookupJobQueueResultOutput struct{ *pulumi.OutputState }
func LookupJobQueueOutput ¶ added in v0.12.0
func LookupJobQueueOutput(ctx *pulumi.Context, args LookupJobQueueOutputArgs, opts ...pulumi.InvokeOption) LookupJobQueueResultOutput
func (LookupJobQueueResultOutput) ComputeEnvironmentOrder ¶ added in v0.12.0
func (o LookupJobQueueResultOutput) ComputeEnvironmentOrder() JobQueueComputeEnvironmentOrderArrayOutput
The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment runs a specific job. Compute environments must be in the `VALID` state before you can associate them with a job queue. You can associate up to three compute environments with a job queue. All of the compute environments must be either EC2 ( `EC2` or `SPOT` ) or Fargate ( `FARGATE` or `FARGATE_SPOT` ); EC2 and Fargate compute environments can't be mixed.
> All compute environments that are associated with a job queue must share the same architecture. AWS Batch doesn't support mixing compute environment architecture types in a single job queue.
func (LookupJobQueueResultOutput) ElementType ¶ added in v0.12.0
func (LookupJobQueueResultOutput) ElementType() reflect.Type
func (LookupJobQueueResultOutput) JobQueueArn ¶ added in v0.13.0
func (o LookupJobQueueResultOutput) JobQueueArn() pulumi.StringPtrOutput
Returns the job queue ARN, such as `batch: *us-east-1* : *111122223333* :job-queue/ *JobQueueName*` .
func (LookupJobQueueResultOutput) JobStateTimeLimitActions ¶ added in v0.99.0
func (o LookupJobQueueResultOutput) JobStateTimeLimitActions() JobQueueJobStateTimeLimitActionArrayOutput
The set of actions that AWS Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. AWS Batch will perform each action after `maxTimeSeconds` has passed.
func (LookupJobQueueResultOutput) Priority ¶ added in v0.12.0
func (o LookupJobQueueResultOutput) Priority() pulumi.IntPtrOutput
The priority of the job queue. Job queues with a higher priority (or a higher integer value for the `priority` parameter) are evaluated first when associated with the same compute environment. Priority is determined in descending order. For example, a job queue with a priority value of `10` is given scheduling preference over a job queue with a priority value of `1` . All of the compute environments must be either EC2 ( `EC2` or `SPOT` ) or Fargate ( `FARGATE` or `FARGATE_SPOT` ); EC2 and Fargate compute environments can't be mixed.
func (LookupJobQueueResultOutput) SchedulingPolicyArn ¶ added in v0.12.0
func (o LookupJobQueueResultOutput) SchedulingPolicyArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the scheduling policy. The format is `aws: *Partition* :batch: *Region* : *Account* :scheduling-policy/ *Name*` . For example, `aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy` .
func (LookupJobQueueResultOutput) State ¶ added in v0.12.0
func (o LookupJobQueueResultOutput) State() JobQueueStateEnumPtrOutput
The state of the job queue. If the job queue state is `ENABLED` , it is able to accept jobs. If the job queue state is `DISABLED` , new jobs can't be added to the queue, but jobs already in the queue can finish.
func (LookupJobQueueResultOutput) ToLookupJobQueueResultOutput ¶ added in v0.12.0
func (o LookupJobQueueResultOutput) ToLookupJobQueueResultOutput() LookupJobQueueResultOutput
func (LookupJobQueueResultOutput) ToLookupJobQueueResultOutputWithContext ¶ added in v0.12.0
func (o LookupJobQueueResultOutput) ToLookupJobQueueResultOutputWithContext(ctx context.Context) LookupJobQueueResultOutput
type LookupSchedulingPolicyArgs ¶ added in v0.12.0
type LookupSchedulingPolicyArgs struct { // Returns the scheduling policy ARN, such as `batch: *us-east-1* : *111122223333* :scheduling-policy/ *HighPriority*` . Arn string `pulumi:"arn"` }
type LookupSchedulingPolicyOutputArgs ¶ added in v0.12.0
type LookupSchedulingPolicyOutputArgs struct { // Returns the scheduling policy ARN, such as `batch: *us-east-1* : *111122223333* :scheduling-policy/ *HighPriority*` . Arn pulumi.StringInput `pulumi:"arn"` }
func (LookupSchedulingPolicyOutputArgs) ElementType ¶ added in v0.12.0
func (LookupSchedulingPolicyOutputArgs) ElementType() reflect.Type
type LookupSchedulingPolicyResult ¶ added in v0.12.0
type LookupSchedulingPolicyResult struct { // Returns the scheduling policy ARN, such as `batch: *us-east-1* : *111122223333* :scheduling-policy/ *HighPriority*` . Arn *string `pulumi:"arn"` FairsharePolicy *SchedulingPolicyFairsharePolicy `pulumi:"fairsharePolicy"` }
func LookupSchedulingPolicy ¶ added in v0.12.0
func LookupSchedulingPolicy(ctx *pulumi.Context, args *LookupSchedulingPolicyArgs, opts ...pulumi.InvokeOption) (*LookupSchedulingPolicyResult, error)
Resource Type schema for AWS::Batch::SchedulingPolicy
type LookupSchedulingPolicyResultOutput ¶ added in v0.12.0
type LookupSchedulingPolicyResultOutput struct{ *pulumi.OutputState }
func LookupSchedulingPolicyOutput ¶ added in v0.12.0
func LookupSchedulingPolicyOutput(ctx *pulumi.Context, args LookupSchedulingPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupSchedulingPolicyResultOutput
func (LookupSchedulingPolicyResultOutput) Arn ¶ added in v0.12.0
func (o LookupSchedulingPolicyResultOutput) Arn() pulumi.StringPtrOutput
Returns the scheduling policy ARN, such as `batch: *us-east-1* : *111122223333* :scheduling-policy/ *HighPriority*` .
func (LookupSchedulingPolicyResultOutput) ElementType ¶ added in v0.12.0
func (LookupSchedulingPolicyResultOutput) ElementType() reflect.Type
func (LookupSchedulingPolicyResultOutput) FairsharePolicy ¶ added in v0.12.0
func (o LookupSchedulingPolicyResultOutput) FairsharePolicy() SchedulingPolicyFairsharePolicyPtrOutput
The fair share policy of the scheduling policy.
func (LookupSchedulingPolicyResultOutput) ToLookupSchedulingPolicyResultOutput ¶ added in v0.12.0
func (o LookupSchedulingPolicyResultOutput) ToLookupSchedulingPolicyResultOutput() LookupSchedulingPolicyResultOutput
func (LookupSchedulingPolicyResultOutput) ToLookupSchedulingPolicyResultOutputWithContext ¶ added in v0.12.0
func (o LookupSchedulingPolicyResultOutput) ToLookupSchedulingPolicyResultOutputWithContext(ctx context.Context) LookupSchedulingPolicyResultOutput
type SchedulingPolicy ¶ added in v0.5.0
type SchedulingPolicy struct { pulumi.CustomResourceState // Returns the scheduling policy ARN, such as `batch: *us-east-1* : *111122223333* :scheduling-policy/ *HighPriority*` . Arn pulumi.StringOutput `pulumi:"arn"` FairsharePolicy SchedulingPolicyFairsharePolicyPtrOutput `pulumi:"fairsharePolicy"` // Name of Scheduling Policy. Name pulumi.StringPtrOutput `pulumi:"name"` // A key-value pair to associate with a resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Resource Type schema for AWS::Batch::SchedulingPolicy
func GetSchedulingPolicy ¶ added in v0.5.0
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 ¶ added in v0.5.0
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 ¶ added in v0.5.0
func (*SchedulingPolicy) ElementType() reflect.Type
func (*SchedulingPolicy) ToSchedulingPolicyOutput ¶ added in v0.5.0
func (i *SchedulingPolicy) ToSchedulingPolicyOutput() SchedulingPolicyOutput
func (*SchedulingPolicy) ToSchedulingPolicyOutputWithContext ¶ added in v0.5.0
func (i *SchedulingPolicy) ToSchedulingPolicyOutputWithContext(ctx context.Context) SchedulingPolicyOutput
type SchedulingPolicyArgs ¶ added in v0.5.0
type SchedulingPolicyArgs struct { SchedulingPolicyFairsharePolicyPtrInput // Name of Scheduling Policy. Name pulumi.StringPtrInput // A key-value pair to associate with a resource. Tags pulumi.StringMapInput }FairsharePolicy
The set of arguments for constructing a SchedulingPolicy resource.
func (SchedulingPolicyArgs) ElementType ¶ added in v0.5.0
func (SchedulingPolicyArgs) ElementType() reflect.Type
type SchedulingPolicyFairsharePolicy ¶ added in v0.5.0
type SchedulingPolicyFairsharePolicy struct { // // The reserved ratio is `( *computeReservation* /100)^ *ActiveFairShares*` where `*ActiveFairShares*` is the number of active fair share identifiers. // // For example, a `computeReservation` value of 50 indicates that AWS Batch reserves 50% of the maximum available vCPU if there's only one fair share identifier. It reserves 25% if there are two fair share identifiers. It reserves 12.5% if there are three fair share identifiers. A `computeReservation` value of 25 indicates that AWS Batch should reserve 25% of the maximum available vCPU if there's only one fair share identifier, 6.25% if there are two fair share identifiers, and 1.56% if there are three fair share identifiers. // // The minimum value is 0 and the maximum value is 99. ComputeReservation *float64 `pulumi:"computeReservation"` ShareDecaySeconds *float64 `pulumi:"shareDecaySeconds"` ShareDistribution []SchedulingPolicyShareAttributes `pulumi:"shareDistribution"` }
Fair Share Policy for the Job Queue.
type SchedulingPolicyFairsharePolicyArgs ¶ added in v0.5.0
type SchedulingPolicyFairsharePolicyArgs struct { // // The reserved ratio is `( *computeReservation* /100)^ *ActiveFairShares*` where `*ActiveFairShares*` is the number of active fair share identifiers. // // For example, a `computeReservation` value of 50 indicates that AWS Batch reserves 50% of the maximum available vCPU if there's only one fair share identifier. It reserves 25% if there are two fair share identifiers. It reserves 12.5% if there are three fair share identifiers. A `computeReservation` value of 25 indicates that AWS Batch should reserve 25% of the maximum available vCPU if there's only one fair share identifier, 6.25% if there are two fair share identifiers, and 1.56% if there are three fair share identifiers. // // The minimum value is 0 and the maximum value is 99. ComputeReservation pulumi.Float64PtrInput `pulumi:"computeReservation"` ShareDecaySeconds pulumi.Float64PtrInput `pulumi:"shareDecaySeconds"` ShareDistribution SchedulingPolicyShareAttributesArrayInput `pulumi:"shareDistribution"` }
Fair Share Policy for the Job Queue.
func (SchedulingPolicyFairsharePolicyArgs) ElementType ¶ added in v0.5.0
func (SchedulingPolicyFairsharePolicyArgs) ElementType() reflect.Type
func (SchedulingPolicyFairsharePolicyArgs) ToSchedulingPolicyFairsharePolicyOutput ¶ added in v0.5.0
func (i SchedulingPolicyFairsharePolicyArgs) ToSchedulingPolicyFairsharePolicyOutput() SchedulingPolicyFairsharePolicyOutput
func (SchedulingPolicyFairsharePolicyArgs) ToSchedulingPolicyFairsharePolicyOutputWithContext ¶ added in v0.5.0
func (i SchedulingPolicyFairsharePolicyArgs) ToSchedulingPolicyFairsharePolicyOutputWithContext(ctx context.Context) SchedulingPolicyFairsharePolicyOutput
func (SchedulingPolicyFairsharePolicyArgs) ToSchedulingPolicyFairsharePolicyPtrOutput ¶ added in v0.5.0
func (i SchedulingPolicyFairsharePolicyArgs) ToSchedulingPolicyFairsharePolicyPtrOutput() SchedulingPolicyFairsharePolicyPtrOutput
func (SchedulingPolicyFairsharePolicyArgs) ToSchedulingPolicyFairsharePolicyPtrOutputWithContext ¶ added in v0.5.0
func (i SchedulingPolicyFairsharePolicyArgs) ToSchedulingPolicyFairsharePolicyPtrOutputWithContext(ctx context.Context) SchedulingPolicyFairsharePolicyPtrOutput
type SchedulingPolicyFairsharePolicyInput ¶ added in v0.5.0
SchedulingPolicyFairsharePolicyInput is an input type that accepts SchedulingPolicyFairsharePolicyArgs and SchedulingPolicyFairsharePolicyOutput values. You can construct a concrete instance of `SchedulingPolicyFairsharePolicyInput` via:
SchedulingPolicyFairsharePolicyArgs{...}
type SchedulingPolicyFairsharePolicyOutput ¶ added in v0.5.0
Fair Share Policy for the Job Queue.
func (SchedulingPolicyFairsharePolicyOutput) ComputeReservation ¶ added in v0.5.0
func (o SchedulingPolicyFairsharePolicyOutput) ComputeReservation() pulumi.Float64PtrOutput
A value used to reserve some of the available maximum vCPU for fair share identifiers that aren't already used.
The reserved ratio is `( *computeReservation* /100)^ *ActiveFairShares*` where `*ActiveFairShares*` is the number of active fair share identifiers.
For example, a `computeReservation` value of 50 indicates that AWS Batch reserves 50% of the maximum available vCPU if there's only one fair share identifier. It reserves 25% if there are two fair share identifiers. It reserves 12.5% if there are three fair share identifiers. A `computeReservation` value of 25 indicates that AWS Batch should reserve 25% of the maximum available vCPU if there's only one fair share identifier, 6.25% if there are two fair share identifiers, and 1.56% if there are three fair share identifiers.
The minimum value is 0 and the maximum value is 99.
func (SchedulingPolicyFairsharePolicyOutput) ElementType ¶ added in v0.5.0
func (SchedulingPolicyFairsharePolicyOutput) ElementType() reflect.Type
func (SchedulingPolicyFairsharePolicyOutput) ShareDecaySeconds ¶ added in v0.5.0
func (o SchedulingPolicyFairsharePolicyOutput) ShareDecaySeconds() pulumi.Float64PtrOutput
The amount of time (in seconds) to use to calculate a fair share percentage for each fair share identifier in use. A value of zero (0) indicates that only current usage is measured. The decay allows for more recently run jobs to have more weight than jobs that ran earlier. The maximum supported value is 604800 (1 week).
func (SchedulingPolicyFairsharePolicyOutput) ShareDistribution ¶ added in v0.5.0
func (o SchedulingPolicyFairsharePolicyOutput) ShareDistribution() SchedulingPolicyShareAttributesArrayOutput
List of Share Attributes
func (SchedulingPolicyFairsharePolicyOutput) ToSchedulingPolicyFairsharePolicyOutput ¶ added in v0.5.0
func (o SchedulingPolicyFairsharePolicyOutput) ToSchedulingPolicyFairsharePolicyOutput() SchedulingPolicyFairsharePolicyOutput
func (SchedulingPolicyFairsharePolicyOutput) ToSchedulingPolicyFairsharePolicyOutputWithContext ¶ added in v0.5.0
func (o SchedulingPolicyFairsharePolicyOutput) ToSchedulingPolicyFairsharePolicyOutputWithContext(ctx context.Context) SchedulingPolicyFairsharePolicyOutput
func (SchedulingPolicyFairsharePolicyOutput) ToSchedulingPolicyFairsharePolicyPtrOutput ¶ added in v0.5.0
func (o SchedulingPolicyFairsharePolicyOutput) ToSchedulingPolicyFairsharePolicyPtrOutput() SchedulingPolicyFairsharePolicyPtrOutput
func (SchedulingPolicyFairsharePolicyOutput) ToSchedulingPolicyFairsharePolicyPtrOutputWithContext ¶ added in v0.5.0
func (o SchedulingPolicyFairsharePolicyOutput) ToSchedulingPolicyFairsharePolicyPtrOutputWithContext(ctx context.Context) SchedulingPolicyFairsharePolicyPtrOutput
type SchedulingPolicyFairsharePolicyPtrInput ¶ added in v0.5.0
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 ¶ added in v0.5.0
func SchedulingPolicyFairsharePolicyPtr(v *SchedulingPolicyFairsharePolicyArgs) SchedulingPolicyFairsharePolicyPtrInput
type SchedulingPolicyFairsharePolicyPtrOutput ¶ added in v0.5.0
func (SchedulingPolicyFairsharePolicyPtrOutput) ComputeReservation ¶ added in v0.5.0
func (o SchedulingPolicyFairsharePolicyPtrOutput) ComputeReservation() pulumi.Float64PtrOutput
A value used to reserve some of the available maximum vCPU for fair share identifiers that aren't already used.
The reserved ratio is `( *computeReservation* /100)^ *ActiveFairShares*` where `*ActiveFairShares*` is the number of active fair share identifiers.
For example, a `computeReservation` value of 50 indicates that AWS Batch reserves 50% of the maximum available vCPU if there's only one fair share identifier. It reserves 25% if there are two fair share identifiers. It reserves 12.5% if there are three fair share identifiers. A `computeReservation` value of 25 indicates that AWS Batch should reserve 25% of the maximum available vCPU if there's only one fair share identifier, 6.25% if there are two fair share identifiers, and 1.56% if there are three fair share identifiers.
The minimum value is 0 and the maximum value is 99.
func (SchedulingPolicyFairsharePolicyPtrOutput) ElementType ¶ added in v0.5.0
func (SchedulingPolicyFairsharePolicyPtrOutput) ElementType() reflect.Type
func (SchedulingPolicyFairsharePolicyPtrOutput) ShareDecaySeconds ¶ added in v0.5.0
func (o SchedulingPolicyFairsharePolicyPtrOutput) ShareDecaySeconds() pulumi.Float64PtrOutput
The amount of time (in seconds) to use to calculate a fair share percentage for each fair share identifier in use. A value of zero (0) indicates that only current usage is measured. The decay allows for more recently run jobs to have more weight than jobs that ran earlier. The maximum supported value is 604800 (1 week).
func (SchedulingPolicyFairsharePolicyPtrOutput) ShareDistribution ¶ added in v0.5.0
func (o SchedulingPolicyFairsharePolicyPtrOutput) ShareDistribution() SchedulingPolicyShareAttributesArrayOutput
List of Share Attributes
func (SchedulingPolicyFairsharePolicyPtrOutput) ToSchedulingPolicyFairsharePolicyPtrOutput ¶ added in v0.5.0
func (o SchedulingPolicyFairsharePolicyPtrOutput) ToSchedulingPolicyFairsharePolicyPtrOutput() SchedulingPolicyFairsharePolicyPtrOutput
func (SchedulingPolicyFairsharePolicyPtrOutput) ToSchedulingPolicyFairsharePolicyPtrOutputWithContext ¶ added in v0.5.0
func (o SchedulingPolicyFairsharePolicyPtrOutput) ToSchedulingPolicyFairsharePolicyPtrOutputWithContext(ctx context.Context) SchedulingPolicyFairsharePolicyPtrOutput
type SchedulingPolicyInput ¶ added in v0.5.0
type SchedulingPolicyInput interface { pulumi.Input ToSchedulingPolicyOutput() SchedulingPolicyOutput ToSchedulingPolicyOutputWithContext(ctx context.Context) SchedulingPolicyOutput }
type SchedulingPolicyOutput ¶ added in v0.5.0
type SchedulingPolicyOutput struct{ *pulumi.OutputState }
func (SchedulingPolicyOutput) Arn ¶ added in v0.17.0
func (o SchedulingPolicyOutput) Arn() pulumi.StringOutput
Returns the scheduling policy ARN, such as `batch: *us-east-1* : *111122223333* :scheduling-policy/ *HighPriority*` .
func (SchedulingPolicyOutput) ElementType ¶ added in v0.5.0
func (SchedulingPolicyOutput) ElementType() reflect.Type
func (SchedulingPolicyOutput) FairsharePolicy ¶ added in v0.17.0
func (o SchedulingPolicyOutput) FairsharePolicy() SchedulingPolicyFairsharePolicyPtrOutput
The fair share policy of the scheduling policy.
func (SchedulingPolicyOutput) Name ¶ added in v0.17.0
func (o SchedulingPolicyOutput) Name() pulumi.StringPtrOutput
Name of Scheduling Policy.
func (SchedulingPolicyOutput) Tags ¶ added in v0.17.0
func (o SchedulingPolicyOutput) Tags() pulumi.StringMapOutput
A key-value pair to associate with a resource.
func (SchedulingPolicyOutput) ToSchedulingPolicyOutput ¶ added in v0.5.0
func (o SchedulingPolicyOutput) ToSchedulingPolicyOutput() SchedulingPolicyOutput
func (SchedulingPolicyOutput) ToSchedulingPolicyOutputWithContext ¶ added in v0.5.0
func (o SchedulingPolicyOutput) ToSchedulingPolicyOutputWithContext(ctx context.Context) SchedulingPolicyOutput
type SchedulingPolicyShareAttributes ¶ added in v0.5.0
type SchedulingPolicyShareAttributes struct { // // There can be no more than 500 fair share identifiers active in a job queue. // // The string is limited to 255 alphanumeric characters, and can be followed by an asterisk (*). ShareIdentifier *string `pulumi:"shareIdentifier"` // // The smallest supported value is 0.0001, and the largest supported value is 999.9999. WeightFactor *float64 `pulumi:"weightFactor"` }
type SchedulingPolicyShareAttributesArgs ¶ added in v0.5.0
type SchedulingPolicyShareAttributesArgs struct { // // There can be no more than 500 fair share identifiers active in a job queue. // // The string is limited to 255 alphanumeric characters, and can be followed by an asterisk (*). ShareIdentifier pulumi.StringPtrInput `pulumi:"shareIdentifier"` // // The smallest supported value is 0.0001, and the largest supported value is 999.9999. WeightFactor pulumi.Float64PtrInput `pulumi:"weightFactor"` }
func (SchedulingPolicyShareAttributesArgs) ElementType ¶ added in v0.5.0
func (SchedulingPolicyShareAttributesArgs) ElementType() reflect.Type
func (SchedulingPolicyShareAttributesArgs) ToSchedulingPolicyShareAttributesOutput ¶ added in v0.5.0
func (i SchedulingPolicyShareAttributesArgs) ToSchedulingPolicyShareAttributesOutput() SchedulingPolicyShareAttributesOutput
func (SchedulingPolicyShareAttributesArgs) ToSchedulingPolicyShareAttributesOutputWithContext ¶ added in v0.5.0
func (i SchedulingPolicyShareAttributesArgs) ToSchedulingPolicyShareAttributesOutputWithContext(ctx context.Context) SchedulingPolicyShareAttributesOutput
type SchedulingPolicyShareAttributesArray ¶ added in v0.5.0
type SchedulingPolicyShareAttributesArray []SchedulingPolicyShareAttributesInput
func (SchedulingPolicyShareAttributesArray) ElementType ¶ added in v0.5.0
func (SchedulingPolicyShareAttributesArray) ElementType() reflect.Type
func (SchedulingPolicyShareAttributesArray) ToSchedulingPolicyShareAttributesArrayOutput ¶ added in v0.5.0
func (i SchedulingPolicyShareAttributesArray) ToSchedulingPolicyShareAttributesArrayOutput() SchedulingPolicyShareAttributesArrayOutput
func (SchedulingPolicyShareAttributesArray) ToSchedulingPolicyShareAttributesArrayOutputWithContext ¶ added in v0.5.0
func (i SchedulingPolicyShareAttributesArray) ToSchedulingPolicyShareAttributesArrayOutputWithContext(ctx context.Context) SchedulingPolicyShareAttributesArrayOutput
type SchedulingPolicyShareAttributesArrayInput ¶ added in v0.5.0
SchedulingPolicyShareAttributesArrayInput is an input type that accepts SchedulingPolicyShareAttributesArray and SchedulingPolicyShareAttributesArrayOutput values. You can construct a concrete instance of `SchedulingPolicyShareAttributesArrayInput` via:
SchedulingPolicyShareAttributesArray{ SchedulingPolicyShareAttributesArgs{...} }
type SchedulingPolicyShareAttributesArrayOutput ¶ added in v0.5.0
func (SchedulingPolicyShareAttributesArrayOutput) ElementType ¶ added in v0.5.0
func (SchedulingPolicyShareAttributesArrayOutput) ElementType() reflect.Type
func (SchedulingPolicyShareAttributesArrayOutput) ToSchedulingPolicyShareAttributesArrayOutput ¶ added in v0.5.0
func (o SchedulingPolicyShareAttributesArrayOutput) ToSchedulingPolicyShareAttributesArrayOutput() SchedulingPolicyShareAttributesArrayOutput
func (SchedulingPolicyShareAttributesArrayOutput) ToSchedulingPolicyShareAttributesArrayOutputWithContext ¶ added in v0.5.0
func (o SchedulingPolicyShareAttributesArrayOutput) ToSchedulingPolicyShareAttributesArrayOutputWithContext(ctx context.Context) SchedulingPolicyShareAttributesArrayOutput
type SchedulingPolicyShareAttributesInput ¶ added in v0.5.0
SchedulingPolicyShareAttributesInput is an input type that accepts SchedulingPolicyShareAttributesArgs and SchedulingPolicyShareAttributesOutput values. You can construct a concrete instance of `SchedulingPolicyShareAttributesInput` via:
SchedulingPolicyShareAttributesArgs{...}
type SchedulingPolicyShareAttributesOutput ¶ added in v0.5.0
func (SchedulingPolicyShareAttributesOutput) ElementType ¶ added in v0.5.0
func (SchedulingPolicyShareAttributesOutput) ElementType() reflect.Type
func (SchedulingPolicyShareAttributesOutput) ShareIdentifier ¶ added in v0.5.0
func (o SchedulingPolicyShareAttributesOutput) ShareIdentifier() pulumi.StringPtrOutput
A fair share identifier or fair share identifier prefix. If the string ends with an asterisk (*), this entry specifies the weight factor to use for fair share identifiers that start with that prefix. The list of fair share identifiers in a fair share policy can't overlap. For example, you can't have one that specifies a `shareIdentifier` of `UserA*` and another that specifies a `shareIdentifier` of `UserA-1` .
There can be no more than 500 fair share identifiers active in a job queue.
The string is limited to 255 alphanumeric characters, and can be followed by an asterisk (*).
func (SchedulingPolicyShareAttributesOutput) ToSchedulingPolicyShareAttributesOutput ¶ added in v0.5.0
func (o SchedulingPolicyShareAttributesOutput) ToSchedulingPolicyShareAttributesOutput() SchedulingPolicyShareAttributesOutput
func (SchedulingPolicyShareAttributesOutput) ToSchedulingPolicyShareAttributesOutputWithContext ¶ added in v0.5.0
func (o SchedulingPolicyShareAttributesOutput) ToSchedulingPolicyShareAttributesOutputWithContext(ctx context.Context) SchedulingPolicyShareAttributesOutput
func (SchedulingPolicyShareAttributesOutput) WeightFactor ¶ added in v0.5.0
func (o SchedulingPolicyShareAttributesOutput) WeightFactor() pulumi.Float64PtrOutput
The weight factor for the fair share identifier. The default value is 1.0. A lower value has a higher priority for compute resources. For example, jobs that use a share identifier with a weight factor of 0.125 (1/8) get 8 times the compute resources of jobs that use a share identifier with a weight factor of 1.
The smallest supported value is 0.0001, and the largest supported value is 999.9999.
type SchedulingPolicyState ¶ added in v0.5.0
type SchedulingPolicyState struct { }
func (SchedulingPolicyState) ElementType ¶ added in v0.5.0
func (SchedulingPolicyState) ElementType() reflect.Type