powershell AWS-支持-CLI-请求

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了powershell AWS-支持-CLI-请求相关的知识,希望对你有一定的参考价值。


$Accounts = irm -Uri ''

$CommunicationBody = @"
Hi, Ross Wickman. We would like the following limit increase for the AWS Account:
Limit increase request 1
Service: VPC
Region: US West (Oregon)
Limit name: Routes per Route Table
New limit value: 100
Description: Use case: Increase Route Table Route Limit of non-propagated routes from 50 to 100 so that we can put all our static routes in place."
"@


foreach ($account in $Accounts.AWSAccount ){
    Set-Profile -Account $account -Role admins 
}
 
 
foreach($profile in Get-Profiles){
   
    if($profile -ne "master"){
        #New-ASACase -ProfileName $profile -ServiceCode "amazon-virtual-private-cloud" -CategoryCode "general-guidance" -SeverityCode "critical" -IssueType "technical" -Subject "Limit Increase: VPC" -CommunicationBody $CommunicationBody
        write-host "$profile ticket submitted"
    } else {
        write-host "$profile already submitted"
    }
}

以上是关于powershell AWS-支持-CLI-请求的主要内容,如果未能解决你的问题,请参考以下文章

如何通过在 AWS CLI 中使用其 ARN 来获取 lambda 函数?

AWS Device Farm - 使用 CLI 时上传失败

在哪里可以找到具有更新值的 AWS CLI 文档?

如何使用 AWS CLI 更新弹性 beanstalk 代码?

aws elasticbeanstalk:无法通过 eb cli 部署到工作环境

CloudFormation 和 PowerShell:模板格式错误:结构不受支持