Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ecs task 'overrides' to eventbridge builder #1294

Closed
1 task
samburtonlaurie opened this issue Apr 25, 2024 · 4 comments
Closed
1 task

Add ecs task 'overrides' to eventbridge builder #1294

samburtonlaurie opened this issue Apr 25, 2024 · 4 comments
Assignees
Labels
guidance Question that needs advice or information.

Comments

@samburtonlaurie
Copy link

Describe the feature

I may be missing something but i can't seem to find overrides for an EcsParameters. In the console you can add container overrides like in the SS attached.
image

Is your Feature Request related to a problem?

N/a

Proposed Solution

Start by adding public var overrides kotlin.String? = null into aws.sdk.kotlin.services.eventbridge.model.EcsParameters.Builder

Describe alternative solutions or features you've considered

No response

Acknowledge

  • I may be able to implement this feature request

AWS Kotlin SDK version used

1.1.25

Platform (JVM/JS/Native)

JVM

Operating System and version

n/a

@samburtonlaurie samburtonlaurie added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Apr 25, 2024
@samburtonlaurie
Copy link
Author

This should probably be part of the scheduler rather than eventbridge actually.

@ianbotsf
Copy link
Contributor

I'm not familiar with this feature but it appears to be available through Amazon EventBridge Pipes and requires using the PipesClient via the package aws.sdk.kotlin:pipes.

PipesClient.fromEnvironment().use { pipes ->
    pipes.createPipe {
        targetParameters {
            ecsTaskParameters {
                overrides {
                    containerOverrides = listOf(
                        EcsContainerOverride {
                            …
                        }
                    )
                }
            }
        }
    }
}

Is that what you're looking for or is yours a different use case?

@ianbotsf ianbotsf self-assigned this Apr 25, 2024
@ianbotsf ianbotsf added response-requested Waiting on additional info and feedback. Will move to 'closing-soon' in 5 days. and removed needs-triage This issue or PR still needs to be triaged. labels Apr 25, 2024
@samburtonlaurie
Copy link
Author

I found you can use the SchedulerClient and just put the containeroverrides in the input of Target.
Thanks for getting back to me @ianbotsf

Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@ianbotsf ianbotsf added guidance Question that needs advice or information. and removed feature-request A feature should be added or improved. response-requested Waiting on additional info and feedback. Will move to 'closing-soon' in 5 days. labels Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guidance Question that needs advice or information.
Projects
None yet
Development

No branches or pull requests

2 participants