Class FlociAwsContainer
java.lang.Object
org.testcontainers.containers.GenericContainer<io.floci.testcontainers.FlociContainer>
io.floci.testcontainers.FlociContainer
org.apache.polaris.test.floci.aws.FlociAwsContainer
- All Implemented Interfaces:
AutoCloseable,FlociAwsAccess,org.testcontainers.containers.Container<io.floci.testcontainers.FlociContainer>,org.testcontainers.containers.ContainerState,org.testcontainers.containers.traits.LinkableContainer,org.testcontainers.containers.wait.strategy.WaitStrategyTarget,org.testcontainers.lifecycle.Startable
public final class FlociAwsContainer
extends io.floci.testcontainers.FlociContainer
implements FlociAwsAccess, AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.testcontainers.containers.Container
org.testcontainers.containers.Container.ExecResult -
Field Summary
Fields inherited from class io.floci.testcontainers.FlociContainer
PORTFields inherited from class org.testcontainers.containers.GenericContainer
CONTAINER_RUNNING_TIMEOUT_SEC, dependencies, dockerClient, INTERNAL_HOST_HOSTNAME, waitStrategyFields inherited from interface org.testcontainers.containers.ContainerState
STATE_HEALTHY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucket()voidclose()software.amazon.awssdk.services.cloudwatchlogs.CloudWatchLogsClientsoftware.amazon.awssdk.auth.credentials.AwsCredentialsProviderendpoint()hostPort()software.amazon.awssdk.services.iam.IamClientsoftware.amazon.awssdk.services.kms.KmsClientregion()s3BucketUri(String path) s3BucketUri(String scheme, String path) software.amazon.awssdk.services.s3.S3Clients3Client()voidstart()voidstop()software.amazon.awssdk.services.sts.StsClientwithDefaultAccountId(String accountId) withRegion(String region) withStartupAttempts(int attempts) Methods inherited from class io.floci.testcontainers.FlociContainer
disableAllServices, getAccessKey, getAcmConfig, getAmazonMqConfig, getApiGatewayConfig, getApiGatewayV2Config, getAppConfigConfig, getAppConfigDataConfig, getAppSyncConfig, getAthenaConfig, getBackupConfig, getBatchConfig, getBcmDataExportsConfig, getBedrockRuntimeConfig, getCloudControlConfig, getCloudFormationConfig, getCloudFrontConfig, getCloudMapConfig, getCloudTrailConfig, getCloudWatchLogsConfig, getCloudWatchMetricsConfig, getCodeBuildConfig, getCodeDeployConfig, getCodePipelineConfig, getCognitoConfig, getConfigServiceConfig, getCostExplorerConfig, getCurConfig, getDedicatedNetworkName, getDefaultAccountId, getDefaultAvailabilityZone, getDocumentDbConfig, getDuckDbConfig, getDynamoDbConfig, getEc2Config, getEcrConfig, getEcsConfig, getEksConfig, getElastiCacheConfig, getElasticBeanstalkConfig, getElbV2Config, getEmrConfig, getEndpoint, getEventBridgeConfig, getFirehoseConfig, getGlueConfig, getIamConfig, getIotConfig, getIotDataConfig, getKinesisConfig, getKmsConfig, getLambdaConfig, getLightsailConfig, getLogLevel, getMemoryDbConfig, getMskConfig, getNeptuneConfig, getOpenSearchConfig, getPipesConfig, getPricingConfig, getProtocolsConfig, getRdsConfig, getRdsDataConfig, getRegion, getResourceGroupsTaggingConfig, getRoute53Config, getS3Config, getS3VectorsConfig, getSchedulerConfig, getSecretKey, getSecretsManagerConfig, getSecurityConfig, getSesConfig, getSnsConfig, getSqsConfig, getSsmConfig, getStepFunctionsConfig, getStorageConfig, getTextractConfig, getTlsConfig, getTransferFamilyConfig, getWafV2Config, withAcmConfig, withAmazonMqConfig, withApiGatewayConfig, withApiGatewayV2Config, withAppConfigConfig, withAppConfigDataConfig, withAppSyncConfig, withAthenaConfig, withBackupConfig, withBatchConfig, withBcmDataExportsConfig, withBedrockRuntimeConfig, withCloudControlConfig, withCloudFormationConfig, withCloudFrontConfig, withCloudMapConfig, withCloudTrailConfig, withCloudWatchLogsConfig, withCloudWatchMetricsConfig, withCodeBuildConfig, withCodeDeployConfig, withCodePipelineConfig, withCognitoConfig, withConfigServiceConfig, withCostExplorerConfig, withCurConfig, withDedicatedNetwork, withDefaultAvailabilityZone, withDocumentDbConfig, withDuckDbConfig, withDynamoDbConfig, withEc2Config, withEcrConfig, withEcsConfig, withEksConfig, withElastiCacheConfig, withElasticBeanstalkConfig, withElbV2Config, withEmrConfig, withEventBridgeConfig, withFirehoseConfig, withGlueConfig, withIamConfig, withIotConfig, withIotDataConfig, withKinesisConfig, withKmsConfig, withLambdaConfig, withLightsailConfig, withLogLevel, withMemoryDbConfig, withMskConfig, withNeptuneConfig, withOpenSearchConfig, withPipesConfig, withPricingConfig, withProtocolsConfig, withRdsConfig, withRdsDataConfig, withResourceGroupsTaggingConfig, withRoute53Config, withS3Config, withS3VectorsConfig, withSchedulerConfig, withSecretsManagerConfig, withSecurityConfig, withSesConfig, withSnsConfig, withSqsConfig, withSsmConfig, withStepFunctionsConfig, withStorageConfig, withTextractConfig, withTlsConfig, withTransferFamilyConfig, withWafV2ConfigMethods inherited from class org.testcontainers.containers.GenericContainer
addEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFixedExposedPort, addFixedExposedPort, addLink, canBeReused, configure, containerIsCreated, containerIsStarted, containerIsStarted, containerIsStarting, containerIsStarting, containerIsStopped, containerIsStopping, copyFileFromContainer, createVolumeDirectory, dependsOn, dependsOn, dependsOn, doStart, equals, getBinds, getCommandParts, getContainerId, getContainerInfo, getContainerName, getCopyToFileContainerPathMap, getCreateContainerCmdModifiers, getDependencies, getDockerClient, getDockerImageName, getEnv, getEnvMap, getExposedPorts, getExtraHosts, getImage, getIpAddress, getLabels, getLinkedContainers, getLivenessCheckPort, getLivenessCheckPortNumbers, getLivenessCheckPorts, getLogConsumers, getNetwork, getNetworkAliases, getNetworkMode, getPortBindings, getShmSize, getStartupAttempts, getStartupCheckStrategy, getTestHostIpAddress, getTmpFsMapping, getVolumesFroms, getWaitStrategy, getWorkingDirectory, hashCode, isHostAccessible, isPrivilegedMode, isShouldBeReused, logger, setBinds, setCommand, setCommand, setCommandParts, setContainerDef, setCopyToFileContainerPathMap, setDockerImageName, setEnv, setExposedPorts, setExtraHosts, setHostAccessible, setImage, setLabels, setLinkedContainers, setLogConsumers, setNetwork, setNetworkAliases, setNetworkMode, setPortBindings, setPrivilegedMode, setShmSize, setStartupAttempts, setStartupCheckStrategy, setTmpFsMapping, setVolumesFroms, setWaitStrategy, setWorkingDirectory, toString, waitingFor, waitUntilContainerStarted, withAccessToHost, withClasspathResourceMapping, withClasspathResourceMapping, withCommand, withCommand, withCopyFileToContainer, withCopyToContainer, withCreateContainerCmdModifier, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withImagePullPolicy, withLabel, withLabels, withLogConsumer, withMinimumRunningDuration, withNetwork, withNetworkAliases, withNetworkMode, withPrivilegedMode, withReuse, withSharedMemorySize, withStartupCheckStrategy, withStartupTimeout, withTmpFs, withVolumesFrom, withWorkingDirectoryMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.testcontainers.containers.Container
addFileSystemBind, followOutput, followOutput, self, withEnv, withFileSystemBindMethods inherited from interface org.testcontainers.containers.ContainerState
copyFileFromContainer, copyFileToContainer, copyFileToContainer, execInContainer, execInContainer, execInContainer, execInContainer, execInContainerWithUser, execInContainerWithUser, getBoundPortNumbers, getContainerIpAddress, getCurrentContainerInfo, getFirstMappedPort, getHost, getLogs, getLogs, getMappedPort, isCreated, isHealthy, isRunningMethods inherited from interface org.apache.polaris.test.floci.aws.FlociAwsAccess
cloudWatchLogsEndpoint, iamEndpoint, kmsEndpoint, s3put, stsEndpoint
-
Constructor Details
-
FlociAwsContainer
public FlociAwsContainer() -
FlociAwsContainer
-
-
Method Details
-
withRegion
- Overrides:
withRegionin classio.floci.testcontainers.FlociContainer
-
withIamEnforcement
-
withDefaultAccountId
- Overrides:
withDefaultAccountIdin classio.floci.testcontainers.FlociContainer
-
withStartupAttempts
- Overrides:
withStartupAttemptsin classorg.testcontainers.containers.GenericContainer<io.floci.testcontainers.FlociContainer>
-
hostPort
- Specified by:
hostPortin interfaceFlociAwsAccess
-
accessKey
- Specified by:
accessKeyin interfaceFlociAwsAccess
-
secretKey
- Specified by:
secretKeyin interfaceFlociAwsAccess
-
bucket
- Specified by:
bucketin interfaceFlociAwsAccess
-
region
- Specified by:
regionin interfaceFlociAwsAccess
-
accountId
- Specified by:
accountIdin interfaceFlociAwsAccess
-
s3endpoint
- Specified by:
s3endpointin interfaceFlociAwsAccess
-
endpoint
- Specified by:
endpointin interfaceFlociAwsAccess
-
credentialsProvider
public software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider()- Specified by:
credentialsProviderin interfaceFlociAwsAccess
-
s3Client
public software.amazon.awssdk.services.s3.S3Client s3Client()- Specified by:
s3Clientin interfaceFlociAwsAccess
-
stsClient
public software.amazon.awssdk.services.sts.StsClient stsClient()- Specified by:
stsClientin interfaceFlociAwsAccess
-
iamClient
public software.amazon.awssdk.services.iam.IamClient iamClient()- Specified by:
iamClientin interfaceFlociAwsAccess
-
kmsClient
public software.amazon.awssdk.services.kms.KmsClient kmsClient()- Specified by:
kmsClientin interfaceFlociAwsAccess
-
cloudWatchLogsClient
public software.amazon.awssdk.services.cloudwatchlogs.CloudWatchLogsClient cloudWatchLogsClient()- Specified by:
cloudWatchLogsClientin interfaceFlociAwsAccess
-
icebergProperties
- Specified by:
icebergPropertiesin interfaceFlociAwsAccess
-
hadoopConfig
- Specified by:
hadoopConfigin interfaceFlociAwsAccess
-
s3BucketUri
- Specified by:
s3BucketUriin interfaceFlociAwsAccess
-
s3BucketUri
- Specified by:
s3BucketUriin interfaceFlociAwsAccess
-
start
public void start()- Specified by:
startin interfaceorg.testcontainers.lifecycle.Startable- Overrides:
startin classorg.testcontainers.containers.GenericContainer<io.floci.testcontainers.FlociContainer>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.testcontainers.lifecycle.Startable
-
stop
public void stop()- Specified by:
stopin interfaceorg.testcontainers.lifecycle.Startable- Overrides:
stopin classio.floci.testcontainers.FlociContainer
-