@intentius/chant-lexicon-aws 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -425
- package/dist/integrity.json +11 -11
- package/dist/manifest.json +7 -1
- package/dist/meta.json +340 -320
- package/dist/skills/aws-cloudformation.md +1 -1
- package/dist/types/index.d.ts +39 -0
- package/package.json +2 -2
- package/src/codegen/docs.ts +80 -473
- package/src/codegen/generate.ts +1 -1
- package/src/codegen/sam.ts +11 -11
- package/src/generated/index.d.ts +39 -0
- package/src/generated/index.ts +4 -0
- package/src/generated/lexicon-aws.json +340 -320
- package/src/import/generator.test.ts +117 -6
- package/src/import/generator.ts +178 -62
- package/src/import/parser.ts +1 -1
- package/src/import/roundtrip-fixtures.test.ts +72 -11
- package/src/import/roundtrip.test.ts +6 -5
- package/src/index.ts +8 -1
- package/src/intrinsics.ts +27 -0
- package/src/parameter.ts +16 -0
- package/src/plugin.test.ts +1 -1
- package/src/plugin.ts +20 -48
- package/src/serializer.test.ts +4 -19
- package/src/spec/parse.ts +2 -2
|
@@ -38,4 +38,4 @@ description: AWS CloudFormation best practices and common patterns
|
|
|
38
38
|
3. **Use least-privilege IAM** — Avoid `*` in IAM policy actions and resources
|
|
39
39
|
4. **Enable versioning** — Turn on `VersioningConfiguration` for data buckets
|
|
40
40
|
5. **Use Sub for dynamic names** — `Sub\`\${AWS::StackName}-suffix\`` for unique naming
|
|
41
|
-
6. **Share config via
|
|
41
|
+
6. **Share config via direct imports** — Put common settings in a config file and import directly
|
package/dist/types/index.d.ts
CHANGED
|
@@ -19772,6 +19772,7 @@ export declare class MediaLiveChannel {
|
|
|
19772
19772
|
cdiInputSpecification?: MediaLiveChannel_CdiInputSpecification;
|
|
19773
19773
|
channelClass?: string;
|
|
19774
19774
|
channelEngineVersion?: MediaLiveChannel_ChannelEngineVersionRequest;
|
|
19775
|
+
channelSecurityGroups?: string[];
|
|
19775
19776
|
destinations?: MediaLiveChannel_OutputDestination[];
|
|
19776
19777
|
dryRun?: boolean;
|
|
19777
19778
|
encoderSettings?: MediaLiveChannel_EncoderSettings;
|
|
@@ -48827,6 +48828,7 @@ export declare class Av1ColorSpaceSettings {
|
|
|
48827
48828
|
export declare class Av1Settings {
|
|
48828
48829
|
constructor(props: {
|
|
48829
48830
|
afdSignaling?: string;
|
|
48831
|
+
bitDepth?: string;
|
|
48830
48832
|
bitrate?: number;
|
|
48831
48833
|
bufSize?: number;
|
|
48832
48834
|
colorSpaceSettings?: MediaLiveChannel_Av1ColorSpaceSettings;
|
|
@@ -100423,6 +100425,7 @@ export declare class MediaLiveChannel_Av1ColorSpaceSettings {
|
|
|
100423
100425
|
export declare class MediaLiveChannel_Av1Settings {
|
|
100424
100426
|
constructor(props: {
|
|
100425
100427
|
afdSignaling?: string;
|
|
100428
|
+
bitDepth?: string;
|
|
100426
100429
|
bitrate?: number;
|
|
100427
100430
|
bufSize?: number;
|
|
100428
100431
|
colorSpaceSettings?: MediaLiveChannel_Av1ColorSpaceSettings;
|
|
@@ -101693,7 +101696,9 @@ export declare class MediaLiveChannel_SrtGroupSettings {
|
|
|
101693
101696
|
|
|
101694
101697
|
export declare class MediaLiveChannel_SrtOutputDestinationSettings {
|
|
101695
101698
|
constructor(props: {
|
|
101699
|
+
connectionMode?: string;
|
|
101696
101700
|
encryptionPassphraseSecretArn?: string;
|
|
101701
|
+
listenerPort?: number;
|
|
101697
101702
|
streamId?: string;
|
|
101698
101703
|
url?: string;
|
|
101699
101704
|
});
|
|
@@ -102020,9 +102025,25 @@ export declare class MediaLiveInput_SrtCallerSourceRequest {
|
|
|
102020
102025
|
});
|
|
102021
102026
|
}
|
|
102022
102027
|
|
|
102028
|
+
export declare class MediaLiveInput_SrtListenerDecryptionRequest {
|
|
102029
|
+
constructor(props: {
|
|
102030
|
+
algorithm?: string;
|
|
102031
|
+
passphraseSecretArn?: string;
|
|
102032
|
+
});
|
|
102033
|
+
}
|
|
102034
|
+
|
|
102035
|
+
export declare class MediaLiveInput_SrtListenerSettingsRequest {
|
|
102036
|
+
constructor(props: {
|
|
102037
|
+
decryption?: MediaLiveInput_SrtListenerDecryptionRequest;
|
|
102038
|
+
minimumLatency?: number;
|
|
102039
|
+
streamId?: string;
|
|
102040
|
+
});
|
|
102041
|
+
}
|
|
102042
|
+
|
|
102023
102043
|
export declare class MediaLiveInput_SrtSettingsRequest {
|
|
102024
102044
|
constructor(props: {
|
|
102025
102045
|
srtCallerSources?: MediaLiveInput_SrtCallerSourceRequest[];
|
|
102046
|
+
srtListenerSettings?: MediaLiveInput_SrtListenerSettingsRequest;
|
|
102026
102047
|
});
|
|
102027
102048
|
}
|
|
102028
102049
|
|
|
@@ -140295,6 +140316,13 @@ export declare class SrtGroupSettings {
|
|
|
140295
140316
|
});
|
|
140296
140317
|
}
|
|
140297
140318
|
|
|
140319
|
+
export declare class SrtListenerDecryptionRequest {
|
|
140320
|
+
constructor(props: {
|
|
140321
|
+
algorithm?: string;
|
|
140322
|
+
passphraseSecretArn?: string;
|
|
140323
|
+
});
|
|
140324
|
+
}
|
|
140325
|
+
|
|
140298
140326
|
export declare class SrtListenerRouterInputConfiguration {
|
|
140299
140327
|
constructor(props: {
|
|
140300
140328
|
/** The minimum latency in milliseconds for the SRT protocol in listener mode. */
|
|
@@ -140315,9 +140343,19 @@ export declare class SrtListenerRouterOutputConfiguration {
|
|
|
140315
140343
|
});
|
|
140316
140344
|
}
|
|
140317
140345
|
|
|
140346
|
+
export declare class SrtListenerSettingsRequest {
|
|
140347
|
+
constructor(props: {
|
|
140348
|
+
decryption?: MediaLiveInput_SrtListenerDecryptionRequest;
|
|
140349
|
+
minimumLatency?: number;
|
|
140350
|
+
streamId?: string;
|
|
140351
|
+
});
|
|
140352
|
+
}
|
|
140353
|
+
|
|
140318
140354
|
export declare class SrtOutputDestinationSettings {
|
|
140319
140355
|
constructor(props: {
|
|
140356
|
+
connectionMode?: string;
|
|
140320
140357
|
encryptionPassphraseSecretArn?: string;
|
|
140358
|
+
listenerPort?: number;
|
|
140321
140359
|
streamId?: string;
|
|
140322
140360
|
url?: string;
|
|
140323
140361
|
});
|
|
@@ -140336,6 +140374,7 @@ export declare class SrtOutputSettings {
|
|
|
140336
140374
|
export declare class SrtSettingsRequest {
|
|
140337
140375
|
constructor(props: {
|
|
140338
140376
|
srtCallerSources?: MediaLiveInput_SrtCallerSourceRequest[];
|
|
140377
|
+
srtListenerSettings?: MediaLiveInput_SrtListenerSettingsRequest;
|
|
140339
140378
|
});
|
|
140340
140379
|
}
|
|
140341
140380
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-aws",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": ["src/", "dist/"],
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"prepack": "bun run bundle && bun run validate"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@intentius/chant": "0.0.
|
|
25
|
+
"@intentius/chant": "0.0.5",
|
|
26
26
|
"fflate": "^0.8.2",
|
|
27
27
|
"js-yaml": "^4.1.0"
|
|
28
28
|
},
|