@@ -958,7 +958,6 @@ export class VpcLattice extends PolicyStatement {
958958 * - .ifAwsRequestTag()
959959 * - .ifAwsResourceTag()
960960 * - .ifAwsTagKeys()
961- * - .ifCreateAction()
962961 */
963962 public onAccessLogSubscription ( accessLogSubscriptionId : string , account ?: string , region ?: string , partition ?: string ) {
964963 return this . on ( `arn:${ partition ?? this . defaultPartition } :vpc-lattice:${ region ?? this . defaultRegion } :${ account ?? this . defaultAccount } :accesslogsubscription/${ accessLogSubscriptionId } ` ) ;
@@ -978,7 +977,6 @@ export class VpcLattice extends PolicyStatement {
978977 * - .ifAwsRequestTag()
979978 * - .ifAwsResourceTag()
980979 * - .ifAwsTagKeys()
981- * - .ifCreateAction()
982980 * - .ifDomainName()
983981 */
984982 public onDomainVerification ( domainVerificationId : string , account ?: string , region ?: string , partition ?: string ) {
@@ -1000,7 +998,6 @@ export class VpcLattice extends PolicyStatement {
1000998 * - .ifAwsRequestTag()
1001999 * - .ifAwsResourceTag()
10021000 * - .ifAwsTagKeys()
1003- * - .ifCreateAction()
10041001 * - .ifProtocol()
10051002 * - .ifTargetGroupArns()
10061003 */
@@ -1022,7 +1019,6 @@ export class VpcLattice extends PolicyStatement {
10221019 * - .ifAwsRequestTag()
10231020 * - .ifAwsResourceTag()
10241021 * - .ifAwsTagKeys()
1025- * - .ifCreateAction()
10261022 */
10271023 public onResourceConfiguration ( resourceConfigurationId : string , account ?: string , region ?: string , partition ?: string ) {
10281024 return this . on ( `arn:${ partition ?? this . defaultPartition } :vpc-lattice:${ region ?? this . defaultRegion } :${ account ?? this . defaultAccount } :resourceconfiguration/${ resourceConfigurationId } ` ) ;
@@ -1063,7 +1059,6 @@ export class VpcLattice extends PolicyStatement {
10631059 * - .ifAwsRequestTag()
10641060 * - .ifAwsResourceTag()
10651061 * - .ifAwsTagKeys()
1066- * - .ifCreateAction()
10671062 * - .ifVpcId()
10681063 */
10691064 public onResourceGateway ( resourceGatewayId : string , account ?: string , region ?: string , partition ?: string ) {
@@ -1086,7 +1081,6 @@ export class VpcLattice extends PolicyStatement {
10861081 * - .ifAwsRequestTag()
10871082 * - .ifAwsResourceTag()
10881083 * - .ifAwsTagKeys()
1089- * - .ifCreateAction()
10901084 * - .ifTargetGroupArns()
10911085 */
10921086 public onRule ( serviceId : string , listenerId : string , ruleId : string , account ?: string , region ?: string , partition ?: string ) {
@@ -1108,7 +1102,6 @@ export class VpcLattice extends PolicyStatement {
11081102 * - .ifAwsResourceTag()
11091103 * - .ifAwsTagKeys()
11101104 * - .ifAuthType()
1111- * - .ifCreateAction()
11121105 */
11131106 public onService ( serviceId : string , account ?: string , region ?: string , partition ?: string ) {
11141107 return this . on ( `arn:${ partition ?? this . defaultPartition } :vpc-lattice:${ region ?? this . defaultRegion } :${ account ?? this . defaultAccount } :service/${ serviceId } ` ) ;
@@ -1129,7 +1122,6 @@ export class VpcLattice extends PolicyStatement {
11291122 * - .ifAwsResourceTag()
11301123 * - .ifAwsTagKeys()
11311124 * - .ifAuthType()
1132- * - .ifCreateAction()
11331125 */
11341126 public onServiceNetwork ( serviceNetworkId : string , account ?: string , region ?: string , partition ?: string ) {
11351127 return this . on ( `arn:${ partition ?? this . defaultPartition } :vpc-lattice:${ region ?? this . defaultRegion } :${ account ?? this . defaultAccount } :servicenetwork/${ serviceNetworkId } ` ) ;
@@ -1149,7 +1141,6 @@ export class VpcLattice extends PolicyStatement {
11491141 * - .ifAwsRequestTag()
11501142 * - .ifAwsResourceTag()
11511143 * - .ifAwsTagKeys()
1152- * - .ifCreateAction()
11531144 * - .ifResourceConfigurationArn()
11541145 * - .ifServiceNetworkArn()
11551146 */
@@ -1171,7 +1162,6 @@ export class VpcLattice extends PolicyStatement {
11711162 * - .ifAwsRequestTag()
11721163 * - .ifAwsResourceTag()
11731164 * - .ifAwsTagKeys()
1174- * - .ifCreateAction()
11751165 * - .ifServiceArn()
11761166 * - .ifServiceNetworkArn()
11771167 */
@@ -1193,7 +1183,6 @@ export class VpcLattice extends PolicyStatement {
11931183 * - .ifAwsRequestTag()
11941184 * - .ifAwsResourceTag()
11951185 * - .ifAwsTagKeys()
1196- * - .ifCreateAction()
11971186 * - .ifPrivateDnsPreference()
11981187 * - .ifPrivateDnsSpecifiedDomains()
11991188 * - .ifSecurityGroupIds()
@@ -1218,7 +1207,6 @@ export class VpcLattice extends PolicyStatement {
12181207 * - .ifAwsRequestTag()
12191208 * - .ifAwsResourceTag()
12201209 * - .ifAwsTagKeys()
1221- * - .ifCreateAction()
12221210 * - .ifVpcId()
12231211 */
12241212 public onTargetGroup ( targetGroupId : string , account ?: string , region ?: string , partition ?: string ) {
@@ -1524,81 +1512,12 @@ export class VpcLattice extends PolicyStatement {
15241512 }
15251513
15261514 /**
1527- * Filters access by the name of a resource-creating API action
1515+ * Filters access by the name of a resource-creating API action and only available during tagging resources on creation
15281516 *
15291517 * https://docs.aws.amazon.com/vpc-lattice/latest/ug/
15301518 *
15311519 * Applies to actions:
1532- * - .toCreateAccessLogSubscription()
1533- * - .toCreateListener()
1534- * - .toCreateResourceConfiguration()
1535- * - .toCreateResourceGateway()
1536- * - .toCreateRule()
1537- * - .toCreateService()
1538- * - .toCreateServiceNetwork()
1539- * - .toCreateServiceNetworkResourceAssociation()
1540- * - .toCreateServiceNetworkServiceAssociation()
1541- * - .toCreateServiceNetworkVpcAssociation()
1542- * - .toCreateTargetGroup()
1543- * - .toDeleteAccessLogSubscription()
1544- * - .toDeleteAuthPolicy()
1545- * - .toDeleteDomainVerification()
1546- * - .toDeleteListener()
1547- * - .toDeleteResourceConfiguration()
1548- * - .toDeleteResourceGateway()
1549- * - .toDeleteResourcePolicy()
1550- * - .toDeleteRule()
1551- * - .toDeleteService()
1552- * - .toDeleteServiceNetwork()
1553- * - .toDeleteServiceNetworkResourceAssociation()
1554- * - .toDeleteServiceNetworkServiceAssociation()
1555- * - .toDeleteServiceNetworkVpcAssociation()
1556- * - .toDeleteTargetGroup()
1557- * - .toDeregisterTargets()
1558- * - .toGetAccessLogSubscription()
1559- * - .toGetAuthPolicy()
1560- * - .toGetDomainVerification()
1561- * - .toGetListener()
1562- * - .toGetResourceConfiguration()
1563- * - .toGetResourceGateway()
1564- * - .toGetResourcePolicy()
1565- * - .toGetRule()
1566- * - .toGetService()
1567- * - .toGetServiceNetwork()
1568- * - .toGetServiceNetworkResourceAssociation()
1569- * - .toGetServiceNetworkServiceAssociation()
1570- * - .toGetServiceNetworkVpcAssociation()
1571- * - .toGetTargetGroup()
1572- * - .toListTargets()
1573- * - .toPutAuthPolicy()
1574- * - .toPutResourcePolicy()
1575- * - .toRegisterTargets()
1576- * - .toStartDomainVerification()
15771520 * - .toTagResource()
1578- * - .toUntagResource()
1579- * - .toUpdateAccessLogSubscription()
1580- * - .toUpdateListener()
1581- * - .toUpdateResourceConfiguration()
1582- * - .toUpdateResourceGateway()
1583- * - .toUpdateRule()
1584- * - .toUpdateService()
1585- * - .toUpdateServiceNetwork()
1586- * - .toUpdateServiceNetworkVpcAssociation()
1587- * - .toUpdateTargetGroup()
1588- *
1589- * Applies to resource types:
1590- * - AccessLogSubscription
1591- * - DomainVerification
1592- * - Listener
1593- * - ResourceConfiguration
1594- * - ResourceGateway
1595- * - Rule
1596- * - Service
1597- * - ServiceNetwork
1598- * - ServiceNetworkResourceAssociation
1599- * - ServiceNetworkServiceAssociation
1600- * - ServiceNetworkVpcAssociation
1601- * - TargetGroup
16021521 *
16031522 * @param value The value(s) to check
16041523 * @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
0 commit comments